JPS5985559A - File control system - Google Patents

File control system

Info

Publication number
JPS5985559A
JPS5985559A JP57195498A JP19549882A JPS5985559A JP S5985559 A JPS5985559 A JP S5985559A JP 57195498 A JP57195498 A JP 57195498A JP 19549882 A JP19549882 A JP 19549882A JP S5985559 A JPS5985559 A JP S5985559A
Authority
JP
Japan
Prior art keywords
file
disk
journal
devices
address information
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
JP57195498A
Other languages
Japanese (ja)
Inventor
Masahiro Kazuhara
一原 正博
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
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57195498A priority Critical patent/JPS5985559A/en
Publication of JPS5985559A publication Critical patent/JPS5985559A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Abstract

PURPOSE:To always have a correct replacement by replacing the record address information of each journal file only in a monopolized period by a file controller which monopolizes temporarily a corresponding disk device. CONSTITUTION:A file controller 2A decides a connection state display register to a device 5-K for example and then controls a disk switch device 4 to connect the 5-K to the side of the controller 2A and to obtain a monopolized state if the 5-K is idle. Then the disk device number designated by the contents of a disk address field DAD is supplied to a memory control part 23A, and an access is given to a shared memory device 3. Then the record address information which indicates the store position of a journal file of the device 5-K is read out and stored in a record register. At the same time, an arithmetic part 24A replaces said address information so that the next store position is indicated for the journal file and then stores it to the original address of a device 3 via the part 23A.

Description

