JPH0496168A - Remote execution system for program - Google Patents

Remote execution system for program

Info

Publication number
JPH0496168A
JPH0496168A JP20994790A JP20994790A JPH0496168A JP H0496168 A JPH0496168 A JP H0496168A JP 20994790 A JP20994790 A JP 20994790A JP 20994790 A JP20994790 A JP 20994790A JP H0496168 A JPH0496168 A JP H0496168A
Authority
JP
Japan
Prior art keywords
resource
computer
execution
program
remote
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
JP20994790A
Other languages
Japanese (ja)
Inventor
Akinori Ito
伊藤 晃徳
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 JP20994790A priority Critical patent/JPH0496168A/en
Publication of JPH0496168A publication Critical patent/JPH0496168A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent turn-around time remarkably increased due to mis-selection by deciding an execution computer so as to guarantee the maximum execution efficiency when the resources of a data file, a program file, and a subroutine library, etc., are scattered. CONSTITUTION:The execution computer decision means 14 of a request origin computer 1 receives a response for the status inquiry of each resource, and checks the attribute of returned resource when all the responses are normal. Also, when unmovable resource exists in one computer, the computer is decided as the execution computer. When no movable resource exists, the size of the resource is added on each of the computers 2, 3, and the computer with the maximum tabulated size is decided as the execution computer. Thereby, it is possible to prevent the turn-around time increasing due to the mis-selection.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ネットワークで接続されたコンピュータシス
テムにおけるプログラムの遠隔実行方式〔従来の技術〕 従来、この種のプログラムの遠隔実行方式においては、
遠隔実行要求時にプログラムを実行するコンピュータは
、利用者が指定したコンピュータか、予め構成情報等に
より決定されているコンピュータで実行を行なうように
なっている。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for remotely executing a program in a computer system connected via a network [Prior Art] Conventionally, in a method for remotely executing a program of this type,
The computer that executes the program at the time of a remote execution request is a computer designated by the user or a computer determined in advance based on configuration information or the like.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプログラムの遠隔実行方式では、遠隔実
行を行なうときに、実行されるプログラムやその必要と
する資源が複数のコンピュータの二次記憶上に存在する
と、プログラムを実行するコンピュータをどこにするか
によって、転送データ量が大きくなりターンアラウンド
タイムが非常に大きくなってしま・うことがあり、通信
媒体が低速の場合に特に大きな問題点となる。また、転
送データ量が等しい場合に、要求時点で、どのコンピュ
ータが最も負荷が低く、遠隔実行を高速に行えるかを判
断するこきも非常に困難であるという問題点を有してい
る。
In the conventional remote program execution method described above, when performing remote execution, if the program to be executed and the resources it requires exist on the secondary storage of multiple computers, it becomes difficult to decide which computer will execute the program. This can result in a large amount of transferred data and a very long turnaround time, which is a particularly big problem when the communication medium is slow. Another problem is that when the amount of data to be transferred is equal, it is very difficult to determine which computer has the lowest load at the time of the request and can perform remote execution at high speed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプログラムの遠隔実行方式は、利用者がプログ
ラムの遠隔実行を要求する要求元コンピュータと、プロ
グラムおよびプログラムを実行するために必要とするプ
ログラムファイル、データファイル、プリンタおよび入
力装置を含む資源を保有する複数の資源保持コンピュー
タとがネットワークで接続されているコンピュータシス
テムにおいて、要求元コンピュータ上に、プログラムの
遠隔実行要求を受付ける要求受付は手段と、要求元コン
ピュータ上に、プログラムの遠隔実行要求を受付ける要
求受付は手段と、資源保持コンピュータ群へ資源の属性
および資源の大きさを問い合わせる資源探索手段と、資
源保持コンピュータにその時点でのCPU使用率および
メモリ使用率を含む負荷状況を問合せる負荷状況収集手
段と、前記資源探索手段と負荷状況収集手段との結果か
らどのコンピュータ上で実行すれば良いかを判断する実
行コンピュータ判定手段と、決定された実行コンピュー
タに対してプログラム実行時に必要となる資源のリスト
とともにプログラムの遠隔実行を要求する遠隔実行要求
手段とを有し、各コンピュータ上に、実行コンピュータ
になったときに要求元コンピュータからプログラムの遠
隔実行指示を受付ける実行受付は手段と、前記遠隔実行
指示に記述されているプログラムおよび必要資源のリス
トのうち自コンピュータ上に存在しないものを他の資源
保持コンピュータに対して転送を依頼し、プログラムの
終了時に不要となった資源を解放し、変更のあった資源
を資源保持コンピュータに返送する遠隔資源管理手段と
、資源の収集完了後に要求されたプログラムを起動する
プログラム実行手段とを有し、資源保持コンピュータ上
に要求元コンピュータからのプログラムを含む資源の問
合わせを受けて、その資源の属性および大きさを回答す
る資源情報調査手段と、負荷状況の問合わせを受けて、
そのコンピュータのCPU使用率およびメモリ使用率等
の負荷状況を通知する負荷状況調査手段と、実行コンピ
ュータからのプログラムを含む資源の転送要求と資源の
返却指示とを受け付けて資源を実行コンピュータとの間
で転送する資源転送手段とを有することにより構成され
る。
In the remote program execution method of the present invention, a user requests a requesting computer for remote execution of a program, a program, and the resources necessary to execute the program, including program files, data files, printers, and input devices. In a computer system in which a plurality of resource holding computers are connected via a network, a request receiving means is provided on the requesting computer for accepting a request for remote execution of a program, and a means for accepting a request for remote execution of a program is placed on the requesting computer. There is a means for accepting requests, a resource search means for inquiring resource attributes and resource sizes from a group of resource holding computers, and a load status for inquiring the load situation including the CPU usage rate and memory usage rate at that time from the resource holding computers. a collection means; an execution computer determination means for determining on which computer the program should be executed based on the results of the resource search means and the load status collection means; and resources necessary for the determined execution computer when executing the program. and a remote execution request means for requesting remote execution of the program, and an execution reception means for accepting a remote execution instruction of the program from the requesting computer when the computer becomes an execution computer, and a remote execution request means for requesting remote execution of the program. Requests other resource-holding computers to transfer programs and required resource lists described in execution instructions that do not exist on the local computer, releases resources that are no longer needed when the program ends, and changes The computer includes remote resource management means for returning the resources that have been collected to the resource holding computer, and program execution means for starting the requested program after the resource collection is completed, and includes the program from the requesting computer on the resource holding computer. A resource information survey means that receives an inquiry about a resource and answers the attribute and size of the resource, and receives an inquiry about the load status,
A load status investigation means that notifies the load status such as the CPU usage rate and memory usage rate of the computer, and a load status investigation means that receives requests for transferring resources including programs and resource return instructions from the execution computer and transfers the resources to the execution computer. and resource transfer means for transferring resources.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例の構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.

