JPS63168743A - Control system for shared use of file for virtual computer system - Google Patents

Control system for shared use of file for virtual computer system

Info

Publication number
JPS63168743A
JPS63168743A JP62000508A JP50887A JPS63168743A JP S63168743 A JPS63168743 A JP S63168743A JP 62000508 A JP62000508 A JP 62000508A JP 50887 A JP50887 A JP 50887A JP S63168743 A JPS63168743 A JP S63168743A
Authority
JP
Japan
Prior art keywords
file
operating system
shared
data management
request
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
JP62000508A
Other languages
Japanese (ja)
Inventor
Takayuki Okada
高行 岡田
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 JP62000508A priority Critical patent/JPS63168743A/en
Publication of JPS63168743A publication Critical patent/JPS63168743A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To contrive to improve operability and to prevent file destruction by using a specific operating system so as to manage in the lamp an access request from plural operating system to a common file. CONSTITUTION:Since access from program a1, b1 is applied via a data management section 8, common use exclusive control is applied by a common use exclusive control function of a data management section 8. When a program a1 gives a request to access a record having a privately possessed file Y to a decision means 2, the decision means 2 checks a file magnagement table a and since the file Y is a private file, the processing request is applied to data management 9 of its own operating system OS-1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、仮想計算機システムにおけるファイル共用制
御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a file sharing control method in a virtual computer system.

〔従来の技術〕[Conventional technology]

従来、複数のオペレーティングシステムが1つの計算機
上でファイルを共用して同時に動作するシステム、所謂
仮想計算機システムにおいては、1つのオペレーティン
グシステムの下で動作するプログラム間では、該オペレ
ーティングシステムのデータ管理部が有するファイル共
用排他制御機能により、ファイルの共用排他制御が行わ
れている。しかし、異なるオペレーティングシステムで
動作するプログラム間では。
Conventionally, in a system in which multiple operating systems share files and operate simultaneously on one computer, a so-called virtual computer system, the data management section of the operating system is used to communicate between programs running under one operating system. File sharing exclusive control is performed by the file sharing exclusive control function. But between programs running on different operating systems.

フィイルの共用排他制御が行われず、利用者の運用に圧
されていた。
File sharing and exclusive control was not carried out, and users' operations were under pressure.

このことを図面を参照して説明する。This will be explained with reference to the drawings.

第3図を参照すると、従来技術では、オペレーティング
システムos−1で動作するプログラムa1とプログラ
ムa2が同一ファイルXにアクセスする場合には、オペ
レーティングシステム○s−iのデータ管理部によシ、
共用排他制御が行われる。しかし、オペレーティングシ
ステム08−1下で動作するプログラムa1とオペレー
ティングシステムos−2下で動作するプログラムb1
が同一ファイルXにアクセスする場合には。
Referring to FIG. 3, in the conventional technology, when a program a1 and a program a2 running on the operating system os-1 access the same file X, the data management section of the operating system ○s-i
Shared exclusive control is performed. However, program a1 runs under operating system 08-1 and program b1 runs under operating system os-2.
accesses the same file X.

共用排他制御が行われない。Shared exclusive control is not performed.

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

上述した従来の仮想計算機システムでは、運用を誤ると
ファイルが破壊される可能性があり。
In the conventional virtual computer system described above, there is a possibility that files may be destroyed if operated incorrectly.

運用に当って、十分な注意と管理を必要とし。Sufficient care and management are required during operation.

利用者への負担が太きいという欠点がある。The disadvantage is that it places a heavy burden on the user.

〔問題点を解決するための手段〕[Means for solving problems]

本発明による仮想計算機システムにおけるファイル共用
制御方式は、ファイルが共用ファイルであるか私有ファ
イルであるかを管理するファイル管理テーブルと、プロ
グラムが該ファイルにアクセスを要求した時に該ファイ
ル管理テーブルに基づき共用ファイルか私有ファイルか
を決定する決定手段と、共用ファイルに対してレコード
処理を要求する要求手段と、該要求を検知し、共用ファ
イルを一括管理する特定のオペレーティングシステムに
通知する通知手段と。
The file sharing control method in the virtual computer system according to the present invention includes a file management table that manages whether a file is a shared file or a private file, and a file sharing control method based on the file management table when a program requests access to the file. a determining means for determining whether the file is a private file; a requesting means for requesting record processing for the shared file; and a notification means for detecting the request and notifying a specific operating system that collectively manages the shared file.

