JPS63201712A - Dual type file subsystem - Google Patents

Dual type file subsystem

Info

Publication number
JPS63201712A
JPS63201712A JP62034307A JP3430787A JPS63201712A JP S63201712 A JPS63201712 A JP S63201712A JP 62034307 A JP62034307 A JP 62034307A JP 3430787 A JP3430787 A JP 3430787A JP S63201712 A JPS63201712 A JP S63201712A
Authority
JP
Japan
Prior art keywords
file storage
file
storage device
mode
storage devices
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
JP62034307A
Other languages
Japanese (ja)
Inventor
Masaki Mizuno
水野 昌樹
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62034307A priority Critical patent/JPS63201712A/en
Publication of JPS63201712A publication Critical patent/JPS63201712A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To facilitate a state management of a subsystem by executing an operation being contrary to main/sub file storage devices, by one instruction, even in case of executing said operation. CONSTITUTION:One pair is constituted of two sets, and provided with file storage devices 1, 2 in which one of them, and the other have been set to a main state and a sub-state, respectively, and a file controller 3 for outputting an operation command containing an operation mode for operating said main and/or sub file storage devices 1, 2, to a pair of file storage devices 1, 2. The file storage devices 1, 2 are provided with an operation mode decoding means 21 for recognizing an operation mode from the file controller 3, an instruction decoding means 22 for decoding means 22 for decoding the operation command as an instruction peculiar to each operation mode, based on the operation mode recognized by this means 21, and an operation executing part 23 for executing the operation, based on its signal. In such a way, a state management of a subsystem is facilitated.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、一対のファイル記憶装置を有し、これら各フ
ァイル記憶装置に同一のファイルデータを記憶させる二
重化ファイルサブシステムに関L、特に各ファイル記憶
装置が異なった動作を実行する際の動作手順を簡略化し
た二重化ファイルサブシステムに関する。
Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a duplex file subsystem that has a pair of file storage devices and stores the same file data in each of these file storage devices, and particularly relates to The present invention relates to a duplex file subsystem that simplifies the operation procedure when a file storage device performs different operations.

(従来の技術) 一般に、この種の二重化ファイルサブシステムは、二台
で一つの対を構成するファイル記憶装置と、これらファ
イル記憶装置に対するファイルデータの書込みおよび読
出しを制御するファイル制御装置とを備えている。
(Prior Art) In general, this type of duplex file subsystem includes two file storage devices forming a pair, and a file control device that controls writing and reading of file data to and from these file storage devices. ing.

そして、従来はファイル制御装置にファイル記憶装置の
対の関係を認識させておき、選択的にいずれか一方、あ
るいは両方のファイル記憶装置を制御する構成となって
いた。
Conventionally, the file control device is made to recognize the relationship between a pair of file storage devices, and selectively controls one or both of the file storage devices.

したがって、例えば、一方のファイル記憶装置の内部状
態を変更する場合、ファイル制御装置がそのファイル記
憶装置のみを選択し、接続を確定したのち、内部状態の
変更動作を行っていた。
Therefore, for example, when changing the internal state of one file storage device, the file control device selects only that file storage device, establishes the connection, and then performs the internal state changing operation.

またここで、ファイル記憶装置の選択は、正あるいは副
というモードを用いず、各ファイル記憶装置がもつシス
テム内個有のアドレスにしたがって処理するようになっ
ていた。
In addition, the selection of file storage devices is processed according to the unique address within the system that each file storage device has, without using the primary or secondary mode.

(発明が解決しようとする問題点) 上述した従来の二重化ファイルサブシステムでは、ファ
イル記憶装置に対するファイルデータの書込みあるいは
読出し動作を行う前に、あらかじめファイル記憶装置を
選択して接続を確定する必要があると七もに、その選択
をファイル記憶装置のもつアドレスにより行っていたの
で、サブ7ステムの状態管理が複雑であるという問題点
を有していた。
(Problems to be Solved by the Invention) In the conventional duplex file subsystem described above, it is necessary to select a file storage device in advance and establish a connection before writing or reading file data to or from the file storage device. In most cases, the selection was made based on the address of the file storage device, so there was a problem in that the state management of the sub-7 stems was complicated.