第1図の実施例では、要求元コンピュータ1、資源保持
ンピュータ2および3がローカルエリアネットワーク4
により接続されており、実行コンピュータとなる資源保
持コンピュータ2に資源8と必要資源−時格納エリア6
とが接続されており、資源保持コンピュータ3にプログ
ラム格納ファイル5とデータファイルなどのプログラム
実行時に必要となる資源7とが接続されている。また、
要求元コンピュータ1は要求受付は手段11と資源探索
手段12と負荷状況収集手段13と実行コンピュータ判
定手段14と遠隔実行要求手段15とを持ち、資源保持
コンピュータ2は実行受付は手段21と遠隔資源管理手
段22.プログラム実行手段23と資源状況調査手段2
4と資源転送手段25と負荷状況調査手段26とを持ち
、資源保持コンピュータ3は資源状況調査手段31と資
源転送手段32と負荷状況調査手段33とを持つ構成と
なっている。
In the embodiment of FIG. 1, the requesting computer 1 and the resource holding computers 2 and 3 are connected to a local area network
The resource holding computer 2, which serves as the execution computer, is connected to the resource 8 and the required resource-time storage area 6.
The resource holding computer 3 is connected to a program storage file 5 and resources 7 such as data files required when executing the program. Also,
The request source computer 1 has a request reception means 11, a resource search means 12, a load situation collection means 13, an execution computer determination means 14, and a remote execution request means 15, and the resource holding computer 2 has an execution reception means 21 and a remote resource. Management means 22. Program execution means 23 and resource status investigation means 2
4, a resource transfer means 25, and a load situation investigation means 26, and the resource holding computer 3 has a resource situation investigation means 31, a resource transfer means 32, and a load situation investigation means 33.

