JPH09288608A - File sharing controller in distributed processing system - Google Patents

File sharing controller in distributed processing system

Info

Publication number
JPH09288608A
JPH09288608A JP8102342A JP10234296A JPH09288608A JP H09288608 A JPH09288608 A JP H09288608A JP 8102342 A JP8102342 A JP 8102342A JP 10234296 A JP10234296 A JP 10234296A JP H09288608 A JPH09288608 A JP H09288608A
Authority
JP
Japan
Prior art keywords
file
file sharing
remote
sharing control
computer
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
JP8102342A
Other languages
Japanese (ja)
Inventor
Hideki Suzuki
秀樹 鈴木
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP8102342A priority Critical patent/JPH09288608A/en
Publication of JPH09288608A publication Critical patent/JPH09288608A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To confirm the sharing state of the file of another computer in a present computer in a distributed processing system. SOLUTION: The file sharing control and management means 34 of a remote computer 3 records the file sharing state of a file 37 in a file sharing control and management structure body 36 and delivers it to a remote file sharing control and management means 35. The remote file sharing control and management means 35 outputs the file sharing state through a network 2 to the remote file sharing control and management means 15 of a local computer 1 and the file sharing control and management means 14 records the file sharing state in the file sharing control and management structure body 16.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数の計算機とネ
ットワークを備えた分散処理システムにおけるファイル
共用制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file sharing control device in a distributed processing system having a plurality of computers and a network.

【0002】[0002]

【従来の技術】図3は、従来のこの種のファイル共用制
御装置を有する計算機システムの構成を示したものであ
り、アプリケーションプログラム210を実行するロー
カル計算機201と、ネットワーク202と、リモート
計算機203とからなる。
2. Description of the Related Art FIG. 3 shows the configuration of a conventional computer system having a file sharing control device of this type. It has a local computer 201 for executing an application program 210, a network 202, and a remote computer 203. Consists of.

【0003】図3において、例えばローカル計算機20
1のアプリケーションプログラム210からリモート計
算機203のファイル237に属するレコード235に
対して入出力処理を行う場合、アプリケーションプログ
ラム210はファイルアクセス管理手段211に入出力
要求を行い、この入出力要求はリモート計算機203へ
の入出力要求の場合であるので、ファイルアクセス管理
手段211はリモートファイルアクセス管理送信手段2
12に入出力要求を行う。
In FIG. 3, for example, the local computer 20
When the input / output processing is performed from the application program 210 of No. 1 to the record 235 belonging to the file 237 of the remote computer 203, the application program 210 makes an input / output request to the file access management means 211, and this input / output request is made to the remote computer 203. Since this is a case of an input / output request to / from the file access management means 211, the file access management means 211 uses the remote file access management transmission means 2.
Input / output request is made to 12.

【0004】リモートファイルアクセス管理送信手段2
12はネットワーク202を介してリモート計算機20
3のリモートファイルアクセス管理受信手段233に入
出力要求を通知し、リモートファイルアクセス管理受信
手段233はファイルアクセス管理手段231に入出力
要求を行い、ファイルアクセス管理手段31はファイル
共用制御手段234に入出力要求によるファイル共用条
件を通知する。
Remote file access management transmission means 2
12 is a remote computer 20 via the network 202.
3 is notified to the remote file access management reception means 233 of No. 3, the remote file access management reception means 233 makes an input / output request to the file access management means 231, and the file access management means 31 enters the file sharing control means 234. Notify the file sharing condition by output request.

【0005】ファイル共用制御手段234はファイル共
用条件によりファイル共用制御管理構造体236を更新
すると共にファイル入出力の実行可否を判定し、入出力
実行可能状態になるまで待ち合わせを行いファイルアク
セス管理手段231に制御を戻さない。ファイルアクセ
ス管理手段231はファイル共用制御手段234から制
御が戻されるとファイル237のレコード238に入出
力を実行する。
The file sharing control unit 234 updates the file sharing control management structure 236 according to the file sharing condition, determines whether the file input / output can be executed, waits until the input / output execution state is reached, and the file access management unit 231. Do not return control to. The file access management means 231 executes input / output to the record 238 of the file 237 when the control is returned from the file sharing control means 234.

【0006】[0006]