このような問題点にかんがみ、本発明者により別途、あ
らかじめファイル制御装置と正・副二台のファイル記憶
装置との間の接続を確定しておき、各種命令発行時に正
・副のモード指定を行うだけで容易にサブシステムの状
態を管理できるようにした二重化ファイルサブシステム
の提案がされている。この別途提案した二重化ファイル
サブシステムは、特に一方のファイル記憶装置のみを動
作させる場合、および両方のファイル記憶装置に対し共
通の動作を実行させる場合に、その動作手順が簡略とな
る効果を有している。
In view of these problems, the inventor separately determined the connection between the file control device and two primary and secondary file storage devices in advance, and specified the primary and secondary modes when issuing various commands. A redundant file subsystem has been proposed that allows the status of the subsystem to be easily managed by simply doing the following: This separately proposed duplex file subsystem has the effect of simplifying the operating procedure, especially when operating only one file storage device or when performing a common operation on both file storage devices. ing.

しかし、各ファイル装置に異なった動作を実行させる場
合、例えば、正のファイル記憶装置のフラグが%11.
副のそれが%Opとなっている状態をともに変更する場
合、正のファイル記憶装置にはリセット指示、副のファ
イル記憶装置にはセット指示を別々に行う必要があった
However, if you want each file storage device to perform different operations, for example, if the positive file storage device's flag is %11.
When changing the state in which the secondary file storage device is set to %Op, it is necessary to separately issue a reset instruction to the primary file storage device and a set instruction to the secondary file storage device.

本発明はこのような事情にかんがみなされたもので、各
ファイル記憶装置に異なった動作を実行させる場合にも
、正・副のモード指定にもとづき簡単、かつ容易にその
実行を行うことのできる二重化ファイルサブシステムの
提供を目的とする。
The present invention was conceived in consideration of these circumstances, and provides a duplex system that allows each file storage device to perform different operations simply and easily based on primary and secondary mode specifications. The purpose is to provide a file subsystem.

(問題点を解決するための手段) 前記目的を達成するために、本発明の二重化ファイルサ
ブシステムは、二台で一つの対を構成し、その一方を正
、他方を副の状態としたファイル記憶装置と、前記正お
よび/または副のファイル記憶装置を動作させる動作モ
ードを含む動作指令を前記一対のファイル記憶装置に対
して出力するファイル制御装置とを備え、かつ、前記フ
ァイル記憶装置が、前記ファイル制御装置からの動作モ
ードを認識する動作モードデコード手段と、この動作モ
ードデコード手段により認識された動作モードにもとづ
き前記動作指令を各動作モード個有の命令としてデコー
ドする命令デコード手段と、この命令デコード手段から
の信号にもとづき動作を実行する動作実行部とを備えた
構成としである。
(Means for solving the problem) In order to achieve the above object, the duplex file subsystem of the present invention constitutes a pair of two devices, and one of them is in the primary state and the other is in the secondary state. a storage device; and a file control device that outputs an operation command including an operation mode for operating the primary and/or secondary file storage device to the pair of file storage devices, and the file storage device includes: an operation mode decoding means for recognizing the operation mode from the file control device; an instruction decoding means for decoding the operation command as a command unique to each operation mode based on the operation mode recognized by the operation mode decoding means; The configuration includes an operation execution section that executes an operation based on a signal from the instruction decoding means.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本実施に係る二重化ファイルサブシステムのブ
ロック図、第2図は同システムにおけるファイル記憶装
置のブロック図、第8図は同システムにおけるファイル
制御装置から出力される動作指令信号を説明する図であ
る。
Figure 1 is a block diagram of the duplex file subsystem according to this implementation, Figure 2 is a block diagram of the file storage device in the system, and Figure 8 explains the operation command signal output from the file control device in the system. It is a diagram.

第1図において、1,2はファイルデータを記憶するフ
ァイル記憶装置、3は上位装置からの指令にもとづいて
ファイル記憶装置1,2に対するファイルデータの書込
みおよび読出し等を制御するファイル制御装置である。
In FIG. 1, 1 and 2 are file storage devices that store file data, and 3 is a file control device that controls writing and reading of file data to and from the file storage devices 1 and 2 based on commands from a host device. .

