JPS62271166A - Processing method for file access of other system - Google Patents

Processing method for file access of other system

Info

Publication number
JPS62271166A
JPS62271166A JP61115516A JP11551686A JPS62271166A JP S62271166 A JPS62271166 A JP S62271166A JP 61115516 A JP61115516 A JP 61115516A JP 11551686 A JP11551686 A JP 11551686A JP S62271166 A JPS62271166 A JP S62271166A
Authority
JP
Japan
Prior art keywords
file access
file
program
communication control
processing
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
JP61115516A
Other languages
Japanese (ja)
Inventor
Shigeki Hori
茂樹 堀
Atsushi Machida
町田 敦
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61115516A priority Critical patent/JPS62271166A/en
Publication of JPS62271166A publication Critical patent/JPS62271166A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To extend the range of applications by providing another system file access interface so as to use the same application job program for its own system file access and other system file access. CONSTITUTION:A file access element from the file access processing section 90 of an applied job program 9 is discriminated for whether its file assignment message is designated with other system file or not depending of a file access discrimination processing section 12 in an OS 5. Without the designation of a file of the other system, the control is given to its own system file access processing program 15. In case the designation is given, a file access request from the file access processing section 90 is converted into a form understood by a communication control program 7 by other system file access interface section 13 in the OS 5 and the result is sent in the order of communication control program 7 communication controller 3 communication path 18 communication controller 4 communication control program 8 other system file access interface section 14.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 この発明は、複数の計算機システムが通信経路で互に接
続されているネットワーク・システムで一つの計算優シ
ステムから他の計算機システムの管理するファイルにア
クセスする場合の処理方法に関するものである。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] This invention relates to a network system in which a plurality of computer systems are connected to each other via communication paths. The present invention relates to a processing method when accessing files managed by a computer system.

〔従来の技術〕[Conventional technology]

第2図は従来の方法を示すブロック図である。 FIG. 2 is a block diagram showing a conventional method.

図においてill及び(2)はそれぞれ中央処理装置、
主記憶装置を含むホスト計算機、(3)及び(4)はそ
れぞれ各ホスト計算機間の通信を可能にするために設け
られた通信制御装置、(5)及び(6)はホスト計算機
+1) 、 [21の中に設けられるオペレーティング
−システム(以下OSと略記する)、(7)及び(8)
はO8+51゜(6)の中の通信制御プログラム、(9
)及び(lO)はホスト計算機+11 、 F21の中
の適用業務プログラム(application pr
ogram )、(13) 、 (14)は適用業務プ
ログラム[91、(10)中に設けられ他系ファイル・
アクセスを行うために通信制御プログラムとのインタフ
ェースを処理する他系ファイル・アクセス・インタフェ
ース部分、(16)は08(6)の一部で自系のファイ
ルアクセスを行う自系ファイル・アクセス処理プログラ
ム、(17)は自系ファイル・アクセス処理プログラム
(16)によってアクセス可能なファイル、(18)は
ホスト計算機u)。
In the figure, ill and (2) are respectively the central processing unit,
A host computer including a main storage device, (3) and (4) a communication control device provided to enable communication between each host computer, and (5) and (6) a host computer +1), [ Operating system (hereinafter abbreviated as OS) provided in 21, (7) and (8)
is the communication control program in O8+51°(6), (9
) and (lO) are the application program in host computer +11, F21.
ogram), (13), and (14) are provided in the application program [91, (10) and are
(16) is a part of 08 (6) and is a local file access processing program that processes files in the local system; (17) is a file that can be accessed by the local file access processing program (16), and (18) is the host computer u).

(2)間を結ぶ通信経路である。(2) It is a communication path connecting the two.

なお、以下の説明では仮にホスト計算機1(1)を自系
、ホスト計算機2(2)を他系とし、自系から他系の管
理するファイル(17) inアクセスする場合の例に
ついて述べることにし、第2図にはこの説明に必要な部
分だけを示しである。
In the following explanation, we will assume that host computer 1 (1) is the local system and host computer 2 (2) is the other system, and an example will be described in which a file (17) managed by the other system is accessed from the local system. , FIG. 2 shows only the parts necessary for this explanation.

