JPS61163448A - Shared file control system - Google Patents

Shared file control system

Info

Publication number
JPS61163448A
JPS61163448A JP60004048A JP404885A JPS61163448A JP S61163448 A JPS61163448 A JP S61163448A JP 60004048 A JP60004048 A JP 60004048A JP 404885 A JP404885 A JP 404885A JP S61163448 A JPS61163448 A JP S61163448A
Authority
JP
Japan
Prior art keywords
file
data processing
block
file block
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
JP60004048A
Other languages
Japanese (ja)
Inventor
Shinichi Nomiyama
野見山 眞一
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 JP60004048A priority Critical patent/JPS61163448A/en
Publication of JPS61163448A publication Critical patent/JPS61163448A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the overhead for information exchange of a data processing unit by storing the occupied state and message information by a file managing device to attain ease of occupied exclusive control in a shared file control system. CONSTITUTION:When a lock block command received from a data processing unit 21 is given to a file block, a processing control section 12 uses a file name of the file block as a key to retrieve a storage section 13. Then exclusive information relating to the file block is obtained. When the information is not registered, it is registered newly, the message is stored in a corresponding storage section and it is made occupied to generate completion report information of the lock block command and the occupancy permission is reported to the data processing unit 21 of a request sender. Even when the file block is in use already, the occupancy permission is reported to the data processing unit 21 and the message information 133 stored is transferred to the processing unit being a read request sender with respect to the file block by using a read message command issued in connection with the permission.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はファイルが複数のデータ処理装置により共有さ
れるファイル共用システムにおケルy”−夕処理装置間
での情報伝達方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a file sharing system in which files are shared by a plurality of data processing devices, and to an information transmission system between data processing devices.

〔従来の技術〕[Conventional technology]

従来、システムの信頼性の向上あるいは性能向上を目的
としてマルチプロセッサシステム、即ち複数のデータ処
理装置を結合したシステムが種々提案され、ファイルに
関しても、共用ファイル装置によるファイル共用の形で
運用されている。しかし、マルチプロセッサシステムに
おいては、1つのデータ処理装置からのタスクがファイ
ルブロックを占有し、そのファイルブロックの参照ある
いは更新処理を実行している間、他のタスクあるいは他
のデータ処理装置に対してはファイルブロック使用中と
して待ちを要求するための排他制御処理を行なう必要が
ある。このため、ある種のシステムにおいてはデータ処
理装置間でのホスト間通信を行なうことによシ相互の連
絡を密にし、排他制御処理及び情報通信処理を行なって
いる。
Conventionally, various multiprocessor systems, that is, systems that combine multiple data processing devices, have been proposed for the purpose of improving system reliability or performance, and files are also operated in the form of file sharing using a shared file device. . However, in a multiprocessor system, a task from one data processing device occupies a file block, and while the task from one data processing device occupies a file block and executes the file block reference or update processing, other tasks or other data processing devices It is necessary to perform exclusive control processing to request a wait as the file block is in use. For this reason, in some types of systems, data processing apparatuses communicate closely with each other by performing host-to-host communication to perform exclusive control processing and information communication processing.

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

ところが、排他制御の対象がファイル単位からファイル
を構成する更に小さい単位であるファイルブロック単位
で行なわれると、データ処理装置間での通信を頻繁に行
なう必要があり、データ処理システム全体の性能が低下
するといった欠点がある。(例えば村岡洋−訳「マルチ
・プロセッサと並列処理」(昭和51.9.5)近代科
学社、 P245〜P265)。
However, when exclusive control is performed from file units to file blocks, which are smaller units that make up files, frequent communication between data processing devices is required, which reduces the performance of the entire data processing system. There are drawbacks such as: (For example, translated by Hiroshi Muraoka, “Multiprocessors and Parallel Processing” (September 5, 1972), Kindai Kagakusha, pages 245-265).

