JPS6143356A - Shared file controller - Google Patents

Shared file controller

Info

Publication number
JPS6143356A
JPS6143356A JP59165281A JP16528184A JPS6143356A JP S6143356 A JPS6143356 A JP S6143356A JP 59165281 A JP59165281 A JP 59165281A JP 16528184 A JP16528184 A JP 16528184A JP S6143356 A JPS6143356 A JP S6143356A
Authority
JP
Japan
Prior art keywords
file
processing
command
control
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
JP59165281A
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 JP59165281A priority Critical patent/JPS6143356A/en
Publication of JPS6143356A publication Critical patent/JPS6143356A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve both the occupation processing efficiency and reliability of a shared file controller by storing the information showing the occupation state of a block included in a file group in a shared memory after a command is analyzed. CONSTITUTION:A file controller 5 is provided with a controller processor 51 containing an input/output control part 511, a processing control part 512, a memory part 513 and a drive part 514 and a control processor 52 containing an input/ output control part 521, a processing control part 522, a memory part 523 and a drive part 524, and a shared memory 53. Both parts 512 and 522 analyzes commands and various types of information and refer to parts 513 and 523 based on the analyzed information to perform the block occupation processing, the waiting register processing or the deadlock check processing, Then both parts 513 and 523 are replaced. Furthermore both parts 512 and 522 control the transfer of information with the memory 53 via parts 514 and 524.

Description

【発明の詳細な説明】 (技術分野) 本発明はファイルを複数のデータ処理装置により共用す
る共用ファイル処理システムにおける共用ファイルの排
他制御を行なう共用ファイル管理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a shared file management device that performs exclusive control of shared files in a shared file processing system in which files are shared by a plurality of data processing devices.

(従来の技術) ファイル金複数のデータ処理装置で共用するためには、
排他制御を行う必要がある。従来のファイル制御装置に
おいては、データ処理装置からの指令に応答して、ファ
イル装置金一時的に占有することが可能である。しかし
、この場合、少なくとも1つ以上のファイルを含むボリ
ューム単位での占有であるため、無関係なファイルも同
時に占有されるという欠点がある。
(Prior art) In order to share a file with multiple data processing devices,
It is necessary to perform exclusive control. In conventional file control devices, file device funds can be temporarily occupied in response to commands from a data processing device. However, in this case, since the volume is occupied in units of volumes containing at least one or more files, there is a drawback that unrelated files are also occupied at the same time.

また、ある種のファイル共用データ処理システムにおい
ては、ファイル単位での排他的制御を可能としているが
、この場合、複数のデータ処理装置間において情報通信
全行ない、相互にファイルの占有状前金通知する必要が
あり、データ処理装置での制御が複雑という欠点かめる
。また、排他制御を複数のデータ処理装置間で共有され
る。ファイル管理装置により制御することに工カ、処理
改善されたシステムもあるが、このシステムでは。
In addition, in some types of file-sharing data processing systems, exclusive control is possible on a file-by-file basis, but in this case, all information is communicated between multiple data processing devices, and they are mutually notified of file occupancy status in advance. This has the drawback that control by the data processing device is complicated. Furthermore, exclusive control is shared among a plurality of data processing devices. There are systems that have improved the process by using a file management device to control it, but this system does not.

ファイル管理装置が障害になると占有制御情報が消失し
、システム全体の制御が不可能となるという欠点がある
If the file management device fails, exclusive control information will be lost, making it impossible to control the entire system.

(発明の目的) 本発明の目的は上述の欠点を除去したファイル管理装置
を提供することにある。
(Object of the Invention) An object of the present invention is to provide a file management device that eliminates the above-mentioned drawbacks.

