JPS5981748A - File control processor - Google Patents

File control processor

Info

Publication number
JPS5981748A
JPS5981748A JP57191783A JP19178382A JPS5981748A JP S5981748 A JPS5981748 A JP S5981748A JP 57191783 A JP57191783 A JP 57191783A JP 19178382 A JP19178382 A JP 19178382A JP S5981748 A JPS5981748 A JP S5981748A
Authority
JP
Japan
Prior art keywords
file
data processing
block
command
processor
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
JP57191783A
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
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 JP57191783A priority Critical patent/JPS5981748A/en
Publication of JPS5981748A publication Critical patent/JPS5981748A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To improve the processing performance and to reduce the load of a data processor by performing the control of a file group which is shared by plural data processors by a file control processor for each block constituting a file. CONSTITUTION:Plural data processors 1-1-1-n share plural files 1-1-1-m. A file control processor 3 is connected to the processors 1-1-1-n, and the writing or reading is carried out by exclusive control for file groups with each block. For instance, when the processor 1-2 replaces a block 211 in a file 2-2, an exclusive control is first commanded to the processor 3. Then the processor 3 checks the corresponding block whether it is used or not by another data processor if it is used, then rejects the replacement until the use of the block is finished. The processor 3 generates a new block within a file when the indicated block is not found in the file. In such a way, the processing performance is improved.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は、複数のデータ処理装置がファイル装置を共用
する形式の複数データ処理システムに適用されるファイ
ル制御処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical field to which the invention pertains] The present invention relates to a file control processing device that is applied to a multiple data processing system in which a plurality of data processing devices share a file device.

〔従来技術〕[Prior art]

従来、この種の複数データ処理システムにおいては、複
数のデータ処理装置が参照、あるいは更新するファイル
群に関して、それぞれのデータ処理装置ごとにデータ処
理装置を制御するソフトウェアが管理している。しだが
って、共用するファイル群については、データ処理装置
間で夫々通信を行って情報交換をしたシ、いづれかのデ
ータ処理装置が主装置となって複数のデータ処理装置の
共用ファイル使用状態が制御される。そのために。
Conventionally, in this type of multiple data processing system, files that are referenced or updated by multiple data processing devices are managed by software that controls the data processing devices for each data processing device. Therefore, for a group of files to be shared, if each data processing device communicates and exchanges information, one of the data processing devices becomes the main device and the shared file usage status of multiple data processing devices is monitored. controlled. for that.

データ処理装置間の通信を必要とすることは勿論。Of course, communication between data processing devices is required.

多量の制御情報の転送が必要となシ、結果としてファイ
ル単位での排他制御とならざるを得す、ブロック単位で
の排他制御ができないという欠点があった。
It has the disadvantage that it requires transfer of a large amount of control information, and as a result, exclusive control must be performed on a file-by-file basis, and exclusive control on a block-by-block basis cannot be performed.

〔発明の目的〕[Purpose of the invention]

本°発明の目的は、複数のデータ処理装置において共用
されるファイル群の管理を専用に行わせることによシ、
従来の欠点を除去するとともに、各データ処理装置のフ
ァイル制御に関する負荷を低減し、よシ細かなファイル
を構成するブロック単位での排他制御を可能にすること
のできるファイル制御処理装置ケ提供することにある。
An object of the present invention is to allow a plurality of data processing devices to exclusively manage a group of files that are shared by a plurality of data processing devices.
To provide a file control processing device capable of eliminating conventional drawbacks, reducing the load related to file control on each data processing device, and enabling exclusive control in units of blocks constituting finely detailed files. It is in.

〔発明の構成〕[Structure of the invention]

本発明によるファイル制御処理装置は、複数のデータ処
理装置と、これ等複数のデータ処理装置に共用されるフ
ァイル群を含む少なくとも1つのファイル装置とから構
成される複数データシステムに適用され、これ等複数の
データ処理装置からの指令を受信する手段と、該指令の
発行元を記憶する手段と、該指令を解析し、これを基に
処理を制御する手段と、該指令にょシ指定された種々の
ファイル識別子を分類し、該ファイルに関してファイル
を構成するブロック単位で管理する手段と。
The file control processing device according to the present invention is applied to a plurality of data systems comprising a plurality of data processing devices and at least one file device containing a file group shared by the plurality of data processing devices. means for receiving commands from a plurality of data processing devices; means for storing the issuer of the commands; means for analyzing the commands and controlling processing based thereon; and various means specified by the commands. means for classifying the file identifiers of the file and managing the file in units of blocks constituting the file;

