JPH03105571A - Drawing master file controller - Google Patents

Drawing master file controller

Info

Publication number
JPH03105571A
JPH03105571A JP1243989A JP24398989A JPH03105571A JP H03105571 A JPH03105571 A JP H03105571A JP 1243989 A JP1243989 A JP 1243989A JP 24398989 A JP24398989 A JP 24398989A JP H03105571 A JPH03105571 A JP H03105571A
Authority
JP
Japan
Prior art keywords
control
master file
data
access
section
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
JP1243989A
Other languages
Japanese (ja)
Inventor
Teruo Shibahara
芝原 輝夫
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1243989A priority Critical patent/JPH03105571A/en
Publication of JPH03105571A publication Critical patent/JPH03105571A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the process waiting time by providing a control part which performs the exclusive control for read/write operations for each drawing based on the control data on a control table part. CONSTITUTION:A control table part 4 stores the control data for each drawing, and a control part 5 performs the exclusive control for read/write operations for each drawing based on the control data of the part 4. In other words, the part 5 of a control means applies the exclusive control to the access requests given from each terminal 10 led to a drawing master file 3 for each drawing by reference to the part 4 storing the control data for each drawing. As a result, the process waiting time is shortened even with the conflict caused among access requests to the file 3.

Description

【発明の詳細な説明】 (概要) 複数の図面の画像データを格納するデータ部と、図面の
管理情報を格納したディレクトリ部とを宥する図面マス
タファイルへ図面マスクファイルアクセス手段を介して
の各端末装置からの図面データの読み取り書き込み要求
の排他的な制御を行なう図面マスクファイル制御装置に
関し、図面マスタファイルへのアクセス要求が競合した
場合において、処理の待ち時間をなるべく少なくするこ
とを目的とし、 上述のような図面マスタファイル制御装置を図面単位の
制御データを格納する制御テーブル剖と、この制御テー
ブル部の制御データに基づいて図面単位での読み取り書
き込みの排他制御を行なう制御部とを有する構戊する。
[Detailed Description of the Invention] (Summary) A drawing master file containing a data section that stores image data of a plurality of drawings and a directory section that stores drawing management information is accessed via a drawing mask file access means. Regarding a drawing mask file control device that exclusively controls drawing data read/write requests from a terminal device, the purpose is to reduce processing waiting time as much as possible when access requests to a drawing master file conflict. The above-described drawing master file control device has a structure that includes a control table storing control data for each drawing, and a control section that performs exclusive control of reading and writing for each drawing based on the control data in this control table section. To run away.

(産業上の利用分野) 本発明は、図面マスタファイル制御装置に係り、特に複
数の図面の画像データを格納するデータ部と、図面の管
理情報を格納したディレクトリ部とを有する図面マスク
ファイルへの各端末装置からの図面データの読み取り書
き込みの排他的な制御を行なう図面マスタファイル制御
装置に関する。
(Industrial Application Field) The present invention relates to a drawing master file control device, and in particular to a drawing master file control device that controls a drawing mask file that has a data section that stores image data of a plurality of drawings, and a directory section that stores drawing management information. The present invention relates to a drawing master file control device that exclusively controls reading and writing of drawing data from each terminal device.

〔従来の技術〕[Conventional technology]

会話型図形処理システムにおいて、大規模で大量の図面
を格納した図面マスタファイルを大型計算機を介して複
数の端末装置に接続し、各端末装置において上記の図形
マスクファイルにアクセスして図面データを読み取り、
この読み取った図面データに処理を加えて、再び図面マ
スタファイルに書き込むことを行なう。
In an interactive graphics processing system, a large-scale drawing master file containing a large number of drawings is connected to multiple terminal devices via a large computer, and each terminal device accesses the above-mentioned figure mask file and reads the drawing data. ,
This read drawing data is processed and written to the drawing master file again.

