JPH09258991A - Remote program executing system - Google Patents

Remote program executing system

Info

Publication number
JPH09258991A
JPH09258991A JP8064731A JP6473196A JPH09258991A JP H09258991 A JPH09258991 A JP H09258991A JP 8064731 A JP8064731 A JP 8064731A JP 6473196 A JP6473196 A JP 6473196A JP H09258991 A JPH09258991 A JP H09258991A
Authority
JP
Japan
Prior art keywords
program
client
server
execution
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
JP8064731A
Other languages
Japanese (ja)
Inventor
Shigeo Kondo
茂生 近藤
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 JP8064731A priority Critical patent/JPH09258991A/en
Publication of JPH09258991A publication Critical patent/JPH09258991A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To make the execution of a remote program to be efficient. SOLUTION: A program execution request means 13 in a client gives the execution request of a target program 11 to a server whose load is the smallest through a load monitor means 15. An execution request reception means 16 in the server receives the execution request of the target program, receives the target program from the client and loads it on a memory. A remote execution library 18 executes file input/output for a data file 12 which is previously provided on the client.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はプログラム実行方式
に関し、特にネットワークを介して最適なサーバ上でプ
ログラムを実行させるリモート実行方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program execution system, and more particularly to a remote execution system for executing a program on an optimum server via a network.

【0002】[0002]

【従来の技術】従来、ネットワークを介して処理能力の
高い他のコンピュータ上でプログラムを実行させる場合
は、例えば公開公報「プログラム遠隔実行方式」(特開
平4−322359)に詳述されているように、プログ
ラム実行を要求された実行コンピュータが、目的のプロ
グラムおよびそれが入出力を行うデータファイルを資源
保持コンピュータからネットワークを介して全て実行ン
ピュータ上のディスク上にコピーしてから実行を行う方
式であった。
2. Description of the Related Art Conventionally, in the case of executing a program on another computer having a high processing capability via a network, it is described in detail in, for example, Japanese Unexamined Patent Publication No. 4-322359. In addition, the execution computer that is requested to execute the program copies the target program and the data files that it inputs / outputs from the resource holding computer to the disk on the execution computer via the network, and then executes the program. there were.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のリモー
トプログラム実行方式では、目的のプログラムおよびそ
れが入出力を行うファイルを、資源コンピュータから実
行させるコンピュータにおけるディスク上に全てコピー
しなければならないため、大きなデータファイルを扱う
ようなプログラムではディスク容量が圧迫される上、ネ
ットワークを介したコピー完了までに時間がかかり、シ
ステムの処理効率が低下するといった問題があった。
In the above-mentioned conventional remote program execution method, since the target program and the files to be input / output by the target computer must all be copied onto the disk in the computer executed by the resource computer, In a program that handles a large data file, there is a problem that the disk capacity is pressed down and it takes a long time to complete the copy via the network, which lowers the processing efficiency of the system.

【0004】[0004]

【課題を解決するための手段】第1の発明は、各コンピ
ュータがネットワークで接続された環境でクライアント
上にあるプログラムをサーバ上で実行させる場合のリモ
ートプログラム実行方式において、前記クライアントか
ら選択された前記サーバが、前記クライアントから転送
されたプログラムをメモリ上にロードし、該プログラム
のファイル入出力を前記クライアント上のデータファイ
ルを介して行うことを特徴とする。
According to a first aspect of the present invention, in a remote program execution method in which a computer executes a program on a client on a server in an environment in which each computer is connected via a network, the method is selected from the client. It is characterized in that the server loads the program transferred from the client onto a memory and performs file input / output of the program via a data file on the client.

【0005】また、第2の発明は、第1の発明における
前記クライアントが、最も負荷の小さい前記サーバを選
択することを特徴とする。
A second invention is characterized in that the client in the first invention selects the server having the smallest load.