【発明が解決しようとする課題】上述した従来の分散処
理システムにおけるファイル共用制御装置では、リモー
ト計算機にローカル計算機へファイル共用状態を通知す
る手段が無いため、ローカル計算機からリモート計算機
のリモートファイルを使用する場合に、ローカル計算機
からリモートファイルのファイル共用制御状態が認識で
きないので、リモートファイルのファイル共用状態を確
認するためのリモート計算機の操作が必要になる。
In the above-mentioned file sharing controller in the conventional distributed processing system, since the remote computer has no means for notifying the local computer of the file sharing state, the local computer uses the remote file of the remote computer. In this case, since the file sharing control status of the remote file cannot be recognized from the local computer, it is necessary to operate the remote computer to confirm the file sharing status of the remote file.

【0007】また、ローカル計算機,リモート計算機の
双方とも、自計算機内のファイル共用状態のみ管理可能
であり、他システムの状態を認識する手段が無いため、
ローカル計算機でローカルファイルとリモートファイル
を使用しているアプリケーションプログラムと、リモー
ト計算機でローカルファイルとリモートファイルを使用
しているアプリケーションプログラム間で、ファイルの
共用制御に関するデッドロック状態が発生した場合に、
双方の計算機共にデッドロック状態を認識できないとい
う問題点がある。
Further, both the local computer and the remote computer can manage only the file sharing state within the own computer, and there is no means for recognizing the state of other systems.
If a deadlock condition related to file sharing control occurs between an application program that uses local files and remote files on the local computer and an application program that uses local files and remote files on the remote computer,
There is a problem that neither computer can recognize the deadlock state.

【0008】本発明は上記の点に鑑み提案されたもので
あり、その目的とするところは、他計算機からの入出力
要求に関するファイル共用状態を入出力要求のあった計
算機に入出力要求の発生毎に通知することにより、ロー
カル計算機,リモート計算機の双方で自計算機内のアプ
リケーションプログラムが使用するローカルファイルお
よびリモートファイルに関するファイル共用制御状態が
管理可能となり、プログラム実行状態管理の保守性およ
び計算機システムの信頼性を向上することのできるファ
イル共用制御装置を提供することにある。
The present invention has been proposed in view of the above points, and an object of the present invention is to generate a file sharing state relating to an input / output request from another computer to the computer which has made the input / output request. By notifying each of them, it becomes possible to manage the file sharing control status related to the local file and the remote file used by the application program in the local computer on both the local computer and the remote computer, and maintainability of the program execution state management and the computer system It is to provide a file sharing control device capable of improving reliability.

【0009】[0009]

【課題を解決するための手段】本発明の分散処理システ
ムにおけるファイル共用制御装置は、ネットワーク上に
存在する他計算機上のリモートファイルを利用するとき
に、他計算機のファイル共用制御情報を自計算機内でも
管理し、ファイル共用状態を確認できることを特徴とす
る。
A file sharing controller in a distributed processing system according to the present invention uses the file sharing control information of another computer in its own computer when using a remote file on another computer existing on a network. However, the feature is that you can manage and check the file sharing status.

【0010】[0010]

【発明の実施の形態】次に、本発明の実施例について図
面を参照して詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0011】図1は本発明の分散処理システムにおける
ファイル共用制御装置を適用した計算機システムの一実
施例を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of a computer system to which a file sharing control device in a distributed processing system of the present invention is applied.

【0012】図1において、本実施例は、アプリケーシ
ョンプログラム10を実行するローカル計算機1と、ア
プリケーションプログラム10の利用対象となるファイ
ル37が存在するリモート計算機3と、ローカル計算機
1とリモート計算機3の間でデータ交換を行うネットワ
ーク2から構成される。
In FIG. 1, in this embodiment, a local computer 1 for executing an application program 10, a remote computer 3 in which a file 37 to be used by the application program 10 exists, a local computer 1 and a remote computer 3 are connected. The network 2 is used for exchanging data.

【0013】ローカル計算機1には、アプリケーション
プログラム10,ファイルアクセス管理手段11,リモ
ートファイルアクセス管理送信手段12,ファイル共用
制御管理手段14,リモートファイル共用制御管理手段
15およびファイル共用制御管理構造体16が設けられ
ている。
The local computer 1 includes an application program 10, a file access management means 11, a remote file access management transmission means 12, a file sharing control management means 14, a remote file sharing control management means 15 and a file sharing control management structure 16. It is provided.

【0014】一方、リモート計算機3側には、ファイル
アクセス管理手段31,リモートファイルアクセス管理
受信手段33,ファイル共用制御管理手段34,リモー
トファイル共用制御管理手段35,ファイル共用制御管
理構造体36,およびファイル37が設けられている。
On the other hand, on the remote computer 3 side, file access management means 31, remote file access management reception means 33, file sharing control management means 34, remote file sharing control management means 35, file sharing control management structure 36, and A file 37 is provided.