従来このような図形処理システムにおいて、複数の端末
からのアクセ要求が競合したときにこの競合状態の調整
は端末装置と図面マスタファイルとが接続された計算機
がOSの一部であるVSAM (Virtual St
rage Access Method)機能を用いて
行なうものとしている。
Conventionally, in such a graphic processing system, when access requests from multiple terminals conflict, this conflict condition can be adjusted by using a VSAM (Virtual St.
This is done using the ``Rage Access Method'' function.

(発明が解決しようとする課題) ところで、従来は上述のように計算記のOSを用いて図
形マスタファイルの制御を行なうものとしているから、
排他的制御の単位がファイル毎になされるため、一の端
末装置がファイルにアクセスして、図面データを読み取
り、書き込みの処理中においては、他の端末装置は当該
ファイルにアクセスできないものとなる。
(Problem to be Solved by the Invention) Conventionally, as mentioned above, the graphic master file is controlled using a calculation writing OS.
Since the unit of exclusive control is for each file, while one terminal device is accessing the file, reading drawing data, and writing, other terminal devices cannot access the file.

特に図面マスタファイルからの読み出し及び図面マスク
ファイルへの書き込み処理が集中する始業時や終業時に
はアクセスが集中して長時間にわたって処理が滞るとい
う問題がある。
Particularly, there is a problem that accesses are concentrated at the beginning and end of the workday, when reading from the drawing master file and writing to the drawing mask file are concentrated, and processing is delayed for a long time.

そこで本発明は図面マスタファイルへのアクセス要求が
競合した場合において、処理の待ち時間をなるべく少な
くすることができる図面マスタファイル制御装置を提供
することを目的とする。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a drawing master file control device that can reduce processing waiting time as much as possible when there are competing requests for access to a drawing master file.

(課題を解決するための手段) 本発明にあって、上記の課題を解決するための手段は、
第1図に示すように、複数の図面の画像データを格納す
るデータ部1と、図面の管理情報を格納したディレクト
リ部2とを有する図面マスタファイル3へ図面マスタフ
ァイルアクセス手段7を介しての各端末装置10−、〜
10−、からの図面データの読み取り書き込みの排他的
な制御を行なう図面マスタファイル制御装置において、
図面単位の制御データを格納する制御テーブル部4と、
この制御テーブル部の制御データに基づいて図面単位で
の読み取り書き込みの排他制御を行なう制御部5とを有
するものとしたことである。
(Means for solving the problems) In the present invention, the means for solving the above problems are as follows:
As shown in FIG. 1, a drawing master file 3 having a data section 1 storing image data of a plurality of drawings and a directory section 2 storing drawing management information is accessed via a drawing master file access means 7. Each terminal device 10-, ~
10- In a drawing master file control device that exclusively controls reading and writing of drawing data from,
a control table section 4 that stores control data for each drawing;
A control section 5 is provided which performs exclusive control of reading and writing on a drawing-by-drawing basis based on control data in the control table section.

(作用) 本発明によれば、図面マスタファイルへの各端末からの
アクセス要求は制御手段の制御部が図面単位で制御デー
タを格納した制御テーブル部を参照して図面単位で排他
制御を行なうから、図面マスタファイルへのアクセス要
求が競合した場合において、処理の待ち時間を少なくす
ることができる。
(Function) According to the present invention, the control section of the control means performs exclusive control on a drawing-by-drawing basis by referring to the control table section storing control data on a drawing-by-drawing basis in response to an access request from each terminal to a drawing master file. , it is possible to reduce processing waiting time when there are conflicting access requests to the drawing master file.

〔実施例〕〔Example〕

以下本発明に係る図面マスタファイル制御装置?実施例
を図面に基づいて説明する。
The following is a drawing master file control device according to the present invention? Examples will be described based on the drawings.

第2図及び第3図は本発明に係る図面マスタファイル制
御装置の第一の実施例を示すものである。本実施例にお
いて、端末装置であるグラフィックディスプレイ20−
1〜20−2は大型計算fi21の端末制御プログラム
22により制御され更にCADプログラム23に接続さ
れている。そして、このC,ADプログラム23は図面
マスタファイルアクセス手段である図面マスタファイル
アクセスプログラム24と図面マスタファイル制御装置
25を介して図面マスタファイル3に接続されている。
FIGS. 2 and 3 show a first embodiment of a drawing master file control device according to the present invention. In this embodiment, a graphic display 20- which is a terminal device is used.
1 to 20-2 are controlled by the terminal control program 22 of the large calculation fi 21 and further connected to the CAD program 23. This C, AD program 23 is connected to the drawing master file 3 via a drawing master file access program 24, which is a drawing master file access means, and a drawing master file control device 25.

尚、同図中符号26は装置の全体を制御するOS(オペ
レーティング システム)を示している。
Note that the reference numeral 26 in the figure indicates an OS (operating system) that controls the entire device.

そして本実施例において図面マスタファイル管理装置2
5には第3図に示すように管理ファイルとして、ディレ
クトリ部2が何れかの端末装置によって参照されている
ときには他の端末にアクセスできない旨を表示するディ
レクトリ部アクセス権制御領域26と、アクセスされて
いる図面のディレクトリ情報の一部例えば図面の名称等
を格納するディレクトリ情報記憶領域27と、図面の使
用状況、例えば「読みこみ」、「書き込み」、「削除」
の情報を格納している図面使用状況記憶領域28とを有
する。そして制御部(第3図には図示していない)はこ
れらの領域のデータを参照して、各端末装置からのアク
セス要求を排他的に処理する。この処理は実際には大型
計算機のCPUがソフトウエアに従って行なう。
In this embodiment, the drawing master file management device 2
5, as a management file, there is a directory section access right control area 26 that displays that when the directory section 2 is being referenced by any terminal device, it cannot be accessed by other terminals, and A directory information storage area 27 that stores part of the directory information of the drawing, such as the name of the drawing, and the usage status of the drawing, such as "read,""write," and "delete."
It has a drawing usage status storage area 28 that stores information on the drawing usage status. The control unit (not shown in FIG. 3) refers to the data in these areas and exclusively processes access requests from each terminal device. This process is actually performed by the CPU of the large computer according to software.

ここで、第一の端末装置のアクセス要求(処理1という
)と第二の端末装置のアクセス要求(処理2処理という
)が競合し、処理1の方が要求が先で処理1が優先して
処理される場合について説明する。
Here, the access request of the first terminal device (referred to as process 1) and the access request of the second terminal device (referred to as process 2 process) conflict, and the request of process 1 comes first, and process 1 takes priority. A case in which it is processed will be explained.

[処理1について] ■ 図面マスタファイルアクセスプログラムから必要な
図面情報例えば図面名、パスワード等を受取る。
[Processing 1] ■ Receive necessary drawing information such as drawing name and password from the drawing master file access program.

■ ディレクトリ部2の一部を読みこみ、該当する図面
のディレクトリ部を検索する。この時他の端末が1にア
クセスできないようにディレクトリ部アクセス権制御領
域26に「アクセス不可]を設定し、検索が終了したと
きには「アクセス可」を設定する。これにより処理2は
図面のディレクトリ部2を検索することができるものと
なる。
■ Read part of the directory section 2 and search the directory section of the corresponding drawing. At this time, "access prohibited" is set in the directory access right control area 26 so that other terminals cannot access 1, and "access permitted" is set when the search is completed. As a result, the process 2 can search the directory section 2 of the drawing.

