JPH10124432A - Client server system - Google Patents

Client server system

Info

Publication number
JPH10124432A
JPH10124432A JP29761796A JP29761796A JPH10124432A JP H10124432 A JPH10124432 A JP H10124432A JP 29761796 A JP29761796 A JP 29761796A JP 29761796 A JP29761796 A JP 29761796A JP H10124432 A JPH10124432 A JP H10124432A
Authority
JP
Japan
Prior art keywords
execution
server
program module
client
program
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.)
Granted
Application number
JP29761796A
Other languages
Japanese (ja)
Other versions
JP3003596B2 (en
Inventor
Keiki Asakura
敬喜 朝倉
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 JP29761796A priority Critical patent/JP3003596B2/en
Publication of JPH10124432A publication Critical patent/JPH10124432A/en
Application granted granted Critical
Publication of JP3003596B2 publication Critical patent/JP3003596B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a client server system which can grasp at an optional time the state of a mobile program module that moves in a network and is executed by one or plural information processors and also can perform the control of discontinuation, etc. SOLUTION: A server 30 includes a state table holding means 70 which holds the name and the state (under execution, under discontinuation, end of execution, movement, etc.) of a program module. A program execution means 50 registers the execution state of the program module to the means 70 via a state table management means 60. When a request is received from another machine for confirmation of the execution state of the program module, the execution state is acquired from the means 70. When other servers 35 and 36 are operating, the execution state of the program module is confirmed to a moving destination server and the answer of this server is sent back to a client. The execution state of the program module is confirmed against a discontinuation request, and an execution discontinuation instruction is sent to the server which is executing the program module. Then, the execution of the program module is discontinued.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、クライアントサー
バシステムに関し、特に、移動型プログラムモジュール
を用いるクライアントサーバシステムに関する。
The present invention relates to a client-server system, and more particularly, to a client-server system using a mobile program module.

【0002】[0002]

【従来の技術】クライアントサーバシステムにおいて、
サーバへ命令を発行するだけでなく、サーバ上で動作す
るプログラムモジュールをクライアント側からアップロ
ードし、動作した結果をクライアントが受け取るシステ
ムにおいては、クライアントから発行されネットワーク
上を自由に移動して情報を収集する、あるいは処理を実
行する「Worm(ワーム)」と呼ばれる移動型プログ
ラムモジュールや、複数のサーバを移動して一つのタス
クを達成するエージェントが用いられている。
2. Description of the Related Art In a client server system,
In a system that not only issues commands to the server, but also uploads program modules that operate on the server from the client side and receives the results of the operation, the client issues the commands and moves freely over the network to collect information. For example, a mobile program module called a "worm" that executes or executes a process, or an agent that moves a plurality of servers to accomplish one task is used.

【0003】例えば特開平7−152699号公報に提
案されているシステムでは、プロセスの移動をサーバが
決定している。同公報には、ネットワークに接続された
コンピュータシステムがその負荷状況を検出し、負荷量
が所定値を超えている場合プロセスを他のコンピュータ
システムに移動すべく移動要求を出力し、負荷量の小さ
な他のコンピュータシステムは移動要求に応じる旨を通
知し、負荷量の大きなコンピュータシステムは移動許可
の通知を受けてその通知元のコンピュータシステムに対
してプロセスの移動を行うようにしたシステムが記載さ
れている。
For example, in a system proposed in Japanese Patent Application Laid-Open No. Hei 7-152699, a server determines the movement of a process. According to the publication, a computer system connected to a network detects the load situation, and outputs a move request to move a process to another computer system when the load amount exceeds a predetermined value. A system is described in which another computer system notifies that it will respond to a move request, and a computer system with a large load receives a move permission notification and moves a process to the computer system of the notification source. I have.

【0004】またIEEE Personal Communications Decem
ber 1995に掲載されている論文(“The Use of Network
-Based Migrating User Agents for Personal Communic
ation Services”)(文献1という)では、利用者が端
末とともに移動すると、接続先サーバが変更され、結果
として、利用者のプログラムモジュール(プロセス)が
移動する、ようにしたシステムが提案されている。
[0004] IEEE Personal Communications Decem
A paper published in ber 1995 (“The Use of Network
-Based Migrating User Agents for Personal Communic
ation Services ”) (referred to as Reference 1) proposes a system in which when a user moves with a terminal, a connection destination server is changed, and as a result, a user's program module (process) moves. .

【0005】さらに特開平4−294655号公報に
は、電子メールシステムの電子メール受信側における電
子メールの状態(受信済み、閲覧済み等)を送信側から
参照できるようにした構成が提案されている。
Further, Japanese Patent Application Laid-Open No. 4-294655 proposes a configuration in which the state of an electronic mail (received, viewed, etc.) on the electronic mail receiving side of the electronic mail system can be referred to from the transmitting side. .

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記し
た従来の技術は下記記載の問題点を有している。
However, the above-mentioned prior art has the following problems.

【0007】(1)第1の問題点は、一度実行してしま
った移動型プログラムモジュールは、必要がなくなって
も実行されたままで、無駄なプロセスが存在することに
なる、ということである。
(1) The first problem is that once executed, the mobile program module remains executed even if it is no longer needed, and there is a useless process.

【0008】その理由は、上記従来技術においては、プ
ログラムモジュールの移動性、非同期性のために、クラ
イアント側から実行中、移動中のWormやエージェン
トに対して、アクセスする手段、例えば実行状況の確認
や実行中止を行う手段を具備していない、ためである。
[0008] The reason is that in the above-mentioned prior art, because of the mobility and asynchronousness of the program module, a means for accessing the running or moving Worm or the agent from the client side, for example, checking the execution status This is because there is no means for stopping the execution.

【0009】(2)第2の問題点は、サーバの状況に応
じてクライアントが動作を変更し、システム全体として
効率のよい動作(一定の負荷状態)にすることができな
い、ということである。またユーザのネットワーク上の
プログラムモジュールへの信頼性が低いという問題点も
ある。
(2) The second problem is that the client changes the operation in accordance with the status of the server, and cannot operate efficiently (a constant load state) as the whole system. Another problem is that the reliability of the program module on the user's network is low.

【0010】その理由は、移動型プログラムが、どこで
何を実行しているか、という実行状況を確かめる手段を
具備していない、ためである。
[0010] The reason is that the mobile program does not have means for checking the execution status of where and what is being executed.

【0011】(3)第3の問題点は、上記特開平4−2
94655号公報においては、電子メールの受信者が受
信した電子メールを他人に転送した場合、転送先におけ
る電子メールの状態を、最初の電子メール送信者から確
認することができない、ということである。
(3) The third problem is the above-mentioned Japanese Patent Laid-Open No.
According to Japanese Patent No. 94655, when an e-mail recipient transfers an e-mail received to another person, the state of the e-mail at the transfer destination cannot be confirmed from the first e-mail sender.

【0012】その理由は、上記特開平4−294655
号公報においては、電子メールの転送についての考慮が
なされていず、発信メール管理テーブルを次から次へと
たどる機構が具備されていない、ためである。
The reason is described in the above-mentioned Japanese Patent Application Laid-Open No. 4-294655.
This is because the publication does not consider the transfer of e-mail and does not have a mechanism for tracing the outgoing mail management table from one to the next.

【0013】したがって、本発明は、上記事情に鑑みて
なされたものであって、その目的は、クライアント側か
ら実行中、移動中のWormやエージェントに対して例
えばその実行状況の確認や中止等のアクセスを行うこと
を可能としたクライアントサーバシステムを提供するこ
とにある。
Accordingly, the present invention has been made in view of the above circumstances, and has as its object to check the execution status of a running worm or agent from a client side, for example, to confirm or cancel the execution status. An object of the present invention is to provide a client-server system capable of performing access.

【0014】本発明の他の目的は、移動型プログラムが
どこで何を実行しているかという実行状況を確かめるこ
とを可能としたクライアントサーバシステムを提供する
ことにある。
Another object of the present invention is to provide a client-server system capable of confirming the execution status of where and what a mobile program is executing.

【0015】本発明のさらに他の目的は、複数の端末間
を移動するプログラムモジュール等を追跡することを可
能としたクライアントサーバシステムを提供することに
ある。
Still another object of the present invention is to provide a client server system capable of tracking a program module or the like moving between a plurality of terminals.

【0016】[0016]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、利用者からの入力を受け付け、利用者へ
必要な情報を出力する入出力手段と、前記入出力手段か
らの入力に基づき、実行すべきプログラムモジュールを
選択し、実行順を決定してネットワークに接続される他
の情報処理装置に依頼するクライアントと、前記ネット
ワークに接続される他の情報処理装置から依頼されたプ
ログラムモジュールの実行を行い実行結果を返却するサ
ーバと、を備えてなるクライアントサーバシステムにお
いて、前記サーバが、前記ネットワークを介して受け取
ったメッセージの内容を判別して、自装置の所定の手段
に振り分けるとともに、自装置のデータを前記ネットワ
ークに接続された適切な情報処理装置へ送信するネット
ワークアクセス手段と、前記ネットワークを介して他の
情報処理装置から送出されたプログラムモジュールを実
行するプログラムモジュール実行手段と、プログラムの
実行状況を保持する実行状況テーブル保持手段と、前記
実行状況テーブル保持手段を管理する実行状況テーブル
管理手段と、を備え、前記プログラムモジュールの実行
状況を確認可能とした、ことを特徴とする。
In order to achieve the above object, the present invention provides an input / output means for receiving an input from a user and outputting necessary information to the user, and an input / output means for inputting the information from the input / output means. A client that selects a program module to be executed based on the information processing device, determines an execution order, and requests another information processing device connected to the network, and a program module requested by another information processing device connected to the network And a server that returns the execution result of the execution, the server determines the contents of the message received via the network, and distributes the message to a predetermined means of its own device, Network access means for transmitting data of its own device to an appropriate information processing device connected to the network Program module executing means for executing a program module transmitted from another information processing apparatus via the network, execution status table holding means for holding an execution status of a program, and execution for managing the execution status table holding means And a status table management means, wherein the execution status of the program module can be checked.

【0017】[0017]

【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明は、その好ましい実施の形態におい
て、利用者からの入力を受け付け、利用者へ必要な情報
を出力する入出力手段(図1の10)と、入出力手段
(図1の10)からの入力に基づき、実行すべきプログ
ラムモジュールを選択し、実行順を決定してネットワー
クに接続されるサーバ(図1の30)に依頼するクライ
アント(図1の20)と、ネットワークに接続されるク
ライアント(図1の20)から依頼されたプログラムモ
ジュールの実行を行い実行結果を返却するサーバ(図1
の30、31)と、を備え、サーバ(図1の30)は、
ネットワークを介して受け取ったメッセージの内容を判
別して、自装置の所定の手段に振り分けるとともに、自
装置のデータを前記ネットワークに接続された適切なサ
ーバへ送信するネットワークアクセス手段(図1の4
0)と、ネットワークを介して他の装置から送出された
プログラムモジュールを実行するプログラムモジュール
実行手段(図1の50)と、プログラムの実行状況を保
持する状況テーブル保持手段(図1の70)と、実行状
況テーブル保持手段を管理する状況テーブル管理手段
(図1の60)と、を備え、サーバにおける移動型プロ
グラムモジュールの実行状況の確認、及び実行中止のア
クセス制御を可能としたものである。
Embodiments of the present invention will be described below. In a preferred embodiment of the present invention, an input / output means (10 in FIG. 1) for receiving an input from a user and outputting necessary information to the user, and an input / output means (10 in FIG. 1). A client (20 in FIG. 1) that selects a program module to be executed based on the input, determines an execution order, and requests a server (30 in FIG. 1) connected to the network, and a client (20 in FIG. 1) A server that executes the program module requested from 20) in FIG. 1 and returns the execution result (FIG. 1)
The server (30 in FIG. 1) includes:
Network access means (4 in FIG. 1) which determines the contents of the message received via the network, distributes the message to a predetermined means of its own device, and transmits the data of its own device to an appropriate server connected to the network.
0), program module execution means (50 in FIG. 1) for executing a program module transmitted from another device via the network, and status table holding means (70 in FIG. 1) for holding the execution status of the program. And a status table management means (60 in FIG. 1) for managing the execution status table holding means, which enables the execution status of the mobile program module in the server to be confirmed and the access control to stop the execution.

