JPS61187031A - Information processor - Google Patents

Information processor

Info

Publication number
JPS61187031A
JPS61187031A JP60027699A JP2769985A JPS61187031A JP S61187031 A JPS61187031 A JP S61187031A JP 60027699 A JP60027699 A JP 60027699A JP 2769985 A JP2769985 A JP 2769985A JP S61187031 A JPS61187031 A JP S61187031A
Authority
JP
Japan
Prior art keywords
information
application program
external storage
writing
disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60027699A
Other languages
Japanese (ja)
Inventor
Mitsutaka Tsuchiya
土屋 光位
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60027699A priority Critical patent/JPS61187031A/en
Publication of JPS61187031A publication Critical patent/JPS61187031A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform write and read processings in a high speed by constituting an information processor so that a control means writes or reads the same information on or from all external storage devices on a basis of a single instruction outputted from an instruction output part. CONSTITUTION:An instruction output part 21 consists of an application program. This application program has a single control table 22 for information write or read, and consequently, this application program outputs a single instruction for information write or read. An operating system 23 as the control means has a control table 24, and disc devices 4 and 5 are controlled by control tables 25 and 26. Since dual control tables 25 and 26 are provided, both of disc devices 4 and 5 are controlled uniformly by the operating system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、外部記憶装置を具備し、該外部記憶装置に情
報を書込み、又は読出すようにした情報処理装置に係り
、特に、外部記憶装置の障害に対し、書込み、又は読出
しの信顛性を向上させた情報処理装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device equipped with an external storage device and configured to write information to or read information from the external storage device. The present invention relates to an information processing device that improves the reliability of writing or reading against device failures.

〔従来の技術〕[Conventional technology]

従来、外部記憶装置を2台備え、これら2台の外部記憶
装置に同一情報を書込み、又は読出すようにした情報処
理装置が知られている。これを外部記憶装置の2重化と
いう。この場合、一方の外部記憶装置に障害が発生して
も、他方の外部記憶装置がそれに代わることができるの
で、情報の書込み、読出しには何ら支障を来さない。
2. Description of the Related Art Conventionally, there has been known an information processing apparatus that includes two external storage devices and writes or reads the same information into or from these two external storage devices. This is called duplication of external storage devices. In this case, even if a failure occurs in one external storage device, the other external storage device can take its place, so there is no problem in writing or reading information.

第5図は従来技術による情報処理装置を示す。FIG. 5 shows an information processing device according to the prior art.

図中、1は情報の書込み、又は読出しのための入出力命
令を出力する命令出力部としての応用プログラムを示す
。又、2は上記入出力命令に基づき下記の外部記憶装置
を制御するオペレーティング・システムを示す。3は情
報処理システムのハードウェアを、4,5は外部記憶装
置としてのディスク装置を、6は書込むべき情報を示す
。又、7.8はディスク装置4.5上のファイル領域を
示す。9,10は書込み制御に用いるテーブルを示す。
In the figure, numeral 1 indicates an application program as an instruction output unit that outputs input/output instructions for writing or reading information. Further, 2 indicates an operating system that controls the following external storage device based on the above input/output command. 3 indicates the hardware of the information processing system, 4 and 5 indicate disk devices as external storage devices, and 6 indicates information to be written. Further, 7.8 indicates a file area on the disk device 4.5. Reference numerals 9 and 10 indicate tables used for write control.

上記応用プログラム1と、オペレーティング・システム
2と、ハードウェア3により情報の書込み・続出し手段
11が構成される。
The application program 1, the operating system 2, and the hardware 3 constitute an information writing/continuation means 11.

次に動作について説明する。応用プログラム1がディス
ク装置4,5の二重化を行なう場合には、ファイル領域
7,8をディスク装置4.5上に二重に予約する。これ
らのファイル領域7,8に対し、応用プログラム1は、
情報6の入出力用の制御テーブル9,10を別々(二重
)に作成する。
Next, the operation will be explained. When the application program 1 duplicates the disk devices 4 and 5, it reserves the file areas 7 and 8 in duplicate on the disk devices 4.5. For these file areas 7 and 8, the application program 1
Control tables 9 and 10 for inputting and outputting information 6 are created separately (duplicate).