該通知を受けつけ、共用ファイルに対する処理をデータ
管理部を介して行うサービス手段とを有している。
It has a service means that receives the notification and processes the shared file via the data management section.

〔実施例〕〔Example〕

以下9本発明の実施例について図面を参照して説明する
Hereinafter, nine embodiments of the present invention will be described with reference to the drawings.

第1図を参照して1本発明の一実施例による仮想針xi
システムは、6つのオペレーティングシステム08−Q
、○S−1,08−2と、仮想計算機モニタVMMとを
有する。オペレーティングシステムos−1は、その下
で動作するプログラムa1を有し、オペレーティングシ
ステム○S−Qは。
With reference to FIG. 1, a virtual needle xi according to an embodiment of the present invention
The system has six operating systems 08-Q
, ○S-1, 08-2, and a virtual machine monitor VMM. The operating system os-1 has a program a1 running under it, and the operating system ○S-Q.

その下で動作するプログラムb1’fc有する。外部二
次記憶装置上の共用ファイルXは、これらプログラムa
1及びblから同時にアクセスされ、外部二次記憶装置
上の私有ファイルYは、プログラムa1からのみアクセ
スされる。オペレーティングシステムos−1は、ファ
イル管理テーブル1、決定手段2.要求手段3及びデー
タ管理部9を有する。オペレーティングシステム08−
0は、サービス手段5.決定手段6.ファイル管理テー
ブル7及びデータ管理部8を有する。又。
It has a program b1'fc running under it. The shared file X on the external secondary storage device is
The private file Y on the external secondary storage device is accessed only by the program a1. The operating system os-1 includes a file management table 1, a determining means 2. It has a requesting means 3 and a data management section 9. Operating system 08-
0 is the service means 5. Determination means 6. It has a file management table 7 and a data management section 8. or.

仮想計算機モニタVMMは通知手段4を有する。The virtual machine monitor VMM has notification means 4.

第2図を参照して、ファイル管理テーブル1゜7の内容
の一例が示されている。ファイル管理テーブル1.7は
、オペレーティングシステム単位に作られる。あるオペ
レーティングシステムがアクセスするファイルすべてに
ついて、ファイル識別子と、該ファイルが複数のオペレ
ーティングシステムから共用してアクセスされる共用フ
ァイルか、1つのオペレーティングシステムだけからア
クセスされる私有ファイルかの区別をする共用・私有識
別情報とがファイル管理テーブル1,7に記録されてい
る。
Referring to FIG. 2, an example of the contents of the file management table 1.7 is shown. The file management table 1.7 is created for each operating system. For every file accessed by an operating system, there is a file identifier and a shared file that distinguishes whether the file is a shared file accessed by multiple operating systems or a private file accessed by only one operating system. Private identification information is recorded in the file management tables 1 and 7.

次に1本発明の動作について、第1図を用いて説明する
Next, the operation of the present invention will be explained using FIG.

オペレーティングシステムos−1の下のプログラムa
1が共用フィイルXのあるレコードをアクセスする要求
を決定手段2に行うと、決定手段2は、ファイル管理テ
ーブル1を調べ、該ファイルXが共用ファイルか私有フ
ァイルかの判別を行う。この場合、共用ファイルである
ので。
Program a under operating system os-1
1 makes a request to the determining means 2 to access a certain record of the shared file X, the determining means 2 examines the file management table 1 and determines whether the file X is a shared file or a private file. In this case, since it is a shared file.

共用ファイルXi一括管理するオペレーティングシステ
ムO8−〇に共用ファイルx’6処理するよう要求手段
3に要求する。
The request means 3 is requested to process the shared file x'6 to the operating system O8-0 that collectively manages the shared file Xi.