【発明の詳細な説明】 (発明の属する技術分野ン 本発明は情報処理装置のファイル制御システムに関する
DETAILED DESCRIPTION OF THE INVENTION (Technical field to which the invention pertains) The present invention relates to a file control system for an information processing apparatus.

(従来技術) 一般に、データファイルシステムを運用fルfc−めに
は、障害が生じても常にこれを回復できるようにしてお
くために、データファイルとは別にジャーナルファイル
を設け、データファイルの更新が起るごとにその更新内
容を示す情報を次次にこのジャーナルファイルに記録し
ておく。
(Prior art) Generally, when operating a data file system, a journal file is provided separately from the data file in order to always be able to recover even if a failure occurs, and the data file is updated. Each time a change occurs, information indicating the updated contents is recorded in this journal file.

このジャーナルファイルに記録すべき情報(以後ジャー
ナルデータ)が新らしく発生するごとに。
Each time new information (hereinafter referred to as journal data) to be recorded in this journal file is generated.

この祈らしめジャーナルデータは、この前に記録された
ジャーナルデータと重ならないように、ジャーナルファ
イルの次の記録アドレス領域に格納されるという形で次
次に記録として残されてゆく。
This prayer journal data is stored in the next recording address area of the journal file so that it does not overlap with previously recorded journal data, and is kept as a record one after another.

さて今、お互いに疎結合の複数の情報処理装置(それぞ
れが独立のO8(オペレーションンステム)によ多制御
されている複τりの情報処理装置)がデータファイルを
共有し、従ってこのデータファイルに対応するジャーナ
ルファイルを共有している場合に、複数の各情報処理装
置が勝手にジャーナルデータを発生しこれをジャーナル
ファイルに記録しようとすると、従来は前記複数の情報
処理装置の間かあるいはその下位にある複数のファイル
制御装置の間でお互いの間に通信手段を設け、これによ
り各情報処理装置からのジャーナルデータがお互いに重
ならずにジャーナルファイルの新らしい領域に正しい順
番で次次に記録されるように制御しなければならない。
Now, multiple information processing devices that are loosely coupled to each other (multiple information processing devices each controlled by an independent O8 (operation system)) share a data file, and therefore In the case where corresponding journal files are shared and multiple information processing devices generate journal data without permission and attempt to record it in the journal file, conventionally, when multiple information processing devices generate journal data without permission and attempt to record it in the journal file, data is stored between or below the multiple information processing devices. A means of communication is provided between multiple file control devices located in the computer, so that journal data from each information processing device is recorded one after another in a new area of the journal file in the correct order without overlapping each other. must be controlled so that

(発明の目的) 本発明の目的は上述のような場合におけるジャーナルデ
ータのジャーナルファイルへの記録を特別の通信手段を
設けることなく簡単な手段によシ可能とするようなファ
イル制御システムを提供するにある。
(Object of the Invention) An object of the present invention is to provide a file control system that allows recording of journal data in a journal file in the above-mentioned case by a simple means without providing a special communication means. It is in.

(発明の構成) 本発明のファイル制御システムは、疎結合の複数の情報
処理装置が複数のファイルを共有しまたは排他的にアク
セスするため、前記複数の情報処理装置に多元接続され
た複数のファイル制御装置と前記ファイルを格納しかつ
前記複数のファイル制御装置により共通にアクセスされ
る複数のディスク装置とを含むシステムであって、前記
複数の情報処理装置により共用されるジャーナルファイ
ルの記録アドレス情報を格納するための前記複数のファ
イル制御装置により共有された共有メモリ装置と、前記
情報処理装置からの前記ディスク装置の番号を指定する
情報を含む入出力指令を受信しこれを解読して幽核情報
処理装置と指定されたディスク装置との間のデータ授受
を制御するデータ制御手段と、前記共有メモリ装置にア
クセスするためのメモリ制御手段と、前記メモ”) f
t1lJ御手段を介して読み出された前記ジャーナルフ
ァイルの記録アドレス情報から同じジャーナルファイル
の次の記録アドレス情報を演算する演算手段とを含む前
記複数のファイル制御装置と、前記複数のファイル制御
装置と前記複数のディスク装置とを選択的に切替接続す
る切替手段とを含み 前記情報処理装置がジャーナルファイル書込指令を発行
したときに、選択された一個の前記ファイル制御装置が
この指令に含捷れる前記ディスク装置の番号を指定する
情報によシ指定されるディスク装置を前記切替手段によ
シ一時的に専有した場合にのみ前記共凋メモリ装置内の
ジャーナルファイル記録アドレス情報を前記メモリ制御
手段を用いて読み出しこれに従い前記データ制御部を用
いて供給されたジャーナルデータの記録書込みを行なう
とともに前記メモリ制御手段と前記演算手段とを用いて
前記共有メモリ装置η中のこの書込指令が指定するジャ
ーナルファイルの前記記録アドレス情報を同じジャーナ
ルファイルの次の記録アドレス情報に更新するようにし
て前記共有メモリ装置中の同一ジャーナルファイルの記
録アドレス情報に対するアクセスの競合を排除する。
(Structure of the Invention) The file control system of the present invention provides for a plurality of files that are multiple-connected to the plurality of information processing apparatuses so that the plurality of loosely coupled information processing apparatuses share or exclusively access the plurality of files. A system including a control device and a plurality of disk devices that store the files and are commonly accessed by the plurality of file control devices, the system comprising: a control device; A shared memory device shared by the plurality of file control devices for storage and an input/output command containing information specifying the number of the disk device from the information processing device is received and decoded to store ghost information. a data control means for controlling data exchange between a processing device and a designated disk device; a memory control means for accessing the shared memory device;
the plurality of file control devices, the plurality of file control devices including a calculation means for calculating next recording address information of the same journal file from the recording address information of the journal file read through the t1lJ control means; a switching means for selectively switching and connecting the plurality of disk devices; when the information processing device issues a journal file write command, one selected file control device is included in this command; Only when the switching means temporarily monopolizes the disk device specified by the information specifying the number of the disk device, the journal file recording address information in the shared memory device is transferred to the memory control means. Accordingly, the data control section is used to record and write the supplied journal data, and the memory control means and the calculation means are used to write the journal specified by this write command in the shared memory device η. The recording address information of a file is updated to the next recording address information of the same journal file, thereby eliminating conflict in access to the recording address information of the same journal file in the shared memory device.