なお、資源保持コンピュータ3および要求元コンピュー
タ1に実行受付は手段、遠隔資源管理手段、プログラム
実行手段、資源転送手段、資源状況調査手段、負荷状況
調査手段、必要資源−時格納エリアが存在するが、一部
を簡便のため省略しである。
Note that the resource holding computer 3 and the requesting computer 1 include an execution reception means, a remote resource management means, a program execution means, a resource transfer means, a resource status investigation means, a load status investigation means, and a required resource-time storage area. , some parts are omitted for convenience.

まず、利用者が要求元コンピュータ1の要求受付は手段
11にプログラムの名前とその所在地と、必要となる資
源の名前とその所在地のリストとを指定してプログラム
の遠隔実行を指示する。
First, the user receives a request from the requesting computer 1 by specifying the name of the program, its location, and a list of the names and locations of the necessary resources to the means 11, and instructs the remote execution of the program.

要求受付手段11は、資源探索手段12に利用者の指定
したプログラム、資源のリストを所在地とともに渡す。
The request accepting means 11 passes a list of programs and resources specified by the user to the resource searching means 12 along with their locations.

さらに、要求受付は手段11は、負荷状況収集手段13
にネットワーク上に接続されるコンピュータ群の負荷状
況の収集を依頼する。
Further, the request receiving means 11 is the load status collecting means 13.
request to collect the load status of a group of computers connected on the network.

資源探索手段12は、渡されたプログラム、資源のリス
トからその資源の所在するコンピュータ上の資源状況調
査手段に各資源の属性、状況、資源の大きさを問合せる
。本実施例では、資源保持コンピュータ2の資源状況調
査手段24に対して、必要となる資源8の名前を指定し
て資源の状況、サイズを問合わせ、資源保持コンピュー
タ3の資源状況調査手段31に対して、利用老防と実行
プログラムの名前と必要となる資源7の名前を指定して
その属性、状況、プログラムやデータのサイズを問合わ
せる。
The resource searching means 12 inquires of the resource status investigating means on the computer where the resource is located from the passed list of programs and resources about the attribute, status, and size of each resource. In this embodiment, the resource status investigating means 24 of the resource holding computer 2 is inquired about the resource status and size by specifying the name of the required resource 8, and the resource status investigating means 31 of the resource holding computer 3 is inquired about the resource status and size. In response, the user specifies the name of the program to be used, the name of the execution program, and the name of the required resource 7, and inquires about its attributes, status, and size of the program and data.

資源保持コンピュータ2および3のそれぞれの資源状況
調査手段24および31は指定されてきた名前のプログ
ラム、資源が存在するか調査し、指定されてきた利用者
名がプログラムや資源へのアクセス権を持っているか調
査する。さらに資源の状態を調査し、使用中でないこと
を確認する。
The resource status investigating means 24 and 31 of the resource holding computers 2 and 3 investigate whether a program or resource with the specified name exists, and determine whether the specified user name has access rights to the program or resource. Investigate whether Furthermore, check the status of the resource and confirm that it is not in use.

これらの調査において問題があった場合には、拒否の応
答を実行コンピュータ判定手段14に返却する。プログ
ラムおよび資源の状態に問題がなかった場合には、その
資源の属性および大きさを正常の応答に付加して、要求
元コンピュータ1の実行コンピュータ判定手段14に返
却する。
If there is a problem in these investigations, a rejection response is returned to the execution computer determination means 14. If there is no problem with the state of the program or resource, the attribute and size of the resource are added to a normal response and returned to the executing computer determining means 14 of the requesting computer 1.