ファイル領域7,8の予約されるディスク装置4゜5は
、同一あるいは異なるボリュームを問わず、任意である
。応用プログラム1は、情報6をファイル領域7,8に
出力する時に、システムが提供する入出力命令を図中、
A、Bで示す如く、各々のファイル領域7,8に発行し
て、二重に情報6を記録する。然るに、この場合、応用
プログラム1は、情報6の入出力にエラーが発生したこ
とを入出力命令の完了コードによって検知する。回復不
可能なエラーである場合には、当該ファイル領域(例え
ばファイル領域7)を切り離し延一方のファイル領域8
を使用することによって、本来処理を停止すべきところ
を続行する。
The disk devices 4.5 to which the file areas 7 and 8 are reserved are arbitrary, regardless of whether they are the same volume or different volumes. When the application program 1 outputs the information 6 to the file areas 7 and 8, the input/output commands provided by the system are as shown in the figure.
As shown by A and B, information 6 is issued to each file area 7 and 8, and information 6 is recorded twice. However, in this case, the application program 1 detects that an error has occurred in the input/output of the information 6 based on the completion code of the input/output command. If the error is unrecoverable, the file area (for example, file area 7) is separated and extended to the other file area 8.
By using , processing continues where it should have stopped.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した如く、従来の情報処理装置の二重化方式は応用
プログラム1で実現する方式であるので、記録すべき情
報6を二重化するには、応用プログラム1ごとにその処
理を行なわねばならずまた、ファイル領域7.8を確保
するためにファイル領域7,8の名前を別々に2つ用意
する必要があり、更に、応用プログラム1が入出力処理
を2度行なわねばならず、高性能を得られないなどの欠
点があった。
As mentioned above, the duplication method of conventional information processing devices is realized by the application program 1, so in order to duplicate the information 6 to be recorded, the process must be performed for each application program 1. In order to secure area 7.8, it is necessary to prepare two separate names for file areas 7 and 8, and furthermore, application program 1 must perform input/output processing twice, making it impossible to obtain high performance. There were drawbacks such as.

従って、本発明の目的は、単一の書込み、読出し命令に
より情報の書込み、又は読出しの多重化を可能とし、も
って、情報の書込みのための領域の名前を別々に用意す
ることなく、しかも書込み。
Therefore, an object of the present invention is to enable multiplexing of writing or reading of information by a single writing or reading command, thereby eliminating the need to prepare a separate name for an area for writing information. .

読出し処理を高速度で実行できるようにした情報処理シ
ステムを提供するにある。
An object of the present invention is to provide an information processing system that can perform read processing at high speed.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、情報の書込み、又は読出しを実行させる単一
の命令を出力する命令出力部と、上記単一の命令に基づ
き複数の外部記憶装置に同一情報を書込み、又は読出す
ための制御手段とにより、書込み・読出し手段を構成し
た。
The present invention includes an instruction output section that outputs a single instruction for writing or reading information, and a control means for writing or reading the same information in or from a plurality of external storage devices based on the single instruction. A writing/reading means was constructed.

〔作用〕[Effect]

本発明では、命令出力部が出力した単一の命令に基づき
、制御手段が総ての外部記憶装置に同一情報を書込み、
又は読出す。
In the present invention, the control means writes the same information to all external storage devices based on a single command output by the command output section,
Or read.

〔実施例〕〔Example〕

以下に、本発明の実施例を第1図ないし第4図に基づき
説明する。なお、従来技術と同一構成要素については、
同一符号を付して説明を省略するものとする。
Embodiments of the present invention will be described below with reference to FIGS. 1 to 4. Regarding the same components as the conventional technology,
The same reference numerals will be given and the explanation will be omitted.

