Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0139134B2 - - Google Patents
[go: Go Back, main page]

JPH0139134B2 - - Google Patents

Info

Publication number
JPH0139134B2
JPH0139134B2 JP57200186A JP20018682A JPH0139134B2 JP H0139134 B2 JPH0139134 B2 JP H0139134B2 JP 57200186 A JP57200186 A JP 57200186A JP 20018682 A JP20018682 A JP 20018682A JP H0139134 B2 JPH0139134 B2 JP H0139134B2
Authority
JP
Japan
Prior art keywords
input
output devices
output device
data
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP57200186A
Other languages
Japanese (ja)
Other versions
JPS5990150A (en
Inventor
Hiroyasu Shimizu
Yasushi Yaginuma
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.)
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Electric Manufacturing Co 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 Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Electric Manufacturing Co Ltd
Priority to JP57200186A priority Critical patent/JPS5990150A/en
Publication of JPS5990150A publication Critical patent/JPS5990150A/en
Publication of JPH0139134B2 publication Critical patent/JPH0139134B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Description

【発明の詳細な説明】 本発明はコンピユータにおける入出力装置の二
重化方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for duplicating input/output devices in a computer.

コンピユータを使つたシステムにおいて、その
信頼性向上のためにCPUの二重化や入出力装置
を二重化することが多い。入出力装置として補助
記憶装置を二重化するには、従来は第1図A又は
Bに示す構成にされる。同図Aは補助記憶装置
1,2を夫々のコントローラを介してシステムバ
ス3に個別に結合し、CPU4又はメモリ5と補
助記憶装置1,2間のデータ授受にはCPU4が
補助記憶装置1,2を個別に制御する。このた
め、データ授受のためには同じ操作を二度行うソ
フトウエアを用意する必要がある。同図Bは2つ
の補助記憶装置1,2に対して1つの専用コント
ローラ6を設け、該コントローラが同じデータを
補助記憶装置1,2に書込み、読出し及び誤りチ
エツクをする。この方式は二重化のための対象機
器専用のコントローラを必要とするし、そのソフ
トウエアの開発を必要とする。このように、従来
方式はソフトウエアに二重に負担がかかるかある
いは専用コントローラの開発を必要とし、システ
ムの性能の低下あるいはコストの問題があつた。
In systems using computers, CPUs and input/output devices are often duplicated to improve reliability. In order to duplicate an auxiliary storage device as an input/output device, conventionally, the configuration shown in FIG. 1A or B is used. In Figure A, the auxiliary storage devices 1 and 2 are individually coupled to the system bus 3 via their respective controllers, and the CPU 4 uses the auxiliary storage devices 1 and 2 to exchange data between the CPU 4 or the memory 5 and the auxiliary storage devices 1 and 2. 2 individually. Therefore, in order to exchange data, it is necessary to prepare software that performs the same operation twice. In FIG. 1B, one dedicated controller 6 is provided for two auxiliary storage devices 1 and 2, and this controller writes the same data to the auxiliary storage devices 1 and 2, reads it, and checks for errors. This method requires a dedicated controller for the target device for duplication, and requires the development of its software. As described above, the conventional method imposes a double burden on the software or requires the development of a dedicated controller, resulting in problems with system performance deterioration and cost.

本発明は入出力装置のコントローラとシステム
バス間にバスコントローラを設け、該バスコント
ローラが二重化入出力装置とCPU又はメモリと
データ授受を制御することにより、比較的簡単な
ハードウエアにしてソフトウエアの負担軽減を可
能にした二重化方法を提供することを目的とす
る。
The present invention provides a bus controller between the controller of the input/output device and the system bus, and the bus controller controls data transfer between the redundant input/output device and the CPU or memory, thereby making it possible to use relatively simple hardware and software. The purpose is to provide a redundancy method that makes it possible to reduce the burden.