要求元コンピュータの負荷状況収集手段13は、要求受
付は手段11からの指示にしたがいネットワーク上に接
続されるコンピュータの負荷状況を収集する。本実施例
では、資源保持コンピュータ2および3のそれぞれの負
荷状況調査手段16および33に対してブロードキャス
トで付加状況の調査を依頼する。さらに自要求元コンピ
ュータ1上の負荷状況も調査する。資源保持コンピュー
タ2および3のそれぞれの負荷状況調査手段26および
33では、自コンピュータのCPU性能、現時点でのC
PU使用率、メインメモリの空き容量を調査し、それを
要求元コンピュータ1の負荷状況収集手段13に通知す
る。要求元コンピュータ1の負荷状況収集手段13は、
負荷状況の収集が完了したら、実行コンピュータ判定手
段14にその旨通知する。
The load status collecting means 13 of the request source computer collects the load status of computers connected on the network according to instructions from the request receiving means 11. In this embodiment, the load status investigating means 16 and 33 of the resource holding computers 2 and 3 are requested to investigate the addition status by broadcast. Furthermore, the load status on the request source computer 1 is also investigated. The load status investigating means 26 and 33 of the resource holding computers 2 and 3 respectively check the CPU performance of their own computers and the current CPU performance.
The PU usage rate and free space of the main memory are investigated, and the load status collection means 13 of the requesting computer 1 is notified of the results. The load status collection means 13 of the request source computer 1 is
When the collection of the load status is completed, the executing computer determining means 14 is notified to that effect.

要求元コンピュータ1の実行コンピュータ判定手段14
は、各資源の状況問合わせに対する応答を受け、拒否の
応答が返ってきたら、利用者にその旨報告して遠隔実行
を中止する。全ての応答が正常であった場合は、返却さ
れてきた資源の属性を調査し、移動不可能な資源が存在
するか調べる。移動不可能な資源が二つのコンピュータ
に分散して存在する場合には、利用者にその旨報告し遠
隔実行を中止する。移動不可能な資源が一つのコンピュ
ータに存在する場合には、そのコンピュータを実行コン
ピュータと決定する。移動不可能な資源が存在しなけれ
ば資源の大きさを所在地(コンピュータ)ごとに加算し
、総計した大きさが最も大きいコンピュータを実行コン
ピュータと決定する。ただし一定の差分以上の優位性が
存在しない場合には、各コンピュータの負荷状況を調べ
、負荷状況の最も少ないコンピュータを実行コンピュー
タと決定する。
Executing computer determination means 14 of request source computer 1
receives responses to inquiries about the status of each resource, and if a rejection response is returned, it reports this to the user and cancels remote execution. If all responses are normal, check the attributes of the returned resources to see if there are any resources that cannot be moved. If non-movable resources are distributed across two computers, the user will be notified and remote execution will be stopped. If the immovable resource exists in one computer, that computer is determined to be the execution computer. If there are no immovable resources, the sizes of the resources are added up for each location (computer), and the computer with the largest total size is determined to be the execution computer. However, if there is no superiority beyond a certain difference, the load status of each computer is checked and the computer with the least load status is determined as the execution computer.

以下に、資源保持コンピュータ2が実行ンピュータと決
定された場合について説明する。
The case where the resource holding computer 2 is determined to be the execution computer will be described below.

実行コンピュータ判定手段14は、資源保持コンピュー
タ2で実行することを決定するとそれを遠隔実行要求手
段15に通知する。遠隔実行要求手段15は、実行コン
ピュータ判定手段14から通知された実行コンピュータ
の実行受付は手段21に対して、利用者の指定したプロ
グラムの名前と利用者の認証データと必要となる資源の
名前と所在地のリストとを指定してプログラム実行を指
示し、その応答を待つ。
When the execution computer determination means 14 determines that the resource holding computer 2 should execute, it notifies the remote execution request means 15 of the determination. The remote execution request means 15 accepts the execution of the execution computer notified from the execution computer determination means 14 by sending the name of the program specified by the user, the user's authentication data, and the name of the necessary resource to the means 21. Specify a list of locations, instruct the program to run, and wait for the response.