【0018】より詳細には、状況テーブル保持手段(図
1の70)は、移動型プログラムモジュールの実況状況
を保持するもので、移動型プログラムモジュール名、実
行状況(実行中、停止中、実行完了)、移動状況(移動
の有無、移動先)を保持する。
More specifically, the status table holding means (70 in FIG. 1) holds the actual status of the mobile program module, and includes the mobile program module name, the execution status (running, stopped, execution completed). ), And the movement status (whether or not to move, the destination).

【0019】また、プログラム実行手段(図1の50)
は、移動型プログラムモジュールの実行状況を状況テー
ブル管理手段(図1の60)を介して状況テーブル保持
手段(図1の70)に登録する。
Also, program execution means (50 in FIG. 1)
Registers the execution status of the mobile program module in the status table holding means (70 in FIG. 1) via the status table management means (60 in FIG. 1).

【0020】そしてネットワークアクセス手段(図1の
40)は、クライアント(図1の20)からの実行状況
確認要求、停止要求を受け付け、それぞれ処理を行う。
The network access means (40 in FIG. 1) receives the execution status confirmation request and the stop request from the client (20 in FIG. 1) and performs the respective processes.

【0021】クライアント(図1の20)から実行状況
の確認依頼がネットワークを介してサーバのネットワー
クアクセス手段(図1の40)に到着した場合、状況テ
ーブル保持手段(図1の70)から実行状況を獲得す
る。
When a request for confirming the execution status from the client (20 in FIG. 1) arrives at the network access means (40 in FIG. 1) of the server via the network, the execution status is confirmed from the status table holding means (70 in FIG. 1). To win.

【0022】状況テーブル保持手段の実行状況が、実行
完了、移動あり、の場合は、他のサーバにおいて、プロ
グラムモジュールの実行動作しているので、移動先サー
バに実行状況を確認し、その回答をクライアント(図1
の20)へ返す。
If the execution status of the status table holding means is “execution completed” or “moved”, the execution status of the program module is being executed in another server. Client (Figure 1
To 20).

【0023】クライアント(図1の20)から停止要求
がきた場合には、実行状況確認を行った後、該当する移
動型プログラムモジュールを実行しているサーバへ実行
中止命令を送り、該サーバにおいて移動型プログラムモ
ジュールの実行を停止させる。
When a stop request is received from the client (20 in FIG. 1), after confirming the execution status, an execution stop command is sent to the server executing the corresponding mobile program module, and the server stops moving. Stop execution of type program module.

【0024】[0024]

【実施例】上記した本発明の実施の形態について更に詳
細に説明すべく、本発明の実施の例について図面を参照
して以下に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention;

【0025】図1は、本発明の一実施例に係るクライア
ントサーバシステムの構成を示したものである。
FIG. 1 shows a configuration of a client server system according to one embodiment of the present invention.

【0026】図1を参照すると、本実施例は、クライア
ント20と、クライアント20のための入出力手段10
からなるクライアント部と、複数のサーバ#1(3
0)、#2〜#n(35〜36、まとめて31で示す)
と、から構成されている。
Referring to FIG. 1, this embodiment comprises a client 20 and an input / output means 10 for the client 20.
And a plurality of servers # 1 (3
0), # 2 to #n (35 to 36, collectively indicated by 31)
And is composed of