【0006】さらに、第3の発明は、各コンピュータが
ネットワークで接続された環境でクライアント上にある
プログラムをサーバ上で実行させる場合のリモートプロ
グラム実行方式において、前記クライアントが目的プロ
グラムの実行要求を行うプログラム実行要求手段を具備
し、前記サーバは前記プログラムの実行要求を受けて前
記クライアントから目的プログラムを受け取りメモリ上
にロードする実行要求受付手段と、前記メモリ上の前記
目的プログラムがファイル入出力を要求した場合に前記
クライアント上に予め具備されたデータファイルに対し
てファイル入出力を実行するリモート実行用ライブラリ
とを具備することを特徴とする。
Further, a third aspect of the present invention is a remote program execution method in which a computer executes a program on a client on a server in an environment in which each computer is connected by a network, and the client makes an execution request of an object program. The server includes a program execution requesting means, the server receives an execution request of the program, receives an object program from the client and loads it onto a memory, and the object program on the memory requests a file input / output. In this case, a remote execution library for executing file input / output with respect to the data file previously provided on the client is provided.

【0007】最後に第4の発明は、第3の発明における
前記サーバが該サーバの負荷状態を監視する負荷監視手
段を備え、前記クライアントは該負荷監視手段を介して
最も負荷の小さい前記クライアントを選択し該クライア
ントに対して前記プロクラム実行要求を行うことを特徴
とする。
Finally, in a fourth invention, the server in the third invention comprises a load monitoring means for monitoring the load state of the server, and the client selects the client with the smallest load through the load monitoring means. It is characterized in that the program is selected and the program execution request is issued to the client.

【0008】[0008]

【発明の実施の形態】次に、本発明について図面を参照
して説明する。
Next, the present invention will be described with reference to the drawings.

【0009】図1は本発明の一実施例を示す構成図であ
る。本発明のリモートプログラム実行方式は、図1に示
すようにクアイアント側でユーザから起動され目的プロ
グラム11の実行要求をサーバに対して行うプログラム
実行要求手段13と、サーバの負荷状態を監視し、プロ
グラム実行要求手段16に負荷情報を通知する負荷監視
手段15と、クライアントからの実行要求を受け付け、
目的プログラム11の転送を受け取り、サーバ上のメモ
リに目的プログラム17をロードし、これとリモート実
行用ライブラリ18とをリンクして実行を行う実行要求
受付手段16と、目的プログラム17のファイル入出力
要求を受け取り、その要求をクライアントに送るリモー
ト実行用ライブラリ18と、クライアントでファイル入
出力要求を受け取りデータファイル12に対しファイル
入出力を行うファイル入出力受付手段14とを有する。
FIG. 1 is a block diagram showing an embodiment of the present invention. The remote program execution method of the present invention, as shown in FIG. 1, is a program execution request unit 13 which is activated by a user on the client side and requests the server to execute the target program 11. A load monitoring means 15 for notifying the execution request means 16 of load information, and an execution request from a client,
Execution request receiving means 16 for receiving the transfer of the target program 11, loading the target program 17 into the memory on the server, and linking the target program 17 with the remote execution library 18 for execution, and a file input / output request for the target program 17. And a file input / output receiving means 14 for receiving a file input / output request at the client and inputting / outputting the file to / from the data file 12.

【0010】次に、このように構成された本実施例のリ
モートプログラム実行方式の動作について説明する。図
2〜図4は本発明の動作を示す図である。
Next, the operation of the remote program execution system of the present embodiment thus constructed will be described. 2 to 4 are diagrams showing the operation of the present invention.

【0011】図2を参照すると、クライアントにおいて
ユーザ22がリモート実行させたい目的プログム21を
指定してプログラム実行要求手段23を起動する。プロ
グラム実行要求手段23はサーバの負荷を監視する負荷
監視手段24に問い合わせを行い、現在のサーバの負荷
情報を取得する。この時、問い合わせはブロードキャス
トで行い、ネットワーク上にリモート実行可能なサーバ
が複数存在する場合は各サーバの負荷情報を取得し、そ
の負荷情報と取得にかかった時間とを考慮し、リモート
実行させるために最も効率の良いサーバを選択する。た
だし、負荷の低いサーバが存在せずクライアントで処理
を実行させた方が効率が良いと判断した場合は、リモー
ト実行は行わずクライアント上で通常のプログラム実行
を行う。
Referring to FIG. 2, the user 22 in the client activates the program execution requesting means 23 by designating the target program 21 to be remotely executed. The program execution requesting unit 23 makes an inquiry to the load monitoring unit 24 that monitors the load on the server, and acquires the current load information on the server. At this time, the inquiry is made by broadcasting, and if there are multiple remotely executable servers on the network, the load information of each server is acquired, and the remote execution is performed in consideration of the load information and the time taken for the acquisition. Choose the most efficient server for. However, if it is judged that it is more efficient to execute the process by the client because there is no server with a low load, the remote program is not executed and the normal program is executed on the client.