(発明の構成) 複数のデータ処理装置のりちの少なくとも1つから与え
られる指令に基づいて該複数のデータ処理装置に共用“
される少なくとも1つのファイルの占有制御を行なリフ
ァイル管理装置において、前記指令を受信する入出力手
段、該人出手段を介して受信した指令t−S析しこの指
令にょシ要求された処理を実行する制御手段および前記
少なくとも1つのファイル群に含まれる少なくとも1つ
のプロ、りの占有状態t−不丁情報を記憶する記憶手段
をそれぞれ有する複数の制御グロセ、−tと、各該制御
プロセ、す内の前記記憶手段の内容に対応する情報を記
憶する共有メモリと金備えている。
(Structure of the Invention) Based on a command given from at least one of the plurality of data processing apparatuses, a shared "
In the refile management device that performs occupancy control of at least one file to be sent, an input/output means for receiving the command, an input/output means for receiving the command, an analysis of the command t-S received through the outgoing means, and processing requested by the command. a plurality of control grosses each having a storage means for storing the occupancy state t of at least one program included in the at least one file group; and each of the control processes; , a shared memory for storing information corresponding to the contents of the storage means in the storage means;

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

第2因を参照すると1本発明の装置5を含む共用ファイ
ル処理システムは、データ処理装置11および12と、
ファイル制御装置21および22と、ファイル装置31
および32と、それぞれ装!31および32により駆動
され、それぞれファイル群のブロック411,412お
Lび421゜422t−含むポリ、−ム41および42
と、データ処理装置11および12と接続され、ブロッ
ク411.412,421お工び42つの状態を管理す
るファイル管理装置5とから構成されている。
Referring to the second factor, 1 the shared file processing system including the device 5 of the present invention has data processing devices 11 and 12;
File control devices 21 and 22 and file device 31
and 32, respectively! 31 and 32 and containing the blocks 411, 412L and 421° 422t of the files, respectively.
and a file management device 5 which is connected to the data processing devices 11 and 12 and manages the status of blocks 411, 412, 421 and 42.