本発明方法は第2図によつて概念的に説明され
る。システムバス3と補助記憶装置等の入出力装
置1,2間にはバスコントローラ7が設けられ、
入出力装置1,2のコントローラ1a,2aとバ
ス3間のデータ授受にはバスコントローラ7が
CPU4側からのコントロール信号に応じて制御
する。入出力装置1,2は従来と同様に夫々固有
のアドレスが割当てられ、バスコントローラ7は
第2図Aに実線でデータ経路を示すようにCPU
4側からのコントロール信号によつて入出力装置
1,2を夫々が個別の装置として個別のデータを
授受できるように制御する機能と、第2図Bに示
すように入出力装置1,2を二重化装置として同
じデータを授受できるよう制御する機能とを具備
する。第2図Bに示す二重化制御には、2つの入
出力装置1,2のアドレスを見かけ上一致させる
もので、CPU4側からの1回のアクセスにより
入出力装置1,2への同じデータの書込み及び両
装置1,2からの優先処理、正誤チエツクを含む
同じデータの読出しになるよう制御する。
The method of the invention is illustrated conceptually by FIG. A bus controller 7 is provided between the system bus 3 and input/output devices 1 and 2 such as auxiliary storage devices.
A bus controller 7 transfers data between the controllers 1a and 2a of the input/output devices 1 and 2 and the bus 3.
It is controlled according to the control signal from the CPU4 side. As before, the input/output devices 1 and 2 are each assigned a unique address, and the bus controller 7 is connected to the CPU as shown by the solid line in FIG. 2A.
A function of controlling the input/output devices 1, 2 so that they can each send and receive individual data as separate devices by a control signal from the 4 side, and input/output devices 1, 2 as shown in FIG. 2B. It also has a control function that allows it to send and receive the same data as a duplex device. The redundant control shown in Figure 2B involves apparently matching the addresses of the two input/output devices 1 and 2, and writing the same data to the input/output devices 1 and 2 with one access from the CPU 4 side. The same data is read out from both devices 1 and 2, including priority processing and correct/incorrect checking.

第3図はバスコントローラ7の各機能を個別に
示す制御態様図である。バスコントローラ7はシ
ステムバス3のうちのコントロールバスとの間で
コントロール信号を授受し、アドレスバスとの間
で入出力装置1,2の指定アドレス信号を授受す
る入力部7Aを具え、この入力部7Aはバス側の
コントロール信号又は内部コントロール信号に応
じて種々の制御信号をROM回路から得て入出力
装置1,2とバス3の結合態様を変える。
FIG. 3 is a control mode diagram showing each function of the bus controller 7 individually. The bus controller 7 includes an input section 7A that exchanges control signals with the control bus of the system bus 3 and receives designated address signals of the input/output devices 1 and 2 with the address bus. 7A obtains various control signals from the ROM circuit in accordance with bus-side control signals or internal control signals to change the coupling manner between the input/output devices 1 and 2 and the bus 3.

第3図Aは入出力装置1,2をバス3に個別に
結合する場合であり、CPU側からのコントロー
ル信号で入力部7Aのイネーブルビツトを“0”
にすることで二重化機能を無効にして入出力装置
1,2が個別のアドレスを持つてCPU又はメモ
リと個別にデータ授受する制御信号を得る。この
結合状態は例えば入出力装置1,2が補助記憶装
置のときには記憶容量を倍増するなどの通常のシ
ステム構成に同じになる。
Figure 3A shows the case where the input/output devices 1 and 2 are individually connected to the bus 3, and the enable bit of the input section 7A is set to "0" by a control signal from the CPU side.
By doing so, the duplication function is disabled and the input/output devices 1 and 2 have individual addresses and control signals are obtained for transmitting and receiving data individually with the CPU or memory. This combined state is the same as a normal system configuration, for example, when the input/output devices 1 and 2 are auxiliary storage devices, the storage capacity is doubled.

第3図B,Cは入出力装置1,2を二重化する
場合であり、そのうちBはCPU又はメモリから
のデータを入出力装置1,2に書込む場合であ
り、逆にCは入出力装置1,2からデータを読出
す場合である。このB,Cの状態では入力部7A
のイネーブルビツトが“1”にされて二重化結合
機能になる。そして、Bの状態では入力部7Aの
リード/ライト(R/W)ビツトが“1”にされ
てその出力ラインC1により記号ラインスイツチ
ング部7Bのアドレス入力がラインL1からL2
切換えられ、入出力装置2へのアドレス入力(ラ
インL3)がラインL2からのアドレス指定にされ
る。このとき、CPU側からのアドレス信号は入
出力装置1の固有アドレスにされ、このアドレス
信号はコントロールとデータとアドレスのライン
L4を通して入出力装置1に入力されそのデータ
書込みがなされると共に、該アドレス信号を入力
とするアドレス変換部7Cがリード/ライト信号
の読出しを条件に入出力装置2の固有アドレスに
変換してラインL2に送出する。従つて、入出力
装置1を指定するアドレス信号によつて入出力装
置1及び2の両方に同じデータ書込みができる。
Figure 3 B and C are cases in which the input/output devices 1 and 2 are duplicated, of which B is the case in which data from the CPU or memory is written to the input/output devices 1 and 2, and conversely, C is the case in which the input/output devices 1 and 2 are duplicated. This is a case where data is read from 1 and 2. In this state of B and C, the input section 7A
The enable bit of is set to "1" to provide a duplex coupling function. In state B, the read/write (R/W) bit of the input section 7A is set to " 1 " and the address input of the symbol line switching section 7B is switched from line L1 to L2 by the output line C1. The address input (line L 3 ) to the input/output device 2 is made to be the address specified from line L 2 . At this time, the address signal from the CPU side is set to the unique address of input/output device 1, and this address signal is connected to the control, data, and address lines.
The data is input to the input/output device 1 through L4 and written, and the address converter 7C, which receives the address signal as input, converts it into a unique address of the input/output device 2 on the condition that the read/write signal is read. Send to line L2 . Therefore, the same data can be written to both input/output devices 1 and 2 by an address signal specifying input/output device 1.