【0027】サーバ30は、ネットワークアクセス手段
40と、プログラム実行手段50と、状況テーブル管理
手段60と、状況テーブル保持手段70と、サーバリス
ト保持手段80と、を備えている。
The server 30 includes a network access unit 40, a program execution unit 50, a status table management unit 60, a status table holding unit 70, and a server list holding unit 80.

【0028】入出力手段10は、サーバ30とのデータ
の授受を行うクライアント20と接続され、ユーザから
の命令をクライアント20を介してサーバ30へ伝え、
サーバからの命令に対する結果を、クライアント20を
介して受け取り、ユーザに提示する。
The input / output means 10 is connected to a client 20 for transmitting and receiving data to and from the server 30, and transmits a command from a user to the server 30 via the client 20.
The result for the command from the server is received via the client 20 and presented to the user.

【0029】またクライアント20は、ネットワーク上
で実行されるプログラムモジュールを保管する。またプ
ログラムモジュールの実行サーバ名が予めわかっている
場合に、プログラムモジュールに、それが実行されるサ
ーバ名を記述しておく。
The client 20 stores program modules to be executed on the network. If the execution server name of the program module is known in advance, the server name on which the execution is executed is described in the program module.

【0030】さらに、各サーバ#1〜#nは、実行した
プログラムモジュールに対して、サーバ名を付加してゆ
く。
Further, each of the servers # 1 to #n adds a server name to the executed program module.

【0031】サーバ30のネットワークアクセス手段4
0は、ネットワークを介してクライアント20、他のサ
ーバ31とのデータの授受を行う。さらに、ネットワー
クアクセス手段40は、クライアント20、及び他のサ
ーバ31からのメッセージは状況テーブル管理手段60
へ伝達し、クライアント20からのプログラムモジュー
ルはプログラム実行手段50へ送る。
Network access means 4 of server 30
No. 0 exchanges data with the client 20 and another server 31 via the network. Further, the network access means 40 sends messages from the client 20 and the other server 31 to the status table management means 60.
And the program module from the client 20 is sent to the program execution means 50.

【0032】プログラム実行手段50は、ネットワーク
アクセス手段40を介して入手したプログラムモジュー
ルを実行するとともに、ネットワークアクセス手段40
から実行停止命令を受け取ったときには、プログラムモ
ジュールの実行を停止する。そしてプログラムモジュー
ルの実行状況を状況テーブル管理手段60へ送る。
The program execution means 50 executes the program module obtained through the network access means 40, and executes the program module.
When the execution stop instruction is received from, the execution of the program module is stopped. Then, the execution status of the program module is sent to the status table management means 60.

【0033】状況テーブル管理手段60は、ネットワー
クアクセス手段40から受け取った命令を解釈し、該当
するデータを状況テーブル保持手段70から獲得し、ネ
ットワークアクセス手段40へ渡す。また、状況テーブ
ル管理手段60は、プログラム実行手段50から、プロ
グラムモジュールの実行状況を受け取り、状況テーブル
保持手段70を更新する。
The status table management means 60 interprets the command received from the network access means 40, obtains the corresponding data from the status table holding means 70, and passes the data to the network access means 40. The status table management means 60 receives the execution status of the program module from the program execution means 50 and updates the status table holding means 70.

【0034】状況テーブル保持手段70は、各プログラ
ムモジュールの実行状況を保持するデータベースであ
る。
The status table holding means 70 is a database for holding the execution status of each program module.

【0035】サーバリスト保持手段80は、サーバ30
と同様の機構が装備されておりプログラムモジュールを
転送することが可能とされるサーバ名の一覧を保持して
いる。
The server list holding means 80 stores the server 30
And a list of server names that are capable of transferring program modules.

【0036】次に図1を参照して、本実施例の動作につ
いて説明する。
Next, the operation of this embodiment will be described with reference to FIG.

【0037】ユーザが入出力手段10からクライアント
20へ移動型プログラム起動命令(11)を発行する
と、クライアント20は移動型プログラムモジュールを
ネットワークアクセス手段40へ転送する(21)。
When the user issues a mobile program start command (11) from the input / output means 10 to the client 20, the client 20 transfers the mobile program module to the network access means 40 (21).

【0038】ネットワークアクセス手段40は、移動型
プログラムモジュールをプログラム実行手段50へ渡す
(41)。
The network access means 40 transfers the mobile program module to the program execution means 50 (41).

【0039】プログラム実行手段50は、プログラムモ
ジュールを実行して処理を行うとともに、状況テーブル
管理手段60へプログラム状況51を伝える。
The program executing means 50 executes the program module to perform the processing, and transmits the program status 51 to the status table managing means 60.

【0040】図2に、プログラム状況51の一例を示
す。プログラムモジュール名201(図2では「calc2
2.exe」)と、プログラムモジュールをロードしたクラ
イアント名202(図2では「クライアントA」)と、
その時点で実行している場所と実行状況203(図2で
は「実行中」)と、から構成されている。図2は、「ク
ライアントAからのプログラムモジュールcalc22.exeが
サーバ#1で実行中である」ことを示している。
FIG. 2 shows an example of the program status 51. The program module name 201 (“calc2
2.exe ”), the client name 202 (“ Client A ”in FIG. 2) that loaded the program module,
It is composed of a place currently being executed and an execution status 203 ("in execution" in FIG. 2). FIG. 2 shows that “the program module calc22.exe from the client A is being executed on the server # 1”.

【0041】状況テーブル管理手段60は、受け取った
プログラム状況51を状況データ61として、状況テー
ブル保持手段70へ格納する。状況データ61の内容
は、プログラム状況51の内容と同一である。
The status table management means 60 stores the received program status 51 as status data 61 in the status table holding means 70. The content of the status data 61 is the same as the content of the program status 51.

【0042】図3に、状況テーブル保持手段70の内容
の一例を示す。状況テーブル保持手段70は、複数のク
ライアントからのプログラムモジュールの状況を保持す
る。図3は、状況テーブル保持手段70が、クライアン
トAからのcalc22.exeに関する状況301と、クライア
ントBからのcalc23.exeに関する状況302を保持して
いることを示している。状況の種類としては、「実行
中」、「実行完了」、「完全実行完了」、「停止中」、
「中止」等がある。
FIG. 3 shows an example of the contents of the situation table holding means 70. The status table holding unit 70 holds the status of a program module from a plurality of clients. FIG. 3 shows that the status table holding unit 70 holds a status 301 related to calc22.exe from the client A and a status 302 related to calc23.exe from the client B. The status types are "Running", "Execution completed", "Complete execution", "Stopping",
"Cancel" and the like.

【0043】プログラム実行手段50は、プログラムモ
ジュールの実行状況が変化(例えば実行完了、実行中止
等)したら、その都度、状況テーブル管理手段60に状
況51を伝える。
The program execution means 50 notifies the status table management means 60 of the status 51 each time the execution status of the program module changes (for example, execution completion, execution stop, etc.).

【0044】プログラム実行手段50において、プログ
ラムモジュールの実行が完了すると、プログラムモジュ
ールと実行結果を、ネットワークアクセス手段に渡す
(52)。
When the execution of the program module is completed in the program execution means 50, the program module and the execution result are transferred to the network access means (52).

【0045】プログラムモジュールから他のサーバへ移
動する必要があることが判明した場合には、プログラム
実行手段50は、移動先を、プログラムモジュールから
獲得し、移動先を、その時点でのプログラム状況(「移
動中」)として、状況テーブル管理手段60を介して状
況テーブル保持手段70へ格納する。
If it is determined that the program module needs to be moved from the program module to another server, the program execution means 50 acquires the destination from the program module, and determines the destination in the current program status ( As “moving”), it is stored in the situation table holding means 70 via the situation table management means 60.