■ 図面データに対する処理内容(読み込、書き込み、
削除等)を判断してその内容を図面使用状況記憶領域2
8に設定して、データ部1にアクセスする。
■ Processing details for drawing data (reading, writing,
deletion, etc.) and save the contents to the drawing usage status storage area 2.
8 to access data section 1.

■データ部へのアクセス終了後にディレクトリ部2に変
更がある時にはディレクトリ部アクセス権制御領域27
に「アクセス不可」を設定し、変更終了後「アクセス不
可」を解除する。また、ディレクトリ情報記憶領域28
も「未使用」にする。データ部経のアクセス終了後にデ
ィレクトリ部に変更がないときにはディレクトリ情報記
憶領域についてのみ「未使用」にする。
■When there is a change in the directory section 2 after accessing the data section, the directory section access right control area 27
Set "No access" to "No access" and release "No access" after completing the change. In addition, the directory information storage area 28
Also set it to "unused". If there is no change in the directory section after access to the data section is completed, only the directory information storage area is set to "unused".

[処理2について] ■ 処理1の■が終了した時点で上記■及び■の処理を
行なう。
[Regarding Processing 2] (1) When (2) of Processing 1 is completed, the above-mentioned (2) and (2) are performed.

■処理する図面が同一でないときには処理2はデータ部
1にアクセスすることができる。処理する図面が同一で
ある場合には下表に従って処理を行なう。
(2) When the drawings to be processed are not the same, processing 2 can access data section 1. If the drawings to be processed are the same, the processing will be performed according to the table below.

表 即ち、どちらかの処理が「削除」であるとき以外は処理
1の終了をまたずに処理を実行し、どちらかの処理が「
削除」であるときには処理2は処理lが処理を終了した
後に処理を実行する。
In other words, unless one of the processes is "delete", the process is executed without crossing the end of process 1, and one of the processes is "delete".
``delete'', process 2 executes the process after process 1 completes the process.

したがって本実施例によれば、図面単位で排他制御を行
なうことができ、アクセス要求が競合したときでも迅速
に処理を行なうことができる。
Therefore, according to this embodiment, exclusive control can be performed on a drawing-by-drawing basis, and even when access requests conflict, processing can be performed quickly.

〔発明の効果) 以上説明したように、本発明によれば図面マスタファイ
ル制御装置を図面単位の制御データを格納する制御テー
ブル部と、この制御テーブル部の制御データに基づいて
図面単位での読み取り書き込みの排他制御を行なう制御
部とを有するものとしたから、図面マスタファイルに対
するアクセス処理を図面単位で排他的に行なうことがで
き、複数の端末からの処理要求が競合した場合であって
も待ち時間を少ないものとすることができ、CADによ
る設計作業の能率を向上させることができるという効果
を奏する。
[Effects of the Invention] As described above, according to the present invention, the drawing master file control device includes a control table section storing control data for each drawing, and reading for each drawing based on the control data in the control table section. Since it has a control unit that performs exclusive control of writing, access processing to the drawing master file can be performed exclusively on a drawing basis, and even when processing requests from multiple terminals conflict, there is no need to wait. This has the effect that time can be reduced and the efficiency of design work using CAD can be improved.

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