(発明の実施例) 次に、図面を参照して本発明の詳細な説明する。(Example of the invention) Next, the present invention will be described in detail with reference to the drawings.

第1図を参照すると、本発明の一実施例は、情報処理装
置IA、 IB(以後CPUIA、IB)、ファイル制
御装置2A、2B、共有メモリ装置3、ディスク切替装
置4、およびディスク装置5−1〜s−Nを有している
Referring to FIG. 1, one embodiment of the present invention includes information processing devices IA and IB (hereinafter referred to as CPUIA and IB), file control devices 2A and 2B, a shared memory device 3, a disk switching device 4, and a disk device 5- 1 to s-N.

また、各ファイル制御装置2人および2Bi同様な構成
をもち、CPUインタフェース21Aおよび21B、デ
ータ制御部22Aおよび22B。
Further, each file control device has two similar configurations and 2Bi, CPU interfaces 21A and 21B, and data control units 22A and 22B.

メモリ制御部23Aおよび23B、演算部24Aおよび
24B、ディスクインタンエース25Aおよび25Bを
含んでいる。
It includes memory control units 23A and 23B, calculation units 24A and 24B, and disk interfaces 25A and 25B.

さて、CPUIAとCPUI Bは疎結合の状態で動作
しておタ、従って、一般に異なまた処理を実行している
。また、ファイル制御it 2 A 、!ニアアイル制
御装置2Bは同様な構成をもち、正常の場合には両省が
別々に動作しているが、その一方に障害が生じた場合に
は残シの一方だけを1いてCPUIAおよびCPtJI
Bの処理に支障が生じないような構成になっている。従
ってCPUIAはファイル制御装置2人を介してディス
ク装置5−1〜5−Hにアクセスすることもできるし、
また、ファイル制御装置2Bを介してディスク装置5−
1〜5−Nにアクセスすることもできる。同様に、CP
UIBもファイル制御部fit 2 Aまたは2Bのい
ずれを介してもディスク装置5−1〜5〜Nにアクセス
することができる。このようにファイル制御装置2A、
2BはCPUIA 、l Bに多元接続されている。
Now, CPUIA and CPUI B operate in a loosely coupled state, and therefore generally execute different processes. Also, file control it 2 A,! The near aisle control unit 2B has a similar configuration, and under normal conditions both units operate separately, but if a failure occurs in one of them, only the remaining unit is switched on and the CPUIA and CPtJI
The configuration is such that there is no problem in processing B. Therefore, the CPUIA can access the disk devices 5-1 to 5-H via the two file control devices,
In addition, the disk device 5--via the file control device 2B
1 to 5-N can also be accessed. Similarly, C.P.
The UIB can also access the disk devices 5-1 to 5-N through either the file control unit fit2A or fit2B. In this way, the file control device 2A,
2B is multiple connected to CPUIA and 1B.

さて、ディスク装置5−1〜5−Nに対してデータを入
出力する場合にCPUI (CPUIAまたはCPUI
B)が出す指令の形式は第2図に示すように、ディスク
アドレスフィールドDAD。
Now, when inputting and outputting data to and from the disk devices 5-1 to 5-N, the CPU
The format of the command issued by B) is the disk address field DAD, as shown in FIG.

ファイルアクセス指令フィールドFACおよびデータフ
ィールドDTPからなっている。
It consists of a file access command field FAC and a data field DTP.

このディスクアドレスフィールドDAT)Kid、この
指令によシ入出力が行なわれるべきディスク&15〜1
〜5−Nの番号(デバイスアドレス)が指定されている
This disk address field DAT) Kid, the disk &15~1 to which input/output is to be performed according to this command.
Numbers (device addresses) from 5 to 5-N are specified.