本システムにおいて、データ処理装[11がブロック4
11の更新処理fc実行する場合、データ処理装置11
はファイル管理装置5に対して指令を発行し、ブロック
411の占有上指ボする。ファイル管理装置5は該ブロ
ック411の状Bを調青し、占有可能であれば占有許可
を前記データ処理装置11に通知する。データ処理装置
11はファイルを理装置5から占有許可を通知されると
In this system, the data processing unit [11 is block 4]
11 update process fc, the data processing device 11
issues a command to the file management device 5 to occupy the block 411. The file management device 5 tones the state B of the block 411, and notifies the data processing device 11 of permission for occupancy if the block 411 can be occupied. When the data processing device 11 is notified of permission to occupy the file from the file management device 5.

ファイル制御部ft21に指令を発行し、ファイル装置
31で駆動されるボリウム41内のファイルブロック4
110更新処理を行なう。データ処理装置11がブロッ
ク411t′必要としなくなると。
A file block 4 in the volume 41 that issues a command to the file control unit ft21 and is driven by the file device 31
110 update processing is performed. When data processing device 11 no longer needs block 411t'.

データ処理装置t11はファイル管理装f5に指令【発
行し、プロ、り41゛lの占有を解除する。
The data processing device t11 issues a command to the file management device f5 to release the exclusive use of the professional file 41.

本発明の一実施例すなわちファイル管理装置5の詳at
−示す第2図を参照すると1本実施例は、入出力制御部
511.処理制御部512.記憶部513および駆動部
514t−有する制御プロセッサ51と1人出力制御部
521.処理制御部522゜記憶部523および駆動部
524を有する制御プロセ、す52と、共有メそり53
とから構成されている。2つの入出力制御部511およ
び521は前記データ処理装置11および12と接続さ
れ情報転送処理を行なう。ファイル管理装置5の主なる
機能である排他制御処理は処理制御部512および52
2で行われる。データ処理装置11または12からの指
令に人出力制御部511または521で受信され、分@
卓れて処理制御部512または522に送られる。処理
制御部512tたは522は指令および指令から得られ
る各種情報(データ処理装置識別子、タスク識別子、フ
ァイル識別子、プロ、り識別子、指令属性等を解析し、
その情報に基づいて記憶部513および523’i参照
し、ブロック占有処理、待ち登録処理、′またはデアド
ロ、クチニック処理を行ない、記憶部513および52
3の更新を行なう。更に、処理制御部512お工び52
2は、駆動部514および524を介して共有メモリ5
3との間の情報転送を制御している。共有メモリ装[5
3は前記処理制御部512と522とにより共通して使
用される補助メモリで、!11り、記憶部513お工び
523の内容が格納されておシ、前記記憶部513およ
び523が更新さiLる4σに共有メモリの記憶内容も
更新されるように構成されている。共有メモリ53は補
助比t、Mでtp)り1通常の排他制御処理には機能し
ないが、 13il記処理制御部512および52つの
一方に障害が発生し疋場合に、その処理全他方の処理制
御部が引継ぐことができるようにするためvcI役けら
れている。また、駆動部514と524との間には、処
理制御部512と522とが情報通1ざを行なえるよう
伝送路が設けられてbる。
Details of an embodiment of the present invention, that is, a file management device 5
- Referring to FIG. 2, the input/output control unit 511. Processing control unit 512. A storage unit 513 and a drive unit 514t, a control processor 51, and a single output control unit 521. Processing control unit 522, a control process 52 having a storage unit 523 and a drive unit 524, and a shared memory 53
It is composed of. Two input/output control units 511 and 521 are connected to the data processing devices 11 and 12 to perform information transfer processing. Exclusive control processing, which is the main function of the file management device 5, is carried out by the processing control units 512 and 52.
It is done in 2. A command from the data processing device 11 or 12 is received by the human output control unit 511 or 521, and
The result is sent to the processing control section 512 or 522. The processing control unit 512t or 522 analyzes the command and various information obtained from the command (data processing device identifier, task identifier, file identifier, professional identifier, command attribute, etc.),
Based on the information, the storage units 513 and 523'i are referred to, and the block occupancy process, waiting registration process, ', or deadro or cutinic process is performed.
Update 3. Furthermore, the processing control unit 512
2 is connected to the shared memory 5 via the drive units 514 and 524.
It controls the information transfer between 3 and 3. Shared memory device [5
3 is an auxiliary memory commonly used by the processing control units 512 and 522; 11, the contents of the storage section 513 and the contents of the storage section 523 are stored, and when the storage sections 513 and 523 are updated, the storage contents of the shared memory are also updated to 4σ. The shared memory 53 does not function for normal exclusive control processing at auxiliary ratios t and M, but if a failure occurs in one of the processing control units 512 and 52 described in 13il and the other one is disabled, vcI is used to enable the control unit to take over. Further, a transmission path is provided between the drive units 514 and 524 so that the processing control units 512 and 522 can communicate information.

次に本実施例におけるファイル内ブロックノ占有処理に
ついて詳細に説明する。前記データ処理装置11で処理
中のタスクaがファイル番号bリファイル内のブロック
番号Cのプロ、りを占有したいときには、前記ファイル
管理装置5を構成する入出力制御部511または52゛
1にプログラム番号nとLock BLock  コマ
ンドとを送信する。
Next, the in-file block occupancy processing in this embodiment will be explained in detail. When the task a being processed by the data processing device 11 wants to occupy the block number C in the file number b refile, a program is sent to the input/output control unit 511 or 52 1 constituting the file management device 5. Send the number n and the Lock BLock command.

入出力制御部511または521は続いてアーギュメン
ト情報を受信する。アーギュメントtWgAiは。
The input/output control unit 511 or 521 then receives argument information. The argument tWgAi is.

情報量を示すアーギュメント長、コマンドAi 4a 
f<規定する属性、コマンド発行元を示すデータ処理装
置の識別番号およびタスク番号、対象となるファイル査
号、ブロック番号お工びその他の制御情報金倉む。入出
力制御部511ま7Ci’j1.521はアーギュメン
トむ7?Iaの受信を完了すると、アーギーメント情報
1ノ3リファイル査号bK4E−このファイルを管理す
る処理制御部512を選択し、制御コマンド全転送−T
る。この制御コマンドは、前記データ処理装置1rtl
lから受・1ぎしたプログラム番号n 、 LUCK 
IILOCK  ニア ? 7ド情報、アーギュメント
情報、入出力制御部の識別番号およびその他の付加情報
を含む。処理制御部512は受信した制御コマンドを解
析し、指定さした7アイル喬号すお工びブロック番号C
に関する情報を記憶部513の排他制御テーブルで検索
する。該当するブロック番号Cに関する情報が存在しな
いときまたは占有可能なとき(すなわち、他のタスクが
プロ、りCに参照のみを行なっているとき)には、占有
が許可さn記憶部513が更新される。占有不可能なと
きには、待ち状態が盆録されるが、このときデッドロッ
ク状態が発生しないか待ち状態にある処理がチェックさ
れる。
Argument length indicating amount of information, command Ai 4a
f<Defined attribute, data processing device identification number and task number indicating the command issuer, target file code, block number, and other control information Kanakuramu. The input/output control unit 511 is the argument 7? When the reception of Ia is completed, select the processing control unit 512 that manages this file (argiment information 1/3 file scan code bK4E) and send the control command all transfer-T
Ru. This control command is the data processing device 1rtl.
Program number n received and received from l, LUCK
IILOCK near? 7 code information, argument information, the identification number of the input/output control unit, and other additional information. The processing control unit 512 analyzes the received control command and selects the specified 7-isle block number C.
The exclusive control table in the storage unit 513 is searched for information regarding the above. When information regarding the corresponding block number C does not exist or when it can be occupied (that is, when another task is only referencing the block number C), occupation is permitted and the storage unit 513 is updated. Ru. If it cannot be occupied, the waiting state is recorded, but at this time, the processing in the waiting state is checked to see if a deadlock situation occurs.

次に、処理flilJ御部512が更新した記憶部51
3の情報は、1jハ動部514を弁して共有メモリ53
に格納される。
Next, the storage unit 51 updated by the processing flilJ control unit 512
The information of 3 is stored in the shared memory 53 by activating the moving unit 514.
is stored in

処理制御部512で障害が発生したときには。When a failure occurs in the processing control unit 512.

処理制御部522がデータ処理装置からの指令に基づい
て、共有メモリ53から記憶部513の内容に対応する
情報′t−鷹創部524を介して自己の記憶部523に
転送し、処理制御部51つの処理を全て引継ぐことがで
きる。
Based on a command from the data processing device, the processing control unit 522 transfers information corresponding to the contents of the storage unit 513 from the shared memory 53 to its own storage unit 523 via the storage unit 524, and the processing control unit 51 All processes can be inherited.

!ff1i#を部514と524との間の伝送路は、デ
! The transmission path between the ff1i# units 514 and 524 is d.

ドロ、クチニック時に処理制御部512と処理制御部5
22との間で待ち情報を転送するのに使用する。
The processing control unit 512 and the processing control unit 5 at the time of muddy and dry skin
It is used to transfer waiting information to and from 22.

処理制御部512は、前記制御コマンドに対応する処理
を完了すると、処理結果に基づいて報告情報を生成し、
該コマンドを受信した入出力制御部511または521
を介して前記LUCK BLOCKコマンド発行元であ
るデータ処理装置11にその報告情報を転送する。
Upon completing the process corresponding to the control command, the process control unit 512 generates report information based on the process result,
The input/output control unit 511 or 521 that received the command
The report information is transferred to the data processing device 11, which is the source of the LUCK BLOCK command, via the LUCK BLOCK command.

(発明の効果〕 以上1本発明にに、占有処理効率および信頼性の向上全
達成できるという効果がある。。
(Effects of the Invention) The present invention has the effect that it is possible to achieve improvements in occupancy processing efficiency and reliability.

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

第1図は本発明の一実施例金示すブロック図および第2
図は本発明の装置金倉むシステムを示すプロ、り図であ
る。 図において、11.12・・・・・・データ処理装置、
21.22・・・・・ファイル制御装置+ 31.32
・・・・・・ファイル装置、41.42・・・・・・ポ
リー−ム。 /l11,412,421,422・・・・・・ファイ
ル内ブロック、5・・・・・ファイル管理装置、51.
52・・・・・・制御プロセ、す、53・・・・・・共
有メ七!J、511゜521・・・・・・入出力制御部
、512,522・・・・処理制御部、51:3,52
3・・・・・・記憶部、514゜524・・・・・・駆
動、部。 第1図 第2図
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure is a professional diagram showing the apparatus and storage system of the present invention. In the figure, 11.12... data processing device,
21.22...File control device + 31.32
...File device, 41.42...Polyme. /l11, 412, 421, 422... block in file, 5... file management device, 51.
52... Control process, 53... Shared menu 7! J, 511゜521... Input/output control unit, 512, 522... Processing control unit, 51:3,52
3...Storage section, 514°524...Drive, section. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 複数のデータ処理装置のうちの少なくとも1つから与え
られる指令に基づいて該複数のデータ処理装置に共用さ
れる少なくとも1つのファイルの占有制御を行なうファ
イル管理装置において、前記指令を受信する入出力手段
、該入出力手段を介して受信した指令を解析しこの指令
により要求された処理を実行する処理制御手段および前
記少なくとも1つのファイルに含まれる少なくとも1つ
のブロックの占有状態を示す情報を記憶する記憶手段を
それぞれ有する複数の制御プロセッサと、各該制御プロ
セッサ内の前記記憶手段の内容に対応する情報を記憶す
る共有メモリとを備えたことを特徴とする共用ファイル
管理装置。
In a file management device that performs occupancy control of at least one file shared by a plurality of data processing devices based on a command given from at least one of the plurality of data processing devices, an input/output unit that receives the command. , a processing control means for analyzing a command received via the input/output means and executing a process requested by the command, and a memory for storing information indicating the occupancy state of at least one block included in the at least one file. A shared file management device comprising: a plurality of control processors each having a storage means; and a shared memory storing information corresponding to the contents of the storage means in each of the control processors.
JP59165281A 1984-08-07 1984-08-07 Shared file controller Pending JPS6143356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59165281A JPS6143356A (en) 1984-08-07 1984-08-07 Shared file controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59165281A JPS6143356A (en) 1984-08-07 1984-08-07 Shared file controller

Publications (1)

Publication Number Publication Date
JPS6143356A true JPS6143356A (en) 1986-03-01

Family

ID=15809346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59165281A Pending JPS6143356A (en) 1984-08-07 1984-08-07 Shared file controller

Country Status (1)

Country Link
JP (1) JPS6143356A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6324442A (en) * 1986-07-17 1988-02-01 Fujitsu Ltd Exclusive control system for data base
JPS6349857A (en) * 1986-08-19 1988-03-02 Nec Corp File controller
US6111098A (en) * 1994-05-02 2000-08-29 Shionogi & Co., Ltd. Crystal of pyrrolidylthiocarbapenem derivative, lyophilized preparation containing said crystal, and process for producing the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5977563A (en) * 1982-10-26 1984-05-04 Nec Corp File control processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5977563A (en) * 1982-10-26 1984-05-04 Nec Corp File control processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6324442A (en) * 1986-07-17 1988-02-01 Fujitsu Ltd Exclusive control system for data base
JPS6349857A (en) * 1986-08-19 1988-03-02 Nec Corp File controller
US6111098A (en) * 1994-05-02 2000-08-29 Shionogi & Co., Ltd. Crystal of pyrrolidylthiocarbapenem derivative, lyophilized preparation containing said crystal, and process for producing the same

Similar Documents

Publication Publication Date Title
US6105085A (en) Lock mechanism for shared resources having associated data structure stored in common memory include a lock portion and a reserve portion
TW544589B (en) Loosely coupled-multi processor server
US5060144A (en) Locking control with validity status indication for a multi-host processor system that utilizes a record lock processor and a cache memory for each host processor
JP2572136B2 (en) Lock control method in multi-processing data system
JPS63226762A (en) Data processing method
EP0317481B1 (en) Remote storage management mechanism and method
US5204954A (en) Remote storage management mechanism and method
JPH05334006A (en) Logical volume system
JPH05128072A (en) Inter-system exclusive control method
JPS6143356A (en) Shared file controller
US5778225A (en) Method and apparatus for sharing objects among a plurality of processes
EP0049423B1 (en) Multiprocessor system
JPH04288638A (en) Computer system
JP5031538B2 (en) Data distribution method, data distribution program, and parallel database system
JP2944496B2 (en) Image data storage control device
JPS60100239A (en) Shared file control system
JPH0136125B2 (en)
JPS63195723A (en) File managing device
JPH0240759A (en) External data incorporation system
JPS58165164A (en) Information source management method
JPS5981748A (en) File control processor
JPS6229340A (en) Image data processing system
JPS61194546A (en) Shared file control system
JPS6152768A (en) Interrupt control mechanism for multiprocessor systems
JPH06348558A (en) Data processor