本発明の目的はファイルブロックの占有状況及びそのフ
ァイルブロックに関する伝言情報を記憶する手段と、デ
ータ処理装置からの指令に基いて該ファイルブロックに
関する排他制御処理を行なうと同時に、そのファイルブ
ロックに関する伝言情報を転送できるファイル管理装置
とを設けることにより、上記欠点を解決し、データ処理
システムにおける共用ファイルの排他制御及び情報転送
を効率的に行なう共用ファイル制御システムを提供する
ことにある。
An object of the present invention is to provide a means for storing the occupancy status of a file block and message information regarding the file block, and to perform exclusive control processing regarding the file block based on a command from a data processing device, and at the same time to provide a means for storing message information regarding the file block. An object of the present invention is to provide a shared file control system that solves the above-mentioned drawbacks and efficiently performs exclusive control of shared files and information transfer in a data processing system.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

この発明のシステムは、データ処理装置から入力する指
令に基づいて、そのすべてのデータ処理装置に共有され
るファイルブロックを参照あるいは更新するファイル制
御装置と、該ファイル制御装置に接続され、前記指令に
基づく前記ファイル制御装置からの指示に応答して、前
記ファイルブロックを含む媒体を駆動し、ファイルブロ
ック情報の読み出しおるいはファイルブロック情報の書
き込みを行なう少なくとも1つのファイルアクセス装置
と、前記すべてのデータ処理装置に接続され、かつデー
タ処理装置との入出力を制御する入出力手段と前記ファ
イルアクセス装置によシ読み出しあるいは書き込みされ
るファイルブロックに対応して、そのファイルブロック
の占有情報およびそのファイルブロックに関する伝言情
報を記憶する記憶手段と、前記データ処理装置から入出
力手段を介して入力される指令を解析し、その指令にて
要求されるファイルブロックに対応した記憶手段に記憶
された占有情報を検証あるいは更新し。
The system of the present invention includes a file control device that references or updates a file block shared by all data processing devices based on a command input from the data processing device; at least one file access device that drives a medium containing the file block and reads or writes file block information in response to an instruction from the file control device based on the file control device; Input/output means that is connected to the processing device and controls input/output with the data processing device, and occupancy information of the file block and the file block corresponding to the file block read or written by the file access device. a storage means for storing message information regarding the data processing device; and a storage means for analyzing a command input from the data processing device through the input/output means, and storing occupancy information stored in the storage means corresponding to the file block requested by the command. Verify or update.

またそのファイル多口ツクに関する伝言情報の読み出し
あるいは書き込みを行なう制御手段とを有するファイル
管理装置とで構成される。
It also comprises a file management device having a control means for reading or writing message information regarding the multi-access file.

〔実施例〕〔Example〕

次に、この発明の実施例について図面を用いて、説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第2図は本発明による共用ファイル制御システムの一実
施例を含むデータ処理システムの構成例を示す。この例
は2つのデータ処理装置21.22が疎結合の状態で配
下のf IJニーム媒体51,52を共用している場合
を示している。
FIG. 2 shows an example of the configuration of a data processing system including an embodiment of the shared file control system according to the present invention. This example shows a case where two data processing devices 21 and 22 share the subordinate f IJ neem media 51 and 52 in a loosely coupled state.

最初にデータ処理装置21が&IJニーム媒体51内の
ファイルブロック511を使用するものとする。データ
処理装置21は使用するファイルブロック511のファ
イル名、ファイルブロック名及びデータ処理装置21の
ホス) ID 、タスクID等の排他制御用情報と、フ
ァイルブロック511に関する伝言情報とを伴なってロ
ックブロック(LOCK BLOCK )指令をファイ
ル管理装置1に発行する。ファイル管理装置1で占有許
可された場合。
It is assumed that the data processing device 21 first uses the file block 511 in the &IJ neem medium 51. The data processing device 21 locks the file block 511 with exclusive control information such as the file name of the file block 511 to be used, the file block name, the host ID of the data processing device 21, and the task ID, and message information regarding the file block 511. A (LOCK BLOCK) command is issued to the file management device 1. When exclusive permission is granted by file management device 1.