要求手段6は、ファイルの識別情報と処理種別情報とか
ら成るレコード処理要求情報を組み立て9通知手段4に
通知する。
The requesting means 6 assembles record processing request information consisting of file identification information and processing type information and notifies the notifying means 4 of the same.

通知手段4は、オペレーティングシステムO8−〇のサ
ービス手段5にレコード処理要求情報を渡す。
The notification means 4 passes the record processing request information to the service means 5 of the operating system O8-0.

サービス手段5は、レコード処理要求情報から処理すべ
きファイルと処理種別を決定し、データ管理部8を介し
て共用ファイルXにアクセスする。
The service means 5 determines the file to be processed and the processing type from the record processing request information, and accesses the shared file X via the data management section 8.

オペレーティングシステム06−2の下のプログラムが
共用ファイルXにアクセスする場合も全く同様に行われ
る。
When a program under operating system 06-2 accesses shared file X, it is done in exactly the same way.

一方、オペレーティングシステムO8−〇の下のプログ
ラムb1が共用ファイルXのあるレコードをアクセスす
る要求を決定手段乙に行うと。
On the other hand, when the program b1 under the operating system O8-0 makes a request to the determining means B to access a certain record of the shared file X.

決定手段6は、ファイル管理テーブル7を調べ。The determining means 6 examines the file management table 7.

該ファイルXが自オペレーティングシステム08−0に
属していることを知り、データ管理部8を介して共用フ
ァイルXにアクセスする。
Knowing that the file X belongs to its own operating system 08-0, it accesses the shared file X via the data management unit 8.

このように、プログラムa1とblからのアクセスは1
両方ともにデータ管理部8を介して行われるため、デー
タ管理部8の共用排他制御機能によって、共用排他制御
が行われる。
In this way, access from programs a1 and bl is 1
Since both are performed via the data management section 8, the shared exclusive control is performed by the shared exclusive control function of the data management section 8.

プログラムa1が私有ファイルYのあるレコードをアク
セスする要求を決定手段2に行うと。
When the program a1 makes a request to the determining means 2 to access a certain record in the private file Y.

決定手段2は、ファイル管理テーブル1を調べ。The determining means 2 examines the file management table 1.

該ファイルYが私有ファイルであるので、自オペレーテ
ィングシステム○s−1のデータ管理9に対して処理要
求を行う。
Since the file Y is a private file, a processing request is made to the data management 9 of the own operating system ○s-1.

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

以上説明したように本発明は、複数のオペレーティング
システムからの共用ファイルへのアクセス要求を、特定
のオペレーティングシステムで一括管理することによシ
、複数のオペレーティングシステム下のプログラム間で
も、1つのオペレーティングシステムにおけるのと同様
に共用排他制御を行うことができ、ファイル破壊の防止
、運用性の向上という効果がある。
As explained above, the present invention allows a specific operating system to centrally manage requests for access to shared files from multiple operating systems. Shared exclusive control can be performed in the same way as in , which has the effect of preventing file destruction and improving operability.

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

第1図は本発明の一実施例による仮想計算機システムの
構成を示すブロック図、第2図は第1図中のファイル管
理テーブルの内容の一例を示す図、第6図は従来の仮想
計算機システムの構成を示すブロック図である。 1.7・・・ファイル管理テーブル、2,6・・・決定
手段、3・・・要求手段、4・・・通知手段、5・・・
サービス手段、8.9・・・データ管理部。 ファイル管理テークフレ 管理情報レコード
FIG. 1 is a block diagram showing the configuration of a virtual computer system according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of the contents of the file management table in FIG. 1, and FIG. 6 is a conventional virtual computer system. FIG. 2 is a block diagram showing the configuration of FIG. 1.7... File management table, 2, 6... Determination means, 3... Request means, 4... Notification means, 5...
Service means, 8.9...Data management department. File management Takefure management information record

Claims (1)