而して、21は本発明に係る命令出力部で、該命令出力
部21は応用プログラムにより構成されている。ここで
、該応用プログラムは情報の書込み、又は読出しのため
の単一の制御テーブル22を有しており、従って、該応
用プログラムは、従来技術と異なり、情報の書込み、又
は読出しのために単一の命令を出力することになる。
Reference numeral 21 denotes an instruction output section according to the present invention, and the instruction output section 21 is constituted by an application program. Here, the application program has a single control table 22 for writing or reading information, and therefore, unlike the prior art, the application program has a single control table 22 for writing or reading information. This will output one command.

又、23は制御手段としてのオペレーティング・システ
ムで、該オペレーティング・システム23は第2図に示
すように制御テーブル24を有している。又、該オペレ
ーティング・システム23は第2図に示す制御テーブル
25.26によりディスク装置4,5を制御するように
なっている。
Further, 23 is an operating system as a control means, and the operating system 23 has a control table 24 as shown in FIG. The operating system 23 also controls the disk devices 4 and 5 using control tables 25 and 26 shown in FIG.

これら制御テーブル25.26は図中、点線で示すよう
に二重化されており、従って、両ディスク装置4.5は
上記オペレーティング・システム23により一様に制御
されることになる。ここで、上記オペレーティング・シ
ステム23は、第3図に示すようにディスク装置4,5
を制御するためのチャンネルコマンド27を出力するよ
うになっている。該チャンネルコマンド27は、AF(
Set Dual Unit ) +  B F (R
eset Dual Unit ) 。
These control tables 25 and 26 are duplicated as shown by dotted lines in the figure, so both disk devices 4 and 5 are uniformly controlled by the operating system 23. Here, the operating system 23 operates on disk devices 4 and 5 as shown in FIG.
It outputs a channel command 27 for controlling. The channel command 27 is AF (
Set Dual Unit ) + B F (R
eset Dual Unit).

CF (Change Dual Untt) 、  
F 4 (Sense DualConfigurat
ton )から構成されている。
CF (Change Dual Untt),
F 4 (Sense DualConfigurat
ton).

又、第1図、第2図中、28は、ディスク装置4.5を
制御するディスク制御装置で、該ディスク制御装置2日
は上記オペレーティング・システム23の指令に基づき
上記ディスク装置4.5を制御するようになっている。
Further, in FIGS. 1 and 2, 28 is a disk control device that controls the disk device 4.5, and the disk control device 2 controls the disk device 4.5 based on the instructions from the operating system 23. It is meant to be controlled.

上記命令出力部21と、オペレーティング・システム2
4と、ハードウェア3によって本発明に係る書込み・読
出し手段Kが構成される。
The above instruction output unit 21 and the operating system 2
4 and the hardware 3 constitute a writing/reading means K according to the present invention.

又、第4図中、29は上記ディスク制御装置28に接続
されているディスク装置4.5を管理する制御情報を示
し、30はディスク装置4.5の状態を管理するための
フラグを、31は二重化されたディスク装置4.5にお
ける一方のディスク装置(例えばディスク装置7)の入
出力アドレスを、32は、他方のディスク装置8の入出
力アドレスを、又、33は上記制御情報29が接続され
ているすべてのディスク装置に用意されていることを示
す。
Further, in FIG. 4, 29 indicates control information for managing the disk device 4.5 connected to the disk control device 28, 30 indicates a flag for managing the state of the disk device 4.5, and 31 indicates a flag for managing the state of the disk device 4.5. is the input/output address of one disk device (for example, disk device 7) in the duplex disk device 4.5, 32 is the input/output address of the other disk device 8, and 33 is the connection address of the control information 29. Indicates that it is available for all disk units that are installed.