ファイル記憶装置1゜2は一方が正、他方が副の状態と
して予め特定されている。本実施例においては1を正の
ファイル記憶装置、2を副のファイル記憶装置として以
下の説明をしていく。また、これらファイル記憶装置1
.2と、ファイル制御装置3との間は接続手段4により
接続されており、ファイル制御装置3から送出された命
令およびファイルデータは、この接続手段4を介して各
ファイル記憶装置1.2に伝達される。ファイル制御装
置3から送出される動作指令信号は第8図に示すように
、動作フィールド31とモードフィールド32とに分か
れている。動作フィールド31にはファイル記憶装置2
.3が行うべき動作を示される。モードフィールド32
にはその動作指令が正のファイル記憶装置1に対するも
のか、副のファイル記憶装置2に対するものか、あるい
は両方のファイル記憶装置1.2に対するものかの動作
モードが示される。
One of the file storage devices 1 and 2 is specified as being in a primary state and the other being in a secondary state. In this embodiment, the following explanation will be made assuming that 1 is a primary file storage device and 2 is a secondary file storage device. In addition, these file storage devices 1
.. 2 and the file control device 3 are connected by a connection means 4, and commands and file data sent from the file control device 3 are transmitted to each file storage device 1.2 via this connection means 4. be done. The operation command signal sent from the file control device 3 is divided into an operation field 31 and a mode field 32, as shown in FIG. The operation field 31 contains the file storage device 2.
.. 3 is shown the action to take. mode field 32
indicates the operating mode of whether the operating command is directed to the primary file storage device 1, to the secondary file storage device 2, or to both file storage devices 1.2.

ファイル配憶装置1,2は、第2図に示すように、モー
ドデコーダ21、命令デコーダ22、動作実行部23か
ら構成されている。モードデコーダ21はファイル制御
装置3から送られてきた動作指令信号aの中の動作モー
ドを認識し、動作指令信号aが正・副、あるいは両方の
うちいずれの動作モードを指定しているかを示すモード
信号すを出力する。命令デコーダ22は、自身が正のフ
ァイル記憶装置1か副のファイル記憶装置2かの別、お
よび動作実行部23の状態をあらかじめ認識している。
As shown in FIG. 2, the file storage devices 1 and 2 are composed of a mode decoder 21, an instruction decoder 22, and an operation execution unit 23. The mode decoder 21 recognizes the operation mode in the operation command signal a sent from the file control device 3, and indicates which operation mode the operation command signal a specifies, primary, secondary, or both. Outputs mode signal. The instruction decoder 22 recognizes in advance whether it is the primary file storage device 1 or the secondary file storage device 2, and the state of the operation execution unit 23.

そして、モードデコーダ21からのモード信号すにもと
づき、ファイル制御装置3からの動作指令信号aの中の
動作フィールドを自己への個有の命令としてデコードし
、動作指示信号Cを出力する。ただし、モード信号すが
自身のモードを示していないときは、動作指示信号Cを
出力しない。動作実行部23は、命令デコーダ22から
の動作指示信号Cにもとづき命令を実行する。
Then, based on the mode signal S from the mode decoder 21, the operation field in the operation command signal a from the file control device 3 is decoded as a unique command to itself, and an operation command signal C is output. However, when the mode signal does not indicate its own mode, the operation instruction signal C is not output. The operation execution unit 23 executes an instruction based on the operation instruction signal C from the instruction decoder 22.

次に、動作を説明する。Next, the operation will be explained.

いま、正のファイル記憶装置1内のフラグを10#から
111Iへ、副のファイル記憶装置2内の同一フラグを
%IFから%OIlへ変更するものとする。
Now, assume that the flag in the primary file storage device 1 is changed from 10# to 111I, and the same flag in the secondary file storage device 2 is changed from %IF to %OIl.

ファイル制御装置31d、各ファイル記憶装置1゜2!
/C対し、動作フィールド31を東フラグ変更rとし、
モードフィールド32を亀正・副Iとして動作指令信号
aを送出する。
File control device 31d, each file storage device 1゜2!
/C, set the operation field 31 to east flag change r,
The operation command signal a is sent out with the mode field 32 set to main/sub I.