【0015】ローカル計算機1のアプリケーションプロ
グラム10からリモート計算機3のファイル37内のレ
コード38を入出力処理する場合、アプリケーションプ
ログラム10から発せられた入出力要求をファイルアク
セス管理手段11が解析を行い、入出力対象となるファ
イルが他の計算機に存在するので、リモートファイルア
クセス管理送信手段12に入出力要求を引き渡し、リモ
ートファイルアクセス管理送信手段12はネットワーク
2を介してリモート計算機3のリモートファイルアクセ
ス管理受信手段33に入出力要求を出力する。
When the application program 10 of the local computer 1 inputs / outputs the record 38 in the file 37 of the remote computer 3, the file access management means 11 analyzes the input / output request issued from the application program 10 and inputs it. Since the file to be output exists in another computer, the input / output request is delivered to the remote file access management transmission means 12, and the remote file access management transmission means 12 receives the remote file access management reception of the remote computer 3 via the network 2. The input / output request is output to the means 33.

【0016】リモートファイルアクセス管理受信手段3
3は、入力した入出力要求をファイルアクセス管理手段
31に引き渡し、ファイルアクセス管理手段31は入出
力要求を解析しファイル共用条件をファイル共用制御管
理手段34に引き渡し、ファイル共用制御管理手段34
はファイル共用条件に基づいたファイル共用制御を行う
と共にファイル共用状態をファイル共用制御管理構造体
36に記録する。
Remote file access management receiving means 3
3 transfers the input / output request to the file access management means 31, the file access management means 31 analyzes the input / output request, transfers the file sharing condition to the file sharing control managing means 34, and the file sharing control managing means 34.
Performs the file sharing control based on the file sharing condition and records the file sharing state in the file sharing control management structure 36.

【0017】さらに、ファイル共用制御手段34はファ
イル入出力要求を行ったアプリケーションプログラム1
0が自計算機内で実行しているアプリケーションプログ
ラムではないので、リモートファイル共用制御管理手段
35にファイル共用制御管理構造体36に記録したファ
イル共用状態を引き渡し、リモートファイル共用制御管
理手段35はネットワーク2を介してローカル計算機1
のリモートファイル共用制御管理手段15に前記のファ
イル共用状態を出力する。
Further, the file sharing control means 34 is used by the application program 1 which has made a file input / output request.
Since 0 is not an application program executing in the own computer, the file sharing state recorded in the file sharing control managing structure 36 is passed to the remote file sharing control managing means 35, and the remote file sharing control managing means 35 transmits the network 2 Via local computer 1
The file sharing status is output to the remote file sharing control managing means 15.

【0018】リモートファイル共用制御管理手段15
は、入力したファイル共用状態をファイル共用制御管理
手段14に引き渡し、ファイル共用制御管理手段14は
ファイル共用制御管理構造体16に記録する。この結
果、ローカル計算機1がリモート計算機3のファイル3
7を使用しようとする場合に、ファイル共用制御管理構
造体16を参照することにより、ファイル37の共用状
態が認識できることになる。
Remote file sharing control management means 15
Passes the input file sharing state to the file sharing control management means 14, and the file sharing control management means 14 records it in the file sharing control management structure 16. As a result, the local computer 1 has the file 3 of the remote computer 3
When trying to use 7, the shared state of the file 37 can be recognized by referring to the file sharing control management structure 16.

【0019】また、ファイル共用制御管理手段34は前
記入出力要求の解析時にファイル入出力処理が実行可能
になるとファイルアクセス管理手段31に制御を戻し、
ファイルアクセス管理手段31はファイル37のレコー
ド38に対して入出力処理を行う。
Further, the file sharing control managing means 34 returns control to the file access managing means 31 when the file input / output processing becomes executable at the time of analyzing the input / output request,
The file access management means 31 performs input / output processing for the record 38 of the file 37.

【0020】次に、本発明の第2の実施例について図面
を参照して説明する。
Next, a second embodiment of the present invention will be described with reference to the drawings.

【0021】図2は本発明の分散処理システムにおける
ファイル共用制御装置を適用した計算機システムの一実
施例を示す構成図である。
FIG. 2 is a block diagram showing an embodiment of a computer system to which the file sharing control device in the distributed processing system of the present invention is applied.

【0022】図2において、本実施例は、第1のアプリ
ケーションプログラム110を実行するローカル計算機
101と、第2のアプリケーションプログラム130を
実行するリモート計算機103、ローカル計算機101
とリモート計算機103の間でデータ交換を行うネット
ワーク102から構成される。
In this embodiment, in FIG. 2, a local computer 101 that executes a first application program 110, a remote computer 103 that executes a second application program 130, and a local computer 101.
And a network 102 for exchanging data between the remote computer 103 and the remote computer 103.

