JPH09305559A - Duplex control system - Google Patents

Duplex control system

Info

Publication number
JPH09305559A
JPH09305559A JP8121501A JP12150196A JPH09305559A JP H09305559 A JPH09305559 A JP H09305559A JP 8121501 A JP8121501 A JP 8121501A JP 12150196 A JP12150196 A JP 12150196A JP H09305559 A JPH09305559 A JP H09305559A
Authority
JP
Japan
Prior art keywords
input
control device
output
bus
control
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.)
Withdrawn
Application number
JP8121501A
Other languages
Japanese (ja)
Inventor
Fumiaki Tahira
文明 田平
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 JP8121501A priority Critical patent/JPH09305559A/en
Publication of JPH09305559A publication Critical patent/JPH09305559A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently control a duplex system by accelerating the transfer of a lot of data between a storage device and an input/output device by performing control through a direct memory access controller(DMAC) provided at an input/output controller. SOLUTION: One of processor systems 10i of '0' and '1' systems is operated as an active system and the other system is operated as a reserve system. According to the instruction from a controller 11i of the active system, a bus switch 201 of an input/output controller 200 is switched and connected to a system bus 13j of the reserve system and according to the control of a DMAC 202, data are transferred between a storage device 12j of a processor system 10j of the reserve system and an input/output device 301. Thus, only by performing setting in the input/output controller 200 according to a command from the processor system 10i of the active system and the processor system 10j of the reserve system, the DMAC 202 of the input/output controller 200 mainly transfers the data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、二重化構成のプロ
セッサシステムと、一重化構成の入出力装置と、入出力
制御装置から構成される二重化制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual control system including a dual processor system, a single input / output device, and an input / output control device.

【0002】例えば、情報処理システムを構成する場
合、コストパフォーマンスを考慮して、システムの信頼
度に直接影響を与えるプロセッサシステム(制御装置お
よび記憶装置から構成される)は二重化構成とし、その
障害がシステムの信頼度に重大な影響を及ぼさない入出
力装置および入出力制御装置は一重化構成をとることが
多い。
For example, in the case of configuring an information processing system, in consideration of cost performance, the processor system (consisting of a control device and a storage device) which directly affects the reliability of the system has a duplicated structure, and its failure is I / O devices and I / O controllers that do not significantly affect the reliability of the system often have a single configuration.

【0003】このような構成において、プロセッサシス
テムの記憶装置と入出力装置の間で大量データを転送す
るとき、効率的にデータの転送処理を行なうことのでき
る二重化制御システムが要求されている。
In such a configuration, there is a demand for a dual control system capable of efficiently performing a data transfer process when transferring a large amount of data between a storage device and an input / output device of a processor system.

【0004】[0004]

【従来の技術】図10は従来例の二重化制御システムを
説明するブロック図を示す。図中の100、101は0
系および1系のプロセッサシステムであり、0系のプロ
セッサシステムは制御装置110、記憶装置120、シ
ステムバス130から構成され、1系のプロセッサシス
テム101は、0系のプロセッサシステム100と同じ
構成で、制御装置111、記憶装置121、システムバ
ス131から構成されており、0系と1系のプロセッサ
システム100、101の間はプロセッサ間通信バス
140で接続されている。
2. Description of the Related Art FIG. 10 is a block diagram for explaining a conventional duplex control system. 100 and 101 in the figure are 0
System processor system and system 1 system system, the 0 system processor system comprises a control device 110, a storage device 120, a system bus 130, the 1 system processor system 101 is the same configuration as the 0 system processor system 100, It is composed of a control device 111, a storage device 121, and a system bus 131, and an interprocessor communication bus is provided between the 0-system and 1-system processor systems 100 and 101.
They are connected at 140.

【0005】また、200は入出力制御装置であり、バ
ススイッチ201、バス制御回路203、フロッピーデ
ィスク制御回路(図中FDCと示す)206A、ハード
ディスク制御回路(図中HDCと示す)206B、LA
N制御回路(図中LANCと示す)206Cおよび内部
バス207から構成されており、フロッピーディスク
(図中FDと示す)301A、ハードディスク(図中H
Dと示す)301B、通信回線302を介して保守コン
ソール301Cに接続されている。
Reference numeral 200 denotes an input / output control device, which includes a bus switch 201, a bus control circuit 203, a floppy disk control circuit (shown as FDC in the figure) 206A, a hard disk control circuit (shown as HDC in the figure) 206B and LA.
An N control circuit (denoted by LANC in the figure) 206C and an internal bus 207, a floppy disk (denoted by FD in the figure) 301A, a hard disk (H in the figure).
(Shown as D) 301B, and is connected to the maintenance console 301C via the communication line 302.

【0006】例えば、交換装置に上述の二重化制御シス
テムを採用した場合、0系および1系プロセッサシステ
ムの一方を現用系として動作させ、交換処理を実行さ
せ、他方のプロセッサシステムを予備系として待機状況
としている。
For example, when the above-mentioned duplex control system is adopted as the exchange device, one of the 0-system and 1-system processor systems is operated as the active system, the exchange processing is executed, and the other processor system is used as the standby system. I am trying.