【特許請求の範囲】[Claims] 1、複数のオペレーティングシステムが1つの計算機上
でファイルを共用して同時に動作する仮想計算機システ
ムにおいて、ファイルが複数のオペレーティングシステ
ムから共用してアクセスされる共用ファイルであるか、
1つのオペレーティングシステムだけからアクセスされ
る私有ファイルであるかを管理するファイル管理テーブ
ルと、プログラムが該ファイルにアクセスを要求した時
に該ファイル管理テーブルに基づき共用ファイルか私有
ファイルかを決定する決定手段と、共用ファイルに対し
てレコード処理を要求する要求手段と、該要求を検知し
、共用ファイルを一括管理する特定のオペレーティング
システムに通知する通知手段と、該通知を受けつけ、共
用ファイルに対する処理をデータ管理部を介して行うサ
ービス手段とを備え、複数のオペレーティングシステム
からのファイルアクセス要求を、特定のオペレーティン
グシステムで一括管理することを特徴とする仮想計算機
システムにおけるファイル共用制御方式。
1. In a virtual computer system where multiple operating systems share files on one computer and operate simultaneously, whether the file is a shared file that is shared and accessed by multiple operating systems;
a file management table for managing whether the file is a private file accessed by only one operating system; and a determining means for determining whether the file is a shared file or a private file based on the file management table when a program requests access to the file. , a request means for requesting record processing for a shared file, a notification means for detecting the request and notifying a specific operating system that collectively manages the shared file, and a data management means for receiving the notification and performing processing on the shared file. 1. A file sharing control method in a virtual computer system, characterized in that a specific operating system collectively manages file access requests from a plurality of operating systems.
JP62000508A 1987-01-07 1987-01-07 Control system for shared use of file for virtual computer system Pending JPS63168743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62000508A JPS63168743A (en) 1987-01-07 1987-01-07 Control system for shared use of file for virtual computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62000508A JPS63168743A (en) 1987-01-07 1987-01-07 Control system for shared use of file for virtual computer system

Publications (1)

Publication Number Publication Date
JPS63168743A true JPS63168743A (en) 1988-07-12

Family

ID=11475711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62000508A Pending JPS63168743A (en) 1987-01-07 1987-01-07 Control system for shared use of file for virtual computer system

Country Status (1)

Country Link
JP (1) JPS63168743A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0793271A (en) * 1990-05-16 1995-04-07 Internatl Business Mach Corp <Ibm> Computer system for adjustment of comit range so as to match work unit
JPH0793272A (en) * 1990-05-16 1995-04-07 Internatl Business Mach Corp <Ibm> Apparatus and method for execution of synchronous-point management of resource
JPH1185547A (en) * 1997-09-12 1999-03-30 Hitachi Ltd Virtual cluster configuration method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0793271A (en) * 1990-05-16 1995-04-07 Internatl Business Mach Corp <Ibm> Computer system for adjustment of comit range so as to match work unit
JPH0793272A (en) * 1990-05-16 1995-04-07 Internatl Business Mach Corp <Ibm> Apparatus and method for execution of synchronous-point management of resource
JPH1185547A (en) * 1997-09-12 1999-03-30 Hitachi Ltd Virtual cluster configuration method

Similar Documents

Publication Publication Date Title
US4961224A (en) Controlling access to network resources
KR910010337A (en) Method and apparatus for dynamic management of I / O connection
PL183365B1 (en) Computer system for archiving open files
JP3357694B2 (en) Network system
JPS6336445A (en) File sharing control system in virtual computer system
JPS63168743A (en) Control system for shared use of file for virtual computer system
JPS6386035A (en) Stack pool managing system
JPH05165702A (en) File management method
JPH03265945A (en) Data sharing system for operating systems of different types
JPH03222047A (en) Area control system
JP3390317B2 (en) File exclusive control unit
JPS6327936A (en) File management method
JPH03223937A (en) Using method of shared data area
JP2671867B2 (en) Spare disk pool management method
JPS59188749A (en) System for controlling data transfer
JPS6265137A (en) Control system for priority of user task
JPH03116337A (en) Mutual standby business processing device
JPH01253049A (en) Electronic computer
JPH11312113A (en) Rough connection multiprocessor system
JPH06214860A (en) File management processor
JPH05197607A (en) File saving/restoring device
JPH0247754A (en) Data processing system
JPS63148365A (en) Managing device for shared resources of multiplex computer
JPS63278130A (en) Data processor
JPS6055854B2 (en) Data base storage area management control method