【0023】ローカル計算機101側には、アプリケー
ションプログラム110,ファイルアクセス管理手段1
11,リモートファイルアクセス管理送信手段112,
リモートファイルアクセス管理受信手段113,ファイ
ル共用制御管理手段114,リモートファイル共用制御
管理手段115,ファイル共用制御管理構造体116お
よびファイル17が設けられている。
On the local computer 101 side, an application program 110 and a file access management means 1
11, remote file access management transmission means 112,
A remote file access management receiving means 113, a file sharing control managing means 114, a remote file sharing control managing means 115, a file sharing control management structure 116 and a file 17 are provided.

【0024】一方、リモート計算機103側には、アプ
リケーションプログラム130,ファイルアクセス管理
手段131,リモートファイルアクセス管理送信手段1
32,リモートファイルアクセス管理受信手段133,
ファイル共用制御管理手段134,リモートファイル共
用制御管理手段135,ファイル共用制御管理構造体1
36およびファイル137が設けられている。
On the other hand, on the remote computer 103 side, an application program 130, a file access management means 131, a remote file access management transmission means 1
32, remote file access management receiving means 133,
File sharing control management means 134, remote file sharing control management means 135, file sharing control management structure 1
36 and a file 137 are provided.

【0025】はじめに、ローカル計算機101のアプリ
ケーションプログラム110からリモート計算機103
のファイル137内のレコード138を入出力処理する
場合、アプリケーションプログラム110から発せられ
た入出力要求をファイルアクセス管理手段111が解析
を行い、入出力対象となるファイルが他の計算機に存在
する場合であるので、リモートファイルアクセス管理送
信手段112に入出力要求を引き渡す。リモートファイ
ルアクセス管理送信手段112はネットワーク102を
介してリモート計算機103のリモートファイルアクセ
ス管理受信手段133に入出力要求を出力する。
First, from the application program 110 of the local computer 101 to the remote computer 103
When the record 138 in the file 137 of the above is input / output processed, the file access management means 111 analyzes the input / output request issued from the application program 110, and the file to be input / output exists in another computer. Therefore, the input / output request is delivered to the remote file access management transmission unit 112. The remote file access management transmission unit 112 outputs an input / output request to the remote file access management reception unit 133 of the remote computer 103 via the network 102.

【0026】リモートファイルアクセス管理受信手段1
33は、入力した入出力要求をファイルアクセス管理手
段131に引き継ぎ、ファイルアクセス管理手段131
は入出力要求を解析しファイル共用条件をファイル共用
制御管理手段134に引き渡す。ファイル共用制御管理
手段134はファイル共用条件に基づいたファイル共用
制御を行うと共にファイル共用状態をファイル共用制御
管理構造体136に記録する。
Remote file access management receiving means 1
33 transfers the input / output request to the file access management means 131, and the file access management means 131
Analyzes the input / output request and delivers the file sharing condition to the file sharing control management means 134. The file sharing control management means 134 performs the file sharing control based on the file sharing condition and records the file sharing state in the file sharing control management structure 136.

【0027】さらに、ファイル共用制御手段134はフ
ァイル入出力要求を行ったアプリケーションプログラム
110が自計算機内で実行しているアプリケーションプ
ログラムではないため、リモートファイル共用制御管理
手段135に、ファイル共用制御管理構造体136に記
録したファイル共用状態を引き渡す。リモートファイル
共用制御管理手段135はネットワーク102を介して
ローカル計算機101のリモートファイル共用正誤管理
手段115に前記ノファイ共用状態を出力する。
Further, since the file sharing control means 134 is not the application program executed by the application program 110 which has issued the file input / output request within the own computer, the file sharing control management means 135 is provided with the file sharing control management structure. The file sharing state recorded in the body 136 is delivered. The remote file sharing control managing means 135 outputs the Nofile sharing status to the remote file sharing correct / wrong management means 115 of the local computer 101 via the network 102.

【0028】リモートファイル共用制御管理手段115
は、入力したファイル共用状態をファイル共用制御管理
手段114に引き渡し、ファイル共用制御管理手段11
4はファイル共用制御管理構造対116に記録する。
Remote file sharing control management means 115
Passes the input file sharing state to the file sharing control managing means 114, and the file sharing control managing means 11
4 is recorded in the file sharing control management structure pair 116.