以下、本発明について動作を説明する。オペレーティン
グ・システム23は、利用者の指示によって二重化の対
象となるディスク装置4,5を結合するために、ディス
ク制御装置28に対し一方のディスク装置4の入出力ア
ドレス31と他方のディスク装置5の入出力アドレス3
2を指定してチャネル・コマンド Set Dual 
Unitを発行する。
The operation of the present invention will be explained below. The operating system 23 sends the input/output address 31 of one disk device 4 to the disk controller 28 and the input/output address 31 of the other disk device 5 in order to combine the disk devices 4 and 5 to be duplexed according to a user's instruction. Input/output address 3
Specify 2 and use the channel command Set Dual
Issue a unit.

これら2つのディスク装置4.5は、オペレーティング
・システム23の制御によって、利用者は、一つのディ
スク装置としてしか扱えず、このため、一方のディスク
装置4にファイル領域7を確保すると、同時に他方のデ
ィスク装置5に対してもファイル領域8が確保される。
These two disk devices 4.5 can only be treated as one disk device by the user under the control of the operating system 23. Therefore, if the file area 7 is secured in one disk device 4, the file area 7 is secured in the other disk device at the same time. A file area 8 is also secured for the disk device 5.

応用プログラム1が、二重化された両方のディスク装置
4.5上のファイル領域7,8に、情報6を記録する動
作において、該情報6はディスク制御装置28によって
一方のディスク装置4に記録されると同時に、他方のデ
ィスク装置5上に記録される。情報6の書込み動作にお
いて、一方のディスク装置4に障害が発生した場合には
、オペレーティング・システム23は、Re5et D
ual Unitチャネル・コマンドを発行し、二重化
構成を解消するか、あるいは、Change Dual
 Unit  チャネル−:rマyドによって、一方の
ディスク装置(例えばディスク装置4)と他方のディス
ク装置5の構成を交換し、Re5et Dual Un
itチャネル・コマンドによって二重化構成を解消し、
入出力を継続する。
When the application program 1 records information 6 in the file areas 7 and 8 on both duplicated disk devices 4.5, the information 6 is recorded in one disk device 4 by the disk controller 28. At the same time, it is recorded on the other disk device 5. In the write operation of the information 6, if a failure occurs in one of the disk devices 4, the operating system 23 writes the Re5et D
Either issue the ual Unit channel command to resolve the duplex configuration, or change the
Unit channel -: r My command exchanges the configurations of one disk device (for example, disk device 4) and the other disk device 5, and performs Re5et Dual Un.
Eliminate the duplex configuration using the it channel command,
Continue input/output.

なお、ディスク装置上のデータの読み出し動作について
は、書き込み動作の全く逆の動作が行なわれる。又、上
記実施例では、チャネル・コマンド27を用いた構成方
式を示したが、ディスク制御装置28に操作スイッチを
設け、オペレーティング・システム23は 5ense
 Dual Configuration  で構成情
報を得て、操作員の判断にゆだねてもよい。
Note that the operation for reading data on the disk device is the complete opposite of the write operation. Further, in the above embodiment, a configuration method using the channel command 27 was shown, but the disk control device 28 is provided with an operation switch, and the operating system 23 is set to 5ense.
The configuration information may be obtained through Dual Configuration and left to the operator's discretion.

〔効果〕〔effect〕

以上説明したように本発明によれば、単一の書込み、又
は読出し命令を出力する命令出力部と、上記単一の命令
に基づき総ての外部記憶装置に同一情報を書込み、又は
読出すための制御手段とから構成したので、上記命令出
力部は単一の命令を出力するだけで、総ての外部記憶装
置に同一情報を書込み、又は読出すことができ、従って
、情報が書込まれ、又は読出される領域の名称を別々に
設ける必要がなく、しかも、書込み、又は読出し処理が
高速度に実行される。
As explained above, according to the present invention, there is an instruction output unit that outputs a single write or read command, and a unit for writing or reading the same information in all external storage devices based on the single command. Since the command output section is configured with a control means, it is possible to write or read the same information to or from all external storage devices by simply outputting a single command. There is no need to separately provide names for areas to be read or read, and writing or reading processing can be performed at high speed.

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