前記指令の処理結果を該指令の発行元のデータ処理装置
に送信する手段とを備え、前記複数のデータ処理装置か
ら発行される指令にょシ共用ファイル群についてブロッ
ク単位に排他制御することを特徴とする。
and means for transmitting a processing result of the command to a data processing device that has issued the command, and is characterized in that it exclusively controls a group of shared files for commands issued by the plurality of data processing devices in units of blocks. do.

〔発明の実施例〕[Embodiments of the invention]

次に2本発明によるファイル制御処理装置について実施
例を挙げ1図面を参照して説明する。
Next, two embodiments of the file control processing apparatus according to the present invention will be described with reference to one drawing.

第1図は本発明による実施例の構成をブロック図によシ
示したものである。この図において。
FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. In this figure.

■−1〜1−nはn台のデータ処理装置、2−1〜2−
mは並列に接続されるm台のファイル装置。
■-1 to 1-n are n data processing devices, 2-1 to 2-
m is m file devices connected in parallel.

そして、3はファイル制御処理装置である。この構成に
よれば、データ処理装置1−1〜1−nはファイル装置
2−1〜2−mと相互に接続されておシ、また。別に付
加されたファイル制御処理装置3は上記n台のデータ処
理装置1−1〜l−nと個々に接続され、複数のファイ
ル装置において書込み、あるいは読出される各種のファ
イル群に関して、ファイル内ブロック単位での排他制御
を行なうようになっている。なお、それぞれのファイル
装置には、複数の共用ファイルが内蔵されておシ、これ
等の共用ファイルのそれぞれは複数のブロック単位で構
成されている。
3 is a file control processing device. According to this configuration, the data processing devices 1-1 to 1-n are mutually connected to the file devices 2-1 to 2-m. A separately added file control processing device 3 is individually connected to the n data processing devices 1-1 to 1-n, and controls blocks within a file regarding various file groups written or read in a plurality of file devices. Exclusive control is performed on a unit basis. Note that each file device includes a plurality of shared files, and each of these shared files is configured in units of a plurality of blocks.

このような複数データ処理システムにおいて。In such multiple data processing systems.

データ処理装置1−2とファイル装置2−2との間に情
報を転送する場合を例に挙げて、その処理手順を説明す
る。ここで、データ処理装置1−2は、ファイル装置2
−2に存在する複数の共用ファイルのうちの1つ、ある
いは複数を参照、あるいは更新することができるが9例
として図示されている共用ファイル21のなかのファイ
ル内ブロック211を更新する場合の処理について述べ
ることにする。まず、データ処理装置1−2は、ファイ
ル装置2−2に対して指令を発行する前に。
The processing procedure will be explained by taking as an example the case where information is transferred between the data processing device 1-2 and the file device 2-2. Here, the data processing device 1-2 is a file device 2.
Processing when updating a block 211 in a file in a shared file 21, which is shown as an example of 9, in which one or more of the multiple shared files existing in the file 2 can be referenced or updated. I would like to talk about this. First, before the data processing device 1-2 issues a command to the file device 2-2.

共用ファイル情報を管理するlファイル制御処理装置3
に対して排他制御を指令する。この指令はロックブロッ
ク(LOCK BLOCK)命令によシ行われる。
File control processing device 3 that manages shared file information
Instruct exclusive control to . This command is performed by a LOCK BLOCK command.

このロックブロック命令には、指令を発行したデータ処
理装置1−2の識別子、タスクの識別子。
This lock block command includes an identifier of the data processing device 1-2 that issued the command and an identifier of the task.

排他制御を行う共用ファイル21の識別子、ファイル内
ブロック211の識別子及び各種制御情報が付加されて
いる。
The identifier of the shared file 21 that performs exclusive control, the identifier of the block within the file 211, and various control information are added.