【0029】また、ファイル共用制御管理手段134は
前記入出力要求の解析時にファイル入出力処理が実行可
能になるとファイルアクセス管理手段131に制御を戻
し、ファイルアクセス管理手段131はファイル137
のレコード138に対して入出力処理を行う。
Further, the file sharing control managing means 134 returns the control to the file access managing means 131 when the file input / output processing becomes executable at the time of analyzing the input / output request, and the file access managing means 131 sends the file 137.
I / O processing is performed on the record 138 of

【0030】一方、リモート計算機103のアプリケー
ションプログラム130からローカル計算機101のフ
ァイル117内のレコード118を入出力処理する場
合、アプリケーションプログラム130から発せられた
入出力要求をファイルアクセス管理手段131が解析を
行い、入出力対象となるファイルが他の計算機に存在す
る場合であるので、リモートファイルアクセス管理送信
手段32に入出力要求を引き渡す。リモートファイルア
クセス管理送信手段132はネットワーク102を介し
てリモート計算機101のリモートファイルアクセス管
理受信手段113に入出力要求お出力する。
On the other hand, when the application program 130 of the remote computer 103 inputs / outputs the record 118 in the file 117 of the local computer 101, the file access management means 131 analyzes the input / output request issued from the application program 130. Since the file to be input / output exists in another computer, the input / output request is delivered to the remote file access management transmitting means 32. The remote file access management transmitting means 132 outputs the input / output request to the remote file access management receiving means 113 of the remote computer 101 via the network 102.

【0031】リモートファイルアクセス管理受信手段1
13は入力した入出力要求をファイルアクセス管理手段
111に引き渡し、ファイルアクセス管理手段111は
入出力要求を解析しファイル共用条件をファイル共用制
御管理手段114に引き渡す。ファイル共用制御管理手
段114はファイル共用条件に基づいたファイル共用制
御を行うと共にファイル共用状態をファイル共用制御管
理構造体116に記録する。
Remote file access management receiving means 1
Reference numeral 13 delivers the input / output request to the file access management means 111. The file access management means 111 analyzes the input / output request and delivers the file sharing condition to the file sharing control managing means 114. The file sharing control managing means 114 performs file sharing control based on the file sharing condition and records the file sharing state in the file sharing control management structure 116.

【0032】さらに、ファイル共用制御手段114はフ
ァイル入出力要求を行ったアプリケーションプログラム
130が自計算機内で実行しているアプリケーションプ
ログラムではないため、リモートファイル共用制御管理
手段115にファイル共用制御管理構造体116に記録
したファイル共用状態を引き渡す。リモートファイル共
用制御管理手段115はネットワーク102を介してロ
ーカル計算機103のリモートファイル共用制御管理手
段135に前記のファイル共用状態を出力する。
Further, since the file sharing control means 114 is not the application program executed by the application program 130 which has issued the file input / output request in the own computer, the remote file sharing control management means 115 has the file sharing control management structure. The file sharing state recorded in 116 is delivered. The remote file sharing control managing means 115 outputs the file sharing status to the remote file sharing control managing means 135 of the local computer 103 via the network 102.

【0033】リモートファイル共用制御管理手段135
は入力したファイル共用状態をファイル共用制御管理手
段134に引き継ぎ、ファイル共用制御管理手段134
はファイル共用制御管理構造体136に記載する。
Remote file sharing control management means 135
Takes over the input file sharing state to the file sharing control management means 134, and the file sharing control management means 134
Is described in the file sharing control management structure 136.

【0034】また、ファイル共用制御管理手段114は
前記入出力要求の解析時にファイル入出力処理が実行可
能になるとファイルアクセス管理手段111に制御を戻
し、ファイルアクセス管理手段111はファイル117
のレコード118に対して入出力処理を行う。
Further, the file sharing control managing means 114 returns control to the file access managing means 111 when the file input / output processing becomes executable at the time of analyzing the input / output request, and the file access managing means 111 sends the file 117.
The input / output processing is performed on the record 118.

【0035】次に、ローカル計算機101のアプリケー
ションプログラム110から自計算機のファイル117
内のレコード118を入出力処理する場合、アプリケー
ションプログラム110から発せられた入出力要求をフ
ァイルアクセス管理手段111が解析を行い、入出力対
象となるファイルが自計算機に存在する場合であるの
で、ファイル共用条件をファイル共用制御管理手段11
4に引き渡し、ファイル共用制御管理手段114はファ
イル共用条件に基づいたファイル共用制御を行うと共に
ファイル共用状態をファイル共用制御管理構造体116
に記録する。
Next, from the application program 110 of the local computer 101, the file 117 of its own computer
When the input / output processing of the record 118 in the file is performed, the file access management unit 111 analyzes the input / output request issued from the application program 110, and the file to be input / output exists in the own computer. File sharing control management means 11 for sharing conditions
4, the file sharing control management means 114 performs file sharing control based on the file sharing conditions and also the file sharing state is managed by the file sharing control management structure 116.
To record.