【0012】プログラム実行要求手段23は最も実行効
率が良いと判断したサーバ上の実行要求受付手段25に
対しプログラムのリモート実行要求を行った後、目的プ
ログラム21を転送する。実行要求受付手段25はリモ
ート実行要求を受け、目的プログラム21を受信してサ
ーバ上のメモリにロードする。
The program execution requesting means 23 makes a remote execution request of the program to the execution request receiving means 25 on the server which is judged to have the highest execution efficiency, and then transfers the object program 21. The execution request receiving means 25 receives the remote execution request, receives the target program 21, and loads it into the memory on the server.

【0013】その後、図3に示すように、実行要求受付
手段31がリモート実行用ライブラリ32と目的プログ
ラム33をリンクしてサーバ上で実行する。
After that, as shown in FIG. 3, the execution request receiving means 31 links the remote execution library 32 and the object program 33 and executes them on the server.

【0014】次に図4に示すように、サーバ上の目的プ
ログラム44がファイル入出力要求を行うために、ope
n,close,read,write 等のファイル入出力コマンドを発
行するとリモート実行用ライブラリ43内のファイル入
出力に関する関数が呼ばれる。この関数はクライアント
上のファイル入出力受付手段42と通信を行い要求を通
知する。ファイル入出力受付手段42はこの要求に従
い、データファイル41に対してファイル入出力を行っ
た後、その結果をリモート実行用ライブラリ43に伝え
る。リモート実行用ライブラリ43はこの結果をファイ
ル入出力に関する関数呼出の結果として目的プログラム
44に伝える。
Next, as shown in FIG. 4, since the object program 44 on the server makes a file input / output request, ope
When a file input / output command such as n, close, read, write is issued, a function related to file input / output in the remote execution library 43 is called. This function communicates with the file input / output receiving means 42 on the client and notifies the request. According to this request, the file input / output receiving means 42 inputs / outputs the file to / from the data file 41, and then reports the result to the remote execution library 43. The remote execution library 43 transmits this result to the target program 44 as the result of the function call regarding the file input / output.

【0015】例えば、目的プログラムがデータファイル
に対してopenを行った場合は、リモート実行用ライブラ
リ内の関数openが呼び出され、これがクライアント上の
ファイル入出力受付手段と接続を行いコネクションを確
立し、open要求であることを表すフラグとデータファイ
ルの名前を伝える。要求を受けたクライアント上のファ
イル入出力受付手段は指定のデータファイルを実際にop
enし、その結果(成功かエラーか、エラーであればその
エラー番号)をサーバ上のリモート実行用ライブラリに
送信し、目的プログラムが呼び出したopenの戻り値とし
てそれを伝える。
For example, when the object program opens a data file, the function open in the remote execution library is called, which connects to the file input / output receiving means on the client to establish a connection, It conveys a flag that indicates an open request and the name of the data file. The file input / output reception means on the client that receives the request actually operates the specified data file.
en, send the result (success or error, or the error number if there is an error) to the remote execution library on the server, and notify it as the return value of open called by the target program.

【0016】目的プログラムがreadやwrite を行った場
合は、リモート実行用ライブラリ内の関数readまたはwr
ite が呼び出され、これがopenで確立したコネクション
を利用してクライアント上のファイル入出力受付手段に
要求を伝える。(write の要求の場合は、同時に書き込
みを行うデータも送信する。)要求を受けたクライアン
ト上のファイル入出力手段はデータファイルに対し実際
にreadまたはwrite を行い、その結果をサーバ上のリモ
ート実行用ライブラリに送信する。(readの要求の場合
は、同時に読み込んだデータも送信する。)リモート実
行用ライブラリは目的プログラムが呼び出したreadまた
はwrite の戻り値としてそれを伝える。
When the target program performs read or write, the function read or wr in the remote execution library is used.
ite is called, and this sends a request to the file input / output reception means on the client using the connection established by open. (In the case of a write request, the data to be written is also sent at the same time.) The file input / output means on the client that receives the request actually reads or writes the data file, and executes the result remotely on the server. Send to the library. (In the case of a read request, the read data is also sent at the same time.) The remote execution library transmits it as the read or write return value called by the target program.