【0046】移動するプログラムモジュールは、ネット
ワークアクセス手段40から他のサーバ31の一つに転
送される。図1に示す例では、サーバ#2(35)に転
送されたものとする(44)。プログラムモジュールの
転送時に、サーバ30での実行結果が付加される。以
下、プログラムモジュールという場合、プログラムモジ
ュールに実行結果が付加されているものとする。
The moving program module is transferred from the network access means 40 to one of the other servers 31. In the example shown in FIG. 1, it is assumed that the data is transferred to the server # 2 (35) (44). At the time of transfer of the program module, an execution result in the server 30 is added. Hereinafter, when a program module is referred to, it is assumed that an execution result is added to the program module.

【0047】プログラムモジュールを受け取ったサーバ
#2(35)は、サーバ#2(35)における、ネット
ワークアクセス手段がプログラムモジュールを受け取っ
てから、他のサーバへ転送するまでの上記の一連の流れ
を繰り返し、最終的にサーバ#n(36)へ転送し(3
2)、ここでプログラムモジュールの実行が完了したも
のとすると、サーバ#n(36)は、クライアント20
にプログラムモジュールの実行結果33を渡すととも
に、最初にアクセスされたサーバ30に対して「完全実
行完了」の通知34を行う。
The server # 2 (35) that has received the program module repeats the above-described series of flows in the server # 2 (35) from the reception of the program module by the network access means to the transfer to another server. Is finally transferred to the server #n (36) (3
2) Assuming that the execution of the program module has been completed, the server #n (36)
The execution result 33 of the program module is passed to the server 30, and a notification 34 of “complete execution completed” is given to the server 30 accessed first.

【0048】「完全実行完了」の通知34を受け取った
サーバ30のネットワークアクセス手段40は、状況テ
ーブル保持手段70に、その状況を、状況データ61と
して渡す。
The network access unit 40 of the server 30 that has received the notification 34 of “complete execution completion” passes the status to the status table holding unit 70 as status data 61.

【0049】図4、図5を参照して、本実施例におけ
る、プログラムモジュール移動と通知の一連の流れを説
明する。
Referring to FIG. 4 and FIG. 5, a series of flow of program module movement and notification in this embodiment will be described.