【0036】この場合、前述したリモート計算機103
にアプリケーションプログラム130が実行したファイ
ル117内のレコード118に対する入出力の要求内容
が他の入出力と排他的に実行する要求であれば、リモー
ト計算機103のアプリケーションプログラム130と
の間で入出力処理の競合を検出し、当該入出力処理は競
合状態が解除されるまで待ち合わせ状態となる。
In this case, the above-mentioned remote computer 103
When the input / output request content for the record 118 in the file 117 executed by the application program 130 is a request to execute exclusively with other input / output, the input / output processing with the application program 130 of the remote computer 103 is performed. Conflict is detected, and the input / output processing is in a waiting state until the conflict state is released.

【0037】また、リモート計算機103のアプリケー
ションプログラム130から自計算機のファイル137
内のレコード138を入出力処理する場合には、アプリ
ケーションプログラム130から発せられた入出力要求
をファイルアクセス管理手段131が解析を行い、入出
力対象となるファイルが自計算機に存在する場合である
ので、ファイル共用条件をファイル共用制御管理手段1
34に引き渡す。ファイル共用制御管理手段134はフ
ァイル共用条件に基づいたファイル共用制御を行うと共
にファイル共用状態をファイル共用制御管理構造体13
6に記録する。
Further, the application program 130 of the remote computer 103 is used by the file 137 of the own computer.
When the input / output processing of the record 138 in the above is performed, the file access management means 131 analyzes the input / output request issued from the application program 130 and the file to be input / output exists in the own computer. , File sharing conditions are defined as file sharing control management means 1
Deliver to 34. The file sharing control managing means 134 controls the file sharing based on the file sharing condition, and determines the file sharing state by the file sharing control management structure 13.
Record in 6.

【0038】この場合、前述した全ての入出力、すなわ
ち、アプリケーションプログラム110からのレコード
138への入出力、アプリケーションプログラム130
からのレコード118への入出力、およびアプリケーシ
ョンプログラム110からのレコード118への入出力
の要求内容が他の入出力と排他的に実行する要求であれ
ば、当該入出力処理はリモート計算機101のアプリケ
ーションプログラム110との間で入出力処理の競合を
検出し、競合状態が解除されるまで待ち合わせ状態とな
る。しかも、当該入出力処理の待ち合わせ原因であるア
プリケーションプログラム110が当該入出力の要求者
であるアプリケーションプログラム130レコード11
8に対する入出力処理が原因ですでに待ち合わせ状態と
なっているため、ファイル共用制御管理手段135は複
数の計算機間によるファイル共用制御に関するデッドロ
ック状態を検出する。
In this case, all the above-mentioned input / output, that is, the input / output from the application program 110 to the record 138 and the application program 130.
If the request contents of the input / output to / from the record 118 from the application program 110 and the input / output request from the application program 110 to / from the record 118 are requests to be executed exclusively with other input / output, the input / output processing is performed by the application of the remote computer 101. I / O processing conflicts with the program 110 are detected, and a waiting state is entered until the conflict state is released. Moreover, the application program 110, which is the cause of waiting for the input / output processing, is the application program 130 record 11 that is the requester of the input / output.
The file sharing control management means 135 detects the deadlock state related to the file sharing control among a plurality of computers because the waiting state has already occurred due to the input / output processing for the eight computers.

【0039】ファイル共用制御管理手段135はファイ
ル共用制御に関するデッドロック状態の発生内容をネッ
トワーク102を介してローカル計算機101のファイ
ル共用制御管理手段115に通知することにより、デッ
ドロック状態に関係している全ての計算機で同一の状態
を管理する。
The file sharing control managing means 135 is related to the deadlock state by notifying the file sharing control managing means 115 of the local computer 101 via the network 102 about the occurrence of the deadlock state relating to the file sharing control. Manage the same status on all computers.

【0040】[0040]