データ処理装置21は引継きファイル管理装置1にリー
ドメツセージ(READ MESSAGE )指令を発
行する。リードメツセージ指令は通常ロックブロック指
令に指令連鎖して実行される。リードメツセージ指令を
受信すると、ファイル管理装置1はファイルブロック5
11に関する伝言情報を要求元のデータ処理装置21に
対して転送する。ファイル管理装置1で占有が許可され
ファイルブロック511に関する伝言情報を得たデータ
処理装置21は、ファイルブロック511の処理を行う
ためファイルアクセス装置41への接続をもつファイル
制御装置31又はファイル制御装置32のいづれかを選
択してボリューム媒体51に含まれるファイル名「ファ
イルAJのファイルブロック511の参照あるいは更新
処理を実行する。ここで、「ファイルA」はボリューム
媒体51内のファイルブロック511とファイルブロッ
ク512及びボリューム媒体52内のファイルブロック
523というように複数のファイルブロックにて構成さ
れる。
The data processing device 21 issues a read message (READ MESSAGE) command to the takeover file management device 1. The read message command is normally executed in a command chain with the lock block command. Upon receiving the read message command, the file management device 1 reads the file block 5.
11 is transferred to the requesting data processing device 21. The data processing device 21, which has been granted exclusive ownership by the file management device 1 and has obtained message information regarding the file block 511, uses the file control device 31 or file control device 32 connected to the file access device 41 to process the file block 511. Select one of them to refer to or update the file block 511 of the file name "File AJ" included in the volume medium 51.Here, "File A" is the file block 511 and file block 512 in the volume medium 51. and a file block 523 in the volume medium 52.

データ処理装置21がファイルブロック511を参照す
る処理を実行中、データ処理装置21の他タスクあるい
は他のデータ処理装置22がそのファイルブロック51
1の参照を要求してロックブロック指令をファイル管理
装置1へ発行した場合。
While the data processing device 21 is executing a process that refers to the file block 511, other tasks of the data processing device 21 or other data processing devices 22 refer to the file block 511.
When a lock block command is issued to file management device 1 by requesting reference to file management device 1.

ファイル管理装置1は、ファイル共用して参照できる状
態では占有を許可しファイル共用を図っている。ファイ
ルブロック511への要求が更新要求であるならば、フ
ァイルブロック511の使用が解除されるまでロックブ
ロック指令に対して使用中であることが報告される。こ
の実施例のファイル管理装置の場合、使用中で待ちを報
告する時に、そのファイルブロックに関する情報の転送
は許可しない。データ処理装置21がファイルブロック
511に関する参照あるいは更新処理を完了すると、デ
ータ処理装置21は再びファイル管理装置1に対してア
ンロックブロック(UNLOCKBLOCKS )指令
を発行し、ファイルブロック511に関する使用解除処
理を行っている。
The file management device 1 attempts to share the file by allowing exclusive use when the file can be shared and referenced. If the request to file block 511 is an update request, file block 511 is reported to be in use for a lock block command until it is released. In the case of the file management device of this embodiment, when it reports that it is in use and is waiting, it does not permit the transfer of information regarding the file block. When the data processing device 21 completes the reference or update processing regarding the file block 511, the data processing device 21 issues an unlock block (UNLOCKBLOCKS) command to the file management device 1 again, and performs the use release processing regarding the file block 511. ing.

第1図は本発明によるファイル管理装置の一例を示した
ものである。
FIG. 1 shows an example of a file management device according to the present invention.