資源保持コンピュータ2の実行受付は手段21は、プロ
グラムの実行要求を遠隔実行要求手段13から受取ると
、指定されているプログラムを含む資源の名前と資源の
所在地とを調査する。資源の所在地が、資源保持コンピ
ュータ2自身のものはその資源の状態を調べる。資源の
所在地が資源保持コンピュータ2内に存在しないと指定
されていた場合は、遠隔資源管理手段22に利用者名と
資源の名前と所在地とを指定して収集を依頼する。遠隔
資源管理手段22は実行受付は手段21から遠隔資源の
収集依頼を受付けると、資源の収集を行うため、資源の
所在地として指定された資源保持コンピュータ3に利用
者名と資源の名前とを指定して資源の転送を依頼する。
When the execution acceptance means 21 of the resource holding computer 2 receives a program execution request from the remote execution request means 13, it investigates the name of the resource containing the specified program and the location of the resource. If the location of the resource is that of the resource holding computer 2 itself, the status of that resource is checked. If the location of the resource is specified as not existing in the resource holding computer 2, the remote resource management means 22 is requested to collect the resource by specifying the user name, resource name, and location. When the remote resource management means 22 receives a remote resource collection request from the execution reception means 21, it specifies the user name and resource name to the resource holding computer 3 designated as the location of the resource in order to collect the resource. request resource transfer.

資源保持コンピュータ3の資源転送手段32は、実行コ
ンピュータ2の遠隔資源管理手段22から資源の転送依
頼を受けると、その資源の状態および利用者に対するア
クセス権を調べる。資源のアクセス権および状態に問題
がなければ、資源を使用中状態にして資源の転送を開始
する。既に使用中であったり、アクセス権のない利用者
からの転送要求であったり、資源が移動不可能であった
場合には転送要求を拒否する。実行保持コンピュータ2
の遠隔資源管理手段22は、資源保持コンピュータ3の
資源転送手段32から転送されてきた資源を必要資源−
時格納エリア6に格納する。また、資源の転送が正常に
終了するか、拒否されるかした場合には実行受付は手段
21に正常終了か以上終了かを通知する。
When the resource transfer means 32 of the resource holding computer 3 receives a resource transfer request from the remote resource management means 22 of the execution computer 2, it checks the status of the resource and the access rights for the user. If there is no problem with the access rights and status of the resource, the resource is set to the in-use status and resource transfer is started. If the resource is already in use, the transfer request is from a user who does not have access rights, or the resource cannot be moved, the transfer request will be rejected. Execution holding computer 2
The remote resource management means 22 converts the resources transferred from the resource transfer means 32 of the resource holding computer 3 into necessary resources.
It is stored in the time storage area 6. Further, if the resource transfer ends normally or is rejected, the execution reception notifies the means 21 whether it ends normally or not.

実行受付は手段21は、全ての資源を正常に収集し終わ
るまで、遠隔資源管理手段22に資源の収集を要求する
。この過程で、資源の収集に失敗した場合は、その時点
で資源の収集を諦め、既に収集した資源の解放を遠隔資
源管理手段22に指示し、要求元コンピュータ1の遠隔
実行要求手段15に遠隔実行の失敗を通知する。全ての
資源の収集に成功したら、ブロウラム実行手段23にプ
ログラムの実行を指示する。プログラム実行手段23は
、収集した資源を格納した必要資源−時格納エリア6か
ら指定されたプログラムをロードし、必要となる資源を
必要資源−時格納エリア6と資源保持コンピュータ2上
に元から存在する資源とに割り当てて、プログラムを実
行する。
The execution acceptance means 21 requests the remote resource management means 22 to collect resources until all the resources have been successfully collected. In this process, if resource collection fails, the resource collection is given up at that point, the remote resource management means 22 is instructed to release the already collected resources, and the remote execution request means 15 of the requesting computer 1 is remotely Notify execution failure. When all the resources are successfully collected, the Browram execution means 23 is instructed to execute the program. The program execution means 23 loads the specified program from the necessary resource-time storage area 6 that stores the collected resources, and stores the necessary resources that originally exist in the necessary resource-time storage area 6 and the resource holding computer 2. The program is executed by allocating resources to the resources to be used.