【0050】クライアント#1において、実行依頼する
プログラムモジュールを選択し(図5では、calc22.ex
e)、そのプログラムモジュールの移動先、移動順(図
4では、サーバ#1→サーバ#2→サーバ#3→サーバ
#4の順とされている)がプログラムモジュールに付加
されている場合である。
In the client # 1, a program module to be requested to execute is selected (in FIG. 5, calc22.ex
e), the destination of the program module, and the order of movement (in FIG. 4, the order of server # 1 → server # 2 → server # 3 → server # 4) is added to the program module. .

【0051】このプログラムモジュールをサーバ#1に
渡して実行依頼する(図4の401)。このときのサー
バ#1の状況テーブル保持手段70の内容を、図5の5
01に示す。図5の501に示したサーバ#1の状況テ
ーブル保持手段70の内容は、図2に示した内容と同じ
である。
The program module is handed over to the server # 1 for execution (401 in FIG. 4). At this time, the contents of the status table holding means 70 of the server # 1 are set to 5 in FIG.
01. The contents of the status table holding means 70 of the server # 1 shown by 501 in FIG. 5 are the same as the contents shown in FIG.

【0052】サーバ#1にて、プログラムモジュールの
実行が完了すると、サーバ#1の状況テーブル保持手段
70は、図5の502に示すように、サーバ#1で実行
が完了したという情報(サーバ#1:実行完了)が設定
される。
When the execution of the program module is completed in the server # 1, the status table holding means 70 of the server # 1 outputs information indicating that the execution has been completed in the server # 1 (server # 1), as indicated by 502 in FIG. 1: execution completed) is set.

【0053】次にサーバ#2にプログラムモジュールが
転送され(図4の402)、サーバ#2で実行される。
このときのサーバ#2の状況テーブル保持手段70の内
容を図5の503に示す。状況テーブル保持手段70に
は、その時点で実行している場所と実行状況として、
「サーバ#2:実行中」すなわちサーバ#2でプログラ
ムモジュールが実行中である状況が追加される。
Next, the program module is transferred to the server # 2 (402 in FIG. 4) and executed by the server # 2.
The contents of the status table holding means 70 of the server # 2 at this time are shown by 503 in FIG. In the status table holding means 70, the location and the execution status at the time are
"Server # 2: running", that is, a situation in which a program module is running on server # 2 is added.

【0054】サーバ#2でのプログラムモジュールの実
行が完了すると、実行完了通知をサーバ#1に対して送
り(図4の403)、プログラムモジュールをサーバ#
3に送る(図4の404)。
When the execution of the program module in the server # 2 is completed, an execution completion notice is sent to the server # 1 (403 in FIG. 4), and the program module is transferred to the server # 2.
3 (404 in FIG. 4).

【0055】サーバ#2から実行完了通知を受け取った
サーバ#1の状況テーブル保持手段70の内容を504
に示す。サーバ#1の状況テーブル保持手段70には、
サーバ#2での実行完了の旨の状況が設定されている。
When the execution completion notification is received from the server # 2, the contents of the status table holding means 70 of the server # 1 are stored in the status table 504.
Shown in In the status table holding means 70 of the server # 1,
The status indicating the completion of the execution in the server # 2 is set.

【0056】そして、サーバ#3でプログラムモジュー
ルが実行され、実行が完了すると、サーバ#1へ完全実
行完了通知を送り(図4の405)、さらにクライアン
ト#1に対して、プログラムモジュールの結果を返却す
る(図4の406)。サーバ#3から実行完了通知を受
け取ったサーバ#1の状況テーブル保持手段70の内容
を図5の504に示す。図5の504に示すように、サ
ーバ#1の状況テーブル保持手段70は、プログラムモ
ジュールcalc22.exeの実行が完全に完了したことを示し
ている。
Then, the server # 3 executes the program module. When the execution is completed, a complete execution completion notification is sent to the server # 1 (405 in FIG. 4), and the result of the program module is sent to the client # 1. It is returned (406 in FIG. 4). The contents of the status table holding means 70 of the server # 1 that has received the execution completion notification from the server # 3 are shown at 504 in FIG. As indicated by reference numeral 504 in FIG. 5, the status table holding unit 70 of the server # 1 indicates that the execution of the program module calc22.exe has been completed.

【0057】次に、一つのサーバがプログラムモジュー
ルを受け取ってから完了処理をおこなうまで一連の流れ
を、図6の流れ図を参照して説明する。
Next, a series of flows from when one server receives the program module to when the completion processing is performed will be described with reference to the flowchart of FIG.

【0058】プログラムモジュールを受け取ると(ステ
ップ601)、クライアントからのプログラムモジュー
ルかサーバからのものであるか否かを確認する(ステッ
プ602)。
When a program module is received (step 601), it is checked whether the program module is from a client or a server (step 602).

【0059】クライアントからのプログラムモジュール
の場合(ステップ602のY参照)、プログラムモジュ
ール名、クライアント名を用いて状況テーブル保持手段
を更新する(ステップ603)。更新の一例は、図2に
示したとおりである。
In the case of a program module from the client (see Y in step 602), the status table holding means is updated using the program module name and the client name (step 603). An example of the update is as shown in FIG.

【0060】次に受け取ったプログラムモジュールを実
行し(ステップ604)、実行が完了したら(ステップ
605のY参照)、状況テーブル保持手段に実行完了情
報を書き込む(ステップ606)。
Next, the received program module is executed (step 604), and when the execution is completed (see Y in step 605), the execution completion information is written into the status table holding means (step 606).

【0061】プログラムモジュールにも実行記録として
サーバ名を記録し、プログラムモジュールから次の転送
先を獲得し(ステップ607)、獲得できなかった場合
には(ステップ608のN参照)、クライアントへ結果
を返却し(ステップ609)、終了する。
The server name is also recorded as an execution record in the program module, and the next transfer destination is obtained from the program module (step 607). If it cannot be obtained (N in step 608), the result is sent to the client. Return (step 609) and end.

【0062】次の転送先が獲得できた場合(ステップ6
08のY参照)、そのプログラムモジュールを転送先へ
転送し(ステップ610)、終了する。
When the next transfer destination can be obtained (step 6)
The program module is transferred to the transfer destination (step 610), and the process ends.

【0063】他のサーバから転送されたプログラムモジ
ュールの場合(ステップ602のN参照)、一番初め
に、このプログラムモジュールが実行されたサーバ名で
ある開始サーバ名をプログラムモジュールから獲得し
(ステップ620)、開始サーバへプログラムモジュー
ルの実行を行っている報告を行い(「実行中」メッセー
ジを渡す)(ステップ621)、プログラムモジュール
の実行を行う(ステップ622)。
In the case of a program module transferred from another server (N in step 602), first, a start server name which is the name of the server on which this program module was executed is obtained from the program module (step 620). ), The execution of the program module is reported to the start server ("executing" message is passed) (step 621), and the program module is executed (step 622).

【0064】実行が完了したら(ステップ623)、プ
ログラムモジュールから次の転送先を獲得する(ステッ
プ624)。次の転送先が獲得できなかった場合(ステ
ップ625のN参照)、開始サーバへ完全実行完了通知
を行い(ステップ626)、クライアントへ結果を返却
し(ステップ627)、終了する。
When the execution is completed (step 623), the next transfer destination is obtained from the program module (step 624). If the next transfer destination cannot be obtained (N in step 625), a complete execution completion notification is sent to the start server (step 626), the result is returned to the client (step 627), and the process ends.

【0065】次の転送先が獲得できた場合(ステップ6
25のY参照)、開始サーバへ実行完了メッセージを通
知し(ステップ628)、そのプログラムモジュールを
転送先へ転送し(ステップ610)、終了する。
When the next transfer destination has been acquired (step 6)
25, the start server is notified of the execution completion message (step 628), the program module is transferred to the transfer destination (step 610), and the process ends.

【0066】次に、図1を参照して、クライアント20
から実行状況確認メッセージがきた場合の動作を説明す
る。
Next, referring to FIG.
The operation when the execution status confirmation message is received from will be described.

【0067】入出力手段10を介して入力された実行状
況確認命令(11)は、クライアント20を介してネッ
トワークアクセス手段40に渡される(21)。
The execution status confirmation command (11) input via the input / output means 10 is passed to the network access means 40 via the client 20 (21).

【0068】ネットワークアクセス手段40は、状況管
理テーブル管理手段60に該当するプログラムモジュー
ルの実行状況の検索依頼を行う(42)。
The network access unit 40 requests the status management table management unit 60 to search for the execution status of the program module corresponding to the status management table management unit 60 (42).

【0069】状況管理テーブル60は、状況テーブル保
持手段70から該当するプログラムモジュールの実行状
況を獲得し(71)、これを、ネットワークアクセス手
段に伝える(62)。さらにネットワークアクセス手段
40は、実行状況を、クライアント20に伝え(4
3)、これを入出力手段10が獲得して(22)、表示
する。
The status management table 60 acquires the execution status of the corresponding program module from the status table holding means 70 (71), and transmits this to the network access means (62). Further, the network access means 40 informs the client 20 of the execution status (4
3), this is obtained by the input / output means 10 (22) and displayed.

【0070】状況テーブル保持手段70に実行状況が記
録されていない場合には、以下の方法で移動先を調べ
る。
If the execution status is not recorded in the status table holding means 70, the destination is checked by the following method.

【0071】(1)同一モジュールの過去の移動先を状
況テーブル保持手段70から検索し、過去移動回数の多
いサーバへ順番に実行状況を問い合わせる。
(1) The past destination of the same module is searched from the status table holding means 70, and the execution status is sequentially inquired to the servers having the largest number of past moves.

【0072】(2)その結果すべてのサーバに実行状況
問い合わせを行っても移動先が不明である場合には、状
況テーブル保持手段に記述されているすべての記録から
移動回数の多いサーバへ順番にモジュールの探索依頼を
行う。
(2) As a result, if the destination is unknown even if the execution status is inquired to all the servers, all the records described in the status table holding means are sequentially transferred to the server having the largest number of times of movement. Request module search.

【0073】(3)探索依頼を受け取ったサーバは、上
記(1)の方法を用いて、移動有無を問い合わせるが、
すべてのサーバに対して移動有無問い合わせを行っても
移動先が不明の場合は、探索依頼は行わず、依頼元サー
バへ不明通知を送る。
(3) The server that has received the search request makes an inquiry about the presence or absence of movement using the method (1).
If the destination is unknown even if all the servers are inquired about the presence or absence of the movement, a search request is not made and an unknown notification is sent to the requesting server.

【0074】(4)すべてのサーバから不明通知を受け
取った場合は、サーバリスト保持手段80に登録されて
いるすべてのサーバに対して移動有無を問い合わせる。
(4) When an unknown notification is received from all servers, an inquiry is made to all the servers registered in the server list holding means 80 as to whether or not the server has moved.

【0075】サーバリスト80の一例を図7に示す。1
行に、1つのサーバの名前が格納されている。図7で
は、「ServerA」、「ServerB」、「ob
p」、「iten」の4つのサーバが記述されている。
FIG. 7 shows an example of the server list 80. 1
The row stores the name of one server. In FIG. 7, “ServerA”, “ServerB”, “ob
Four servers “p” and “iten” are described.

【0076】サーバリスト保持手段80からネットワー
クアクセス手段40へ送られるサーバリスト81は同一
の内容である。
The server list 81 sent from the server list holding means 80 to the network access means 40 has the same contents.

【0077】次に、図1を参照して、サーバ30がクラ
イアント20から実行停止依頼を受け取った場合の動作
を説明する。
Next, an operation when the server 30 receives an execution stop request from the client 20 will be described with reference to FIG.

【0078】入出力手段10を介して入力された実行停
止依頼(11)は、クライアント20を介してサーバ3
0のネットワークアクセス手段40に渡される(2
1)。
The execution stop request (11) input through the input / output means 10 is transmitted to the server 3 via the client 20.
0 to the network access means 40 (2
1).

【0079】ネットワークアクセス手段40は実行状況
確認を行った後、サーバが発見されたら該当するプログ
ラムモジュールを実行しているサーバへ実行中止依頼を
送り、該サーバにおけるプログラムモジュールの実行を
停止させるとともに、サーバ30へ実行中止を伝え、サ
ーバ30の状況テーブル保持手段70の状況を、「実行
中止」にする。
After confirming the execution status, the network access means 40 sends an execution stop request to the server executing the corresponding program module when the server is found, and stops the execution of the program module in the server. The server 30 is notified of the execution stop, and the status of the status table holding unit 70 of the server 30 is set to “execution stop”.

【0080】サーバ30は、その結果をクライアント2
0に送り、入出力手段10がそれを表示する。
The server 30 sends the result to the client 2
0, and the input / output means 10 displays it.

【0081】一方、プログラムモジュールを実行してい
るサーバを発見できなかったときは、失敗結果をクライ
アント20に送り、入出力手段10がそれを表示する。
On the other hand, if the server executing the program module cannot be found, a failure result is sent to the client 20, and the input / output means 10 displays it.

【0082】次に、図1を参照して、サーバ30がクラ
イアント20から実行停止メッセージを受け取った場合
の動作を説明する。
Next, an operation when the server 30 receives an execution stop message from the client 20 will be described with reference to FIG.

【0083】入出力手段10を介して入力された実行停
止命令(11)は、クライアント20を介してサーバ3
0のネットワークアクセス手段40に渡される(2
1)。
The execution stop command (11) input via the input / output means 10 is transmitted to the server 3 via the client 20.
0 to the network access means 40 (2
1).

【0084】サーバ30のネットワークアクセス手段4
0は、自サーバに対して実行状況確認メッセージを送
る。
Network access means 4 of server 30
0 sends an execution status confirmation message to the server itself.

【0085】前記した方法で、該当するプログラムモジ
ュールが実行されているサーバが特定できた場合、かつ
それが自サーバであった場合、プログラム実行手段50
に実行停止命令を送り(41)、実行を停止させ、結果
をクライアント20へ伝える(43)。
When the server on which the corresponding program module is executed can be identified by the above-described method, and when the server is the own server, the program execution means 50
(41), the execution is stopped, and the result is transmitted to the client 20 (43).

【0086】自サーバでない場合は、サーバ30は、該
当するプログラムモジュールが実行されているサーバへ
実行停止命令を送る。該当するプログラムモジュールが
実行されているサーバが特定できなかった場合には、サ
ーバ30は、クライアント20に失敗通知を送り(4
3)、入出力手段10はこれを表示する。
If the server is not the server itself, the server 30 sends an execution stop command to the server on which the corresponding program module is being executed. If the server on which the corresponding program module is executed cannot be identified, the server 30 sends a failure notification to the client 20 (4
3), the input / output means 10 displays this.

【0087】次に、図1を参照して、サーバが実行停止
命令メッセージを受け取った場合の動作を説明する。
Next, an operation when the server receives the execution stop instruction message will be described with reference to FIG.

【0088】ネットワークアクセス手段40が実行停止
命令メッセージを受け取った場合プログラムモジュール
実行手段50へ実行停止命令を送り実行を停止させる。
When the network access means 40 receives the execution stop instruction message, it sends an execution stop instruction to the program module execution means 50 to stop the execution.

【0089】サーバが依頼メッセージ(実行状況確認、
実行停止、実行停止命令)を受け取ってからの動作を、
図8の流れ図を参照して以下に説明する。
The server sends a request message (execution status confirmation,
Execution stop, execution stop instruction),
This will be described below with reference to the flowchart of FIG.

【0090】サーバのネットワークアクセス手段40が
メッセージを受け取る(ステップ801)。
The server's network access means 40 receives the message (step 801).

【0091】受け取ったメッセージが、実行確認メッセ
ージであった場合(ステップ802のY参照)、状況テ
ーブル保持手段70から実行状況を確認する対象である
プログラムモジュールの現在の実行状況を検索する(ス
テップ803)。
If the received message is an execution confirmation message (see Y in step 802), the current execution status of the program module whose execution status is to be checked is searched from the status table holding unit 70 (step 803). ).