Cの状態ではイネーブルビツト“1”(ライン
C1)によりスイツチング部7Bは上述のBの状
態と同じにラインL1とL3間をしや断し、ライン
L2とL3間を結合及びアドレス変換による入出力
装置2もアドレス指定され、両入出力装置からの
データ読出しがなされる。このうち、入出力装置
1,2の両データはデータ選択部7dで両者の優
先権から一方が選択又は論理積(もしくは論理
和)が取られて(同期が取られて)バス3上へ出
力される。なお、入出力装置1,2からのデータ
出力はエラー検出部7eにも取込まれてエラーチ
エツクがなされ、さらに入出力装置1,2自体の
エラーチエツクがなされ、このチエツクでエラー
無しと判定されるときにシステムバス3側へのデ
ータ、アドレスの出力が許容されると、致命的エ
ラー発生にはラインL5を通して入力部7Aのラ
インC1をインアクテイブにする。
In state C, the enable bit is “1” (line
C 1 ) causes the switching section 7B to slightly disconnect lines L 1 and L 3 in the same manner as in the above-mentioned state B.
The input/output device 2 is also addressed by coupling and address conversion between L 2 and L 3 , and data is read from both input/output devices. Among these, both data of the input/output devices 1 and 2 are selected by the data selection unit 7d based on the priority of the two, or logical product (or logical sum) is taken (synchronized) and output onto the bus 3. be done. Note that the data output from the input/output devices 1 and 2 is also taken in by the error detection section 7e and checked for errors, and the input/output devices 1 and 2 themselves are also checked for errors, and it is determined by this check that there are no errors. When data and addresses are allowed to be output to the system bus 3, the line C1 of the input section 7A is made inactive through the line L5 in the event of a fatal error.

従つて、本発明によれば、CPU側からのコン
トロールは1回のアドレス指定で2台の入出力装
置1,2とのデータ授受が可能でCPU側のソフ
トウエアの負荷を軽減した二重化を実現できる。
また、入出力装置自体はそのコントローラ、ハン
ドラ、インターフエースも含めて従来の装置に特
別の加工を必要としないし、バスコントローラ7
の構成は少しのゲート素子回路で実現できる。ま
た、入出力装置1,2を独立した装置として個別
のデータ授受に切換えることができ、結合される
入出力装置の種別に応じて二重化の実施を自由に
選択できる。
Therefore, according to the present invention, control from the CPU side allows data transfer to and from the two input/output devices 1 and 2 with a single address specification, realizing redundancy that reduces the software load on the CPU side. can.
Furthermore, the input/output device itself, including its controller, handler, and interface, does not require any special processing on conventional devices, and the bus controller 7
The configuration can be realized with a small number of gate element circuits. Further, the input/output devices 1 and 2 can be switched to separate data exchange as independent devices, and implementation of duplication can be freely selected depending on the type of input/output devices to be combined.

なお、入出力装置としては補助記憶装置に限ら
れるものではなく、タイプライタの打出しを二重
化するロギング機能を持たせる等にも利用でき
る。
Note that the input/output device is not limited to an auxiliary storage device, but can also be used to provide a logging function for duplicating typewriter printing.

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

第1図は従来の二重化方法の説明図、第2図は
本発明の概念的な説明図、第3図は本発明におけ
る個別の制御態様を示す図である。 1,2…入出力装置、3…システムバス、4…
CPU、5…メモリ、7…バスコントローラ、7
A…入力部、7B…記号ラインスイツチング部、
7C…アドレス変換部、7d…データ選択部、7
e…エラー検出部。
FIG. 1 is an explanatory diagram of a conventional duplexing method, FIG. 2 is a conceptual explanatory diagram of the present invention, and FIG. 3 is a diagram showing individual control aspects in the present invention. 1, 2...I/O device, 3...System bus, 4...
CPU, 5...Memory, 7...Bus controller, 7
A...Input section, 7B...Symbol line switching section,
7C...address conversion section, 7d...data selection section, 7
e...Error detection unit.

Claims (1)