プログラム実行手段23は、プログラムの実行が終了し
た時点で、実行受付は手段21に実行の終了を通知する
。実行受付は手段21はプログラムの実行の終了を受け
ると遠隔資源管理手段22に資源の解放を指示するとと
もに要求元コンピュータ1の遠隔実行要求手段15に遠
隔実行の終了を通知する。遠隔資源管理手段22は、資
源の解放指示を受けると必要資源−時格納エリア6に存
在する資源に対して、更新されなかった資源は解放する
とともに、資源保持コンピュータ3上の資源転送手段3
2に資源の使用完了を通知し、更新された資源は資源転
送手段32に返却する。
When the execution of the program is completed, the program execution means 23 notifies the execution acceptance means 21 of the end of execution. When the execution acceptance means 21 receives the end of the program execution, it instructs the remote resource management means 22 to release resources and also notifies the remote execution requesting means 15 of the requesting computer 1 of the end of the remote execution. Upon receiving the resource release instruction, the remote resource management means 22 releases the resources that have not been updated among the resources existing in the required resource-time storage area 6, and also releases the resources that have not been updated.
2 of the completion of resource use, and the updated resources are returned to the resource transfer means 32.

資源保持コンピュータ3の資源転送手段32は、資源の
使用完了通知を受けると、資源の使用中状態を解除する
。資源転送手段32は、資源の返却指示で返却されてき
た資源を元の格納位置に格納し、資源の転送が完了した
時点で資源の使用中状態を解除する。
When the resource transfer means 32 of the resource holding computer 3 receives the resource usage completion notification, it releases the resource from the in-use state. The resource transfer means 32 stores the resource returned in response to the resource return instruction in its original storage location, and releases the resource from the in-use state when the resource transfer is completed.

以上の実施例では、資源保持コンピュータ2が実行コン
ピュータとなったが、資源保持コンピュータ3や、要求
元コンピュータ1が実行コンピュータとなっても何ら問
題なく動作する。
In the above embodiment, the resource holding computer 2 is the execution computer, but the resource holding computer 3 or the requesting computer 1 can also function as the execution computer without any problem.

〔発明の効果〕 以上詳細に説明したように、プログラムの遠隔実行方式
は、プログラムを実行するときに必要となるデータファ
イル/プログラムファイル/サブルーチンライブラリ等
の資源が分散しているときに最大の実行効率を保証する
ように、実行コンピュータを決定することができるので
、従来の遠隔実行のように実行コンピュータの選択ミス
によりターンアラウンドタイムが膨大になってしまう恐
れがなく、プログラムの実行を行うことができる効果が
ある。特に、必要な資源がネットワーク上で移動できな
い場合には、その所在コンピュータを判定して自動的に
そのコンピュータ上でプログラムを実行を行ない、また
、全ての資源が移動可能である場合には、最も負荷の少
ないコンピュータでプログラムを実行するので、利用者
が資源の属性や実行すべきコンピュータを意識せずに遠
隔実行を依頼することができる効果もある。
[Effects of the Invention] As explained in detail above, the remote program execution method can achieve maximum execution when resources such as data files, program files, subroutine libraries, etc. required for program execution are distributed. Since the execution computer can be determined in such a way as to guarantee efficiency, the program can be executed without the risk of an enormous turnaround time due to a mistake in selecting the execution computer, unlike in conventional remote execution. There is an effect that can be done. In particular, when a necessary resource cannot be moved on the network, the computer where the resource is located is determined and the program is automatically executed on that computer. Since the program is executed on a computer with a low load, the user can request remote execution without being aware of the attributes of the resource or the computer on which the program should be executed.

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