ファイルアクセス指令フィールドFACには、これがデ
ータファイルに対する入出力かまたはジャーナルファイ
ルに対する入出力か〆の区別と、データファイルに対す
る入出力である場合には、その入出力を行うべきディス
ク内アドレス(すなわち、シリンダ番号、ヘッド番号、
レコード番号)と書込みかまたは読出しかの区別を示す
情報を指定する。書込みの場合にはデータフィールドD
TPがさらに付加されて、ここに書込むべきルコード分
のデータが指定される。
The file access command field FAC indicates whether this is an input/output to a data file or a journal file, and if it is an input/output to a data file, the address in the disk where the input/output should be performed (i.e., cylinder number, head number,
(record number) and information indicating whether to write or read. Data field D for writing
A TP is further added to specify the data for the code to be written here.

一方、ジャーナルファイルに対する書込みの場合には、
ディスク内アドレスはCPU1からは与えられず、共有
メモリ装置3の内容を読み出すことによって与えられる
On the other hand, when writing to a journal file,
The internal disk address is not given by the CPU 1, but by reading the contents of the shared memory device 3.

すなわち、前述のように、ジャーナルデータの書込みは
必らずジャーナルファイルの新らしい領域に次次に格納
記録されるが、現時点でのジャーナルファイルの格納記
録位置を指示する記録アドレス情報は、共有メモリ装置
3中の、各ジャーナルファイル番号(本実施例において
はディスク装置番号が定まるとジャーナルファイル番号
は一義的に定まると仮定する)ごとに予め定めたそれぞ
れ異な不メモリアドレスに格納されている。そこで、C
PUIからジャーナルファイルに対する書込指令が出さ
れた場合には、この指令のディスクアドレスフィールド
DADで指定されるディスク装置番号を用いて共有メモ
リ装置3をアクセスすることによシ、この記録アドレス
情報を読み出しジャーナルデータ(この指令のデータフ
ィールドDTPの内容)を格納記録すべきディスク内ア
ドレスを得ることができる。
In other words, as mentioned above, writing journal data is always stored and recorded in a new area of the journal file, but the recording address information that indicates the current storage recording position of the journal file is stored in the shared memory. Each journal file number (in this embodiment, it is assumed that the journal file number is uniquely determined when the disk device number is determined) in the device 3 is stored at a different predetermined non-memory address. Therefore, C
When a write command to a journal file is issued from the PUI, this recording address information is accessed by accessing the shared memory device 3 using the disk device number specified in the disk address field DAD of this command. It is possible to obtain the address within the disk where the read journal data (the contents of the data field DTP of this command) should be stored and recorded.

後述するように、とうして一つのジャーナルデータが指
定されたジャーナルファイルに格納記録されると、共有
メモリ装置3内に格納されているこのジャーナルファイ
ルの記録アドレス情報は、次の格納位置を指示するよう
に更新され、かくしてジャーナルファイルに対する格納
記録は、ジャ−ナルデータが重なることなく次々に新ら
しい領域に対してなされることVζなる。
As will be described later, once one piece of journal data is stored and recorded in a designated journal file, the recording address information of this journal file stored in the shared memory device 3 specifies the next storage location. In this way, storage records for the journal file are made in new areas one after another without overlapping journal data Vζ.

さて次に、例えばCPUIAから特定のジャーナルファ
イルに対する書込みの指令が発行された場合の本実施例
の動作について説明する。
Next, the operation of this embodiment when, for example, a command to write to a specific journal file is issued from the CPUIA will be described.

CP ’U I Aは、ファイル制御装置2人または2
BのCPUインタフェース21Aまたは21Bを介して
、現在アイドル状態である一方の側のファイル制御装置
を選び、前述の第2図で示す形式をもつジャーナルファ
イル書込指令を発行する。この場合に、ファイル制御装
置2人および2Bがともにアイドル状態であっても、必
らずその中のいずれか一方が選択され、両方のファイル
制御装置2A、2Bに並列に同じ指令が発行されること
がないようにCPUIA側で制御されている。また、こ
うして選択された側のファイル制御装置は、この指令の
実行が終了するまでこのCPUIAに排他的に選択され
、CPUIB側の指令は全く受けつけないようにCI)
 Uインタフェース21A″!!たけ21Bによって制