次に動作について説明する。ホスト計算機1(1)でフ
ァイル(17)にアクセスしようとする場合は、この要
求を他系ファイル・アクセス・インタフェース部分(1
3)によって08(5)内の通信制御プログラム(7)
の理解し得る形式に変換し、通信制御プログラム(7)
からその要求が他系へ送信される。すなわち通信制御プ
ログラム(7)が通信制御装置(3)を側割して通信経
路(18)、通信制御装置(4)を通って通信制御プロ
グラム(10)へと伝えられた要求は、適用業務プログ
ラム(10)内の他系ファイル・アクセス・インタフェ
ース部分(14)によって、適用業務プログラム(10
)の理解し得る形式へと変換される。適用業務プログラ
ム(1o)では要求:  に従って、08(6)内の自
系ファイル・アクセス処□  環プログラム(16)を
介してファイル(17)をアJ  クセスし、得られた
データを(14)→(8)→(4)→(18)→(3)
→(7)の経路によりホスト計算!!!1(1)叫伝送
する。
Next, the operation will be explained. When the host computer 1 (1) attempts to access the file (17), this request is sent to the other system's file access interface part (1).
Communication control program (7) in 08(5) by 3)
Communication control program (7)
The request is sent to another system. In other words, the request transmitted from the communication control program (7) to the communication control program (10) through the communication control device (3) through the communication path (18) and the communication control device (4) is the application task. The application program (10) is controlled by the external file access interface part (14) in the program (10).
) into an understandable form. The application program (1o) performs the self-system file access processing in 08 (6) according to the request: Accesses the file (17) via the ring program (16) and uses the obtained data in (14). →(8)→(4)→(18)→(3)
→ Host calculation using route (7)! ! ! 1 (1) Shout transmission.

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

以上のように従来の方法では適用業務プログラムの他系
ファイル・アクセス要求を通信制御プログラムが理解し
得る形式に変換するために、適用業務プログラム自身が
そのプログラム内に、通信制御プログラムとのインタフ
ェース部分である他系ファイル・アクセス・インタフェ
ース部分を持っている必要があった。また、他系ファイ
ル・アクセスの場合はこの他系ファイル・アクセス・イ
ンタフェース部分を通る必要があるため、適用業務プロ
グラムは、アクセスするファイルが、自系のファイルで
あるか他系のファイルであるかを自分で認識する必要が
あった。
As described above, in the conventional method, in order to convert an application program's file access request from another system into a format that the communication control program can understand, the application program itself has an interface part with the communication control program within the program. It was necessary to have a file access interface part for other systems. In addition, in the case of accessing a file in another system, it is necessary to go through this other system file access interface part, so the application program must check whether the file to be accessed is in its own system or in another system. I had to recognize it myself.

この発明は上記のような問題点を解決するためになされ
たもので、適用業務プログラム自身が通信制御プログラ
ムとのインタフェース部分を持つ必要をなくし、また、
適用業務プログラムがファイルをアクセスする際にその
ファイルが自系のファイルであるか他系のファイルであ
るかを適用業務プログラム自身が認識する必要をなくす
ることを目的とする。
This invention was made to solve the above-mentioned problems, and eliminates the need for the application program itself to have an interface part with the communication control program.
The purpose of this invention is to eliminate the need for the application program itself to recognize whether the file belongs to its own system or to another system when the application program accesses the file.

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

この発明の方法ではos 内に、適用業務プログラムと
通信制御プログラムとの間のインタフェースとなる他系
ファイル・アクセス・インタフェース部分を組み込み、
さらに、他系ファイル・アクセスのインタフェースを自
系ファイル−アクセスのインタフェースと同じにし、フ
ァイル割当て文でそのファイルが他系のファイルである
ことを指定できるようにすることによって適用業務プロ
グラム自身は、アクセスするファイルが自系のファイル
か他系のファイルかを認識しないですむようにシたもの
である。
In the method of the present invention, a foreign file access interface part that serves as an interface between the application program and the communication control program is incorporated into the OS,
Furthermore, by making the interface for foreign file access the same as the interface for local file access, and allowing the file assignment statement to specify that the file is a foreign file, the application program itself can This is done so that there is no need to recognize whether the file being accessed belongs to the local system or another system.

〔作用〕[Effect]

この発明ではO8内に組み込まれた他系ファイル・アク
セス用インタフェース部分では、ファイル割当て文でそ
のファイルが他系のファイルであることが指定されてい
た場合に、適用業務プログラムからのファイル・アクセ
ス要求を通信制御プログラムが理解し得る形に変換して
、通信制御プログラムにその制御を渡す。
In this invention, the interface part for accessing files of other systems built into O8 handles file access requests from application programs when the file assignment statement specifies that the file is a file of another system. is converted into a form that the communication control program can understand, and the control is passed to the communication control program.