【0092】該当するプログラムモジュール名が状況テ
ーブル保持手段70に存在し、かつその状況が「完全実
行完了」でないい場合(ステップ804のY参照)、実
行状況をメッセージ送信元へ返却し(ステップ80
9)、処理を終了する。
If the corresponding program module name exists in the status table holding unit 70 and the status is not “complete execution completed” (see Y in step 804), the execution status is returned to the message transmission source (step 804). 80
9), end the processing.

【0093】該当するプログラムモジュール名が状況テ
ーブル保持手段70に存在しない場合(ステップ804
のN参照)、状況テーブル保持手段70から、過去に実
行が完全に完了した該当するプログラムモジュールが、
どのサーバで実行されているかを検索する(ステップ8
05)。
When the corresponding program module name does not exist in the status table holding means 70 (step 804)
From the status table holding means 70, the corresponding program module whose execution has been completely completed in the past is
Search for which server is running (Step 8
05).

【0094】該当するプログラムモジュールが存在して
いた場合(ステップ806のY参照)、プログラムモジ
ュールの検索結果から、実行されている回数の多い順番
に、サーバへ実行状況の確認を行う(ステップ80
7)。
If the corresponding program module exists (see Y in step 806), the execution status is checked with the server in the descending order of the number of executions from the search result of the program module (step 80).
7).

【0095】確認を行ったサーバから実行状況が返却さ
れたら(ステップ808のY参照)、実行状況を依頼元
へ返却し(ステップ809)、処理を終了する。
When the execution status is returned from the server that has performed the confirmation (see Y in step 808), the execution status is returned to the request source (step 809), and the process is terminated.

【0096】該当するプログラムモジュールが存在しな
い場合(ステップ806のN参照)、及び、確認を行っ
たどのサーバからも実行状況が返却されない場合には
(ステップ808のN参照)、サーバリスト保持手段8
0に保持されている各サーバに対して実行状況確認を行
う(ステップ810)。
If the corresponding program module does not exist (see N in step 806), and if no execution status is returned from any of the confirmed servers (see N in step 808), the server list holding means 8
The execution status of each server held at 0 is checked (step 810).

【0097】確認を行ったサーバから実行状況が返却さ
れたら(ステップ811のY参照)、その実行状況を依
頼元へ返却し(ステップ809)、処理を終了する。
When the execution status is returned from the server that has performed the confirmation (see Y in step 811), the execution status is returned to the requestor (step 809), and the process is terminated.

【0098】一方、確認を行ったどのサーバからも実行
状況が返却されない場合は(ステップ811のN参
照)、「実行状況不明」を返却し(ステップ812)、
処理を終了する。
On the other hand, if the execution status is not returned from any of the confirmed servers (N in step 811), “execution status unknown” is returned (step 812).
The process ends.

【0099】実行状況を、メッセージ送信元に返却する
場合(ステップ809)に、確実性を持たせる場合に
は、実行状況に記されているサーバに対して、本当に実
行されているかどうか確認する必要がある。
When the execution status is returned to the message sender (step 809), if certainty is to be provided, it is necessary to check whether the server described in the execution status is actually executed. There is.

【0100】確認した結果、実行されていないことがわ
かった場合(すでに当該サーバで実行が完了してしまっ
ている場合には)、ステップ804のN以下の処理が行
われる。
As a result of the check, if it is found that the execution has not been performed (if the execution has already been completed in the server), the processing of step 804 and below is performed.

【0101】さらに、ステップ802のメッセージの判
定処理において実行状況確認メッセージでなかった場
合、ステップ820の判定に移り、実行停止メッセージ
であった場合(ステップ820のY参照)、自サーバへ
該当するプログラムモジュールの実行状況確認を行う
(ステップ821)。
Further, if the message is not an execution status confirmation message in the message determination processing in step 802, the process proceeds to step 820, and if the message is an execution stop message (see Y in step 820), the corresponding program is sent to its own server. The execution status of the module is checked (step 821).

【0102】該当するプログラムモジュールを実行して
いるサーバと、その実行状況が特定され(ステップ82
2のY参照)、該サーバが自サーバであった場合(ステ
ップ824のY参照)、プログラムモジュール実行手段
50を介してプログラムを停止し、停止成功通知を返却
し(ステップ827)、処理を終了する。
The server executing the corresponding program module and its execution status are specified (step 82).
If the server is its own server (see Y in step 824), the program is stopped via the program module executing means 50, a stop success notification is returned (step 827), and the process ends. I do.

【0103】該当するプログラムモジュールを実行して
いるサーバが、自サーバでない場合(ステップ824の
N参照)、該当するプログラムモジュールを実行してい
るサーバに対して実行停止命令メッセージを送り(ステ
ップ825)、処理を終了する。
If the server executing the corresponding program module is not its own server (N in step 824), an execution stop instruction message is sent to the server executing the corresponding program module (step 825). , And the process ends.