【特許請求の範囲】[Claims] 1 コンピユータのシステムバスと2台の同じ機
能を持ち固有のアドレスを持つ入出力装置との間
にバスコントローラを設け、該バスコントローラ
は、コントロール信号に応じて前記2台の入出力
装置を前記システムバスに個別結合又は二重化結
合させる入力部7Aと、前記二重化結合状態で
CPU側からの一方の入出力装置1の固有アドレ
ス信号による該入出力装置へのデータ読出し/書
込み時に該固有アドレス信号を他方の入出力装置
2の固有アドレス信号に変換するアドレス変換部
7Cと、前記二重化結合状態でCPU側からの前
記アドレス指定信号に代えて前記アドレス変換部
からのアドレス信号によつて前記他方の入出力装
置2のアドレス指定に切換えて該入出力装置への
データ読出し/書込みに前記入出力装置1と同じ
データ読出し/書込みを行わせるスイツチング部
7Bと、前記両入出力装置から読出す同じデータ
をその同期処理又は優先権によつて1つのデータ
としてシステムバス上に取出すデータ選択部と、
前記両入出力装置から読出す同じデータのエラー
チエツクを行うエラー検出部とを有し、二重化結
合状態での両入出力装置への同じデータの二重化
読出し/書込み制御を行うことを特徴とする入出
力装置の二重化方法。
1. A bus controller is provided between the system bus of the computer and two input/output devices having the same function and unique addresses, and the bus controller connects the two input/output devices to the system according to a control signal. Input section 7A for individual coupling or double coupling to the bus, and in the double coupling state
an address conversion unit 7C that converts the unique address signal of one input/output device 1 from the CPU side into a unique address signal of the other input/output device 2 when reading/writing data to the input/output device; In the duplex connection state, switching to address designation of the other input/output device 2 using an address signal from the address converter instead of the address designation signal from the CPU side, and reading/writing data to the input/output device. a switching section 7B that causes the input/output device 1 to read/write the same data as the input/output device 1, and a data that outputs the same data read from both the input/output devices as one data onto the system bus by synchronization processing or priority. a selection section;
and an error detection unit that performs an error check on the same data read from both the input/output devices, and performs duplex read/write control of the same data to both the input/output devices in a duplex connection state. How to duplicate output devices.
JP57200186A 1982-11-15 1982-11-15 Double structure method of input and output device Granted JPS5990150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57200186A JPS5990150A (en) 1982-11-15 1982-11-15 Double structure method of input and output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57200186A JPS5990150A (en) 1982-11-15 1982-11-15 Double structure method of input and output device

Publications (2)

Publication Number Publication Date
JPS5990150A JPS5990150A (en) 1984-05-24
JPH0139134B2 true JPH0139134B2 (en) 1989-08-18

Family

ID=16420221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57200186A Granted JPS5990150A (en) 1982-11-15 1982-11-15 Double structure method of input and output device

Country Status (1)

Country Link
JP (1) JPS5990150A (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5160422A (en) * 1974-11-25 1976-05-26 Hitachi Ltd Fuairuno 2 jugakino hoshiki
JPS56129964A (en) * 1980-03-17 1981-10-12 Hitachi Ltd Duplicate file control system
JPS5798197A (en) * 1980-12-11 1982-06-18 Fujitsu Ltd Multiplexing memory device

Also Published As

Publication number Publication date
JPS5990150A (en) 1984-05-24

Similar Documents

Publication Publication Date Title
US5708771A (en) Fault tolerant controller system and method
US4819232A (en) Fault-tolerant multiprocessor arrangement
JPH05298192A (en) Information processing equipment
US5717852A (en) Multiple bus control method and a system thereof
JPH0139134B2 (en)
JPH0122653B2 (en)
JPS6052458B2 (en) Duplicated computer control system
JP3511804B2 (en) Communication terminal device
JPH0238969B2 (en)
JPS638500B2 (en)
JP3012402B2 (en) Information processing system
JPS63266548A (en) Redundant computer system
JP2904266B2 (en) Memory connection controller that can cope with bus degradation
JP2892429B2 (en) Input/Output Control Unit
JP3086245B2 (en) Other system access designation device
JPS5870495A (en) Controller of multiplexing storage device
JP2808881B2 (en) Electronic disk controller
JPH04263333A (en) Memory duplication system
JPS5923677B2 (en) Redundant system for exchange processing equipment
JPH0486933A (en) Data transfer controlling circuit
JPH03129457A (en) Compound mode multiprocessing system
JPS5851364A (en) Redundant peripheral storage controller
JPH0315217B2 (en)
JPH0420495B2 (en)
JPH06175929A (en) Duplex main storage device