ファイル制御処理装置3は、第2図の具体例を示すブロ
ック図に見られるように、3−1の入出力制御回路、3
−2のメモIJ l 3−3の処理制御回路、そして3
−4の管理テーブルによシ構成されている。さて、上述
のごとくデータ処理装置1−2から送られたロックブロ
ック命令はファイル制御処理装置3の入出力制御回路3
−1で受信される。この入出力制御回路3−1は口、ク
プロ7り命令を発行したデータ処理装置情報をメモリ3
−2に登録し終ると、処理制御回路3−3にロックブロ
ック命令と付加情報を移送する。処理制御回路3−3は
入出力制御回路3−1からロックブロック命令と付加情
報を受は取ると、指令及び付加情報の解析を行う。処理
制御回路3−3により解析された指令が共用ファイル2
1のファ・fル内ブロック211に対する排他制御要求
であると。
As seen in the block diagram showing a specific example in FIG. 2, the file control processing device 3 includes an input/output control circuit 3-1;
-2 memo IJ l 3-3 processing control circuit, and 3
-4 management tables. Now, as mentioned above, the lock block command sent from the data processing device 1-2 is sent to the input/output control circuit 3 of the file control processing device 3.
-1 is received. This input/output control circuit 3-1 stores information about the data processing device that issued the CPU 7 command in the memory 3-1.
-2, the lock block command and additional information are transferred to the processing control circuit 3-3. When the processing control circuit 3-3 receives the lock block command and additional information from the input/output control circuit 3-1, it analyzes the command and additional information. The commands analyzed by the processing control circuit 3-3 are stored in the shared file 2.
This is an exclusive control request for block 211 in F.1.

処理制御回路3−3は上記の解析情報に基いて管環テー
ブル3−4の検索を行う。管理テーブル3−4は排他制
御のための複数のメモリで構成されており、複数のデー
タ処理装置1−1〜1−nによシ共用されるファイルの
容量に従って容量変更が可能となっている。この管理テ
ーブル3−4はロックブロック指令の付加情報であるタ
スク識別子、ファイル識別子及びブロック識別子等によ
シ検索され、各テーブルによりファイル内ブロック単位
での排他制御を可能にしている。
The processing control circuit 3-3 searches the pipe ring table 3-4 based on the above analysis information. The management table 3-4 is composed of a plurality of memories for exclusive control, and its capacity can be changed according to the capacity of the file shared by the plurality of data processing devices 1-1 to 1-n. . This management table 3-4 is searched by the task identifier, file identifier, block identifier, etc. that are additional information of the lock block command, and each table enables exclusive control in units of blocks within the file.

処理制御回路3−3は、管理テーブル3−4の検索を行
って、指令されたブロックが存在しない場合には、新規
に指令で要求されたファイル内ブロックに関するテーブ
ルを生成し、指令を発行したデータ処理装置1−2にロ
ックブロック命令処理の完了を入出力制御回路3−1を
通じて報告する。管理テーブル3−4を検索した結果、
該当ファイル内ブロックに関するテーブルが存在する場
合には処理制御回FIqj3−3はそのテーブルを調査
し、他のデータ処理装置(l−2を除いた)、あるいは
同一データ処理装置1−2の別のタスクが使用中である
か否かを確認する。該当テーブルが使用中であれば、処
理制御回路3−3は指令を発行したデータ処理装置1−
2に対して使用中の報告を入出力制御回路3−1を通じ
て行う。この場合、処理制御回路3−3は、このテーブ
ルの使用中の状態が解除されたことをデータ処理装置1
2に報告する必要性の有無、あるいは、処理制御回路3
−3においてロックブロック指令を待ちうけ状態とし、
このテーブルの使用中の状態の解除時。
The processing control circuit 3-3 searches the management table 3-4, and if the commanded block does not exist, it creates a new table regarding the block in the file requested by the command and issues the command. The completion of lock block command processing is reported to the data processing device 1-2 through the input/output control circuit 3-1. As a result of searching management table 3-4,
If there is a table related to the block in the file, the processing control circuit FIqj3-3 examines the table and checks whether it is available in other data processing devices (excluding l-2) or another data processing device in the same data processing device 1-2. Check whether the task is in use. If the corresponding table is in use, the processing control circuit 3-3 sends the data processing device 1- that issued the command.
2 is in use is reported through the input/output control circuit 3-1. In this case, the processing control circuit 3-3 informs the data processing device 1 that the table is no longer in use.
Whether there is a need to report to 2 or processing control circuit 3
-3, waits for a lock block command,
When this table comes out of the in-use state.