動作指令信号aを受けた各ファイル記憶装置1゜2は、
モードデコーダ21によりモードフィールド32をデコ
ードし、指定された電工・副Iの動作モードを認識する
と、その認識結果をモード信号すとして出力する。
Each file storage device 1゜2 that received the operation command signal a,
When the mode decoder 21 decodes the mode field 32 and recognizes the operation mode of the specified electrician/sub I, the recognition result is output as a mode signal.

正のファイル記憶装置1における命令デコーダ22は、
あらかじめ自己のモードが電工Iであることを認識して
いる。そして、モード信号すに自己のモードが含まれて
いるため、これにもとづき動作指令信号aの動作フィー
ルド31(フラグ変更)を自己への個有命令としてデコ
ードし、亀フラグセットFを示す動作指示信号Cを出力
する。
The instruction decoder 22 in the positive file storage device 1 is
He knows in advance that his mode is electrician I. Since the mode signal includes its own mode, based on this, the operation field 31 (flag change) of the operation command signal a is decoded as a unique command for itself, and the operation instruction indicating turtle flag set F is decoded. Outputs signal C.

正のファイル記憶装置1における動作実行部23は、上
記動作指示信号Cにもとづき、フラグを亀0#から%I
Nへ変更する。
The operation execution unit 23 in the positive file storage device 1 changes the flag from 0# to %I based on the operation instruction signal C.
Change to N.

一方、副のファイル記憶装置2における命令デコーダ2
2は、あらかじめ自己のモードが東側rであり、かつ、
動作実行部23が%II′のフラグ状態であることを認
識している。そして、モード信号すに自己のモードが含
まれているため、これにもとづき動作指令信号aの動作
フィールド31(フラグ変更)を自己への個有命令とし
てデコードし、亀フラグリセット〆を示す動作指示信号
Cを出力する。副のファイル記憶装置2に訃ける動作実
行部23は、上記動作指示信号Cにもとづきフラグを%
II′から%O#へ変更する。
On the other hand, the instruction decoder 2 in the secondary file storage device 2
2, whose mode is east side r in advance, and
The operation execution unit 23 recognizes that the flag state is %II'. Since the mode signal includes the own mode, based on this, the operation field 31 (flag change) of the operation command signal a is decoded as a unique command for the self, and an operation instruction indicating turtle flag reset〆 is decoded. Outputs signal C. The operation execution unit 23 that operates on the secondary file storage device 2 sets the flag to % based on the operation instruction signal C.
Change from II' to %O#.

なお、正のファイル記憶装置1のみを動作させる場合は
、動作指令信号aのモードフィールド32を電工のみI
とし、副のファイル記憶装置2のみを動作させる場合は
、同様に1副のみ〆とすればよい。また、一方または両
方のファイル記憶装置への動作指令が単一のものである
場合、例えば、フラグを%QIIから亀1#へ変更する
場合は動作指令信号aの動作フィールド31を1フラグ
セツト!とすればよく、フラグを11Fから%OIfへ
変更する場合は同様に1フラグリセツ)IFとすればよ
い。
In addition, when operating only the positive file storage device 1, the mode field 32 of the operation command signal a is set to I only for the electrician.
If only the secondary file storage device 2 is to be operated, it is sufficient to similarly close only one secondary file storage device 2. In addition, when the operation command to one or both file storage devices is a single one, for example, when changing the flag from %QII to Kame1#, the operation field 31 of the operation command signal a is set to 1 flag! If you want to change the flag from 11F to %OIf, you can similarly change it to 1 flag reset) IF.

(発明の効果) 以上説明したように本発明は、正・副のファイル記憶装
置に排反する動作を実行させる場合にも、−命令でその
実行を可能とすることにより、ファイル制御装置による
ファイル記憶装置の管理単位を正・副の対として行うこ
とができ、サブシステムの状態管理を容易にできる効果
がある。
(Effects of the Invention) As explained above, the present invention enables file storage by a file control device to perform an operation that is exclusive to the primary and secondary file storage devices by making it possible to execute the operation using the - command. Device management can be performed as a pair of primary and secondary devices, which has the effect of making it easier to manage the status of subsystems.

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