【0007】ここで、ソフトウェアのバージョンアッ
プ、トラヒックデータ、課金データ等の大量データを入
出力する場合、次のような処理を行なっている。 現用のプロセッサシステム10i(i=0or1)
の制御装置11iの制御の元に、メモリ12iと入出力
装置(フロッピーディスク301A、ハードディスク3
01B、保守コンソール301Cを入出力装置と総称す
る)との間でデータの転送を行なう。
Here, when a large amount of data such as software version upgrade, traffic data, billing data, etc. is input / output, the following processing is performed. Current processor system 10i (i = 0 or 1)
The memory 12i and the input / output device (the floppy disk 301A, the hard disk 3) are controlled under the control of the controller 11i.
01B and maintenance console 301C are collectively referred to as an input / output device).

【0008】 例えば、片系のプロセッサシステム1
0iが障害となった場合、障害解析のため、正常な系の
プロセッサシステム10iから障害となったプロセッサ
システム10j(i=1or0)に指令し、記憶装置1
2jの内容をプロセッサ間通信を行なってデータを出力
する。
For example, a one-sided processor system 1
When 0i becomes a failure, the normal processor system 10i issues an instruction to the failed processor system 10j (i = 1 or 0) for failure analysis, and the storage device 1
The contents of 2j are communicated between processors to output data.

【0009】[0009]

【発明が解決しようとする課題】上述の従来において、
の場合は、データ転送のために、現用系のシステムバ
スを占有するので、オンライン処理に影響を与える。そ
こで、オンライン処理への影響を低減させるために高速
なシステムバスを設けたり、高性能なプロセッサを搭載
することが必要になり、システムとしてのコストアップ
となる。
In the above-mentioned conventional method,
In the case of (1), since the system bus of the active system is occupied for data transfer, the online processing is affected. Therefore, in order to reduce the influence on online processing, it is necessary to provide a high-speed system bus or mount a high-performance processor, which increases the cost of the system.

【0010】の場合は、障害となったプロセッサシス
テムがプロセッサ通信に応答できない障害モードの場合
は、データを入出力装置に取り出すことができず、障害
解析が困難となる。
In the case of the above, in the failure mode in which the failed processor system cannot respond to the processor communication, the data cannot be taken out to the input / output device and the failure analysis becomes difficult.

【0011】本発明は、現用系のプロセッサシステムの
処理に影響を及ぼすことなく、予備系メモリと入出力装
置の間で効率的に大量データを転送できる二重化制御シ
ステムを実現しようとする。
The present invention intends to realize a duplex control system capable of efficiently transferring a large amount of data between a standby system memory and an input / output device without affecting the processing of an active processor system.

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理を説
明するブロック図である。図は二重化制御システムを示
し、図中の100は、制御装置110と記憶装置120
からなる0系のプロセッサシステムであり、101は、
制御装置111と記憶装置121からなる1系のプロセ
ッサシステムであり、200は、0系および1系のシス
テムバス130、131に接続され、所定のシステムバ
ス13iを選択接続するバススイッチ201を介して、
所定の入出力装置301との間の接続を行なう入出力制
御装置である。
FIG. 1 is a block diagram for explaining the principle of the present invention. The figure shows a redundant control system, and 100 in the figure is a control device 110 and a storage device 120.
Is a 0-system processor system, and 101 is
Reference numeral 200 denotes a 1-system processor system including a control device 111 and a storage device 121, and 200 is connected to 0-system and 1-system system buses 130 and 131 via a bus switch 201 that selectively connects a predetermined system bus 13i. ,
It is an input / output control device for connecting to a predetermined input / output device 301.

【0013】本発明では、入出力制御装置200に、0
系および1系のプロセッサシステム10iの記憶装置1
2iと入出力装置301の間でダイレクトメモリアクセ
ス(以下DMAと称する)を制御するダイレクトメモリ
アクセスコントローラ(以下DMACと称する)202
を設けた構成としている。
According to the present invention, the input / output control device 200 is set to 0
Storage device 1 of 1-system and 1-system processor system 10i
Direct memory access controller (hereinafter referred to as DMAC) 202 for controlling direct memory access (hereinafter referred to as DMA) between the 2i and the input / output device 301.
Is provided.

【0014】0系および1系のプロセッサシステム10
iの一方を現用系とし、他方を予備系として稼働させ、
現用系の制御装置11iからの指示により、入出力制御
装置200のバススイッチ201を予備系のシステムバ
ス13jに切替え接続し、予備系のプロセッサシステム
10jの記憶装置12jと入出力装置301との間でD
MAC202の制御にしたがってデータ転送を行なう。
0-system and 1-system processor systems 10
One of i is the active system and the other is the standby system,
In response to an instruction from the active control device 11i, the bus switch 201 of the input / output control device 200 is switched and connected to the standby system bus 13j so as to connect between the storage device 12j of the standby processor system 10j and the input / output device 301. At D
Data transfer is performed under the control of the MAC 202.

【0015】したがって、現用系のプロセッサシステム
10iから、予備系のプロセッサシステム10jに指令
し、入出力制御装置200への設定を行なうのみで、入
出力制御装置200のDMAC202が主体となりデー
タ転送を行なうので、プロセッサ間通信が不能の場合で
も、予備系の記憶装置12jと入出力装置301の間で
高速にデータ転送が可能となる。
Therefore, the DMAC 202 of the input / output control device 200 takes the main role of data transfer only by instructing the processor system 10j of the active system to the processor system 10j of the standby system and setting the input / output control device 200. Therefore, even when inter-processor communication is disabled, high-speed data transfer is possible between the standby storage device 12j and the input / output device 301.

【0016】[0016]