入出力制御部11は複数のデータ処理装置21゜22と
の間でインターフェース制御を行なう回路である。ファ
イル管理装置1の制御は処理制御部12にある制御メモ
リ内のマイクロプログラムにより行われている。マイク
ロプログラムに基づいて処理制御部12が入出力制御部
11にてデータ処理装置21.22からの起動を検出す
ると、マイクロプログラムで予め決められた手順によシ
データ処理装置の選択を指示し、インターフェース回路
を駆動して指令を受信する。
The input/output control unit 11 is a circuit that performs interface control with a plurality of data processing devices 21 and 22. Control of the file management device 1 is performed by a microprogram in a control memory in a processing control section 12. When the processing control unit 12 detects activation from the data processing device 21 or 22 in the input/output control unit 11 based on the microprogram, it instructs the selection of the data processing device according to a predetermined procedure in the microprogram, and then connects the interface. Drive the circuit and receive commands.

処理制御部12はまた。入出力制御部11にて受信した
指令を解析する。要求された指令がロックブロック指令
であると、処理制御部12は入出力制御部11を介して
ロックブロック指令に関連するアーギュメント情報を受
信し、そのアーギュメント情報からその指令を発行した
データ処理装置を識別するホス)ID、タスクID、占
有したいファイル名、ファイルブロック名、及び伝言情
報の更新要求、その他の制御情報を解析する。
The processing control unit 12 also includes: The command received by the input/output control unit 11 is analyzed. If the requested command is a lock block command, the processing control unit 12 receives argument information related to the lock block command via the input/output control unit 11, and identifies the data processing device that issued the command from the argument information. Analyzes host ID, task ID, file name to be occupied, file block name, message information update request, and other control information.

ファイル管理装置1にはデータ処理システムで共用され
るすべてのファイルブロック情報がファイル名をキーに
して参照できる様に構成されており、すべてのファイル
ブロックの占有情報及びすべてのファイルブロックに対
応して準備された伝言情報を記憶する記憶部13がある
。記憶部13はタスクテーブル131.ファイルテーブ
ル132.ブロックテーブル133.伝言情報テーブル
134にて構成されている。タスクテーブル131は、
データ処理装置からのロック要求をタスクIDごとに管
理するテーブルで17.ファイルテーブル132はファ
ー 。
The file management device 1 is configured so that all file block information shared by the data processing system can be referenced using the file name as a key. There is a storage unit 13 that stores prepared message information. The storage unit 13 stores a task table 131. File table 132. Block table 133. It is composed of a message information table 134. The task table 131 is
17. A table that manages lock requests from the data processing device for each task ID. File table 132 is fur.

イル塩をキーにしてファイルブロックを管理するテーブ
ル、プOyクチテーブル133はファイルブロックに関
する状態を管理するテーブルである。タスクテーブル1
31.ファイルテーブル132.ブロックテーブル13
3はファイルブロックの排他制御情報の管理に使用され
る。伝言情報テーブル134は、排他制御されるブロッ
クテーブルと関連してファイルブロックに関する種々の
伝言情報を記憶するテーブルである。
The table 133, which is a table for managing file blocks using file salt as a key, is a table for managing states regarding file blocks. task table 1
31. File table 132. block table 13
3 is used to manage exclusive control information of file blocks. The message information table 134 is a table that stores various message information regarding file blocks in association with the exclusive controlled block table.