第1図は本発明の実施例に係る二重化ファイルサブシス
テムのブロック図、第2図は同システムにおけるファイ
ル記憶装置のブロック図、第8図は同システムにおける
ファイル制御装置からの動作指令信号の構成図である。 1.2・・・ファイル記憶装置 3・拳・ファイル制御装置 4・・・接続手段 21・・・モードデコーダ 22・・・命令デコーダ 23・・・動作実行部
Fig. 1 is a block diagram of a duplex file subsystem according to an embodiment of the present invention, Fig. 2 is a block diagram of a file storage device in the same system, and Fig. 8 is a configuration of an operation command signal from a file control device in the same system. It is a diagram. 1.2...File storage device 3, fist, file control device 4...Connection means 21...Mode decoder 22...Command decoder 23...Operation execution unit

Claims (1)

【特許請求の範囲】[Claims] 二台で一つの対を構成し、その一方を正、他方を副の状
態としたファイル記憶装置と、前記正および/または副
のファイル記憶装置を動作させる動作モードを含む動作
指令を前記一対のファイル記憶装置に対して出力するフ
ァイル制御装置とを備え、かつ、前記ファイル記憶装置
が、前記ファイル制御装置からの動作モードを認識する
動作モードデコード手段と、この動作モードデコード手
段により認識された動作モードにもとづき前記動作指令
を各動作モード個有の命令としてデコードする命令デコ
ード手段と、この命令デコード手段からの信号にもとづ
き動作を実行する動作実行部とを備えてなる二重化ファ
イルサブシステム。
Two file storage devices constitute a pair, one of which is in the primary state and the other with the secondary state, and an operation command including an operation mode for operating the primary and/or secondary file storage device is sent to the pair of file storage devices. a file control device that outputs to a file storage device; and an operation mode decoding means for the file storage device to recognize an operation mode from the file control device; and an operation recognized by the operation mode decoding means. A duplex file subsystem comprising an instruction decoding means for decoding the operation command as an instruction unique to each operation mode based on the mode, and an operation execution section for executing an operation based on a signal from the instruction decoding means.
JP62034307A 1987-02-17 1987-02-17 Dual type file subsystem Pending JPS63201712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62034307A JPS63201712A (en) 1987-02-17 1987-02-17 Dual type file subsystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62034307A JPS63201712A (en) 1987-02-17 1987-02-17 Dual type file subsystem

Publications (1)

Publication Number Publication Date
JPS63201712A true JPS63201712A (en) 1988-08-19

Family

ID=12410501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62034307A Pending JPS63201712A (en) 1987-02-17 1987-02-17 Dual type file subsystem

Country Status (1)

Country Link
JP (1) JPS63201712A (en)

Similar Documents

Publication Publication Date Title
JPH04367963A (en) Shared memory communication method
JPS63201712A (en) Dual type file subsystem
JPS63201711A (en) Dual type file subsystem
JP3310402B2 (en) Multitask controller
JPS63201713A (en) Dual type file subsystem
JP3358045B2 (en) Programmable controller
JPS61101865A (en) Multi-microprocessor system
JPH0727466B2 (en) Service processor Command processing method
JP5088566B2 (en) PLC with interrupt function
JPS60189060A (en) Multiprocessor system
JPS638506B2 (en)
JPH01245336A (en) Interruption control system for external common bus
JPH03129515A (en) Duplication control system for disk device
JPH0511818B2 (en)
JPS6341949A (en) Microprogram debug system of peripheral controlling device
JPS62231337A (en) Microprocessor
JPH03136177A (en) Microcomputer
JPH0567040A (en) Peripheral equipment control circuit
JPH05197615A (en) Rom/ram switching circuit for starting cpu
JPS6175449A (en) Variation system for internal constitution control data of input and output controller
JPS6289142A (en) Logical type data processing device
JPH0454502A (en) Programmable controller system
JPH0916526A (en) Data processing system
JPH0229848A (en) System control device
JPH0460858A (en) Interruption address setting controlling system