【発明の効果】本発明によれば、複数の計算機間でデー
タを共有する分散処理システムにおいて、ローカル計算
機,リモート計算機の双方に、他計算機からの入出力要
求に対しファイル共用状態を通知する手段、および通知
された他計算機のファイル共用状態を自計算機のファイ
ル共用状態と一元管理する手段を設けたため、ローカル
計算機からリモート計算機のリモートファイルを使用す
る場合に、ローカル計算機からリモートファイルのファ
イル共用制御状態が認識できる。
According to the present invention, in a distributed processing system in which data is shared among a plurality of computers, a means for notifying both the local computer and the remote computer of the file sharing state in response to an input / output request from another computer. , And the means for centrally managing the file sharing status of the notified other computer with the file sharing status of the local computer, when using the remote file of the remote computer from the local computer, file sharing control of the remote file from the local computer The state can be recognized.

【0041】また、ローカル計算機,リモート計算機の
双方とも、自計算機内のファイル共用状態および他計算
機内のファイル共用状態の両方を自計算機内で参照する
手段を設けたため、ローカル計算機でローカルファイル
とリモートファイルを使用しているアプリケーションプ
ログラムと、リモート計算機でローカルファイルとリモ
ートファイルを使用しているアプリケーションプログラ
ム間で、ファイルの共用制御に関するデッドロック状態
が発生した場合、双方の計算機が前記の状態を認識でき
るという効果がある。
Further, both the local computer and the remote computer are provided with means for referencing both the file sharing state within the own computer and the file sharing state within another computer within the local computer, so that the local computer and the remote file can be referred to by the local computer. When a deadlock condition related to file sharing control occurs between an application program that uses a file and an application program that uses a local file and a remote file on a remote computer, both computers recognize the above state. The effect is that you can do it.

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

【図1】本発明の分散処理システムにおけるファイル共
用制御装置の一実施例を使用した計算機システムを示す
構成図である。
FIG. 1 is a configuration diagram showing a computer system using an embodiment of a file sharing control device in a distributed processing system of the present invention.

【図2】本発明の分散処理システムにおけるファイル共
用制御装置の他の実施例を使用した計算機システムを示
す構成図である。
FIG. 2 is a configuration diagram showing a computer system using another embodiment of the file sharing control device in the distributed processing system of the present invention.

【図3】従来の分散処理システムにおけるファイル共用
制御装置を示す構成図である。
FIG. 3 is a configuration diagram showing a file sharing control device in a conventional distributed processing system.

【符号の説明】[Explanation of symbols]

1,101,201 ローカル計算機 3,103,203 リモート計算機 10,110,130,210 アプリケーションプ
ログラム 11,31,111,131,211,231 ファ
イルアクセス管理手段 12,112,132,212 リモートファイルア
クセス管理送信手段 33,113,133,233 リモートファイルア
クセス管理受信手段 14,34,114,134,234 ファイル共用
制御管理手段 15,35,115,135,235 リモートファ
イル共用制御管理手段 16,36,116,136,236 ファイル共用
制御管理構造体 2,102,202 ネットワーク 37,117,137,237 ファイル 38,118,138,238 レコード。
1, 101, 201 Local computer 3, 103, 203 Remote computer 10, 110, 130, 210 Application program 11, 31, 111, 131, 211, 231 File access management means 12, 112, 132, 212 Remote file access management transmission Means 33, 113, 133, 233 Remote file access management receiving means 14, 34, 114, 134, 234 File sharing control managing means 15, 35, 115, 135, 235 Remote file sharing control managing means 16, 36, 116, 136 , 236 file sharing control management structure 2, 102, 202 network 37, 117, 137, 237 file 38, 118, 138, 238 records.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上に存在する他計算機上の
リモートファイルを利用するときに、他計算機のファイ
ル共用制御情報を自計算機内でも管理し、ファイル共用
状態を確認できることを特徴とする分散処理システムに
おけるファイル共用制御装置。
1. A distributed processing system characterized in that, when a remote file on another computer existing on a network is used, the file sharing control information of the other computer can be managed in the own computer and the file sharing state can be confirmed. File sharing controller in.
【請求項2】 前記ファイル共用制御情報を参照し、複
数計算機間のファイル共用制御に関するデッドロック状
態を検出することを特徴とする請求項1記載の分散処理
システムにおけるファイル共用制御装置。
2. A file sharing control apparatus in a distributed processing system according to claim 1, wherein the file sharing control information is referenced to detect a deadlock state relating to file sharing control between a plurality of computers.
【請求項3】 アプリケーションプログラムからリモー
ト計算機のリモートファイルに入出力処理を行う際に入
出力要求を出力するファイルアクセス管理手段と、 前記出力された入出力要求をネットワークを介してリモ
ート計算機に通知するリモートファイルアクセス管理送
信手段と、 前記通知された入出力要求を解析し自計算機のファイル
アクセス管理手段に出力するリモートファイルアクセス
管理受信手段と、 前記解析した入出力要求からファイル共用条件を自計算
機のファイルアクセス管理手段経由で受け取りファイル
共用状態を管理するファイル共用制御管理構造体を更新
するファイル共用制御管理手段と、 他計算機からの入出力要求および他計算機への入出力要
求に関するファイル共用状態をネットワークを介して計
算機間で送受信するリモートファイル共用制御管理手段
とを有することを特徴とする分散処理システムにおける
請求項1記載のファイル共用制御装置。
3. A file access management means for outputting an input / output request when an input / output process is performed on a remote file of a remote computer from an application program, and the output input / output request is notified to the remote computer via a network. Remote file access management transmission means, remote file access management reception means for analyzing the notified input / output request and outputting to the file access management means of the own computer, and file sharing conditions of the own computer based on the analyzed input / output request. File sharing control management means for managing the file sharing status received via the file access management means, updating the file sharing control management structure, and file sharing status regarding I / O requests from other computers and I / O requests to other computers Sent between computers via File sharing control apparatus according to claim 1, wherein in a distributed processing system characterized by having a remote file sharing control management means for signal.
JP8102342A 1996-04-24 1996-04-24 File sharing controller in distributed processing system Pending JPH09288608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8102342A JPH09288608A (en) 1996-04-24 1996-04-24 File sharing controller in distributed processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8102342A JPH09288608A (en) 1996-04-24 1996-04-24 File sharing controller in distributed processing system