第1図は本発明の一実施例の構成図である。 1・・・要求元コンピュータ、2,3・・・資源保持コ
ンピュータ、4・・・ローカルエリアネットワーク、5
・・・プログラム格納ファイル、6・・・必要資源−時
格納エリア、7,8・・・資源、11・・・要求受付は
手段、12・・・資源探索手段、13・・・負荷状況収
集手段、14・・・実行コンピュータ判定手段、15・
・・遠隔実行要求手段、21・・・実行受付は手段、2
2・・・遠隔資源管理手段、23・・・プログラム実行
手段、24.31・・・資源状況調査手段、25.32
・・・資源転送手段、26.33・・・負荷状況調査手
段。
FIG. 1 is a block diagram of an embodiment of the present invention. 1... Request source computer, 2, 3... Resource holding computer, 4... Local area network, 5
...Program storage file, 6.Required resources-time storage area, 7, 8..Resources, 11..Request reception means, 12.Resource search means, 13.Load status collection. Means, 14... Execution computer determination means, 15.
...Remote execution request means, 21... Execution reception means, 2
2... Remote resource management means, 23... Program execution means, 24.31... Resource status investigation means, 25.32
...Resource transfer means, 26.33...Load situation investigation means.

Claims (1)

【特許請求の範囲】[Claims]  利用者がプログラムの遠隔実行を要求する要求元コン
ピュータと、プログラムおよびプログラムを実行するた
めに必要とするプログラムファイル、データファイル、
プリンタおよび入力装置を含む資源を保有する複数の資
源保持コンピュータとがネットワークで接続されている
コンピュータシステムにおいて、要求元コンピュータ上
に、プログラムの遠隔実行要求を受付ける要求受付け手
段と、要求元コンピュータ上に、プログラムの遠隔実行
要求を受付ける要求受付け手段と、資源保持コンピュー
タ群へ資源の属性および資源の大きさを問い合わせる資
源探索手段と、資源保持コンピュータにその時点でのC
PU使用率およびメモリ使用率を含む負荷状況を問合せ
る負荷状況収集手段と、前記資源探索手段と負荷状況収
集手段との結果からどのコンピュータ上で実行すれば良
いかを判断する実行コンピュータ判定手段と、決定され
た実行コンピュータに対してプログラム実行時に必要と
なる資源のリストとともにプログラムの遠隔実行を要求
する遠隔実行要求手段とを有し、各コンピュータ上に、
実行コンピュータになったときに要求元コンピュータか
らプログラムの遠隔実行指示を受付ける実行受付け手段
と、前記遠隔実行指示に記述されているプログラムおよ
び必要資源のリストのうち自コンピュータ上に存在しな
いものを他の資源保持コンピュータに対して転送を依頼
し、プログラムの終了時に不要となった資源を解放し、
変更のあった資源を資源保持コンピュータに返送する遠
隔資源管理手段と、資源の収集完了後に要求されたプロ
グラムを起動するプログラム実行手段とを有し、資源保
持コンピュータ上に要求元コンピュータからのプログラ
ムを含む資源の問合わせを受けて、その資源の属性およ
び大きさを回答する資源情報調査手段と、負荷状況の問
合わせを受けて、そのコンピュータのCPU使用率およ
びメモリ使用率等の負荷状況を通知する負荷状況調査手
段と、実行コンピュータからのプログラムを含む資源の
転送要求と資源の返却指示とを受け付けて資源を実行コ
ンピュータとの間で転送する資源転送手段とを有するこ
とを特徴とするプログラムの遠隔実行方式。
A requesting computer from which a user requests remote execution of a program, the program, and the program files, data files, and files necessary to execute the program.
In a computer system in which a plurality of resource holding computers having resources including a printer and an input device are connected via a network, a request receiving means for accepting a request for remote execution of a program is provided on the requesting computer, and a request receiving means is provided on the requesting computer. , a request receiving means for accepting requests for remote execution of a program, a resource searching means for inquiring resource attributes and resource sizes from a group of resource holding computers, and a request receiving means for receiving requests for remote execution of programs;
load status collection means for inquiring about load status including PU usage rate and memory usage rate; execution computer determination means for determining on which computer the execution should be executed based on the results of the resource search means and the load status collection means; remote execution requesting means for requesting the determined execution computer to remotely execute the program together with a list of resources required when executing the program, and on each computer,
Execution accepting means accepts a remote program execution instruction from a requesting computer when the computer becomes an execution computer; Requests the resource holding computer to transfer, releases resources that are no longer needed when the program ends,
It has a remote resource management means for returning changed resources to the resource holding computer, and a program execution means for starting the requested program after resource collection is completed, and the program from the requesting computer is executed on the resource holding computer. A resource information investigation means that receives an inquiry about the included resources and answers the attributes and size of the resource, and receives an inquiry about the load status and reports the load status such as the CPU usage rate and memory usage rate of the computer. and a resource transfer means that receives a request to transfer a resource including a program and an instruction to return the resource from an execution computer and transfers the resource to and from the execution computer. Remote execution method.
JP20994790A 1990-08-08 1990-08-08 Remote execution system for program Pending JPH0496168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20994790A JPH0496168A (en) 1990-08-08 1990-08-08 Remote execution system for program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20994790A JPH0496168A (en) 1990-08-08 1990-08-08 Remote execution system for program