〔実施例〕〔Example〕

以下この発明の実施例を図面について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例を示すブロック図で、第1
図において第2図と同一符号は同−又は和尚部分を示し
、第1図(13)、(14)は第2図の同一符号に和尚
する他系ファイル拳アクセスΦインタフェース部分であ
るが、第1図の構成ではO8+51 、 +61内に設
けられている。第1図において(90)は適用業務プロ
グラム(9)内のファイル・アクセス処理部分、(11
)  はバッチ又は端末から、ファイル割り当て文で他
系ファイルであることを指定する操作を示し、(12)
はO3(5)内に設けられるファイル・アクセス判定処
理部分で、ファイル・アクセス判定処理部分(12)は
ファイル割り当て文に他系ファイルであることが指定さ
れているかいないかを判定する。(15)、(16)は
それぞれOS +51 、 +6+の一部を構成し、自
系のファイル・アクセスを処理する白糸ファイル・アク
セス処理プログラムである。
FIG. 1 is a block diagram showing one embodiment of the present invention.
In the figure, the same reference numerals as those in Fig. 2 indicate the same parts, and (13) and (14) in Fig. 1 are the other system file access Φ interface parts corresponding to the same numbers in Fig. 2. In the configuration shown in FIG. 1, they are provided in O8+51 and +61. In FIG. 1, (90) is the file access processing part in the application program (9), and (11)
) indicates an operation to specify that the file is a foreign file using a file allocation statement from batch or terminal, and (12)
is a file access determination processing section provided in O3 (5), and the file access determination processing section (12) determines whether or not a file assignment statement specifies that it is a foreign file. (15) and (16) are Shiraito file access processing programs that form part of the OS +51 and +6+, respectively, and process file access in their own systems.

また、第2図について説明したと同様、第1図において
も仮にホスト計算機1(1)を自系、ホスト計算機2(
2)を他系とし、ホスト計算機1(1)がファイル(1
7)にアクセスする動作を説明するために必要な部分だ
けを第1図に示しである。
Also, in the same way as explained with reference to FIG. 2, in FIG.
2) is a separate system, and host computer 1 (1) has file (1
Only the parts necessary to explain the operation of accessing 7) are shown in FIG.