Publications (1)

Publication Number Publication Date
JPH09288608A true JPH09288608A (en) 1997-11-04

Family

ID=14324831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8102342A Pending JPH09288608A (en) 1996-04-24 1996-04-24 File sharing controller in distributed processing system

Country Status (1)

Country Link
JP (1) JPH09288608A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7165071B2 (en) * 1999-12-15 2007-01-16 Napster, Inc. Real-time search engine
US8005961B2 (en) 2006-11-24 2011-08-23 Murata Machinery, Ltd. Relay server, relay communication system, and communication device
US8010647B2 (en) 2006-12-11 2011-08-30 Murata Machinery, Ltd. Relay server and relay communication system arranged to share resources between networks
US8010598B2 (en) 2006-12-19 2011-08-30 Murata Machinery, Ltd. Relay server and client terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7165071B2 (en) * 1999-12-15 2007-01-16 Napster, Inc. Real-time search engine
US8005961B2 (en) 2006-11-24 2011-08-23 Murata Machinery, Ltd. Relay server, relay communication system, and communication device
US8010647B2 (en) 2006-12-11 2011-08-30 Murata Machinery, Ltd. Relay server and relay communication system arranged to share resources between networks
US8010598B2 (en) 2006-12-19 2011-08-30 Murata Machinery, Ltd. Relay server and client terminal

Similar Documents

Publication Publication Date Title
EP0618532B1 (en) Deadlock detecting device
KR100192529B1 (en) Method and apparatus for locking arbitration on a remote bus
EP0536073A2 (en) Method and process for interprocess communication using named pipes
EP0196331A1 (en) Method of and arrangement for ordering of multiprocessor operations in a multiprocessor system.
US5377351A (en) Device for controlling multiple transactions contending concurrently for the same resource in a distributed database system
JPH0679305B2 (en) Device and method for responding to an interrupt using a hold bus
US5204954A (en) Remote storage management mechanism and method
JPH09288608A (en) File sharing controller in distributed processing system
US5432915A (en) Interprocessor communication system in an information processing system enabling communication between execution processor units during communication between other processor units
US20090019259A1 (en) Multiprocessing method and multiprocessor system
JP3345102B2 (en) Method of resetting a combined module and system using this method
US11429290B2 (en) Methods and systems for providing a lockless access to a shared memory region in a publish and subscribe system
JPS6239789B2 (en)
JPH07234850A (en) Device and method for multiprocessor system
JP2824890B2 (en) SCSI protocol controller
JP3320221B2 (en) Client / server system and workstation for the same
JP3182575B2 (en) Shared input / output device management method for multiple computer systems
JPH07114519A (en) Method for managing different kind of operation
WO2022103708A1 (en) Methods and systems for providing a lockless access to a shared memory region in a publish and subscribe system
JPH0496830A (en) Data management method for distributed processing system
JP3096760B2 (en) Common data reference setting device and reference setting method
JP2912046B2 (en) File server control method
JPH04273327A (en) Back-up device for generation of static parallel processing program
JPH10207744A (en) Method for monitoring phenomenon of composite computer system
JP2000187649A (en) Method and device for controlling command in parallel processing type on-line system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990323