データ処理装置21から受信したロックブロック指令が
ファイルブロック511に対するものであった場合、処
理制御部12はファイルブロック511のファイル名で
ある「ファイルA」をキーにして記憶部13を検索し、
ファイルグロック511に関する排他情報を得る。登録
がない場合には新規に登録し、伝言情報も対応する記憶
部に記憶後、占有可能としてロックブロック指令の完了
報告情報を作成し入出力制御部11を介して要求元のデ
ータ処理装置に対して占有許可を報告する。既にファイ
ルブロック511が使用中の場合でも、参照等の同時処
理が可能な場合は、占有可能として要求元のデータ処理
装置に対して占有許可を通知すると共に、ロックブロッ
ク指令に指令連鎖されて発行されるリードメツセージ指
令により、そのファイルブロック511に関して記憶さ
れている伝言情報133を読み出し要求元のデータ処理
装置に転送する。なお、データ処理装置から発行される
排他制御指令ロックブロックのアーギュメント情報とし
て指令制御用情報とは別に伝言情報をも同時に転送する
ことにょシ、データ処理装置間あるいはタスク間での通
信処理を軽減することができる。
If the lock block command received from the data processing device 21 is for the file block 511, the processing control unit 12 searches the storage unit 13 using “File A”, which is the file name of the file block 511, as a key,
Exclusive information regarding the file lock 511 is obtained. If there is no registration, a new registration is made, and after the message information is also stored in the corresponding storage unit, completion report information of the lock block command is created as being exclusive, and sent to the requesting data processing device via the input/output control unit 11. Report occupancy permission to. Even if the file block 511 is already in use, if simultaneous processing such as reference is possible, the file block 511 is marked as available for occupancy and notification of occupancy permission is sent to the requesting data processing device, and the command is chained to the lock block command and issued. In response to the read message command, the message information 133 stored regarding the file block 511 is transferred to the data processing device that is the source of the read request. Note that message information is also transferred at the same time as the argument information of the exclusive control command lock block issued from the data processing device in addition to the command control information, thereby reducing communication processing between data processing devices or between tasks. be able to.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明したように、ファイル管理装置によ
る占有状態記憶及び伝言情報記憶によ)。
As explained above, this invention relies on the occupancy state storage and message information storage by the file management device.

共用ファイル制御システムにおける占有排他制御を容易
にしデータ処理装置の情報交換のためのオーバヘッドを
軽減する。またファイル共用制御の統合化によシ疎結合
状態でのデータ処理装置の性能向上、信頼度向上を図る
効果がある。
To facilitate exclusive exclusive control in a shared file control system and reduce overhead for information exchange between data processing devices. Furthermore, the integration of file sharing control has the effect of improving the performance and reliability of data processing devices in a loosely coupled state.

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

第1図は本発明によるファイル管理装置の一例を示すブ
ロック図、第2図は本発明の共用ファイル制御システム
によるデータ処理システムを示す構成図である。 1・・・ファイル管理装置、11・・・入出力制御、1
2・・・処理制御部、13・・・記憶部、21.22・
・・データ処理装置、31.32・・・ファイSし制御
装置、41゜42・・・ファイルアクセス装置、51.
52・・・ヒリューム媒体、131・・・タスクテーブ
ル、132・・・ファイルテーブル、133・・・ブロ
ックテーブル。 134・・・伝言情報テーブル、511.512゜51
3.521.522,523・・・ファイルブロック。 筋1図
FIG. 1 is a block diagram showing an example of a file management device according to the present invention, and FIG. 2 is a block diagram showing a data processing system based on the shared file control system of the present invention. 1... File management device, 11... Input/output control, 1
2... Processing control unit, 13... Storage unit, 21.22.
. . . Data processing device, 31. 32 . . . File S control device, 41° 42 . . . File access device, 51.
52...Hilium medium, 131...Task table, 132...File table, 133...Block table. 134...Message information table, 511.512゜51
3.521.522,523...File block. Muscle 1 diagram

Claims (1)