御される。
CP 'U I A is a file control device with 2 people or 2
The CPU interface 21A or 21B of B selects the file control device on one side that is currently in an idle state, and issues a journal file write command having the format shown in FIG. 2 described above. In this case, even if the two file control devices and 2B are both in an idle state, one of them is always selected and the same command is issued to both file control devices 2A and 2B in parallel. This is controlled on the CPUIA side to ensure that this does not occur. Also, the file control device selected in this way is exclusively selected by this CPUIA until the execution of this command is completed, and does not accept any commands from the CPUIB side (CI).
It is controlled by the U interface 21A''!!take 21B.

さて、今CPUxA−からのこのジャーナルファイルに
対する書込みの指令に対してファイル制御部[2Aが選
択されたとしよう。
Now, let us assume that the file control unit [2A] is selected in response to a command to write to this journal file from CPUxA-.

この指令のディスクアドレスフィールドDADおよびフ
ァイルアクセス指令フィールドF’ACの内容が、CP
UIAからファイル制御装置2人のCPUインタフェー
ス21Aを介してデータ制御部22Aに転送格納される
と、制御部22Aはこのファイルアクセス指令フィール
ドFACの内容を解読することにより、これがジャーナ
ルファイルに対する書込指令であることを識別する。
The contents of the disk address field DAD and file access command field F'AC of this command are
When the data is transferred and stored from the UIA to the data control unit 22A via the CPU interface 21A of the two file control devices, the control unit 22A decodes the contents of this file access command field FAC and determines that this is a write command for the journal file. .

これが識別されると、データ制御部22Aは、ディスク
インターフェース25Aを介してディスス切替装置4の
中の、この指令のディスクアドレスフィールドDADで
指定されるディスク装置番号のディスク装置(これを例
えば5−にと仮定する)が現在アイドルか否かを判定す
る。
When this is identified, the data control unit 22A sends the disk device number specified by the disk address field DAD of this command in the disk switching device 4 via the disk interface 25A (for example, 5- ) is currently idle.

ディスク切替−¥:(4には各ディスク装&5−1〜5
−N対応に、接続状態表示レジスタ(図示せず)が設け
られており、これにより現在対応するディスク装置がア
イドル(いずれの側にも接続されていない状態)である
か、ファイル制御装置2人側に接続されている状態であ
るか、またはファイル制御装置2B側に接続されている
状態であるかが識別できるようになっている。また、あ
るディスク装置5−Mに対する一つの入出力指令の実行
が完了すると、そのディスク装置5−Mに対する接続が
解放され、この結果この装置5−Mに対する接続状態表
示レジスタはアイドルを表示するように制御されている
Disk switching - ¥: (4 has each disk installed & 5-1 to 5
A connection status display register (not shown) is provided for -N, which indicates whether the corresponding disk device is currently idle (not connected to either side) or whether two file control devices It is possible to identify whether it is connected to the file control device 2B side or the file control device 2B side. Furthermore, when the execution of one input/output command for a certain disk device 5-M is completed, the connection to that disk device 5-M is released, and as a result, the connection status display register for this device 5-M will display idle. is controlled by.

さて、ディスク装置5−Kに対する前記接続状態表示レ
ジスタを判定することによシ、これがアイドルであるこ
とが識別されると、(もしそうでない場合にはこれがア
イドルになるまで待つ)、ファイル制御装置2人は、デ
ィスク切替装置4を制御してディスク装[5−Kをファ
イル制御装置2人側に接続し、これを専有状態にセント
する。
Now, by determining the connection status display register for the disk device 5-K, if it is identified that this is idle (if not, wait until it becomes idle), the file control device The two people control the disk switching device 4, connect the disk device [5-K] to the file control device on the side of the two people, and place it in an exclusive state.

次に、データ制御部22Aは、前記指令のディスクアド
レスフィールドDADの内容で指定されたディスク装置
番号をメモリ制御部23Aに供給して共有メモリ装置3
にアクセスすることにより、前述のディスク装置5−に
のジャーナルファイルの格納位置を指示する記録アドレ
ス情報を読み出し、この値を前記データ制御部22Aの
中に設けられた記録アドレスレジスタ(図示せず)に格
納する。それとともに、演算部24Aにおいてこの読み
出した記録アドレス情報が、このジャーナルファイルの
次の格納位置を指示するように更新し。
Next, the data control section 22A supplies the disk device number specified by the contents of the disk address field DAD of the command to the memory control section 23A, and sends it to the shared memory device 23A.
By accessing , the recording address information indicating the storage position of the journal file in the disk device 5- is read out, and this value is stored in the recording address register (not shown) provided in the data control unit 22A. Store in. At the same time, the read address information is updated in the calculation unit 24A so as to indicate the next storage location of this journal file.

メモリ制御部23Aを介してこれを再び共有メモリ装置
3のもとのアドレス(つまりディスク装置5−Kに対応
するメモリアドレス)に格納する。
This is stored again at the original address of the shared memory device 3 (that is, the memory address corresponding to the disk device 5-K) via the memory control unit 23A.

これにより共鳴メモリ装置3内のディスク装置5−1(
に対するジャーナルファイルの記録アドレス情報は次の
格納位置を指示するように更新されたことになる。
As a result, the disk device 5-1 (
This means that the recording address information of the journal file has been updated to indicate the next storage location.

さて、データ制御部22Aは、CPUIAからCPUイ
ンタフェース21Aを介して転送されるこのジャーナル
ファイル書込み指令のデータフィールド1) T Fの
内容?、現在接続されてディスク装置5−にの中の、前
述のようにして得られた記録アドレス情報が指示する格
納位置に格納する。
Now, the data control unit 22A determines the contents of data field 1) T F of this journal file write command transferred from the CPUIA via the CPU interface 21A. , is stored in the storage location indicated by the recording address information obtained as described above in the currently connected disk device 5-.

この格納かグこ了するとディスク装置5−Kに対するデ
ィスク切替装置4の接続を解放シ1、このディスク装置
5−1(に対する前述の接続状態表示レジスタをアイド
ルとする。
When this storage is completed, the connection of the disk switching device 4 to the disk device 5-K is released, and the above-mentioned connection status display register for this disk device 5-1 is set to idle.

以上の説明より明らかなように、共有メモリ装置3の中
に格納されている各ジャーナルファイルの記録アドレス
情報は、対応するディスク装置を一時的に専有したファ
イル制御装置により、専有している期間内においてのみ
更新されることになるので、共有メモリ装置3を共有し
ている他の側のファイル制御装置からの更新の競合を排
除することができ、常に正しい更新が行なわれることに
なる。
As is clear from the above explanation, the recording address information of each journal file stored in the shared memory device 3 is stored within the period of exclusive use by the file control device that temporarily monopolizes the corresponding disk device. Since the file is updated only in the shared memory device 3, update conflicts from other file control devices sharing the shared memory device 3 can be eliminated, and correct updates are always performed.

なお、以上の実施例においては疎結合の情報処理装置の
数およびそれに接続されるファイル制御装置の数をそれ
ぞれ2個としたが、これは−例を示したもので、一般に
複数であれば本発明を適用できることは明らかである。
Note that in the above embodiment, the number of loosely coupled information processing devices and the number of file control devices connected thereto were each two, but this is just an example; It is clear that the invention can be applied.

(発明の効果) 以上のように、本発明を用いると、複数の疎結合の情報
処理装置相互の間あるいは複数のファイル制御装置相互
の間に特別の通信手段を設けることなく、共有メモリ装
置上のジャーナルファイルの記録アドレス情報をお互い
の競合を排除して更新し、これによシ共有ジャーナルフ
ァイルへの次次の正しい格納記録を可能にするファイル
制御システムを提供することができる。
(Effects of the Invention) As described above, by using the present invention, it is possible to use a shared memory device without providing special communication means between a plurality of loosely coupled information processing devices or between a plurality of file control devices. It is possible to provide a file control system that updates recording address information of journal files by eliminating conflicts with each other, thereby enabling correct storage and recording of the next shared journal file.

これによp1ジャーナルファイル記録のための装置間の
面倒な通信手段を省略できるという効果がある。
This has the effect of omitting troublesome communication means between devices for recording the p1 journal file.

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

第1図は本発明の一実施例を示すブロック図および第2
図は本実施例で用いる情報処理装置から与えられるファ
イル入出力指令の形式を説明するための図である。 図において、IA、IB・・・・・・情報処理装置(C
PU)、2A 、2B・・・・・・ファイル制御装置、
3・・・・・・共有メモリ装置、4・・・・・・ディス
ク切替装置、5−1〜5−N・・・・・・ディスク装置
、21A、21B・・・・・・CPUインタフェース、
22A、22B・・・・・・データ制御部、23A、2
3B・・・・・・メモリ制御部、24A、24B・・・
・・・演算部、25 A、 、 25 B・・・・・・
ディスクインタフェース。 T’<77 ktL   察17 DAD      FACDTF 豪2”W
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure is a diagram for explaining the format of a file input/output command given from the information processing device used in this embodiment. In the figure, IA, IB... Information processing equipment (C
PU), 2A, 2B...File control device,
3... Shared memory device, 4... Disk switching device, 5-1 to 5-N... Disk device, 21A, 21B... CPU interface,
22A, 22B... Data control section, 23A, 2
3B...Memory control unit, 24A, 24B...
...Arithmetic unit, 25 A, , 25 B...
disk interface. T'<77 ktL 17 DAD FACDTF Australia 2”W

Claims (1)

【特許請求の範囲】 疎結合の複数の情報処理装置が複数のファイルを共有し
またけ排他的にアクセスするため、前記複数の情報処理
装置に多元接続された複数のファイル制御装置と前記フ
ァイルを格納しかつ前記複数のファイル制御装置によル
共通にアクセスされる複数のディスク装置とを含むシス
テムにおいて、前記複数の情報処理装置により共用され
るジャーナルファイルの記録アドレス情報を格納するた
めの前記複数のファイル制御装置によシ共有された共有
メモリ装置と、 前記情報処理装置からの前記ディスク装置の番号を指定
する情報を含む入出力指令を受信しこれを解読して当該
情報処理装置と指定されたディスク装置との間のデータ
授受を制御するデータ制御手段と、前記共有メモリ装置
にアクセスするためのメモリ制御手段と、前記メモリ制
御手段を介して読み出された前記ジャーナルファイルの
記録アドレス情報から同じジャーナルファイルの次の記
録アドレス情報を演算する演算手段とを含む前記複数の
ファイル制御装置と、 前記複数のファイル制御装置と前記複数のディスク装置
とを選択的に切替接続する切替手段とを含み。 前記情報処理装置がジャーナルファイル’1指令を発行
したときに、選択された一個の前記ファイル制御装置が
この指令に含まれる前記ディスク装置の番号を指定する
情報にょシ指定されるディスク装置を前記切替手段にょ
シ一時的に専有した場合にのみ前記共有メモリ装置内の
ジャーナルファイル記録アドレス情報を前記メモリ制御
手段を用いて読み出しこれに従い前記データ制御部を用
いて供給されたジャーナルデータの記録書込みを行ガう
とともに前記メモリ制御手段と前記演算手段とを用いて
前記共有メモリ装置中のこの曹込指令が指定するジャー
ナルファイルの前記記録アドレス情報を同じジャーナル
ファイルの次の記録アドレス情報に更新するようにして
前記共有メモリ装置中の同一ジャーナルファイルの記録
アドレス情報に対するアクセスの競合を排除するように
したことを特徴とするファイル制御システム。
[Claims] In order for a plurality of loosely coupled information processing devices to share and exclusively access a plurality of files, a plurality of file control devices and a plurality of file control devices connected to the plurality of information processing devices in multiple ways store the files. and a plurality of disk devices commonly accessed by the plurality of file control devices, the plurality of disk devices for storing recording address information of a journal file shared by the plurality of information processing devices. A shared memory device shared by a file control device, and an input/output command containing information specifying the number of the disk device from the information processing device, decoded, and designated as the information processing device. A data control means for controlling data exchange with a disk device, a memory control means for accessing the shared memory device, and the same from recording address information of the journal file read through the memory control means. the plurality of file control devices including calculation means for calculating next recording address information of a journal file; and switching means for selectively switching and connecting the plurality of file control devices and the plurality of disk devices. When the information processing device issues a journal file '1 command, the selected one of the file control devices switches the specified disk device using information specifying the number of the disk device included in this command. The means uses the memory control means to read journal file recording address information in the shared memory device only when the shared memory device is temporarily occupied, and accordingly records and writes the supplied journal data using the data control section. At the same time, the memory control means and the calculation means are used to update the recording address information of the journal file specified by this writing command in the shared memory device to the next recording address information of the same journal file. 2. A file control system, wherein contention in access to recording address information of the same journal file in the shared memory device is eliminated.
JP57195498A 1982-11-08 1982-11-08 File control system Pending JPS5985559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57195498A JPS5985559A (en) 1982-11-08 1982-11-08 File control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57195498A JPS5985559A (en) 1982-11-08 1982-11-08 File control system

Publications (1)

Publication Number Publication Date
JPS5985559A true JPS5985559A (en) 1984-05-17

Family

ID=16342081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57195498A Pending JPS5985559A (en) 1982-11-08 1982-11-08 File control system

Country Status (1)

Country Link
JP (1) JPS5985559A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63217442A (en) * 1987-03-05 1988-09-09 Nec Corp Sequential output system for recovery information of multi-computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63217442A (en) * 1987-03-05 1988-09-09 Nec Corp Sequential output system for recovery information of multi-computer system

Similar Documents

Publication Publication Date Title
US20070028066A1 (en) Method for controlling storage device controller, storage device controller, and program
US6092170A (en) Data transfer apparatus between devices
EP0240616B1 (en) Method to test and set data in a record on disk in one atomic input/output operation
JPS5985559A (en) File control system
JP2746189B2 (en) File access control system
JPH07325674A (en) Method for exchanging semiconductor memory and method for controlling semiconductor disk sub-system
JP2005316697A (en) Disk array system and method for data backup
JP3425355B2 (en) Multiple write storage
JPH086843A (en) Semiconductor storage device
JPH11184761A (en) Read modify write control system
JP3022011B2 (en) Data backup system
JP2769382B2 (en) Information processing device
JPH04260141A (en) Data shared processor
JPH01255028A (en) Method for making access to external storage device
JPH0830402A (en) Parity storing method
JPS6368960A (en) Sequential access controller for shared storage medium
JPH07319720A (en) System switching method for processor
JP2003186629A (en) Data copy system
KR20000042155A (en) Method for integrated management of runtime backup information
JPH04330541A (en) Common data transfer system
JPH0736153B2 (en) Data transmission system
JP2000010944A (en) Multiprocessor disk array controller
JPH0693232B2 (en) Cache memory
JPS6074057A (en) Control system for disk cache
JP2000099392A (en) Memory control system