自動的に指令処理の継続する必要性の有無等をロックブ
ロック指令の各種情報によシ確認する。その結果1口、
クブロック指令により指定された共用ファイル21にお
けるブロック211の使用を処理制御回路3−3が許可
することを、入出力制御回路3−1を通じてデータ処理
装置1−2に報告する。データ処理装置1−2は、ファ
イル制御処理装置3からのロックブロック指令の完了を
受信すると、ファイル装置2−2内に存在する共用ファ
イル21のなかのブロック211に関しての処理が許可
されたことになる。これによって1データ処理装置1−
2は、該当ブロックの更新を行うために、ファイル装置
2−2に対して指令を発行する。
The necessity to automatically continue command processing is checked based on various information in the lock block command. As a result, one bite,
The input/output control circuit 3-1 reports to the data processing device 1-2 that the processing control circuit 3-3 permits the use of the block 211 in the shared file 21 specified by the block block command. When the data processing device 1-2 receives the completion of the lock block command from the file control processing device 3, the data processing device 1-2 recognizes that processing regarding the block 211 in the shared file 21 existing in the file device 2-2 is permitted. Become. As a result, 1 data processing device 1-
2 issues a command to the file device 2-2 to update the corresponding block.

なお、データ処理装置1−2が共用ファイル21の他の
ブロック、あるいは他の共用ファイルを参照、あるいは
更新する場合には、上記と同様に他のロックブロック指
令をファイル制御処理装置3に対して発行することによ
シ、複数のデータ処理装置間で共用するファイルの排他
制御を可能としている。
Note that when the data processing device 1-2 refers to or updates other blocks of the shared file 21 or other shared files, it sends another lock block command to the file control processing device 3 in the same manner as above. Issuing this allows exclusive control of files shared among multiple data processing devices.

また、データ処理装置1−2において、使用されていた
共用ファイルの利用が不要となった場合に、データ処理
装置1−2からファイル制御処理装置3に対してアンロ
ックブロック(UNLOCK BLOCK)指令を発行
する。アンロックブロック指令を受信したファイル制御
処理装置3は、前述のロックブロック指令と同様の処理
手順によって該当する共用ファイル21におけるファイ
ル内ブロック2110便用中の解除を行い、データ処理
装置1−2にアンロックブロック指令の完了を報告する
。このアンロックブロック指令の完了報告をファイル制
御処理装置3から受信すると、データ処理装置1−2は
ファイル装置2−2内の共用ファイル21におけるブロ
ック211の更新処理を完了する。
In addition, in the data processing device 1-2, when the shared file that was being used no longer needs to be used, the data processing device 1-2 issues an unlock block (UNLOCK BLOCK) command to the file control processing device 3. Issue. The file control processing device 3 that has received the unlock block command releases the in-use block 2110 in the file in the corresponding shared file 21 by the same processing procedure as the above-mentioned lock block command, and sends it to the data processing device 1-2. Reports completion of unlock block command. Upon receiving the completion report of this unlock block command from the file control processing device 3, the data processing device 1-2 completes the update processing of the block 211 in the shared file 21 in the file device 2-2.

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

以上の説明により明らからように2本発明によれば、複
数のデータ処理装置で共用されるファイル制御処理装置
を備え、共用ファイルに関する排他制御をファイルを構
成するブロック単位に行うことによシ、複数のデータ処
理システムの処理性能および信頼性を向上すべく得られ
る効果は大きい。
As is clear from the above description, according to the present invention, a file control processing device shared by a plurality of data processing devices is provided, and exclusive control regarding the shared file is performed in units of blocks constituting the file. The benefits of improving the processing performance and reliability of multiple data processing systems are significant.

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

第1図は本発明による実施例の構成を示すブロック図、
第2図は、第1図の実施例におけるファイル制御処理装
置の具体的な構成例を示すブロック図である。 図において、1−1〜1−nはデータ処理装置−2−1
〜2−mはファイル装置、3はファイル制御処理装置、
3−1は入出力制御回路、3−2はメモIJ l 3−
3は処理制御回路、3−4は管理テーブル、21は共用
ファイル、211はファイル内ブロックである。
FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention;
FIG. 2 is a block diagram showing a specific example of the configuration of the file control processing device in the embodiment of FIG. 1. In the figure, 1-1 to 1-n are data processing device-2-1
~2-m is a file device, 3 is a file control processing device,
3-1 is an input/output control circuit, 3-2 is a memo IJ l 3-
3 is a processing control circuit, 3-4 is a management table, 21 is a shared file, and 211 is a block within the file.