【特許請求の範囲】[Claims] 1、少なくとも1つのデータ処理装置から入力する指令
に基づいて、そのすべてのデータ処理装置に共有される
少なくとも1つのファイルブロックを参照あるいは更新
する機能を有する少なくとも1つのファイル制御装置と
、そのファイル制御装置に接続され、前記指令に基づく
前記ファイル制御装置からの指示に応答して前記ファイ
ルブロックを含む媒体を駆動し、ファイルブロック情報
の読み出しあるいはファイルブロック情報の書き込みを
行なう少なくとも1つのファイルアクセス装置と、前記
すべてのデータ処理装置に接続され、かつデータ処理装
置との入出力を制御する入出力手段と前記ファイルアク
セス装置により、読み出しあるいは書き込みされるファ
イルブロックに対応して、そのファイルブロックの占有
情報およびそのファイルブロックに関する伝言情報を記
憶する記憶手段と前記データ処理装置から入出力手段を
介して入力される指令を解析し、その指令にて要求され
るファイルブロックに対応した記憶手段に記憶された占
有情報を検証あるいは更新し、またそのファイルブロッ
クに関する伝言情報の読み出しあるいは書き込みを行な
う制御手段とを有するファイル管理装置とを備え、複数
のデータ処理装置がファイル共用を行なう場合にファイ
ルブロックに対する占有の排他制御を行なうと共に、そ
のファイルブロックに関する伝言情報を参照あるいは更
新することにより複数のデータ処理装置間での情報伝達
を可能とすることを特徴とする共用ファイル制御システ
ム。
1. At least one file control device having a function of referencing or updating at least one file block shared by all the data processing devices based on a command input from at least one data processing device, and the file control device. at least one file access device connected to the device and configured to drive a medium containing the file block in response to an instruction from the file control device based on the command, and read or write file block information; , occupancy information of the file block corresponding to the file block read or written by the input/output means that is connected to all the data processing devices and controls input/output with the data processing device and the file access device; and a storage means for storing message information regarding the file block; and a storage means for analyzing a command inputted from the data processing device through the input/output means, and storing the message information in the storage means corresponding to the file block requested by the command. A file management device having a control means for verifying or updating occupancy information and reading or writing message information regarding the file block, and controlling the occupancy for a file block when a plurality of data processing devices share the file. A shared file control system is characterized in that it performs exclusive control and enables information transmission between a plurality of data processing apparatuses by referencing or updating message information regarding the file block.
JP60004048A 1985-01-16 1985-01-16 Shared file control system Pending JPS61163448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60004048A JPS61163448A (en) 1985-01-16 1985-01-16 Shared file control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60004048A JPS61163448A (en) 1985-01-16 1985-01-16 Shared file control system

Publications (1)

Publication Number Publication Date
JPS61163448A true JPS61163448A (en) 1986-07-24

Family

ID=11574022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60004048A Pending JPS61163448A (en) 1985-01-16 1985-01-16 Shared file control system

Country Status (1)

Country Link
JP (1) JPS61163448A (en)

Similar Documents

Publication Publication Date Title
US7484048B2 (en) Conditional message delivery to holder of locks relating to a distributed locking manager
US7089386B2 (en) Method for controlling storage device controller, storage device controller, and program
JP2004013367A (en) Data storage subsystem
JPH09325905A (en) Memory control unit
US6892203B2 (en) Method, apparatus and system for remote file sharing
US20130198309A1 (en) Clustering Without Shared Storage
JP2004302556A (en) Data sharing method between a plurality of computer systems, and disk controller
JPH03160534A (en) Access control system for shared file
JPS61163448A (en) Shared file control system
US7613784B2 (en) System and method for selectively transferring block data over a network
JPS61194546A (en) Shared file control system
US7974830B2 (en) Tape management method and tape management system
JP3499938B2 (en) I / O device sharing system between multiple systems with different protocols
JP2746189B2 (en) File access control system
JP3778405B2 (en) Disk subsystem
JPS5981748A (en) File control processor
JPS6327936A (en) File management method
JPS6368960A (en) Sequential access controller for shared storage medium
JPS6380345A (en) Common share controlling system for decentralized type data base management system
JPH03219339A (en) Data processing system
JPS63301352A (en) Exchange system for file shared data with communication control
JPH09305471A (en) File simultaneous access control system
JPH02242350A (en) Circulating file processing system for data processing system
JPS63148365A (en) Managing device for shared resources of multiplex computer
JPS62262171A (en) Exclusive control system