【発明の実施の形態】図2はプロセッサ間通信制御装置
の実施の形態を説明する図である。図はプロセッサシス
テム10iを示し、11i、12iは原理図で説明した
制御装置、記憶装置であり、150がプロセッサ間通信
制御装置(Inter Sub-System Controller 図中ISCと
示す)である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a diagram for explaining an embodiment of an interprocessor communication control device. The figure shows a processor system 10i, 11i and 12i are the control device and the storage device described in the principle diagram, and 150 is an inter-processor communication control device (shown as ISC in the figure).

【0017】プロセッサ間通信制御装置150は、送信
側の制御を行なうトーカコントローラ(図中コントロー
ラをCNTと示す)150A、受信側の制御を行なうリ
スナコントローラ150B、受信データを一時格納して
おくバッファメモリ150Cを備えている。
The inter-processor communication control device 150 includes a talker controller (a controller is shown as CNT in the figure) 150A for controlling the transmitting side, a listener controller 150B for controlling the receiving side, and a buffer memory for temporarily storing received data. It is equipped with 150C.

【0018】図3はプロセッサ間通信のシーケンス図を
示す。図は0系プロセッサシステム100から、1系プ
ロセッサシステム101へデータの転送を行なう例であ
る。 受信側の1系プロセッサシステム101の制御装置
(図中CPUと示す)は、データ転送要求がいつ発生し
ても良いように、DMAC202の設定を行なうととも
にリスナコントローラ150Bに受信オーダを起動して
おく。
FIG. 3 shows a sequence diagram of inter-processor communication. The figure shows an example in which data is transferred from the 0-system processor system 100 to the 1-system processor system 101. The control device (shown as CPU in the figure) of the 1-processor system 101 on the reception side sets the DMAC 202 and activates the reception order in the listener controller 150B so that a data transfer request may be issued at any time. .

【0019】 送信要求の発生した0系制御装置11
0はDMAC202の設定およびトーカコントローラ1
50Aへの送信オーダの起動を行なう。 送信要求の発生を0系ISC150から1系ISC
151に通知する。
The 0-system control device 11 for which a transmission request has occurred
0 is setting of DMAC202 and talker controller 1
The transmission order to 50A is activated. Transmission request is generated from 0-system ISC150 to 1-system ISC
Notify 151.

【0020】 0系記憶装置120から1系ISC1
51のバッファメモリ150Cへ、入出力制御装置20
0のDMAC202の制御の元にデータ転送が行なわれ
る。 バッファメモリ150Cにデータの転送が完了する
と、バッファメモリ150Cから記憶装置(図中MMと
示す)121にデータの転送を行なう。
From system 0 storage device 120 to system 1 ISC1
51 to the buffer memory 150C, the input / output controller 20
Data transfer is performed under the control of the DMAC 202 of 0. When the data transfer to the buffer memory 150C is completed, the data is transferred from the buffer memory 150C to the storage device (indicated by MM in the figure) 121.

【0021】 データの転送が完了すると0系および
1系の制御装置110、111に割り込みでデータ転送
の完了通知を送出する。この動作において、受信側の制
御装置111は受信データ中の送信要求コードを解析し
処理を行なう。例えば、少量データの場合は、そのアド
レス/データ長にしたがって、データを記憶装置121
に転送し、大量データの場合は、次に転送されるデータ
のアドレス/データ長が示されているので、DMAC2
02へ該データにしたがった設定を行ない、データの転
送を行なう。
When the data transfer is completed, an interruption notification is sent to the 0-system and 1-system control devices 110 and 111 to notify the completion of the data transfer. In this operation, the control device 111 on the receiving side analyzes the transmission request code in the received data and processes it. For example, in the case of a small amount of data, the data is stored in the storage device 121 according to its address / data length.
When a large amount of data is transferred to, the address / data length of the data to be transferred next is indicated.
A setting is made in accordance with the data to 02, and the data is transferred.

【0022】このような、0系および1系の制御装置1
10、111間でDMAC202の制御のもとに、高速
で大量データ転送が可能となり、記憶装置120、12
1の内容を、常時一致させるように管理する。
Such a 0-system and 1-system controller 1
Under the control of the DMAC 202 between the 10 and 111, a large amount of data can be transferred at high speed.
The contents of 1 are managed so that they always match.