第1図は本発明の原理図、第2図は本発明に係る図面マ
スタファイル制御装置が適用されるシステムを示すブロ
ック図、第3図は図面マスタファイル制御装置の実施例
を示すブロック図である。 1・・・データ部 2・・・ディレクトリ部 3・・・図面マスタファイル 4・・・制御テーブル部 5・・・制御郁 6・・・マスタファイル制御装置 7・・・図面マスタファイルアクセス手段10−1〜1
0−8・・・端末装置 本発餌の原理菌 ljlll
Fig. 1 is a diagram showing the principle of the present invention, Fig. 2 is a block diagram showing a system to which a drawing master file control device according to the present invention is applied, and Fig. 3 is a block diagram showing an embodiment of the drawing master file control device. be. 1... Data section 2... Directory section 3... Drawing master file 4... Control table section 5... Control 6... Master file control device 7... Drawing master file access means 10 -1~1
0-8...Terminal device The principle bacteria for feeding ljllll

Claims (1)

【特許請求の範囲】[Claims] 複数の図面の画像データを格納するデータ部(1)と、
図面の管理情報を格納したディレクトリ部(2)とを有
する図面マスタファイル(3)へ図面マスタファイルア
クセス手段(7)を介しての各端末装置(10_−_1
〜10_−_N)からの図面データの読み取り書き込み
要求の排他的な制御を行なう図面マスタファイル制御装
置において、図面単位の制御データを格納する制御テー
ブル部(4)と、この制御テーブル部の制御データに基
づいて図面単位での読み取り書き込みの排他制御を行な
う制御部(5)とを有することを特徴とする図面マスタ
ファイル制御装置。
a data section (1) that stores image data of a plurality of drawings;
Each terminal device (10_-_1
In a drawing master file control device that performs exclusive control of reading/writing requests for drawing data from ~10_-_N), a control table section (4) that stores control data for each drawing, and control data of this control table section. 1. A drawing master file control device comprising: a control unit (5) that performs exclusive control of reading and writing on a drawing-by-drawing basis based on the drawing master file control device.
JP1243989A 1989-09-20 1989-09-20 Drawing master file controller Pending JPH03105571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1243989A JPH03105571A (en) 1989-09-20 1989-09-20 Drawing master file controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1243989A JPH03105571A (en) 1989-09-20 1989-09-20 Drawing master file controller

Publications (1)

Publication Number Publication Date
JPH03105571A true JPH03105571A (en) 1991-05-02

Family

ID=17112057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1243989A Pending JPH03105571A (en) 1989-09-20 1989-09-20 Drawing master file controller

Country Status (1)

Country Link
JP (1) JPH03105571A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04349573A (en) * 1991-05-27 1992-12-04 Fujitsu Ltd Map/equipment exclusion control system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63307552A (en) * 1987-06-08 1988-12-15 Nec Corp Control system for simultaneous execution

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63307552A (en) * 1987-06-08 1988-12-15 Nec Corp Control system for simultaneous execution

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04349573A (en) * 1991-05-27 1992-12-04 Fujitsu Ltd Map/equipment exclusion control system

Similar Documents

Publication Publication Date Title
JPH03160534A (en) Access control system for shared file
JP3814521B2 (en) Data processing method and apparatus
JPH0798663A (en) Asynchronous i/o control system
JPH03105571A (en) Drawing master file controller
JPH07225694A (en) Virtual computer system
JPH0548500B2 (en)
JPS63311450A (en) Exclusive control system for file access
JP2755103B2 (en) Storage device access method
JPS5856058A (en) Daso common-use control system for virtual computer system cp resident volume
JPS62168497A (en) Data base processing system for exchange-processing program
JP3413369B2 (en) Information processing device
JPH02257249A (en) Information processing system
JPS63113637A (en) Exclusive processing system for hash table entry
JPH04260141A (en) Data shared processor
JPH0337748A (en) External storage accessing system utilizing main storage
JPH08297585A (en) Data transfer method by operating system
JPH03194641A (en) Application program sharing system
JPH03252856A (en) Processing system for program
JPH05334012A (en) Large capacity disk controller
JPS63148365A (en) Managing device for shared resources of multiplex computer
JPH069042B2 (en) Sequential access control device for shared storage medium
JPH01116851A (en) Program load control system
JPS6354656A (en) Multi-processor system
JPH0328934A (en) Deadlock preventing method for shared resources
JPH03246741A (en) Synchronous controller