【0017】目的プログラムがclose を行った場合は、
リモート実行用ライブラリ内関数close がopenで確立し
たファイル入出力受付手段とのコネクションを切断す
る。ファイル入出力受付手段はコネクション切断を認知
すると、実際にデータファイルをclose する。
When the object program closes,
The function close in the remote execution library closes the connection with the file input / output reception means established by open. When the file input / output reception means recognizes disconnection, it actually closes the data file.

【0018】これらの処理により、目的プログラム44
としては通常のファイル入出力の手順と何ら変更なく同
様の手続きでクライアント上のデータファイルに入出力
が可能となる。
By these processes, the target program 44
As a result, it is possible to input / output to / from the data file on the client by the same procedure as the normal file input / output procedure without any change.

【0019】尚、本実施例では、プログラム実行要求の
クライアントから実行プログラムをプログラム実行サー
バに転送するようにしたが、他の資源保持サーバを指定
して当該資源保持サーバ上の実行プログラムをプログラ
ム実行サーバに転送するようにしても良いのは当然であ
る。
In this embodiment, the execution program is transferred from the client of the program execution request to the program execution server, but another resource holding server is designated to execute the execution program on the resource holding server. Of course, it may be transferred to the server.

【0020】[0020]

【発明の効果】以上詳細に説明したように本発明のリモ
ートプログラム実行方式は、目的プログラムをプログラ
ム実行サーバに転送すると、サーバ上のプログラムがク
ライアント上の入出力ファイルを使用し、プログラム実
行を遂行するようにしたことにより、サーバ上のディス
ク容量を軽減できるとともに、ネットワークを介したフ
ァイルコピーが不要になる分、処理時間を短縮できると
いう効果がある。
As described in detail above, according to the remote program execution method of the present invention, when the target program is transferred to the program execution server, the program on the server uses the input / output file on the client to execute the program execution. By doing so, there is an effect that the disk capacity on the server can be reduced and the processing time can be shortened because file copying via the network becomes unnecessary.

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

【図1】本発明の一実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

【図2】サーバに対してリモート実行要求を行う処理を
示す説明図である。
FIG. 2 is an explanatory diagram showing a process of making a remote execution request to a server.

【図3】サーバ上で目的プログラムを実行する処理を示
す説明図である。
FIG. 3 is an explanatory diagram showing a process of executing a target program on a server.

【図4】目的プログラムがファイル入出力を行った場合
の処理を示す説明図である。
FIG. 4 is an explanatory diagram showing a process when a target program performs file input / output.

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