【0023】図4は本発明のプロセッサ間通信のデータ
フォーマットを示す。(A)は通常のプロセッサ間通信
のデータフォーマットを示し、通信要求種別(Message
Identifier以下MIDと称する)、データの転送先アド
レス、転送データ量に続いて、転送データが書き込まれ
ている。
FIG. 4 shows a data format for interprocessor communication according to the present invention. (A) shows the data format of normal inter-processor communication, and the communication request type (Message
The transfer data is written after the identifier (hereinafter referred to as MID), the transfer destination address of the data, and the transfer data amount.

【0024】(B)は、予備系プロセッサ10jの入出
力動作起動時のプロセッサ間通信のデータフォーマット
を示し、MIDで予備系制御装置11jを起動するとと
もに、入出力制御装置200に対しては、IOCコマン
ドで起動するとともに、システムバス13iの切替えを
指示する。
(B) shows a data format of inter-processor communication at the time of starting the input / output operation of the standby processor 10j. The standby system controller 11j is started by the MID and the input / output controller 200 is It is activated by the IOC command and also instructs switching of the system bus 13i.

【0025】図5は本発明の入出力制御装置における実
施の形態を示す(1)。図中の200は入出力制御装置
であり、バススイッチ201、DMAC202、バス制
御回路203、フロッピーディスク制御回路206A、
ハードディスク制御回路206B、LAN制御回路20
6Cおよび内部バス207から構成されており、フロッ
ピーディスク301A、ハードディスク301B、保守
コンソール301Cに接続されている。
FIG. 5 shows an embodiment of the input / output control device of the present invention (1). Reference numeral 200 in the figure denotes an input / output control device, which includes a bus switch 201, a DMAC 202, a bus control circuit 203, a floppy disk control circuit 206A,
Hard disk control circuit 206B, LAN control circuit 20
6C and internal bus 207, and is connected to the floppy disk 301A, hard disk 301B, and maintenance console 301C.

【0026】ここで、バス制御回路203は0系および
1系のシステムバス130、131の接続先の設定を行
ない、バススイッチ201はバス制御回路202の指定
により、システムバス130、131と内部バス207
の接続を行なう。DMAC202はデータ転送を制御す
るものであり、フロッピーディスク制御回路206A、
ハードディスク制御回路206B、LAN制御回路20
6Cのアクセス制御、記憶装置のアドレスリード/ライ
トタイミングの制御を行なう。
Here, the bus control circuit 203 sets the connection destinations of the 0-system and 1-system system buses 130 and 131, and the bus switch 201 is designated by the bus control circuit 202 to specify the system buses 130 and 131 and the internal buses. 207
Make the connection. The DMAC 202 controls data transfer, and the floppy disk control circuit 206A,
Hard disk control circuit 206B, LAN control circuit 20
6C access control, storage device address read / write timing control.

【0027】かかる構成において、例えば、0系プロセ
ッサシステム100を現用系とし、1系プロセッサシス
テム101を予備系とし、ソフトウェアのバージョンア
ップを行なう場合、現用系の0系プロセッサシステム1
00から指示して、入出力制御装置200のバススイッ
チ201を予備系のシステムバス131に切り替え、予
備系の記憶装置121と、ハードディスク301Bとの
間で、DMAC202の制御のもとにデータ転送を行な
う。かかる処理により、現用系の制御装置110とは独
立して、入出力装置との間でデータ転送が可能となり、
現用系の制御装置110の処理能力へ悪影響を及ぼすこ
とがなくなる。
In such a configuration, for example, when the 0-system processor system 100 is the active system and the 1-system processor system 101 is the standby system and the software is upgraded, the 0-system processor system 1 of the active system is used.
00, the bus switch 201 of the input / output control device 200 is switched to the standby system bus 131 to transfer data between the standby storage device 121 and the hard disk 301B under the control of the DMAC 202. To do. By this processing, it becomes possible to transfer data to and from the input / output device independently of the active control device 110.
There is no adverse effect on the processing capability of the active control device 110.

【0028】図6、図7は本発明のバス制御回路の実施
の形態(1)、(2)を示す。(A)はバス制御回路2
03の基本構成を示し、AND回路A1〜A4とOR回
路O1、O2とバスコマンドレジスタ(図中BCMDR
Gと示す)203Aから構成されている。
6 and 7 show embodiments (1) and (2) of the bus control circuit according to the present invention. (A) is the bus control circuit 2
03 shows a basic configuration of AND circuit A1-A4, OR circuits O1 and O2, and a bus command register (BCMDR in the figure).
(Denoted as G) 203A.

【0029】ここで、バスコマンドレジスタ203A
は、バス接続モードを設定するレジスタであり、システ
ムバス13iに接続されている制御装置11iから設定
するものである。
Here, the bus command register 203A
Is a register for setting the bus connection mode, which is set by the control device 11i connected to the system bus 13i.

【0030】このバスコマンドレジスタ203Aの出力
と、ACT信号(ACT0/1)によりバススイッチ2
01を制御するイネーブル信号を生成し、このイネーブ
ル信号の指示にしたがって、いずれかのバスに接続を行
なう。
The bus switch 2 is activated by the output of the bus command register 203A and the ACT signal (ACT0 / 1).
An enable signal for controlling 01 is generated, and connection is made to any bus according to the instruction of the enable signal.

【0031】例えば、0系を現用系、1系を予備系と
し、0系の制御装置110がバスコマンドレジスタ20
3Aに「1」を設定すると、ACT1=「0」であるの
で、AND回路A4の出力が「1」となり、OR回路O
2を通してBUS EN1として「1」が出力され、1
系システムバス131に接続される。したがって、1系
プロセッサシステム101と入出力装置が接続され、例
えば、保守コンソール301Cからのコマンドを解析
し、保守コンソール301Cとの間、ハードディスク3
01Bとの間でのデータの入出力を制御する。そして、
データ転送が完了したときは、完了したことを現用系制
御装置110に通知するとともに、バスコマンドレジス
タ203Aに「0」を設定することにより、入出力制御
装置200を0系のシステムバス130に接続して処理
を完了する。
For example, the 0-system is the active system and the 1-system is the standby system, and the 0-system control unit 110 is the bus command register 20.
When "1" is set in 3A, ACT1 = "0", so the output of the AND circuit A4 becomes "1", and the OR circuit O
“1” is output as BUS EN1 through 2 and 1
It is connected to the system bus 131. Therefore, the 1-system processor system 101 and the input / output device are connected, for example, the command from the maintenance console 301C is analyzed, and the hard disk 3 is connected to the maintenance console 301C.
Controls input and output of data to and from 01B. And
When the data transfer is completed, the fact that the data transfer is completed is notified to the active system control device 110, and "0" is set in the bus command register 203A to connect the input / output control device 200 to the system bus 130 of the 0 system. And complete the process.

【0032】(B)は予備系制御装置111が障害とな
り、プロセッサ間通信が行なえない場合でも、DMAC
202によるデータ転送を可能とするものであり、AN
D回路A2、A4を3入力のAND回路から構成し、1
つの入力にはDMAによるデータ転送を行なう場合の、
DMAACK信号を接続している。
In (B), even if the inter-processor communication cannot be performed due to the failure of the standby system control device 111, the DMAC
It enables data transfer by 202, and AN
The D circuits A2 and A4 are composed of a 3-input AND circuit, and
When performing data transfer by DMA to one input,
The DMAACK signal is connected.

【0033】ここで0系プロセッサシステム100を現
用系とし、ACT0が「1」、ACT1が「0」、バス
コマンドレジスタ203Aが「0」、DMAACK信号
が「0」(制御装置110が動作中)の場合は、AND
回路A1が「1」となり、BUS EN0が「1」とな
り、入出力制御装置200は0系システムバス130に
接続される。
Here, the 0 system processor system 100 is the active system, ACT0 is "1", ACT1 is "0", bus command register 203A is "0", and DMAACK signal is "0" (control device 110 is operating). If, AND
The circuit A1 becomes "1", the BUS EN0 becomes "1", and the input / output control device 200 is connected to the 0-system bus 130.

【0034】次いで、予備系の記憶装置121の内容を
ハードディスク301Bに出力する場合、現用系制御装
置110はバスコマンドレジスタ203Aに「1」を設
定する。ハードディスク301Bにデータを書き込むた
めに、ハードディスクコントローラ206Bに書き込み
エリア、書き込みセクタ等の設定を行ない、DMAC2
02に対しては、予備系の転送元メモリエリア、転送バ
イト数等の設定を行なった後ハードディスク301Bへ
のコマンド起動を行なう。ハードディスク301Bに起
動がかかると、ハードディスクコントローラ206Bは
DMAC202に対してデータ転送要求を送出し、DM
AC202が応答信号DMAACKを返送することによ
りDMA転送が開始される。
Next, when outputting the contents of the spare storage device 121 to the hard disk 301B, the active control device 110 sets "1" in the bus command register 203A. In order to write data to the hard disk 301B, a write area, a write sector, etc. are set in the hard disk controller 206B, and the DMAC2
For 02, after setting the transfer source memory area of the spare system, the number of transfer bytes, etc., the command is activated to the hard disk 301B. When the hard disk 301B is activated, the hard disk controller 206B sends a data transfer request to the DMAC 202, and DM
The DMA transfer is started when the AC 202 returns the response signal DMAACK.

【0035】ここで、バスコマンドレジスタ203Aが
「1」に設定されると、DMAACKも「1」であるの
で、AND回路A4が「1」となり、BUS EN1が
「1」となり、入出力制御装置200は1系システムバ
ス131に接続され、DMACの制御により1系プロセ
ッサシステム101の記憶装置121がアクセスされ、
ハードディスク301BにデータをDMA転送する。
Here, when the bus command register 203A is set to "1", the DMAACK is also "1", the AND circuit A4 becomes "1", the BUS EN1 becomes "1", and the input / output control device is set. Reference numeral 200 is connected to the 1-system bus 131, and the storage device 121 of the 1-processor system 101 is accessed under the control of the DMAC.
Data is DMA-transferred to the hard disk 301B.

【0036】データ転送が完了すると、完了割込みが、
現用系制御装置110に上がり、データの転送動作を完
了する。このように、DMA転送時は、予備系のシステ
ムバス131に接続されているが、完了割込みは常に現
用系制御装置110に入力するように接続する。また、
転送完了後バスコマンドレジスタ203Aを「0」に設
定すると、DMAACKが「1」のときは、AND回路
A2が「1」となり、BUS EN0が「1」となるの
で入出力制御装置200は0系システムバス130に接
続され、現用系記憶装置120との間でデータの転送が
行なわれる。
When the data transfer is completed, a completion interrupt
It goes up to the active control device 110 and completes the data transfer operation. As described above, during the DMA transfer, it is connected to the system bus 131 of the standby system, but the completion interrupt is always connected to the active system control unit 110. Also,
When the bus command register 203A is set to "0" after the transfer is completed, when the DMAACK is "1", the AND circuit A2 becomes "1" and the BUS EN0 becomes "1". It is connected to the system bus 130 and transfers data with the active storage device 120.

【0037】図7(C)はバス制御回路203の制御を
バスコマンドレジスタ203Aにはよらずに、チャネル
制御装置203Bにより行なう構成とし、予め設定され
ているDMAチャネル(以下チャネルをCHと称する)
の動作を示す応答信号により判定する構成としている。
図の構成では、DMAC202は4CHの設定が可能で
あり、チャネル制御装置203BのCH0〜CH2は自
系の入出力装置に接続され、CH3を他系のプロセッサ
システム101に割り当てている。
FIG. 7C shows a configuration in which the control of the bus control circuit 203 is performed by the channel control device 203B instead of by the bus command register 203A, and a preset DMA channel (hereinafter, the channel is referred to as CH).
The determination is made based on the response signal indicating the operation of.
In the configuration shown in the figure, the DMAC 202 is capable of setting 4CH, CH0 to CH2 of the channel control device 203B are connected to the input / output device of its own system, and CH3 is assigned to the processor system 101 of the other system.

【0038】ここで、1系記憶装置121と入出力装置
の間でデータの転送を行なう場合は、0系の制御装置1
11がDMAC202のCH3をイネーブルに設定し、
入出力装置に対して、コマンドを発行することにより、
入出力装置からCH3にDMA要求が発生し、、DMA
C202からその応答信号DMAACKが「1」となっ
た時、AND回路A4が「1」となり、BUS EN1
が「1」となるので入出力制御装置200は1系システ
ムバス131に接続されデータの転送が行なわれる。
Here, when data is transferred between the 1-system storage device 121 and the input / output device, the 0-system control device 1 is used.
11 enables CH3 of DMAC202,
By issuing a command to the I / O device,
A DMA request is issued to CH3 from the input / output device,
When the response signal DMAACK becomes "1" from C202, the AND circuit A4 becomes "1", and BUS EN1
Becomes "1", the input / output control device 200 is connected to the 1-system bus 131 to transfer data.

【0039】図7(D)はバス制御回路203の制御を
DMAC202からのアドレス信号によるものとして、
他系アドレスがデコーダ203Cにより検出されたと
き、デコーダ203Cの出力を「1」が出力されること
により、AND回路A4が「1」となり、BUS EN
1が「1」となるので入出力制御装置200は1系シス
テムバス131に接続されデータの転送が行なわれる。
したがって、DMAC202に設定するアドレスにより
指定の記憶装置12iからのデータ転送を制御すること
ができる。
FIG. 7D shows that the control of the bus control circuit 203 is based on the address signal from the DMAC 202.
When the other system address is detected by the decoder 203C, the output of the decoder 203C is "1", so that the AND circuit A4 becomes "1" and the BUS EN
Since 1 becomes "1", the input / output control device 200 is connected to the 1-system bus 131 to transfer data.
Therefore, the data transfer from the designated storage device 12i can be controlled by the address set in the DMAC 202.

【0040】図8は本発明の入出力制御装置における実
施の形態(2)を示し、図5で示した実施の形態(1)
の構成にさらにタイマ204を設けて構成したものであ
る。このタイマ204は、予備系制御装置11jと入出
力装置との間でデータ転送中に異常が発生し、データ転
送動作を正常終了できなくなり、現用系の制御装置11
iが入出力装置の制御ができなくなることを防止するた
めのものであり、現用系から設定を行ない、タイムアウ
トとなった場合に強制的に入出力装置を現用系制御装置
11iに接続するためのものである。
FIG. 8 shows an embodiment (2) of the input / output control device of the present invention, and the embodiment (1) shown in FIG.
In addition to the above configuration, a timer 204 is further provided. The timer 204 has an abnormality during data transfer between the standby control device 11j and the input / output device, and cannot normally end the data transfer operation.
i is for preventing the I / O device from being uncontrollable, and is used to set the I / O device from the active system and forcibly connect the I / O device to the active system control device 11i when a time-out occurs. It is a thing.

【0041】図9は本発明の入出力制御装置における実
施の形態(3)を示し、バス制御回路203をリセット
するためのリセット信号を入力するAND回路203
a、203bを設けたものである。
FIG. 9 shows an embodiment (3) of the input / output control device of the present invention, and an AND circuit 203 for inputting a reset signal for resetting the bus control circuit 203.
a and 203b are provided.

【0042】これは、他系とのデータ転送中に異常が発
生して、入出力制御装置200が他系システムバス13
1に接続されたままになることを防止するものであり、
図8で説明した入出力制御装置200内のタイマ204
のタイムアウトによる制御ではなく、それぞれの制御装
置110、111からバス制御回路203をリセットす
るための信号線を設け、現用系の制御装置11iから、
リセット信号を送出することにより、AND回路203
a、203bの出力を「1」とし、バス制御回路203
をリセットして、現用系の制御装置11iに入出力制御
装置200を強制的に接続するものである。
This is because an abnormality occurs during data transfer with another system and the I / O controller 200 causes the other system bus 13 to operate.
To keep it connected to 1.
The timer 204 in the input / output control device 200 described in FIG.
Instead of the control by the time-out, a signal line for resetting the bus control circuit 203 is provided from each of the control devices 110 and 111, and the active control device 11i
By sending a reset signal, the AND circuit 203
The outputs of a and 203b are set to "1", and the bus control circuit 203
Is reset to forcibly connect the input / output control device 200 to the active control device 11i.

【0043】[0043]

【発明の効果】本発明によれば、プロセッサシステムを
二重化、入出力装置を一重化した情報処理システムにお
いて、ソフトウェアのバージョンアップ、障害解析のた
めのログ情報の採取等、ハードディスク等の入出力装置
と記憶装置と間で大量データの入出力を行なうとき、入
出力制御装置に設けたDMACが制御を行なうことによ
り、記憶装置と入出力装置との間で大量データの転送を
高速で行なうことが可能となり、効率的に、二重化シス
テムを制御することが可能となる。
According to the present invention, in an information processing system having a dual processor system and a single input / output device, an input / output device such as a hard disk for upgrading software, collecting log information for failure analysis, etc. When a large amount of data is input / output between the storage device and the storage device, the DMAC provided in the input / output control device controls the transfer of the large amount of data at a high speed between the storage device and the input / output device. It becomes possible to control the duplex system efficiently.

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

【図1】 本発明の原理を説明するブロック図FIG. 1 is a block diagram illustrating the principle of the present invention.

【図2】 プロセッサ間通信制御装置の実施の形態を説
明する図
FIG. 2 is a diagram illustrating an embodiment of an interprocessor communication control device.

【図3】 プロセッサ間通信のシーケンス図FIG. 3 is a sequence diagram of inter-processor communication

【図4】 プロセッサ間通信のデータフォーマットFIG. 4 Data format for inter-processor communication

【図5】 本発明の入出力制御装置における実施の形態
(1)
FIG. 5 is an embodiment (1) of the input / output control device of the present invention.

【図6】 本発明のバス制御回路の実施の形態(1)FIG. 6 is an embodiment (1) of the bus control circuit of the present invention.

【図7】 本発明のバス制御回路の実施の形態(2)FIG. 7 is an embodiment (2) of the bus control circuit of the present invention.

【図8】 本発明の入出力制御装置における実施の形態
(2)
FIG. 8 is a second embodiment of the input / output control device of the present invention.

【図9】 本発明の入出力制御装置における実施の形態
(3)
FIG. 9 is an embodiment (3) of the input / output control device of the present invention.

【図10】 従来例の二重化制御システムを説明するブ
ロック図
FIG. 10 is a block diagram illustrating a duplex control system of a conventional example.

【符号の説明】[Explanation of symbols]

100 0系プロセッサシステム 101 1系プロセッサシステム 110、111 制御装置 120、121 記憶装置 130、131 システムバス 140 プロセッサ間通信バス 150 プロセッサ間通信制御装置 150A トーカ制御回路 150B リスナ制御回路 150C バッファメモリ 200 入出力制御装置 201 バススイッチ 202 DMAC 203 バス制御回路 203A バスコマンドレジスタ 203B チャネル制御装置 203C デコーダ 204 タイマ 206 入出力制御回路 206A フロッピーディスク制御回路 206B ハードディスク制御回路 206C LAN制御回路 207 内部バス 301 入出力装置 301A フロッピーディスク 301B ハードディスク 301C 保守コンソール A1〜A4、203a、203b AND回路 O1、O2 OR回路 100 0 system processor system 101 1 system processor system 110, 111 Control device 120, 121 Storage device 130, 131 System bus 140 Inter processor communication bus 150 Inter processor communication control device 150A Talker control circuit 150B Listener control circuit 150C Buffer memory 200 Input / output Control device 201 Bus switch 202 DMAC 203 Bus control circuit 203A Bus command register 203B Channel control device 203C Decoder 204 Timer 206 I / O control circuit 206A Floppy disk control circuit 206B Hard disk control circuit 206C LAN control circuit 207 Internal bus 301 I / O device 301A Floppy Disk 301B Hard disk 301C Maintenance console A1 to A4, 203a, 20 b AND circuit O1, O2 OR circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 制御装置と記憶装置からなる0系のプロ
セッサシステムと、制御装置と記憶装置からなる1系の
プロセッサシステムと、 前記0系および1系のシステムバスに接続され、所定の
システムバスを選択接続するバススイッチを介して、所
定の入出力装置との接続を行なう入出力制御装置から構
成される二重化制御システムにおいて、 前記入出力制御装置に、前記0系および1系のプロセッ
サシステムの記憶装置と前記入出力装置の間でダイレク
トメモリアクセスを制御するダイレクトメモリアクセス
コントローラを設け、 前記0系および1系のプロセッサシステムの一方を現用
系とし、他方を予備系として稼働させ、現用系の前記制
御装置からの指示により、前記入出力制御装置のバスス
イッチを予備系のシステムバスに切替え接続し、予備系
のプロセッサシステムの記憶装置と入出力装置との間で
ダイレクトメモリアクセスコントローラの制御にしたが
ってデータ転送を行なうことを特徴とする二重化制御シ
ステム。
1. A 0-system processor system including a control device and a storage device, a 1-system processor system including a control device and a storage device, and a predetermined system bus connected to the 0-system and 1-system system buses. In a dual control system comprising an input / output control device for connecting to a predetermined input / output device via a bus switch for selectively connecting the input / output control device to the input / output control device, A direct memory access controller for controlling direct memory access is provided between the storage device and the input / output device, and one of the 0-system processor system and the 1-system processor system is used as the active system and the other is operated as the standby system. In accordance with an instruction from the control device, the bus switch of the input / output control device is switched to the standby system bus. A redundant control system characterized in that data is transferred between a storage device and an input / output device of a standby processor system under the control of a direct memory access controller.
【請求項2】 1項記載の二重化制御システムにおい
て、 前記入出力制御装置に、複数のチャネルを接続するチャ
ネル制御装置を設け、 前記チャネル制御装置の複数のチャネルの中の所定数の
チャネルを他系プロセッサシステム接続に割当て、チャ
ネルの割当て信号とデータ転送要求信号に対する応答信
号により、前記入出力制御装置のバススイッチを予備系
のシステムバスに切替え接続し、予備系のプロセッサシ
ステムの記憶装置と入出力装置との間でダイレクトメモ
リアクセスコントローラの制御にしたがってデータ転送
を行なうことを特徴とする1項記載の二重化制御システ
ム。
2. The redundant control system according to claim 1, wherein the input / output control device is provided with a channel control device for connecting a plurality of channels, and a predetermined number of channels among the plurality of channels of the channel control device are Assigned to the secondary processor system connection, the bus switch of the input / output control device is switched and connected to the standby system bus in response to the channel assignment signal and the response signal to the data transfer request signal, and the storage device of the standby processor system is connected. 2. The duplicated control system according to claim 1, wherein data transfer is performed with the output device under the control of the direct memory access controller.
【請求項3】 1項記載の二重化制御システムにおい
て、 前記入出力制御装置にデータの転送先アドレスのデコー
ドを行なうデコーダを設け、 前記入出力制御装置のデコーダがデータの転送先を他系
プロセッサシステムと認識したとき、前記入出力制御装
置のバススイッチを予備系のシステムバスに切替え接続
し、予備系のプロセッサシステムの記憶装置と入出力装
置との間でデータ転送を行なうことを特徴とする1項記
載の二重化制御システム。
3. The duplex control system according to claim 1, wherein the input / output control device is provided with a decoder for decoding a data transfer destination address, and the decoder of the input / output control device sets a data transfer destination to another system processor system. 1 is recognized, the bus switch of the input / output control device is switched and connected to the system bus of the standby system, and data is transferred between the storage device and the input / output device of the processor system of the standby system. The redundant control system according to the item.
【請求項4】 1、2、3項記載の二重化制御システム
において、 前記チャネル制御装置に所定の時間を計時するタイマを
設け、 前記入出力装置と前記予備系プロセッサシステムのメモ
リとの間でデータ転送を開始したとき、前記タイマを起
動し、データ転送が前記タイマの設定する所定の時間内
に完了しない場合は、データ転送を強制終了させ、前記
入出力制御装置のバススイッチを現用側のシステムバス
に切替え接続することを特徴とする1、2、3項記載の
二重化制御システム。
4. The redundant control system according to claim 1, 2, or 3, wherein the channel control device is provided with a timer for measuring a predetermined time, and data is exchanged between the input / output device and a memory of the standby processor system. When the transfer is started, the timer is started, and if the data transfer is not completed within the predetermined time set by the timer, the data transfer is forcibly terminated and the bus switch of the input / output control device is set to the working system. The redundant control system according to any one of items 1, 2, and 3, characterized in that it is connected to a bus by switching.
【請求項5】 1、2、3項記載の二重化制御システム
において、 前記チャネル制御装置にシステムバスの強制的に切り替
えを行なう接続制御信号入力回路を設け、 前記接続制御信号入力回路を介して、現用系の制御装置
から接続制御信号が入力されたとき、データ転送を強制
終了させ、前記入出力制御装置のバススイッチを現用側
のシステムバスに切替え接続することを特徴とする1、
2、3項記載の二重化制御システム。
5. The redundant control system according to claim 1, 2, or 3, wherein the channel control device is provided with a connection control signal input circuit for forcibly switching a system bus, and the connection control signal input circuit is provided, When a connection control signal is input from the active control device, the data transfer is forcibly terminated, and the bus switch of the input / output control device is switched and connected to the active system bus.
The redundant control system according to the items 2 and 3.
JP8121501A 1996-05-16 1996-05-16 Duplex control system Withdrawn JPH09305559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8121501A JPH09305559A (en) 1996-05-16 1996-05-16 Duplex control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8121501A JPH09305559A (en) 1996-05-16 1996-05-16 Duplex control system

Publications (1)

Publication Number Publication Date
JPH09305559A true JPH09305559A (en) 1997-11-28

Family

ID=14812755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8121501A Withdrawn JPH09305559A (en) 1996-05-16 1996-05-16 Duplex control system

Country Status (1)

Country Link
JP (1) JPH09305559A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004227098A (en) * 2003-01-20 2004-08-12 Hitachi Ltd Control method of storage device controller and storage device controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004227098A (en) * 2003-01-20 2004-08-12 Hitachi Ltd Control method of storage device controller and storage device controller

Similar Documents

Publication Publication Date Title
US7633856B2 (en) Multi-node system, internodal crossbar switch, node and medium embodying program
US10162567B2 (en) Computer system
US7111119B2 (en) Device and method for performing information processing using plurality of processors
US6675253B1 (en) Dynamic routing of data across multiple data paths from a source controller to a destination controller
JP3807250B2 (en) Cluster system, computer and program
JPH0426740B2 (en)
JPH11232237A (en) Information processor having crossbar switch and method for controlling crossbar switch
EP0333593B1 (en) A data processing system capable of fault diagnosis
US6389554B1 (en) Concurrent write duplex device
JPS6334494B2 (en)
JP4755050B2 (en) Data processing apparatus, mode management apparatus, and mode management method
JP3825692B2 (en) Method and apparatus for handling invalidation requests for processors not present in a computer system
US5442631A (en) Communication control device
CN111666237B (en) DMA controller with cache management function
JP3080552B2 (en) Memory device for multi-computer system
JPH09305559A (en) Duplex control system
JP2003046526A (en) Inter-node data transfer method and data transfer device
JP2003022248A (en) Bus bridge circuit and data transferring method
JP2000244585A (en) Bus interface circuit
JPH08221289A (en) Control system for duplex system
JP2881234B2 (en) Loosely coupled multiprocessor system
JPS6240565A (en) Memory control system
JP2000132527A (en) Inter-processor communication controller
JP3791463B2 (en) Arithmetic unit and data transfer system
WO2004079573A1 (en) Multi-processor system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030805