次(=動作について説明する。適用業務プログラム(9
)のファイル・アクセス処理部分(90)からのファイ
ル・アクセス要求は、O8(5)内のファイル・アクセ
ス判定処理部分(12) 1:よって、そのファイルの
割当て文に他系のファイルであることが指定されている
かどうかが判定され、他系のファイルであることが指定
されていなければ自系ファイル・アクセス処理プログラ
ム(15)へ制御が渡される。他系のファイルであるこ
とが指定されていれば、ファイル・アクセス処理部分(
90)からのファイル・アクセス要求は08(5)内の
他系ファイル・アクセス・インタフェース部分(13)
によって、通信制御プログラム(7)の理解し得る形式
(二変換され、通信制御プログラム(7)→通信制御装
置(3)→通信経路(18)→通信制御装置(4)→通
信制御プログラム(8)→他系ファイルーアクセス・イ
ンタフェース部分(14)の順(=伝送される。
Next (=explains the operation.Application business program (9)
) The file access request from the file access processing part (90) is sent to the file access judgment processing part (12) in O8 (5) 1: Therefore, the file assignment statement indicates that the file is from another system. It is determined whether the file is specified, and if it is not specified that the file belongs to another system, control is passed to the own system file access processing program (15). If it is specified that the file belongs to another system, the file access processing part (
The file access request from 90) is sent to the other system file access interface part (13) in 08(5).
The communication control program (7) is converted into an understandable format (2) by converting the communication control program (7) → communication control device (3) → communication path (18) → communication control device (4) → communication control program (8). ) → other system file - access interface part (14) order (=transmitted.

他系ファイル・アクセス争インタフェース部分(14)
に伝えられたファイル・アクセス要求は、他系ファイル
・アクセス・インタフェース部分(14)によりて自系
ファイルアクセス処理プログラム(16)が理解し得る
形式に変換されて、自系ファイル・アクセス処理プログ
ラム(16)へ伝えられる。
Other system file access dispute interface part (14)
The file access request transmitted to the other system file access interface part (14) is converted into a format that can be understood by the local file access processing program (16), and the file access request transmitted to the local system file access processing program (16) is 16).

自系ファイル・アクセス処理プログラム(16)では、
要求に従ってファイル(17)をアクセスし、得られた
データを他系ファイル・アクセス・インタフェース部分
(14)へ返す。他系ファイル・アクセス・インタフェ
ース部分(14)では、データを通信制御プログラム(
8)が理解し得る形式(:変換し、(8)→(4)→(
18)→(3)→(7)→(13)→(12)→の経路
により適用業務プログラム(9)までデータを伝送する
In the own file access processing program (16),
The file (17) is accessed according to the request, and the obtained data is returned to the other system file access interface part (14). The other system file access interface part (14) transfers data to the communication control program (
Convert (8) → (4) → (
The data is transmitted to the application program (9) via the route 18)→(3)→(7)→(13)→(12)→.

以上述べたようにこの発明では、ファイル割当て文;:
自系か他系かを指定できるようにして、適用業務プログ
ラムの内容をまったく変更することなしに、自系のファ
イル・アクセスと他系のファイル・アクセスを同じよう
(−行うことができるが、同様な方法でファイルの複写
を作ることができる。
As mentioned above, in this invention, the file allocation statement;
By making it possible to specify whether it is the local system or the other system, file access on the local system and file access on the other system can be done in the same way (-) without changing the content of the application program at all. You can make copies of files in a similar way.

すなわち、ファイル割当て文で自系を指定した場合は、
自系内でのファイルの複写となり、他系を指定した場合
は、計算機間のファイル転送となる。
In other words, if you specify the own system in a file allocation statement,
The file will be copied within the own system, and if another system is specified, the file will be transferred between computers.

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

以上のようにこの発明によれば、自系のファイル・アク
セスと他系のファイル慟アクセスが同一の適用業務プロ
グラムで行えるようになり、適用業務プログラムの応用
範囲が広がるという効果がある。また、自系ファイル・
アクセルを行っている適用業務プログラムは既に存在し
ており、このプログラムをそのまま他系ファイル・アク
セス用に使うことができるので、他系ファイルΦアクセ
ス用に新しくプログラムを作成する必要がなくなる。
As described above, according to the present invention, file access in the own system and file access in other systems can be performed by the same application program, which has the effect of widening the range of application of the application program. In addition, the own file
The application program that performs the accelerator already exists, and this program can be used as is for accessing files in other systems, so there is no need to create a new program for accessing files Φ in other systems.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は従来の方法を示すブロック図。 (1)はホスト計算機1.+21はホスト計算機2、I
3)。 (4)はそれぞれ通信制御装置、+51 、 +61は
それぞれオペレーティング・システム、+71 、 +
81はそれぞれ通信制御プログラム、(11)はファイ
ル割当て文、(12)はファイル・アクセス判定処理部
分、(13)、(14)はそれぞれ他系ファイル・アク
セス・インタフェース部分、(15)、(16)はそれ
ぞれ自系ファイル・アクセス処理プログラム、(17)
はファイル、(18)は通信経路。 尚、各図中同一符号は同−又は和尚部分を示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional method. (1) is host computer 1. +21 is host computer 2, I
3). (4) are communication control devices, +51 and +61 are operating systems, +71 and +, respectively.
81 are communication control programs, (11) are file allocation statements, (12) are file access determination processing parts, (13) and (14) are other system file access interface parts, (15) and (16), respectively. ) are their own file access processing programs, (17)
is a file, and (18) is a communication route. Note that the same reference numerals in each figure indicate the same or similar parts.

Claims (1)

【特許請求の範囲】 複数の計算機システムがネットワークによって互に接続
されており、上記複数の計算機システムのうちの第1の
計算機システムから、第1の計算機システムにとっては
他系である第2の計算機システムが管理するファイルを
アクセスする場合の他系ファイル・アクセスの処理方法
において、上記第1の計算機システムのオペレーティン
グ・システム内に、通信制御プログラム、ファイル・ア
クセス判定処理部分、他系ファイル・アクセス・インタ
フェース部分を設け、上記第2の計算機システムのオペ
レーティング・システム内に通信制御プログラム、他系
ファイル・アクセス・インタフェース部分、自系ファイ
ル・アクセス処理プログラムを設ける段階、 上記第1の計算機の適用業務プログラム内のファイル割
当て文に、当該ファイルが他系のファイルである場合は
そのことを指定する信号を挿入しておく段階、 上記適用業務プログラムがファイル・アクセス要求を出
したとき、上記ファイル・アクセス判定処理部分が、当
該ファイル割当て文に、当該ファイルが他系のファイル
であることを指定する信号が含まれているか否かを判定
し、上記信号が含まれていると判定した場合、上記第1
の計算機システムの側で、上記他系ファイル・アクセス
・インタフェース部分が当該ファイル・アクセス要求を
上記通信制御プログラムが理解できる形式に変換し、通
信制御装置及び通信経路を経て上記第2の計算機システ
ムへ伝送する段階、 上記第2の計算機システムの側で、上記通信制御プログ
ラムが受信したファイル・アクセス要求を、他系ファイ
ル・アクセス・インタフェース部分によって、自系ファ
イル・アクセス処理プログラムが理解し得る形式にして
、上記自系ファイル・アクセス処理プログラムへ伝える
段階、 上記自系ファイル・アクセス処理プログラムの処理によ
って上記第2計算機システムが管理するファイルから読
出した内容を上記第1の計算機システムへ伝送する段階
、 を備えたことを特徴とする他系ファイルアクセスの処理
方法。
[Claims] A plurality of computer systems are interconnected by a network, and a first computer system among the plurality of computer systems is connected to a second computer system that is a different system to the first computer system. In the method for processing other-system file access when accessing a file managed by the system, the operating system of the first computer system includes a communication control program, a file access determination processing section, and another-system file access processing section. a step of providing an interface part, and providing a communication control program, a foreign file access interface part, and a local file access processing program in the operating system of the second computer system; an application program of the first computer; When the above application program issues a file access request, the above file access judgment is performed. The processing part determines whether or not the file allocation statement includes a signal specifying that the file is a file of another system, and if it determines that the signal is included, the first
On the computer system side, the other-system file access interface part converts the file access request into a format that the communication control program can understand, and sends it to the second computer system via the communication control device and the communication path. In the step of transmitting, on the side of the second computer system, the file access request received by the communication control program is converted into a format that can be understood by the file access processing program of the own system, using the file access interface part of the other system. a step of transmitting the contents read from a file managed by the second computer system to the first computer system by the processing of the self-system file access processing program; A method for processing file access from other systems, characterized by comprising:
JP61115516A 1986-05-20 1986-05-20 Processing method for file access of other system Pending JPS62271166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61115516A JPS62271166A (en) 1986-05-20 1986-05-20 Processing method for file access of other system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61115516A JPS62271166A (en) 1986-05-20 1986-05-20 Processing method for file access of other system

Publications (1)

Publication Number Publication Date
JPS62271166A true JPS62271166A (en) 1987-11-25

Family

ID=14664457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61115516A Pending JPS62271166A (en) 1986-05-20 1986-05-20 Processing method for file access of other system

Country Status (1)

Country Link
JP (1) JPS62271166A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02122359A (en) * 1988-11-01 1990-05-10 Nec Corp Remote file access system
JPH03282731A (en) * 1990-03-30 1991-12-12 Sharp Corp Program processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02122359A (en) * 1988-11-01 1990-05-10 Nec Corp Remote file access system
JPH03282731A (en) * 1990-03-30 1991-12-12 Sharp Corp Program processor

Similar Documents

Publication Publication Date Title
US5642515A (en) Network server for local and remote resources
US4849877A (en) Virtual execution of programs on a multiprocessor system
US6112263A (en) Method for multiple independent processes controlling access to I/O devices in a computer system
JP2757961B2 (en) Apparatus and method for a data processing system in which a plurality of central processing units have an equal relationship
JPH0544693B2 (en)
JPH096706A (en) Loosely coupled computer system
JPH0522262B2 (en)
JP2002149592A (en) Pci bridge on network
JPH0516616B2 (en)
US5734918A (en) Computer system with an input/output processor which enables direct file transfers between a storage medium and a network
JPS62271166A (en) Processing method for file access of other system
JP2001333137A (en) Self-operating communication controller and self- operating communication control method
JPH03265945A (en) Data sharing system for operating systems of different types
JPS62121562A (en) Data communication system
JP3499938B2 (en) I / O device sharing system between multiple systems with different protocols
JPH0351938A (en) Host computer device
JPH0256664A (en) File distribution processing system
CA1287178C (en) Extended process for a multiprocessor system
JPS60191336A (en) Process starting system
JPH0228866A (en) Log-in switching system
JPS6263348A (en) Remote file copying system
JPH0258151A (en) Common bus system
JPH0683691A (en) File sharing system between systems
JPH032955A (en) Input/output request control system for computer network
JPS63229947A (en) Composite terminal