Claims (1)

【特許請求の範囲】 1、複数のデータ処理装置と、これ等複数のデータ処理
装置に共用されるファイル群を含む少なくとも1つのフ
ァイル装置とから構成される複数データ処理システムに
適用され、これ等複数のデータ処理装置からの指令を受
信する手段と、該指令の発行元を記憶する手段と、該指
令を解析し。 これを基に処理を制御する手段と、該指令によシ指定さ
れた種々のファイル識別子を分類し、該ファイルに関し
てファイルを構成するブロック単位で管理する手段と、
前記指令の処理結果を該指令の発行元のデータ処理装置
に送信する手段とを備え、前記複数のデータ処理装置か
ら発行される指令によシ共用ファイル群についてブロッ
ク単−位に排他制御することを特徴とするファイル制御
処理装置。
[Claims] 1. Applicable to a multiple data processing system consisting of multiple data processing devices and at least one file device containing a file group shared by these multiple data processing devices; means for receiving commands from a plurality of data processing devices; means for storing an issuer of the commands; and means for analyzing the commands. means for controlling processing based on this, means for classifying various file identifiers specified by the command, and managing the files in units of blocks constituting the file;
means for transmitting a processing result of the command to a data processing device that has issued the command, and exclusive control of a group of shared files in block units according to the commands issued from the plurality of data processing devices. A file control processing device characterized by:
JP57191783A 1982-11-02 1982-11-02 File control processor Pending JPS5981748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57191783A JPS5981748A (en) 1982-11-02 1982-11-02 File control processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57191783A JPS5981748A (en) 1982-11-02 1982-11-02 File control processor

Publications (1)

Publication Number Publication Date
JPS5981748A true JPS5981748A (en) 1984-05-11

Family

ID=16280460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57191783A Pending JPS5981748A (en) 1982-11-02 1982-11-02 File control processor

Country Status (1)

Country Link
JP (1) JPS5981748A (en)

Cited By (2)

* 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
JPS6368960A (en) * 1986-09-10 1988-03-28 Nec Corp Sequential access controller for shared storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542034A (en) * 1977-06-08 1979-01-09 Hitachi Ltd Common file access system in multiplex computer system
JPS5481049A (en) * 1977-12-12 1979-06-28 Fujitsu Ltd Data processing system
JPS5651440A (en) * 1979-10-04 1981-05-09 Nestle Sa Purification of isoleucine from mixture of leucine and isoleucine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542034A (en) * 1977-06-08 1979-01-09 Hitachi Ltd Common file access system in multiplex computer system
JPS5481049A (en) * 1977-12-12 1979-06-28 Fujitsu Ltd Data processing system
JPS5651440A (en) * 1979-10-04 1981-05-09 Nestle Sa Purification of isoleucine from mixture of leucine and isoleucine

Cited By (2)

* 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
JPS6368960A (en) * 1986-09-10 1988-03-28 Nec Corp Sequential access controller for shared storage medium

Similar Documents

Publication Publication Date Title
Roussopoulos et al. Principles and Techniques in the Design of ADMS?
EP0774723A2 (en) Virtual file management system
JPH01251258A (en) Shared area managing system in network system
JP4746838B2 (en) Partitioning database ownership between different database servers to control access to the database
US6675175B2 (en) Method and system for sharing catalogs in a multiprocessing system utilizing a shared processor
JPH06214915A (en) Decentralized data processing system
JP3222125B2 (en) Database sharing method between systems
JP2781092B2 (en) Exclusive control method between systems
US7032085B2 (en) Storage system with a data sort function
JPS5981748A (en) File control processor
JPH02292641A (en) Method for controlling data base
JPH02113350A (en) File processor
JPS61194546A (en) Shared file control system
JPH03111948A (en) Distributed data file control system
KR950010486B1 (en) Real-time database management system
JPS6327936A (en) File management method
JP2787107B2 (en) Buffer control system and device
JPS61163448A (en) Shared file control system
JPH0212559A (en) Network system
CN114564476A (en) Distributed database system based on HTAP
JPH02247748A (en) Data base processing system based upon multiprocessor
JPH0474236A (en) Decentralized file system
JPS58178455A (en) Exclusive control system for shared file
JPH04180137A (en) Control system for partial assembly files of plural terminals
JPH04102140A (en) System for sharing file between systems