第1図は本発明に係る情報処理装置の構成図、憶装置を
制御するための信号を示し、第夕図は従来技術による情
報処理システムの構成図を示す。 4.5・・・外部ディスク装置(ディスク装置)、21
・・・命令出力部(応用プログラム)、23・・・制御
手段(オペレーティング・システム)、K・・・書込み
・読出し手段。
FIG. 1 shows a block diagram of an information processing apparatus according to the present invention and signals for controlling a storage device, and FIG. 1 shows a block diagram of an information processing system according to the prior art. 4.5...External disk device (disk device), 21
. . . Command output unit (application program), 23 . . . Control means (operating system), K . . . Writing/reading means.

Claims (1)

【特許請求の範囲】[Claims] 複数の外部記憶装置と、これら複数の外部記憶装置に同
一情報の書込み、又は読出しを実行させるための書込み
・読出し手段とを具備した情報処理装置において、上記
書込み・読出し手段は、情報の書込み、又は読出しを実
行させる単一の命令を出力する命令出力部と、上記単一
の命令に基づき上記総ての外部記憶装置を一様に制御し
、これら外部記憶装置に同一情報を書込み、又は読出す
制御手段とから構成したことを特徴とする情報処理装置
In an information processing device that includes a plurality of external storage devices and a writing/reading means for writing or reading the same information into or from the plurality of external storage devices, the writing/reading means writes information, or an instruction output unit that outputs a single instruction to execute reading; and an instruction output unit that uniformly controls all of the external storage devices based on the single instruction, and writes or reads the same information to these external storage devices. An information processing device characterized by comprising: a control means for outputting information.
JP60027699A 1985-02-15 1985-02-15 Information processor Pending JPS61187031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60027699A JPS61187031A (en) 1985-02-15 1985-02-15 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60027699A JPS61187031A (en) 1985-02-15 1985-02-15 Information processor

Publications (1)

Publication Number Publication Date
JPS61187031A true JPS61187031A (en) 1986-08-20

Family

ID=12228226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60027699A Pending JPS61187031A (en) 1985-02-15 1985-02-15 Information processor

Country Status (1)

Country Link
JP (1) JPS61187031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4951161A (en) * 1987-08-28 1990-08-21 Clarion Co., Ltd. Device for preventing sticking of a magnetic tape to a rotating magnetic head drum

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4951161A (en) * 1987-08-28 1990-08-21 Clarion Co., Ltd. Device for preventing sticking of a magnetic tape to a rotating magnetic head drum

Similar Documents

Publication Publication Date Title
JPS61187031A (en) Information processor
JPS58221460A (en) Device for controlling magnetic disc
JPH0250503B2 (en)
JPH01309117A (en) Magnetic disk device
JPH086890A (en) Input/output control system
JPS61249132A (en) Data double write system by magnetic disc controller
JPS59165170A (en) Dual system
JPH03103918A (en) Virtual disk constitution system
JP4209108B2 (en) Storage device control method, storage device used in this method, disk array device, and disk controller
JPS6366773A (en) Magnetic head mechanism for magnetic disk device
JPS6126085B2 (en)
JPS6037496B2 (en) disk controller
JP2002222063A (en) Disk array device and its data restoring method
JPH0743634B2 (en) Split volume control method
JPS60239821A (en) File control system
JPH0132535B2 (en)
JPS5991565A (en) Dual disc device
JPH02304616A (en) File control system
JPH086904A (en) Automatic job execution system and automatic data transmitting/receiving system between electronic computers
JPH02171913A (en) Optical disk device control system
JPS6061843A (en) Data processor
JPS61134859A (en) Backup controlling system of memory
JPH0291716A (en) File server
JPH01130218A (en) Simultaneous controller for plural auxiliary storage
JPH02122472A (en) Input/output controller