11 目的プログラム 12 データファイル 13 プログラム実行要求手段 14 ファイル入出力受付手段 15 負荷監視手段 16 実行要求受付手段 17 (サーバに転送された)目的プログラム 18 リモート実行用ライブラリ 21 目的プログラム 22 ユーザ 23 プログラム実行要求手段 24 負荷監視手段 25 実行要求受付手段 26 (サーバに転送された)目的プログラム 31 実行要求受付手段 32 リモート実行用ライブラリ 33 目的プログラム 41 データファイル 42 ファイル入出力受付手段 43 リモート実行用ライブラリ 44 目的プログラム 11 Target Program 12 Data File 13 Program Execution Requesting Means 14 File Input / Output Accepting Means 15 Load Monitoring Means 16 Execution Request Accepting Means 17 Target Program (Transferred to Server) 18 Remote Execution Library 21 Target Program 22 User 23 Program Execution Request Means 24 Load monitoring means 25 Execution request acceptance means 26 Object program (transferred to the server) 31 Execution request acceptance means 32 Remote execution library 33 Object program 41 Data file 42 File input / output acceptance means 43 Remote execution library 44 Object program

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 各コンピュータがネットワークで接続さ
れた環境でクライアント上にあるプログラムをサーバ上
で実行させる場合のリモートプログラム実行方式におい
て、前記クライアントから選択された前記サーバが、前
記クライアントから転送されたプログラムをメモリ上に
ロードし、該プログラムのファイル入出力を前記クライ
アント上のデータファイルを介して行うことを特徴とす
るリモートプログラム実行方式。
1. In a remote program execution method in which a program on a client is executed on a server in an environment in which each computer is connected to a network, the server selected from the client is transferred from the client. A remote program execution method, characterized in that a program is loaded on a memory and file input / output of the program is performed via a data file on the client.
【請求項2】 前記クライアントは、最も負荷の小さい
前記サーバを選択することを特徴とする請求項1記載の
リモートプログラム実行方式。
2. The remote program execution method according to claim 1, wherein the client selects the server having the smallest load.
【請求項3】 各コンピュータがネットワークで接続さ
れた環境でクライアント上にあるプログラムをサーバ上
で実行させる場合のリモートプログラム実行方式におい
て、前記クライアントが目的プログラムの実行要求を行
うプログラム実行要求手段を具備し、前記サーバは前記
プログラムの実行要求を受けて前記クライアントから目
的プログラムを受け取りメモリ上にロードする実行要求
受付手段と、前記メモリ上の前記目的プログラムがファ
イル入出力を要求した場合に前記クライアント上に予め
具備されたデータファイルに対してファイル入出力を実
行するリモート実行用ライブラリとを具備することを特
徴とするリモートプログラム実行方式。
3. A remote program execution method for executing a program on a client on a server in an environment in which each computer is connected to a network, wherein the client comprises program execution requesting means for requesting execution of a target program. The server receives the execution request of the program, receives the target program from the client and loads it on the memory, and an execution request receiving unit on the client when the target program on the memory requests file input / output. A remote program execution method comprising: a remote execution library for executing file input / output with respect to a data file preliminarily provided.
【請求項4】 前記サーバは該サーバの負荷状態を監視
する負荷監視手段を備え、前記クライアントは該負荷監
視手段を介して最も負荷の小さい前記クライアントを選
択し該クライアントに対して前記プロクラム実行要求を
行うことを特徴とする請求項3記載のリモートプログラ
ム実行方式。
4. The server comprises a load monitoring means for monitoring a load state of the server, the client selects the client having the smallest load through the load monitoring means and requests the client to execute the program. 4. The remote program execution method according to claim 3, wherein
JP8064731A 1996-03-21 1996-03-21 Remote program executing system Pending JPH09258991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8064731A JPH09258991A (en) 1996-03-21 1996-03-21 Remote program executing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8064731A JPH09258991A (en) 1996-03-21 1996-03-21 Remote program executing system

Publications (1)

Publication Number Publication Date
JPH09258991A true JPH09258991A (en) 1997-10-03

Family

ID=13266598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8064731A Pending JPH09258991A (en) 1996-03-21 1996-03-21 Remote program executing system

Country Status (1)

Country Link
JP (1) JPH09258991A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151816A (en) * 2009-02-20 2009-07-09 Nomura Research Institute Ltd Clustering system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151816A (en) * 2009-02-20 2009-07-09 Nomura Research Institute Ltd Clustering system

Similar Documents

Publication Publication Date Title
US8104043B2 (en) System and method for dynamic cooperative distributed execution of computer tasks without a centralized controller
US5890159A (en) Data transfer mechanism between databases using a separate pipe at each database
US7231461B2 (en) Synchronization of group state data when rejoining a member to a primary-backup group in a clustered computer system
JP3592721B2 (en) Refresh Agent for Backup Software
US7185030B2 (en) Storage system storing a file with multiple different formats and method thereof
US20090193061A1 (en) Computer system and automatic data backup method
JP4141875B2 (en) Recovery processing method, its execution system, and its processing program
US5941950A (en) Socket binding method in communication system using socket function
JPH0612348A (en) Software installation device
JP5040629B2 (en) Data migration program, data migration method, and data migration apparatus
JPH09258991A (en) Remote program executing system
JP3471203B2 (en) Network system
US8443061B2 (en) Data transmission method and communication control apparatus
JP2008011513A (en) System and method for pipelined dataflow document processing
JP2000010922A (en) Job start method and system for computer network and recording medium recording programmed job start method
US20050021641A1 (en) Program, method, apparatus and recording medium for supporting inquiries from server to operator
JP2000132447A (en) Remote file operation system
JP2812274B2 (en) Transaction load balancing system for loosely coupled multi-computer systems
JPH10289179A (en) File transfer method, file transfer controller and recording medium recording file transfer program
JP2004192515A (en) Document management system and document management server
JPH10320218A (en) Automatic starting method for cooperative job in data transfer processing
JPH086834A (en) System and method for file resource management
KR100308836B1 (en) How to initialize a multiprocessor system using a compressed program
Swanson et al. MVS/ESA coupled-systems considerations
JPH05158832A (en) Terminal software transfer system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981020