【0104】該当するプログラムモジュールを実行して
いるサーバを特定できなかった場合(ステップ822の
N参照)、失敗通知を返却し(ステップ823)、処理
を終了する。
If the server executing the corresponding program module cannot be specified (N in step 822), a failure notification is returned (step 823), and the process is terminated.

【0105】ステップ820の判定において実行停止メ
ッセージでない場合に、ステップ826の判定に移り、
該メッセージが実行停止命令メッセージであった場合
(ステップ826のY参照)、プログラムモジュール実
行手段50を介してプログラムを停止し、停止成功通知
を返却して(ステップ827)、処理を終了する。
If it is determined in step 820 that the message is not an execution stop message, the process proceeds to step 826, and
If the message is an execution stop instruction message (see Y in step 826), the program is stopped via the program module executing means 50, a stop success notification is returned (step 827), and the process ends.

【0106】それ以外のメッセージの場合には(ステッ
プ826のN参照)、処理を終了する。
In the case of other messages (see N in step 826), the processing is terminated.

【0107】プログラムモジュールに付加されるデータ
の一例を図9に示す。プログラムモジュール名称901
(図9では「calc22.exe」)、プログラムモジュールが
実行されるべきサーバ名とその順番902、実行済みサ
ーバ名903(図9では、「obp」)と、から構成さ
れ、このデータはプログラムモジュールとともにサーバ
間を移動し、更新される。
FIG. 9 shows an example of data added to the program module. Program module name 901
(“Calc22.exe” in FIG. 9), the name of the server on which the program module is to be executed and its order 902, and the executed server name 903 (“obp” in FIG. 9). Along with the server and is updated.

【0108】[0108]

【発明の効果】以上説明したように、本発明によれば、
ネットワーク上を移動する移動型プログラムモジュール
の状況を任意の時点で知ることが可能とされ、さらに、
移動型プログラムモジュールの実行中止等の制御が可能
とされており、ユーザのネットワーク上のプログラムモ
ジュールへの信頼性が増し、無駄なプログラムプロセス
が削減され、迅速な処理を可能とし、システム性能を向
上させるという効果を奏する。
As described above, according to the present invention,
It is possible to know at any time the status of mobile program modules moving on the network,
It is possible to control the suspension of execution of mobile program modules, etc., increasing the reliability of program modules on the user's network, reducing unnecessary program processes, enabling quick processing, and improving system performance This has the effect of causing

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の一実施例におけるプログラム状況の内
容の一例を示す図である。
FIG. 2 is a diagram showing an example of the contents of a program status in one embodiment of the present invention.

【図3】本発明の一実施例における状況テーブル保持手
段の内容の一例を示す図である。
FIG. 3 is a diagram showing an example of the contents of a status table holding unit in one embodiment of the present invention.

【図4】本発明の一実施例を説明するための図であり、
プログラムモジュールの移動とサーバの連係動作の処理
フローを示す図である。
FIG. 4 is a diagram for explaining one embodiment of the present invention;
FIG. 9 is a diagram illustrating a processing flow of movement of a program module and coordination operation of a server.

【図5】本発明の一実施例を説明するための図であり、
状況テーブル保持手段が保持するデータの変化の一例を
示す図である。
FIG. 5 is a diagram for explaining one embodiment of the present invention;
FIG. 7 is a diagram illustrating an example of a change in data held by a status table holding unit.

【図6】本発明の一実施例において、サーバがプログラ
ムモジュールを受け取ってから実行が完了するまでの動
作を示す流れ図である。
FIG. 6 is a flowchart showing an operation from when a server receives a program module until execution is completed in an embodiment of the present invention.

【図7】本発明の一実施例におけるサーバリスト保持手
段が保持するデータの一例を示す図である。
FIG. 7 is a diagram illustrating an example of data held by a server list holding unit according to an embodiment of the present invention.

【図8】本発明の一実施例において、サーバがメッセー
ジを受け取ってからの動作を示す流れ図である。
FIG. 8 is a flowchart showing an operation after a server receives a message in one embodiment of the present invention.

【図9】本発明の一実施例においてプログラムモジュー
ルに付加されるデータの一例を示す図である。
FIG. 9 is a diagram showing an example of data added to a program module in one embodiment of the present invention.

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

