JPS627572B2 - - Google Patents

Info

Publication number
JPS627572B2
JPS627572B2 JP54021887A JP2188779A JPS627572B2 JP S627572 B2 JPS627572 B2 JP S627572B2 JP 54021887 A JP54021887 A JP 54021887A JP 2188779 A JP2188779 A JP 2188779A JP S627572 B2 JPS627572 B2 JP S627572B2
Authority
JP
Japan
Prior art keywords
data
input
write
control unit
writing
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
JP54021887A
Other languages
Japanese (ja)
Other versions
JPS55115121A (en
Inventor
Masanori Mizuta
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2188779A priority Critical patent/JPS55115121A/en
Publication of JPS55115121A publication Critical patent/JPS55115121A/en
Publication of JPS627572B2 publication Critical patent/JPS627572B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は情報処理システムの入出力制御装置に
関し、特に同一のデータを異なる入出力装置に重
複して記録することのできる入出力装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an input/output control device for an information processing system, and particularly to an input/output device that can record the same data redundantly on different input/output devices.

従来は異なる2台の入出力装置(例えば磁気デ
イスク装置等)に同一情報を二重に記録すること
は一般的ではなかつた。これは価格が高くつくと
いうこともあるが、例えば磁気デイスク装置の場
合次の様な代替方式が可能だつたことによる。す
なわち第1に磁気デイスク装置といつても取換え
可能なデイスクパツク方式が大半で、装置本体
(以下ドライブという)が故障してもデイスクパ
ツクを他のドライブにかけ換えることにより、ほ
とんどの場合処理を継続することができ、第2の
時々磁気デイスク装置の記録内容の写しを磁気テ
ープ等にコピーし、更にその間の更新情報の記録
を磁気テープ等に保存しておくことにより、万一
磁気デイスクの内容が破壊されてもデータを再現
でき、これにより磁気デイスク装置の記録内容の
破壊やシステムダウンを最小限にくい止めること
が可能であつたからである。しかし取換可能なデ
イスクパツク方式ではなく磁気デイスク装置がド
ライブに固定される方式の場合は、前述の第1の
方式は使えなくなり、又第2の方式では処理時間
が非常に長くなるという欠点がある。又従来の磁
気デイスク制御装置を用いて同一情報を2台の磁
気デイスク装置に常に重複して記録する場合は、
ソフトウエアにより異なるデータを異なる磁気デ
イスク装置に書込むときと全く同様に、異なる磁
気デイスク装置へそれぞれ書込み命令を出さねば
ならず、磁気デイスク装置に対するソフトウエア
の書込み処理が2倍になつて処理効率が著しく低
下する欠点があつた。
In the past, it was not common to record the same information twice in two different input/output devices (for example, magnetic disk devices). Although this is partly due to the high cost, for example, in the case of magnetic disk devices, the following alternative methods are possible. Firstly, most disk packs can be replaced with magnetic disk devices at any time, so even if the device itself (hereinafter referred to as a drive) breaks down, processing can be completed in most cases by replacing the disk pack with another drive. By copying a second copy of the recorded contents of the magnetic disk device onto a magnetic tape, etc., and storing the record of the updated information on the magnetic tape, etc., you can prevent the magnetic disk from being damaged by any chance. This is because even if the contents were destroyed, the data could be reproduced, thereby making it possible to minimize the destruction of the recorded contents of the magnetic disk device and the system failure. However, if the magnetic disk device is fixed to the drive rather than the replaceable disk pack method, the first method described above cannot be used, and the second method has the disadvantage that the processing time is extremely long. be. Also, when using a conventional magnetic disk control device to record the same information redundantly on two magnetic disk devices,
Just as when writing different data to different magnetic disk drives using software, write commands must be issued to different magnetic disk drives, which doubles the software write processing to the magnetic disk drives, improving processing efficiency. There was a drawback that the value decreased significantly.

したがつて本発明の目的は1回の書込み命令
(コマンド)で同一情報を異なる2台の入出力装
置に重複して記録するのに、ソフトウエアの処理
効率を著しく低下させることはなしにシステムの
信頼性を著しく高めることを可能にした二重書記
録の可能な入出力制御装置を提供しようとするも
のである。
Therefore, an object of the present invention is to record the same information redundantly on two different input/output devices with a single write command without significantly reducing the processing efficiency of the software. The present invention aims to provide an input/output control device capable of dual-write recording, which makes it possible to significantly improve reliability.

本発明によれば、中央処理装置から転送される
データを2台の入出力装置に重複して記録するた
めの入出力制御装置であつて、前記データを第1
の入出力装置へ書込む第1の書込制御部と、前記
書込みの終了時に前記書込まれたデータを読出す
読出制御部と、前記読出されたデータを書込むデ
ータバツフアと、このデータバツフアへの書込み
が終了するとこのデータバツフアの内容を読出し
これを第2の入出力装置に書込む第2の書込制御
部と、前記読出制御部と前記第2の書込制御部に
より制御され、前記データバツフアのデータの入
出力を制御すると共に、前記読出されたデータの
前記データバツフアへの書込みが終了すると書込
終了を前記読出制御部に報告する機能を持つデー
タバツフア制御部とを含み、而して前記書込終了
の報告を前記第1の入出力装置へのデータ書込み
が終了したことを示す報告として前記中央処理装
置に送つて次のステツプの動作の起動指示を待つ
ように構成した、二重書記録の可能な入出力制御
装置が得られる。
According to the present invention, there is provided an input/output control device for recording data transferred from a central processing unit in two input/output devices redundantly, the data being transferred to a first input/output device.
a first write control unit for writing to the input/output device; a read control unit for reading the written data when the writing is finished; a data buffer for writing the read data; and a data buffer for writing the read data; When writing is completed, a second write control unit reads the contents of the data buffer and writes it to a second input/output device, and is controlled by the read control unit and the second write control unit, and controls the data buffer. a data buffer control unit having a function of controlling input/output of data and reporting completion of writing to the read control unit when writing of the read data to the data buffer is completed; A dual write recording system configured to send a completion report to the central processing unit as a report indicating that data writing to the first input/output device has been completed and wait for an instruction to start the next step operation. A possible input/output control device is obtained.

次に本発明につき図面を参照して詳細に説明す
る。
Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例の構成をデータの二
重書込動作を行う部分を主体として示したブロツ
ク図である(入出力装置からのデータの読出動作
に関係する回路は省略)。第1図において入出力
制御装置1は、中央処理装置2からのデータ移送
を制御するインタフエース制御回路3、この回路
3に接続され第1の入出力装置4にデータを書込
む第1の書込制御部5、第1の入出力装置4に書
込んだデータを読出す読出制御部6、この読出制
御部に接続されこの制御部が入出力装置4から読
出したデータをデータバツフア7に移送するのを
制御するバツフア制御部8、データバツフア7お
よびバツフア制御部8に接続され第2の入出力装
置9にデータバツフア7の内容を書込む第2の書
込制御部10を含んでいる。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, mainly showing the portion that performs the data double write operation (circuits related to the data read operation from the input/output device are omitted). In FIG. 1, the input/output control device 1 includes an interface control circuit 3 that controls data transfer from the central processing unit 2, and a first interface control circuit 3 that is connected to this circuit 3 and writes data to the first input/output device 4. a read control unit 6 that reads data written to the first input/output device 4; a read control unit 6 that is connected to the read control unit and transfers the data read from the input/output device 4 to the data buffer 7; A second write control section 10 connected to the data buffer 7 and the buffer control section 8 and writing the contents of the data buffer 7 to a second input/output device 9 is included.

中央処理装置2からの書込命令に基づいて入出
力インタフエース11を介して転送された書込デ
ータは、インタフエース制御回路3の制御によつ
て内部インタフエース12を介して第1の書込制
御部5に移送され、この書込制御部5の制御にも
とづいてデイバイスインタフエース13を介して
第1の入出力装置4に書込まれる。第1の入出力
装置4にデータの書込を終了すると同装置から書
込終了報告がデイバイスインタフエース13を介
して第1の書込制御部5に報告され、第1の書込
制御部4は内部インタフエース14を介して読出
制御部6に書込データを読出すように指示をす
る。読出制御部6は、デイバイスインタフエース
15を介して上記書込みデータを第1の入出力装
置4から読出し、内部インタフエース16を介し
てバツフア制御部8に対し読出しデータをデータ
バツフア7に書込むように指示をする。バツフア
制御部8は、データバツフア7の空き状態を確認
して、上記読出データを読出制御部6から内部イ
ンタフエース18を介してデータバツフア7に書
込むように内部インピーダンス17を介しデータ
バツフア7に指示すると共に上記読出データのデ
ータバツフア7への書込みが終了すると、内部イ
ンタフエース16を介して読出制御部6に対して
データバツフア7の書込終了を報告する。読出制
御部6は内部インタフエース14を介して第1の
書込制御部5に対しデータバツフア7への書込の
終了を報告する。第1の書込制御部5は上記終了
報告に基づき第1の入出力装置4へのデータの書
込が終了したものと判断し、インタフエース制御
部3を介して中央処理装置2に対し書込命令の終
了報告を行い、中央処理装置2からの指示に従つ
て次のデータの移送を要求する等、次のステツプ
の動作を起動させる。一方バツフア制御部8は、
第1の入出力装置4からの読出しデータをデータ
バツフア7に書込終了時、第2の書込制御部10
に対し入出力装置9にデータバツフア7の上記書
込みデータを書込むように内部インタフエース1
9を介して指示をする。第2の書込制御部10は
バツフア制御部8からの指示に基づき内部インタ
フエース20を介してデータバツフア7から上記
書込みデータを読出し、デイバイスインタフエー
ス21を介して第2の入出力装置9に上記データ
バツフア7からの読出しデータを書込む。第2の
入出力装置9に対するデータの書込が終了する
と、入出力装置9から書込終了報告がデイバイス
インタフエース21を介して第2の書込制御部1
0に報告され、第2の書込制御部10はバツフア
制御部8に対し内部インタフエース19を介して
第2の入出力装置へのデータ書込終了報告を行
う。バツフア制御部8は上記データ書込終了報告
に従つてデータバツフア7を空き状態にする。デ
ータバツフアはダブルバツフア方式を採用するこ
とにより上位装置の処理効率の低下を最小限にお
さえることができる。
The write data transferred via the input/output interface 11 based on a write command from the central processing unit 2 is transferred to the first write data via the internal interface 12 under the control of the interface control circuit 3. The data is transferred to the control section 5 and written to the first input/output device 4 via the device interface 13 under the control of the write control section 5 . When data writing to the first input/output device 4 is completed, a write completion report is reported from the device to the first write control unit 5 via the device interface 13. instructs the read control unit 6 to read the write data via the internal interface 14. The read control unit 6 reads the write data from the first input/output device 4 via the device interface 15 and causes the buffer control unit 8 to write the read data to the data buffer 7 via the internal interface 16. Give instructions. The buffer control unit 8 confirms the empty state of the data buffer 7 and instructs the data buffer 7 via the internal impedance 17 to write the read data from the read control unit 6 to the data buffer 7 via the internal interface 18. When the writing of the read data to the data buffer 7 is completed, the completion of writing to the data buffer 7 is reported to the read control unit 6 via the internal interface 16. The read control unit 6 reports the completion of writing to the data buffer 7 to the first write control unit 5 via the internal interface 14. The first write control unit 5 determines that data writing to the first input/output device 4 is completed based on the completion report, and writes the data to the central processing unit 2 via the interface control unit 3. It reports the completion of the import command, and starts the operation of the next step, such as requesting the transfer of the next data according to instructions from the central processing unit 2. On the other hand, the buffer control section 8
When the read data from the first input/output device 4 is finished writing to the data buffer 7, the second write control unit 10
The internal interface 1 is configured to write the above write data of the data buffer 7 to the input/output device 9.
Give instructions via 9. The second write control unit 10 reads the write data from the data buffer 7 via the internal interface 20 based on instructions from the buffer control unit 8, and sends the write data to the second input/output device 9 via the device interface 21. Writes read data from data buffer 7. When data writing to the second input/output device 9 is completed, a write completion report is sent from the input/output device 9 to the second write control unit 1 via the device interface 21.
0, and the second write control unit 10 reports to the buffer control unit 8 via the internal interface 19 that data writing to the second input/output device has been completed. The buffer control unit 8 places the data buffer 7 in an empty state in accordance with the data write completion report. By adopting a double buffer system for the data buffer, it is possible to minimize the decrease in processing efficiency of the host device.

したがつて第1図の装置によれば、中央処理装
置内の入出力制御装置制御プログラムは同一デー
タを2台の入出力装置に重複して書込む場合、
各々の入出力装置へそれぞれ書込命令を出す必要
もなく1回の書込命令で二重書処理が可能とな
り、入出力制御装置制御プログラムの書込処理は
著しく向上する。
Therefore, according to the device shown in FIG. 1, when the input/output control device control program in the central processing unit writes the same data to two input/output devices in duplicate,
It is not necessary to issue write commands to each input/output device, and dual write processing is possible with a single write command, and the write processing of the input/output control device control program is significantly improved.

本発明は以上説明したように、1組のデータバ
ツフアを用い上位装置からの1回の命令で2台の
入出力装置に同じデータを重複して記録すること
により、上位装置からはあたかも1台の入出力装
置にのみ記録しているかのごとく見えて、処理効
率の低下を最小限におさえながら二重記録による
高信頼性を実現できる効果がある。
As explained above, the present invention uses a set of data buffers to record the same data redundantly in two input/output devices with a single command from the host device, so that the host device can see the same data as if it were a single device. It appears as if the data is being recorded only on the input/output device, and has the effect of achieving high reliability through dual recording while minimizing a decline in processing efficiency.

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

第1図は本発明の一実施例の構成をデータの二
重書込動作を行う部分を主体として示したブロツ
ク図である。 記号の説明:1は入出力制御装置、2は中央処
理装置、3はインタフエース制御回路、4は第1
の入出力装置、5は書込制御部、6は読出制御
部、7はデータバツフア、8はデータバツフア制
御部、9は第2の入出力装置、10は第2の書込
制御部をあらわしており、11〜21はいずれも
インタフエースを示している。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, mainly showing the portion that performs a data double write operation. Explanation of symbols: 1 is the input/output control device, 2 is the central processing unit, 3 is the interface control circuit, 4 is the first
5 is a write control section, 6 is a read control section, 7 is a data buffer, 8 is a data buffer control section, 9 is a second input/output device, and 10 is a second write control section. , 11 to 21 all indicate interfaces.

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置から転送されるデータを2台の
入出力装置に重複して記録するための入出力制御
装置であつて、前記データを第1の入出力装置へ
書込む第1の書込制御部と、前記書込みの終了時
に前記書込まれたデータを読出す読出制御部と、
前記読出されたデータを書込むデータバツフア
と、このデータバツフアへの書込みが終了すると
このデータバツフアの内容を読出しこれを第2の
入出力装置に書込む第2の書込制御部と、前記読
出制御部と前記第2の書込制御部により制御さ
れ、前記データバツフアのデータの入出力を制御
すると共に、前記読出されたデータの前記データ
バツフアへの書込みが終了すると書込終了を前記
読出制御部に報告する機能を持つデータバツフア
制御部とを含み、而して前記書込終了の報告を前
記第1の入出力装置へのデータ書込みが終了した
ことを示す報告として前記中央処理装置に送つて
次のステツプの動作の起動指示を待つように構成
した、二重書記録の可能な入出力制御装置。
1 An input/output control device for redundantly recording data transferred from a central processing unit to two input/output devices, the first write control device writing the data to the first input/output device a read control unit that reads the written data at the end of the write;
a data buffer for writing the read data; a second write control unit for reading the contents of the data buffer and writing the same to a second input/output device when writing to the data buffer is completed; and a read control unit; A function controlled by the second write control unit to control input/output of data to the data buffer, and to report completion of writing to the read control unit when writing of the read data to the data buffer is completed. a data buffer control unit having a data buffer control unit, and transmits the write completion report to the central processing unit as a report indicating that data writing to the first input/output device has been completed, and performs the next step operation. An input/output control device capable of dual-write recording configured to wait for activation instructions.
JP2188779A 1979-02-28 1979-02-28 Input and output control unit possible for duplicated recording Granted JPS55115121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2188779A JPS55115121A (en) 1979-02-28 1979-02-28 Input and output control unit possible for duplicated recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2188779A JPS55115121A (en) 1979-02-28 1979-02-28 Input and output control unit possible for duplicated recording

Publications (2)

Publication Number Publication Date
JPS55115121A JPS55115121A (en) 1980-09-04
JPS627572B2 true JPS627572B2 (en) 1987-02-18

Family

ID=12067610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2188779A Granted JPS55115121A (en) 1979-02-28 1979-02-28 Input and output control unit possible for duplicated recording

Country Status (1)

Country Link
JP (1) JPS55115121A (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4819154A (en) * 1982-12-09 1989-04-04 Sequoia Systems, Inc. Memory back up system with one cache memory and two physically separated main memories
JPS59177666A (en) * 1983-03-28 1984-10-08 Toshiba Corp Dual bulk controller
US4823261A (en) * 1986-11-24 1989-04-18 International Business Machines Corp. Multiprocessor system for updating status information through flip-flopping read version and write version of checkpoint data
US5051887A (en) * 1987-08-25 1991-09-24 International Business Machines Corporation Maintaining duplex-paired storage devices during gap processing using of a dual copy function
JPH10506483A (en) * 1994-06-10 1998-06-23 テキサス・マイクロ・インコーポレーテッド Main memory system and checkpoint protocol for fault tolerant computer systems
US5745672A (en) * 1995-11-29 1998-04-28 Texas Micro, Inc. Main memory system and checkpointing protocol for a fault-tolerant computer system using a read buffer
US5864657A (en) * 1995-11-29 1999-01-26 Texas Micro, Inc. Main memory system and checkpointing protocol for fault-tolerant computer system
US5751939A (en) * 1995-11-29 1998-05-12 Texas Micro, Inc. Main memory system and checkpointing protocol for fault-tolerant computer system using an exclusive-or memory
US5737514A (en) * 1995-11-29 1998-04-07 Texas Micro, Inc. Remote checkpoint memory system and protocol for fault-tolerant computer system
JP2000099277A (en) * 1998-09-18 2000-04-07 Fujitsu Ltd Method for remote transfer between file units
JP2001195202A (en) * 2000-01-14 2001-07-19 Nec Corp Duplex storage device and duplex storage method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4944063A (en) * 1972-09-04 1974-04-25

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4944063A (en) * 1972-09-04 1974-04-25

Also Published As

Publication number Publication date
JPS55115121A (en) 1980-09-04

Similar Documents

Publication Publication Date Title
JPH0786811B2 (en) Array disk drive drive position confirmation method
US20020138694A1 (en) Magnetic disc drive, method for recording data, and method for reproducing data
JPS627572B2 (en)
JPH07281840A (en) Dual-disk recording device
JP2761289B2 (en) Disk track emulation method
JPS58151660A (en) Magnetic disk control device
JPH0793101A (en) Data backup device
JP3794322B2 (en) Data copy system
JPS6347937Y2 (en)
JPH0375952B2 (en)
JPH11175261A (en) Control method for disk
JPH09212425A (en) Write cache backup system
JP2544327B2 (en) Magnetic disk controller
JPS58223860A (en) Magnetic disk controller
JPH05181613A (en) Information processor
JPH08263221A (en) Duplex magnetic disk device
JP3226047B2 (en) I / O device
JP2864751B2 (en) Nonvolatile memory management method for disk controller
JPS58171724A (en) Copy controller of magnetic disc tape
JPH05282608A (en) Magnetic type device
JPH04326420A (en) Magnetic tape storage and its control system
JPS6226482B2 (en)
JPH04167120A (en) Magnetic disk subsystem
JPS60107157A (en) Disc copy system
JPS59112353A (en) Data reading out system from recording medium