Publications (1)

Publication Number Publication Date
JPH0496168A true JPH0496168A (en) 1992-03-27

Family

ID=16581303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20994790A Pending JPH0496168A (en) 1990-08-08 1990-08-08 Remote execution system for program

Country Status (1)

Country Link
JP (1) JPH0496168A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0830471A (en) * 1994-07-14 1996-02-02 Hitachi Ltd Execution processor change system for job
JP2007102666A (en) * 2005-10-07 2007-04-19 Dainippon Printing Co Ltd Parallel processing system, server, processing terminal device, parallel processing method, program and recording medium
US7392288B2 (en) 2001-03-15 2008-06-24 Sony Corporation Information processing apparatus, information processing method, information exchanging method, recording medium, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0830471A (en) * 1994-07-14 1996-02-02 Hitachi Ltd Execution processor change system for job
US7392288B2 (en) 2001-03-15 2008-06-24 Sony Corporation Information processing apparatus, information processing method, information exchanging method, recording medium, and program
JP2007102666A (en) * 2005-10-07 2007-04-19 Dainippon Printing Co Ltd Parallel processing system, server, processing terminal device, parallel processing method, program and recording medium

Similar Documents

Publication Publication Date Title
US7107323B2 (en) System and method of file distribution for a computer system in which partial files are arranged according to various allocation rules
US5913213A (en) Lingering locks for replicated data objects
US5437029A (en) Path name resolution method providing fixed speed of file accessing in computer network
EP1762936A1 (en) Grid computing system, information processing apparatus, job execution request generating apparatus, control method, program and recording medium
KR101700313B1 (en) Instance host configuration
Hac A distributed algorithm for performance improvement through file replication, file migration, and process migration
US20080320053A1 (en) Data management method for accessing data storage area based on characteristic of stored data
EP1580654A2 (en) Storage system
WO2006100752A1 (en) Distributed processing management device, distributed processing management method, and distributed processing management program
JP2008140120A (en) Calculation resource management program, calculation resource management device and distributed processing system
US7512680B2 (en) System monitoring method
Mateescu Quality of service on the grid via metascheduling with resource co-scheduling and co-reservation
JP2005338985A (en) Method and system for managing storage area
US20030009601A1 (en) Program execution method in an environment of a plurality of computers
JPH08221372A (en) Free resource management device in distributed processing system
JPH0496168A (en) Remote execution system for program
JPH04322359A (en) Program remote execution system
US7039707B2 (en) Disk subsystem, computer system, storage managing method and program
JPH03206545A (en) Computer system
US5062046A (en) Multiple processor system having a correspondence table for transferring processing control between instruction processors
JP3688471B2 (en) Agent system, information processing method, and recording medium recording information processing software
JP5031538B2 (en) Data distribution method, data distribution program, and parallel database system
JPH03237852A (en) Automatic test system for exchange software
JPH09114684A (en) Job distribution method
JPH02287753A (en) Job execution system selection system