10 入出力手段 11 入力情報 20 クライアント 21 クライアントメッセージ 22 出力情報 30 サーバ 31 サーバ群 32 サーバ間メッセージ 33 結果通知 34 サーバ間メッセージ 35 サーバ 36 サーバ 40 ネットワークアクセス手段 41 プログラムモジュールおよびそれに対する命令 42 状況操作メッセージ 43 結果通知 50 プログラム実行手段 51 プログラム状況 60 状況テーブル管理手段 61 状況データ 62 検索された状況データ 70 状況テーブル保持手段 71 状況データ 80 サーバリスト保持手段 81 サーバリスト 201 プログラムモジュール名 202 クライアント名 203 プログラムモジュールの実行状況 301 calc22.exeの実行状況 302 calc23.exeの実行状況 401 プログラムモジュール 402 プログラムモジュール 403 実行状況通知 404 プログラムモジュール 405 実行状況通知 406 結果通知 501 状況テーブルの内容 502 状況テーブルの内容 503 状況テーブルの内容 504 状況テーブルの内容 505 状況テーブルの内容 901 プログラムモジュール名 902 プログラムモジュール実行サーバ名および順番 903 実行済みサーバ名 DESCRIPTION OF SYMBOLS 10 Input / output means 11 Input information 20 Client 21 Client message 22 Output information 30 Server 31 Server group 32 Inter-server message 33 Result notification 34 Inter-server message 35 Server 36 Server 40 Network access means 41 Program module and its instruction 42 Status operation message 43 result notification 50 program execution means 51 program status 60 status table management means 61 status data 62 searched status data 70 status table holding means 71 status data 80 server list holding means 81 server list 201 program module name 202 client name 203 program module Execution status 301 execution status of calc22.exe 302 execution status of calc23.exe 401 program module 40 2 Program module 403 Notification of execution status 404 Program module 405 Notification of execution status 406 Result notification 501 Contents of status table 502 Contents of status table 503 Contents of status table 504 Contents of status table 505 Contents of status table 901 Program module name 902 Program module execution Server name and order 903 Executed server name

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】利用者からの入力を受け付け、利用者へ必
要な情報を出力する入出力手段と、 前記入出力手段からの入力に基づき、実行すべきプログ
ラムモジュールを選択し、実行順を決定してネットワー
クに接続される他の情報処理装置に依頼するクライアン
トと、 前記ネットワークに接続される他の情報処理装置から依
頼されたプログラムモジュールの実行を行い実行結果を
返却するサーバと、 を備えてなるクライアントサーバシステムにおいて、 前記サーバが、前記ネットワークを介して受け取ったメ
ッセージの内容を判別して、自装置の所定の手段に振り
分けるとともに、自装置のデータを前記ネットワークに
接続された適切な情報処理装置へ送信するネットワーク
アクセス手段と、 前記ネットワークを介して他の情報処理装置から送出さ
れたプログラムモジュールを実行するプログラムモジュ
ール実行手段と、 プログラムの実行状況を保持する実行状況テーブル保持
手段と、 前記実行状況テーブル保持手段を管理する実行状況テー
ブル管理手段と、 を備え、 前記プログラムモジュールの実行状況を確認可能とし
た、 ことを特徴とするクライアントサーバシステム。
An input / output means for receiving an input from a user and outputting necessary information to the user, and selecting a program module to be executed based on the input from the input / output means and determining an execution order. A client that requests another information processing device connected to the network to execute the program module requested by the other information processing device connected to the network and returns an execution result. In the client server system, the server determines the content of the message received via the network, distributes the message to a predetermined unit of the own device, and transmits the data of the own device to an appropriate information processing connected to the network. Network access means for transmitting to the device; and another information processing device via the network. A program module execution unit for executing the transmitted program module; an execution status table holding unit for holding an execution status of the program; and an execution status table management unit for managing the execution status table holding unit. A client-server system characterized in that the execution status of the client can be checked.
【請求項2】前記サーバにおいて、 前記プログラムモジュール実行手段が、任意の時点で、
実行中のプログラムモジュールを停止することが可能と
するように構成され、 前記クライアントからプログラムモジュールを任意の時
点で停止できる、 ことを特徴とする、請求項1記載のクライアントサーバ
システム。
2. In the server, the program module execution means may execute the program module execution at any time.
The client server system according to claim 1, wherein the client module is configured to be able to stop the program module being executed, and the program module can be stopped at any time from the client.
【請求項3】前記サーバの前記実行状況テーブル管理手
段をたどることにより、複数のサーバ上で、次々に実行
されるプログラムモジュールを追跡し、該プログラムモ
ジュールの実行状況を確認できる、ようにしたことを特
徴とする請求項1記載のクライアントサーバシステム。
3. The method according to claim 1, wherein the execution status table management means of the server is traced so that program modules executed one after another on a plurality of servers can be tracked and the execution status of the program modules can be confirmed. The client server system according to claim 1, wherein:
【請求項4】一のサーバから他のサーバにプログラムモ
ジュールが移動した際に、最初に前記プログラムモジュ
ールの実行を開始したサーバに対して、プログラム実行
中、実行完了等のプログラムの実行状況を報告する、こ
とを特徴とする請求項1記載のクライアントサーバシス
テム。
4. When a program module is moved from one server to another server, the execution status of the program, such as program execution and execution completion, is reported to the server which first started execution of the program module. 2. The client server system according to claim 1, wherein
【請求項5】前記サーバが、前記プログラムモジュール
の実行状況の確認メッセージを受け取った際に、前記サ
ーバの実行状況テーブル保持手段に、該当するプログラ
ムがなくとも、過去の実行状況から該プログラムモジュ
ールを実行する可能性のあるサーバ名を探索し、前記プ
ログラムモジュールの実行状況を取得する、ようにした
ことを特徴とする請求項1記載のクライアントサーバシ
ステム。
5. When the server receives the confirmation message of the execution status of the program module, the server stores the program module in the execution status table holding means of the server from the past execution status even if there is no corresponding program. 2. The client server system according to claim 1, wherein a server name that is likely to be executed is searched for, and an execution status of the program module is acquired.
【請求項6】前記サーバが、前記プログラムモジュール
実行状況の確認メッセージを受け取った際に、前記実行
状況テーブル保持手段に該当するプログラムがない場
合、過去の実行状況からも前記プログラムモジュールを
実行する可能性のあるサーバ名を特定できないときに、
サーバリストに含まれる全てのサーバに問い合わせて、
前記プログラムモジュールの実行状況を取得する、よう
にしたことを特徴とする請求項1記載のクライアントサ
ーバシステム。
6. When the server receives the program module execution status confirmation message and there is no program corresponding to the execution status table holding means, the server can execute the program module even from a past execution status. When the server name which can be identified cannot be specified,
Query all servers in the server list,
2. The client server system according to claim 1, wherein an execution status of the program module is obtained.
【請求項7】サーバがクライアント側からアップロード
したプログラムモジュールを実行制御すると共に、該プ
ログラムモジュールが複数のサーバ間を移動して実行さ
れるクライアントサーバシステムであって、 前記サーバが、前記プログラムモジュールについての実
行状況、実行場所、及び前記クライアントに関する情報
を保持し、 前記クライアント側から要求により、前記サーバ上にお
ける前記プログラムモジュールの実行状況の監視及び実
行停止などの制御が行えるように構成されてなることを
特徴とするクライアントサーバシステム。
7. A client-server system in which a server controls execution of a program module uploaded from a client side, and the program module moves between a plurality of servers and is executed. Information on the execution status, execution location, and the client of the program module, and can be controlled by monitoring the execution status of the program module on the server and stopping the execution of the program module in response to a request from the client side. The client server system characterized by the above-mentioned.
JP29761796A 1996-10-18 1996-10-18 Client server system Expired - Fee Related JP3003596B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29761796A JP3003596B2 (en) 1996-10-18 1996-10-18 Client server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29761796A JP3003596B2 (en) 1996-10-18 1996-10-18 Client server system

Publications (2)

Publication Number Publication Date
JPH10124432A true JPH10124432A (en) 1998-05-15
JP3003596B2 JP3003596B2 (en) 2000-01-31

Family

ID=17848882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29761796A Expired - Fee Related JP3003596B2 (en) 1996-10-18 1996-10-18 Client server system

Country Status (1)

Country Link
JP (1) JP3003596B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000105752A (en) * 1998-08-31 2000-04-11 Internatl Business Mach Corp <Ibm> Method, data structure, and execution shell for enabling position-independent and position-transmission interaction between program and user
JP2001117887A (en) * 1999-10-14 2001-04-27 Nec Corp Distributed application server system, service method and recording medium
US6397116B1 (en) 1998-10-19 2002-05-28 Matsushita Electric Industrial Co., Ltd. Production control system and method
JP2020173498A (en) * 2019-04-08 2020-10-22 富士通株式会社 Management device, information processing system, and management program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000105752A (en) * 1998-08-31 2000-04-11 Internatl Business Mach Corp <Ibm> Method, data structure, and execution shell for enabling position-independent and position-transmission interaction between program and user
US6397116B1 (en) 1998-10-19 2002-05-28 Matsushita Electric Industrial Co., Ltd. Production control system and method
JP2001117887A (en) * 1999-10-14 2001-04-27 Nec Corp Distributed application server system, service method and recording medium
JP2020173498A (en) * 2019-04-08 2020-10-22 富士通株式会社 Management device, information processing system, and management program

Also Published As

Publication number Publication date
JP3003596B2 (en) 2000-01-31

Similar Documents

Publication Publication Date Title
US6169988B1 (en) Data sharing system for efficiently transferring data on network
CN100481838C (en) System and method for maintaining business treatment high speed slow storage consistency in mobile computing environment
US6557122B1 (en) Notification system for informing a network user of a problem in the network
US6065040A (en) Computer system having agent retracting method and agent returning method
KR101150052B1 (en) Relay server and relay communication system
CN101156407B (en) Method for supplying content through communication network
US5872929A (en) Method and system for managing terminals in a network computing system using terminal information including session status
CN110661780A (en) Wireless city data sharing method and system based on SAAS application
JP3003596B2 (en) Client server system
WO2006057040A1 (en) Computer system and information processing method
JP2896394B2 (en) File server device
JP3931941B2 (en) Work process management apparatus and work process management method
US20030212587A1 (en) Apparatus and methods for coordinating Web services using role based interpretation of coordination plans
JPWO2009034994A1 (en) Load distribution system, service processing server, load distribution method, and load distribution program
JP2001265603A (en) Automatic division software distribution system and method therefor
JP4305364B2 (en) Web service request relay system, Web service request relay method, relay server, and program thereof
JP2000066945A (en) Document collection system, device and method and recording medium
KR100470176B1 (en) Platform system for executing an intelligent mobile agent
JP3013785B2 (en) Data storage system and data storage method
US8516034B1 (en) System and method for modifying application behavior based on network bandwidth
JP2000029847A (en) Agent system, information processing method and recording medium recorded with information processing software
KR100714462B1 (en) Loaction mangement and message delivery of mobile agent method and system in multi region mobile agent computing environment
KR100881654B1 (en) Computer system and information processing method
KR100595089B1 (en) Financial terminal remote management apparatus and method
JPH01258166A (en) Network job execution monitoring and controlling system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991019

LAPS Cancellation because of no payment of annual fees