JPH11327909A - Agent system, information processing method, and medium recording information processing program - Google Patents
Agent system, information processing method, and medium recording information processing programInfo
- Publication number
- JPH11327909A JPH11327909A JP10131790A JP13179098A JPH11327909A JP H11327909 A JPH11327909 A JP H11327909A JP 10131790 A JP10131790 A JP 10131790A JP 13179098 A JP13179098 A JP 13179098A JP H11327909 A JPH11327909 A JP H11327909A
- Authority
- JP
- Japan
- Prior art keywords
- script
- agent
- unit
- class
- command
- 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
Links
Landscapes
- Multi Processors (AREA)
Abstract
(57)【要約】
【課題】 ネットワーク負荷を軽減し、さまざまなネッ
トワーク環境へのエージェントシステムの適用を可能と
する。
【解決手段】 ネットワーク上の任意の場所に移動する
ことができるエージェントと、ホームノード用クラス管
理部を備えたホームノードと、リモートノード用クラス
管理部を備えた複数のリモートノードを有し、前記ホー
ムノード用クラス管理部が、クラスファイル格納部、ク
ラスインスタンス化部及び第1のクラス転送部とから構
成され、前記リモートノード用クラス管理部が、クラス
インスタンス化部及び第2のクラス転送部とから構成さ
れ、前記エージェントには、呼び出し機能部、運搬機能
部及び転送機能部とが設けられている。
(57) [Summary] [PROBLEMS] To reduce the network load and enable application of an agent system to various network environments. An agent capable of moving to an arbitrary location on a network, a home node including a home node class management unit, and a plurality of remote nodes including a remote node class management unit are provided. The home node class management unit includes a class file storage unit, a class instantiation unit, and a first class transfer unit. The remote node class management unit includes a class instantiation unit and a second class transfer unit. , And the agent is provided with a call function unit, a transport function unit, and a transfer function unit.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ネットワーク上に
分散して存在する情報をエージェントを用いて処理する
技術の改良によるもので、特に、エージェントが処理に
用いるソフトウェアのネットワーク上の配置の柔軟性を
高めたものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in a technology for processing information distributed on a network by using an agent, and in particular, the flexibility of the arrangement of software used by an agent for processing on the network. It is something which raised.
【0002】[0002]
【従来の技術】従来から、コンピュータのネットワーク
上に分散した情報を処理する技術として、エージェント
システムが知られている。エージェントとは、ソフトウ
ェア上の処理単位であり、周囲の状況に応じて自律的に
動作するものである。エージェントシステムは、このよ
うなエージェントが、ネットワークを構成するノード上
を必要に応じて移動しながら情報収集などの処理を行う
システムである。ここで、ノードとは、ネットワークを
構成する論理的な単位であり、一つのマシンすなわちコ
ンピュータ上に複数存在し得る。2. Description of the Related Art Conventionally, an agent system has been known as a technique for processing information distributed on a computer network. An agent is a processing unit in software and operates autonomously according to the surrounding situation. The agent system is a system in which such an agent performs a process such as information collection while moving on nodes constituting a network as needed. Here, a node is a logical unit constituting a network, and a plurality of nodes can exist on one machine, that is, a computer.
【0003】この種のエージェントシステムの一例とし
ては、エージェントがユーザから与えられた仕事の内容
から、スクリプト生成部を用いてスクリプトを生成し、
そのスクリプトをスクリプト実行部が解釈、実行すると
いう一連の流れをエージェントが行うという方法があ
る。ここで、スクリプトとは、エージェントの行動プロ
グラムであり、どのノードへ移動し、どのような処理を
行う、といった内容を具体的に記述したものである。例
えば「ノードAに移動してファイルaのコピーをユーザ
のノードに送信し、次にノードBに移動してファイルb
のコピーをユーザのノードに送信し…」といった内容が
考えられる。As an example of this type of agent system, an agent generates a script from the contents of a job given by a user using a script generation unit,
There is a method in which an agent performs a series of flows in which the script execution unit interprets and executes the script. Here, the script is an action program of the agent, and specifically describes a content to be moved to which node and what processing is performed. For example, "move to node A and send a copy of file a to the user's node, then move to node B and file b
Is transmitted to the user node ... ".
【0004】図7は、上記のような方法を用いたエージ
ェントの概念図である。すなわち、図7に示したような
エージェント70は、それぞれ、スクリプト生成に用い
る情報71と、この情報に基づいてスクリプトを生成す
るスクリプト生成部72と、スクリプト生成部によって
生成されたスクリプトを実行するスクリプト実行部73
と、スクリプト中に記述されるコマンドを実行するコマ
ンド実行部74とを備えている。FIG. 7 is a conceptual diagram of an agent using the above method. That is, the agent 70 as shown in FIG. 7 includes information 71 used for script generation, a script generation unit 72 for generating a script based on this information, and a script for executing the script generated by the script generation unit. Execution unit 73
And a command execution unit 74 for executing a command described in the script.
【0005】しかしながら、このようなエージェントが
ネットワーク上を移動する場合、エージェントはその動
作に必要なソフトウェアすべてを運搬する必要があるた
め、エージェントがネットワークを移動する速度が遅く
なったり、ネットワークにより多くの負荷がかかるとい
う問題が発生していた。[0005] However, when such an agent moves on the network, the agent must carry all the software necessary for its operation, so that the speed at which the agent moves on the network becomes slower, and more agents are transferred to the network. There was a problem that a load was applied.
【0006】また、エージェントシステムの別の例とし
て、図8に示したように、エージェント80はスクリプ
ト81のみを運搬し、そのスクリプトの生成部82及び
実行部83をすべてのノード84上に配置するという方
法がある。このようなエージェントがネットワーク上を
移動する場合には、エージェント80はスクリプト81
のみを運搬すればよい。As another example of an agent system, as shown in FIG. 8, an agent 80 carries only a script 81 and arranges a generation unit 82 and an execution unit 83 of the script on all nodes 84. There is a method. If such an agent moves on the network, the agent 80
You only have to carry it.
【0007】しかし、この種のエージェントにおいて
は、あらかじめすべてのノード上にスクリプトの生成及
び実行に必要なソフトウェアを配置する必要がある。そ
のため、エージェントの動作の改良などのために、スク
リプト生成部または実行部を更新しなければならない場
合には、すべてのノード上のスクリプト生成部または実
行部を更新しなければならないという問題点があった。
特に、ノードの数が多い場合には、このような更新作業
は非常に時間がかかり、ネットワーク負荷も増大してい
た。また、セキュリティ等の理由によるノードの環境の
制限のために、スクリプト生成部または実行部をあらか
じめノード上に配置することができない場合もあった。However, in this type of agent, it is necessary to place software necessary for generating and executing a script on all nodes in advance. Therefore, when the script generation unit or the execution unit needs to be updated in order to improve the operation of the agent, there is a problem that the script generation unit or the execution unit on all nodes must be updated. Was.
In particular, when the number of nodes is large, such an update operation takes a very long time, and the network load increases. In some cases, the script generation unit or the execution unit cannot be arranged on the node in advance due to restrictions on the node environment due to security or the like.
【0008】[0008]
【発明が解決しようとする課題】上述したように、スク
リプトの生成部及び実行部等のソフトウェアの配置があ
らかじめ決められているエージェントシステムにおいて
は、ネットワークの負荷の軽減や、エージェントの移動
速度の向上を図ることは困難であり、また、セキュリテ
ィ等の理由によってソフトウェアの配置の制限等が多い
ネットワーク上においては、エージェントの移動などを
行うことが難しいという問題があった。As described above, in an agent system in which the arrangement of software such as a script generation unit and an execution unit is determined in advance, the load on the network is reduced and the moving speed of the agent is improved. In addition, there is a problem that it is difficult to move an agent on a network where there are many restrictions on the location of software due to security or the like.
【0009】本発明は、上述したような従来技術の問題
点を解消するために提案されたもので、その目的は、ス
クリプト生成部、実行部及びそれらが用いる各種のソフ
トウェアのノードへの配置を自由に行えるようにすると
ともに、ネットワーク負荷を軽減し、さまざまなネット
ワーク環境へのエージェントシステムの適用を可能とす
ることを目的とする。The present invention has been proposed in order to solve the above-mentioned problems of the prior art, and an object of the present invention is to arrange a script generation unit, an execution unit, and various software used by them in nodes. An object of the present invention is to enable the agent system to be freely performed, reduce a network load, and apply an agent system to various network environments.
【0010】[0010]
【課題を解決するための手段】上記の目的を達成するた
めに、請求項1に記載の発明は、エージェントがスクリ
プトに基づいて情報処理を行うエージェントシステムに
おいて、前記スクリプトを生成するスクリプト生成部
と、スクリプトを実行するスクリプト実行部と、スクリ
プト中に記述されるコマンドを実行するコマンド実行部
とが、前記エージェントが移動可能なネットワーク上の
任意の場所に配置され、前記エージェントには、必要に
応じて、前記スクリプト生成部、スクリプト実行部及び
コマンド実行部を選択的に呼び出すことができる呼び出
し機能部と、前記スクリプト生成部、スクリプト実行部
及びコマンド実行部を選択的にエージェント内部に取り
込み、エージェントとともに移動させることができる運
搬機能部と、前記スクリプト生成部、スクリプト実行部
及びコマンド実行部を選択的にエージェントのいるネッ
トワーク上の任意の場所に転送させることができる転送
機能部とが備えられていることを特徴とするものであ
る。According to an aspect of the present invention, there is provided an agent system in which an agent performs information processing based on a script. A script execution unit for executing a script, and a command execution unit for executing a command described in the script are arranged at an arbitrary location on a network to which the agent can be moved. A call function unit capable of selectively calling the script generation unit, the script execution unit and the command execution unit; and selectively incorporating the script generation unit, the script execution unit and the command execution unit into the agent. A transport function that can be moved; Script generation unit, and is characterized in that is provided with a transfer function unit for the script execution unit and a command execution unit selectively can be transferred to any location on the network that have the agent.
【0011】また、請求項6に記載の発明は、請求項1
に記載の発明を方法の観点から捉えたものであって、エ
ージェントがスクリプトに基づいて情報処理を行う情報
処理方法において、前記スクリプトを生成するスクリプ
ト生成ステップと、スクリプトを実行するスクリプト実
行ステップと、スクリプト中に記述されるコマンドを実
行するコマンド実行ステップとが、前記エージェントが
移動可能なネットワーク上の任意の場所で実行され、前
記エージェントには、必要に応じて、前記スクリプト生
成ステップ、スクリプト実行ステップ及びコマンド実行
ステップを選択的に呼び出すステップと、前記スクリプ
ト生成ステップ、スクリプト実行ステップ及びコマンド
実行ステップを選択的にエージェント内部で実行させ、
エージェントとともに移動させることができるステップ
と、前記スクリプト生成ステップ、スクリプト実行ステ
ップ及びコマンド実行ステップを選択的にエージェント
のいるネットワーク上の任意の場所に転送させることが
できるステップとが含まれていることを特徴とするもの
である。[0011] The invention according to claim 6 is the first invention.
In the information processing method in which the invention described in the above is viewed from a method viewpoint, an agent performs information processing based on a script, a script generation step of generating the script, a script execution step of executing the script, A command execution step of executing a command described in a script is executed at an arbitrary location on a network to which the agent can move, and the agent includes, as necessary, the script generation step and the script execution step And selectively calling the command execution step, and selectively executing the script generation step, the script execution step and the command execution step inside the agent,
And a step of selectively transferring the script generation step, the script execution step, and the command execution step to an arbitrary location on the network where the agent is located. It is a feature.
【0012】さらに、請求項7に記載の発明は、請求項
6に記載の発明をコンピュータプログラムを記録した記
録媒体の観点から把握したもので、エージェントがスク
リプトに基づいて情報処理を行う情報処理用プログラム
を記録した媒体において、前記情報処理用プログラム
は、前記スクリプトを生成させるスクリプト生成ステッ
プと、スクリプトを実行させるスクリプト実行ステップ
と、スクリプト中に記述されるコマンドを実行させるコ
マンド実行ステップとを、前記エージェントが移動可能
なネットワーク上の任意の場所で実行させ、前記エージ
ェントに、必要に応じて、前記スクリプト生成ステッ
プ、スクリプト実行ステップ及びコマンド実行ステップ
を選択的に呼び出すステップと、前記スクリプト生成ス
テップ、スクリプト実行ステップ及びコマンド実行ステ
ップを選択的にエージェント内部で実行させ、エージェ
ントとともに移動させることができるステップと、前記
スクリプト生成ステップ、スクリプト実行ステップ及び
コマンド実行ステップを選択的にエージェントのいるネ
ットワーク上の任意の場所に転送させることができるス
テップとを具備させたことを特徴とするものである。Further, the invention according to claim 7 is obtained by grasping the invention according to claim 6 from the viewpoint of a recording medium on which a computer program is recorded. In a medium on which a program is recorded, the information processing program includes a script generation step of generating the script, a script execution step of executing the script, and a command execution step of executing a command described in the script. Causing the agent to execute at an arbitrary location on a movable network, and selectively calling the script generation step, the script execution step, and the command execution step to the agent, if necessary, the script generation step, the script Real A step for selectively executing the step and the command execution step inside the agent and moving the step together with the agent; and selectively executing the script generation step, the script execution step, and the command execution step on a network where the agent is located. And a step of transferring the data to the server.
【0013】上記のような構成を有する請求項1,請求
項6及び請求項7に記載の発明によれば、スクリプト実
行部及び生成部、コマンド実行部等をネットワーク上の
任意の場所に任意の構成で配置することができるととも
に、ネットワーク負荷を軽減し、さまざまなネットワー
ク環境へのエージェントシステムの適用が可能となる。According to the first, sixth, and seventh aspects of the present invention, the script execution unit, the generation unit, the command execution unit, and the like can be installed at any location on the network. In addition to being able to be arranged in a configuration, the network load can be reduced and the agent system can be applied to various network environments.
【0014】請求項2に記載の発明は、エージェントが
スクリプトに基づいて情報処理を行うエージェントシス
テムにおいて、前記エージェントシステムが、ネットワ
ーク上の任意の場所に移動することができるエージェン
トと、第1のクラス管理部を備えたホームノードと、第
2のクラス管理部を備えた複数のリモートノードを有
し、前記第1のクラス管理部が、エージェントの動作に
必要なクラスファイルを格納するクラスファイル格納
部、クラスファイルをインスタンス化するクラスインス
タンス化部及び第1のクラス転送部とから構成され、前
記第2のクラス管理部が、前記ホームノードのクラスフ
ァイルからロードしたクラスファイルをインスタンス化
するクラスインスタンス化部及び第2のクラス転送部と
から構成され、前記エージェントには、必要に応じて、
前記ホームノードのクラスファイル格納部から、所望の
クラスファイルを選択的に呼び出すことができる呼び出
し機能部と、所望のクラスファイルを選択的にエージェ
ント内部に取り込み、エージェントとともに移動させる
ことができる運搬機能部と、所望のクラスファイルを選
択的にエージェントのいるネットワーク上の任意の場所
に転送させることができる転送機能部とが備えられてい
ることを特徴とするものである。According to a second aspect of the present invention, there is provided an agent system in which an agent performs information processing based on a script, wherein the agent system is capable of moving to an arbitrary location on a network and a first class. A class file storage unit having a home node having a management unit and a plurality of remote nodes having a second class management unit, wherein the first class management unit stores a class file necessary for the operation of the agent , A class instantiation unit for instantiating a class file, and a first class transfer unit, wherein the second class management unit instantiates a class file loaded from a class file of the home node. And a second class transfer unit. The stringent, if necessary,
A call function unit capable of selectively calling a desired class file from the class file storage unit of the home node; and a transport function unit capable of selectively loading a desired class file into an agent and moving the agent together with the agent. And a transfer function unit for selectively transferring a desired class file to an arbitrary location on the network where the agent is located.
【0015】上記のような構成を有する請求項2に記載
の発明によれば、エージェントの動作に必要なクラスフ
ァイルは、すべてホームノードのクラスファイル格納部
に格納されているので、エージェントの動作の改良等の
ためにスクリプト生成部等を更新しなければならない場
合でも、ホームノード上のクラスファイルのみを更新す
れば良く、エージェントシステムの保守・管理が容易な
ものとなる。また、ホームノード上に格納されているク
ラスファイルを、必要に応じてエージェントが呼び出し
たり、エージェントと共に移動させたり、所望のリモー
トノードに転送したりすることができるので、エージェ
ントがネットワーク上を移動する場合の負荷が軽減され
る。さらに、リモートノードでは、必要なクラスファイ
ルのみをロードするので、余分なネットワーク負荷をか
けることもない。According to the second aspect of the present invention having the above configuration, all the class files necessary for the operation of the agent are stored in the class file storage of the home node. Even when the script generation unit or the like needs to be updated for improvement or the like, only the class file on the home node needs to be updated, and maintenance and management of the agent system becomes easy. Also, the agent can call the class file stored on the home node as needed, move it with the agent, or transfer it to the desired remote node, so that the agent moves on the network. The load on the case is reduced. Further, since only the necessary class files are loaded on the remote node, no extra network load is imposed.
【0016】請求項3に記載の発明は、請求項2に記載
のエージェントシステムにおいて、前記クラスファイル
格納部には、少なくとも、スクリプトの生成を行うスク
リプト生成部のクラスファイル、スクリプトを解釈・実
行するスクリプト実行部のクラスファイル、コマンドを
実行するコマンド実行部のクラスファイルが格納されて
いることを特徴とするものである。上記のような構成を
有する請求項3に記載の発明によれば、エージェントの
動作に必要なクラスファイルのうち、少なくとも、スク
リプトの生成を行うスクリプト生成部のクラスファイ
ル、スクリプトを解釈・実行するスクリプト実行部のク
ラスファイル、コマンドを実行するコマンド実行部のク
ラスファイルがホームノードのクラスファイル格納部に
格納されているので、エージェントシステムの保守・管
理が容易なものとなる。According to a third aspect of the present invention, in the agent system according to the second aspect, the class file storage unit interprets and executes at least a class file and a script of a script generation unit that generates a script. A class file of a script execution unit and a class file of a command execution unit for executing a command are stored. According to the third aspect of the invention having the above configuration, at least the class file of the script generation unit for generating the script and the script for interpreting and executing the script among the class files necessary for the operation of the agent Since the class file of the execution unit and the class file of the command execution unit that executes a command are stored in the class file storage unit of the home node, maintenance and management of the agent system is facilitated.
【0017】請求項4に記載の発明は、請求項2または
請求項3に記載のエージェントシステムにおいて、前記
第1のクラス転送部は、前記クラスファイル格納部に格
納されたクラスファイルを、他のノードに送出するクラ
ス送出部から構成されていることを特徴とするものであ
る。上記のような構成を有する請求項4に記載の発明に
よれば、エージェントの要求に基づいて、ホームノード
上に格納されているクラスファイルのうちから所望のク
ラスファイルのみを、他のノードに送出することができ
るので、エージェントがネットワーク上を移動する場合
の負荷が軽減される。According to a fourth aspect of the present invention, in the agent system according to the second or third aspect, the first class transfer unit transfers the class file stored in the class file storage unit to another class file. It is characterized by being composed of a class sending unit for sending to a node. According to the fourth aspect of the present invention having the above configuration, only a desired class file among the class files stored on the home node is transmitted to another node based on the request of the agent. Therefore, the load when the agent moves on the network can be reduced.
【0018】請求項5に記載の発明は、請求項2または
請求項3に記載のエージェントシステムにおいて、前記
第2のクラス転送部は、ホームノードのクラスファイル
格納部に格納されたクラスファイルを、当該リモートノ
ードにロードするクラスロード部から構成されているこ
とを特徴とするものである。上記のような構成を有する
請求項5に記載の発明によれば、エージェントの要求に
基づいて、ホームノード上に格納されているクラスファ
イルのうちから所望のクラスファイルのみを、そのリモ
ートノードにロードすることができるので、エージェン
トがネットワーク上を移動する場合の負荷が軽減され
る。According to a fifth aspect of the present invention, in the agent system according to the second or third aspect, the second class transfer section stores the class file stored in the class file storage section of the home node. It is characterized by comprising a class loading unit for loading the remote node. According to the fifth aspect of the present invention having the above configuration, only a desired class file among the class files stored on the home node is loaded to the remote node based on the request of the agent. Therefore, the load when the agent moves on the network can be reduced.
【0019】[0019]
【発明の実施の形態】以下、本発明の実施の形態(以
下、実施形態という)について、図面を参照して説明す
る。Embodiments of the present invention (hereinafter, referred to as embodiments) will be described below with reference to the drawings.
【0020】[1.構成]すなわち、図1に示したよう
に、本発明のエージェントシステムは、ネットワーク上
の任意の場所に移動することができるエージェント1
と、スクリプトの生成を行うプランナ2(スクリプト生
成部)、このプランナ2がスクリプト生成時に参照する
インフォ3及び後述するホームノード用クラス管理部
(請求項における第1のクラス管理部)4を備えたホー
ムノード5と、リモートノード用クラス管理部(請求項
における第2のクラス管理部)6のみからなる複数のリ
モートノード7を備えている。[1. Configuration] That is, as shown in FIG. 1, the agent system of the present invention has an agent 1 that can move to an arbitrary place on a network.
And a planner 2 (script generation unit) for generating a script, an information 3 referred to by the planner 2 when generating a script, and a home node class management unit (first class management unit in claims) 4 described later. A plurality of remote nodes 7 each including only a home node 5 and a remote node class management unit (second class management unit in claims) 6 are provided.
【0021】次に、前記ホームノード5について、さら
に詳しく説明する。すなわち、ホームノード用クラス管
理部4は、図2に示したように、クラスファイル格納部
41、クラスインスタンス化部42及びクラス転送部4
3とから構成されている。また、前記クラスファイル格
納部41には、例えば、スクリプトの生成を行うプラン
ナのクラスファイル41a、スクリプトを解釈・実行す
るスクリプトインタプリタのクラスファイル41b、コ
マンドを実行するコマンド実行部のクラスファイル41
c等、インスタンス化または他ノードに送出されるクラ
スのクラスファイルが格納されている。Next, the home node 5 will be described in more detail. That is, as shown in FIG. 2, the class management unit 4 for the home node includes the class file storage unit 41, the class instantiation unit 42, and the class transfer unit 4
And 3. The class file storage unit 41 includes, for example, a class file 41a of a planner that generates a script, a class file 41b of a script interpreter that interprets and executes a script, and a class file 41 of a command execution unit that executes a command.
A class file of a class, such as c, which is instantiated or sent to another node is stored.
【0022】さらに、前記クラスインスタンス化部42
は、前記エージェント1からあるクラスのインスタンス
化要求を受けると、前記クラスファイル格納部41に格
納されたクラスファイル群の中から対応するクラスファ
イルを選択し、そのクラスファイルをインスタンス化す
る。Further, the class instantiation unit 42
Receives a request to instantiate a class from the agent 1, selects a corresponding class file from a group of class files stored in the class file storage unit 41, and instantiates the class file.
【0023】また、ホームノード5に設けられたクラス
転送部43は、クラス送出部43aから構成されてい
る。そして、あるリモートノードに移動したエージェン
ト1から、あるクラスのロード要求があった場合は、ク
ラス送出部43aを介して、前記クラスファイル格納部
41に格納されたクラスファイル群の中から対応するク
ラスファイルを選択し、そのクラスファイルをエージェ
ント1のいるリモートノードへ送出するように構成され
ている。The class transfer section 43 provided in the home node 5 includes a class transmission section 43a. When the agent 1 that has moved to a certain remote node requests to load a certain class, the corresponding class is stored in the class file group stored in the class file storage unit 41 via the class sending unit 43a. It is configured to select a file and send the class file to the remote node where the agent 1 is located.
【0024】次に、リモートノード7について説明す
る。すなわち、本実施形態におけるリモートノード7上
にはクラスファイルは存在せず、リモートノード用クラ
ス管理部6は、図3に示したように、クラスインスタン
ス化部62及びクラス転送部63とから構成されてい
る。また、前記クラス転送部63は、クラスロード部6
3aから構成されている。そして、エージェント1から
あるクラスのロード要求があった場合は、前記クラスロ
ード部63aが、そのクラスファイルがあるホームノー
ド5のクラス送出部43aにクラスファイルの送出要求
をし、ロードされたクラスファイルを、前記クラスイン
スタンス化部62を介して、インスタンス化するように
構成されている。Next, the remote node 7 will be described. That is, there is no class file on the remote node 7 in the present embodiment, and the remote node class management unit 6 is composed of a class instantiation unit 62 and a class transfer unit 63 as shown in FIG. ing. Further, the class transfer unit 63 includes a class load unit 6.
3a. When a class loading request is received from the agent 1, the class loading unit 63a sends a class file sending request to the class sending unit 43a of the home node 5 where the class file is located. Is instantiated via the class instantiation unit 62.
【0025】すなわち、あるリモートノード7上にエー
ジェントが移動し、そのリモートノード上でスクリプト
を実行する際に、スクリプトインタプリタ(スクリプト
実行部)がスクリプト中のコマンドを実行する必要があ
る場合には、クラスロード部63aを介して、そのコマ
ンドに対応するコマンドクラスファイルをホームノード
5よりロードしてインスタンス化し、インスタンス化さ
れたコマンド実行部が前記コマンドを実行するように構
成されている。That is, when an agent moves to a certain remote node 7 and a script is executed on the remote node, a script interpreter (script execution unit) needs to execute a command in the script. A command class file corresponding to the command is loaded from the home node 5 via the class loading unit 63a and instantiated, and the instantiated command execution unit executes the command.
【0026】また、前記エージェント1は、図1に示し
たように、必要に応じて、前記スクリプト生成部、スク
リプト実行部及びコマンド実行部を選択的に呼び出すこ
とができる呼び出し機能部11と、前記スクリプト生成
部、スクリプト実行部及びコマンド実行部を選択的にエ
ージェント内部に取り込み、エージェントとともに移動
させることができる運搬機能部12と、前記スクリプト
生成部、スクリプト実行部及びコマンド実行部を選択的
にエージェントのいるネットワーク上の任意の場所に転
送させることができる転送機能部13とを備えている。
そして、ホームノード5上のプランナ2を呼び出した結
果として受け取るスクリプト14、及びスクリプトイン
タプリタクラスをインスタンス化したスクリプトインタ
プリタ15を持ち運び、ノード間を移動するように構成
されている。As shown in FIG. 1, the agent 1 includes a calling function unit 11 for selectively calling the script generation unit, the script execution unit, and the command execution unit as needed. A transport function unit 12 that can selectively take in a script generation unit, a script execution unit, and a command execution unit into an agent and move the agent together with the agent. And a transfer function unit 13 that can transfer the data to an arbitrary place on the network where there is.
Then, a script 14 received as a result of calling the planner 2 on the home node 5 and a script interpreter 15 in which a script interpreter class is instantiated are carried and moved between nodes.
【0027】[2.作用]上記のような構成を有する本
実施形態のエージェントシステムは、次のような作用を
有する。ここで、図4は、本実施形態のエージェントシ
ステムにおける処理手順を示すフローチャートである。[2. Operation] The agent system of the present embodiment having the above configuration has the following operation. Here, FIG. 4 is a flowchart showing a processing procedure in the agent system of the present embodiment.
【0028】すなわち、エージェント1は最初にホーム
ノード5上に生成され、ユーザから仕事の内容を示した
初期スクリプトを受け取る(ステップ401)。その
後、エージェント1の運搬機能部12が、ホームノード
にあるホームノード用クラス管理部4にスクリプトイン
タプリタのインスタンス化を要求すると、前記ホームノ
ード用クラス管理部4において、クラスファイル格納部
41に格納されているスクリプトインタプリタクラスフ
ァイルがインスタンス化される。そして、インスタンス
化されたスクリプトインタプリタを、エージェント1が
運搬機能部12を利用して取り込む(ステップ40
2)。That is, the agent 1 is first generated on the home node 5 and receives an initial script indicating the contents of the work from the user (step 401). Thereafter, when the transport function unit 12 of the agent 1 requests the home node class management unit 4 in the home node to instantiate the script interpreter, the home node class management unit 4 stores the script interpreter in the class file storage unit 41. Script interpreter class file is instantiated. Then, the agent 1 takes in the script interpreter that has been instantiated using the transport function unit 12 (step 40).
2).
【0029】その後、エージェント1は、自身が現在ホ
ームノード5にいるかどうかを確かめる(ステップ40
3)。エージェント1がホームノード5にいる場合は、
スクリプトインタプリタがスクリプトを解釈し(ステッ
プ404)、その結果、そのスクリプト中に「スクリプ
ト生成要求コマンド」を見つけた場合には(ステップ4
05)、エージェント1の呼び出し機能部11がプラン
ナの呼び出しを行う。すなわち、エージェント1の呼び
出し機能部11は、ホームノード用クラス管理部4にプ
ランナクラスファイルのインスタンス化を要求し、ホー
ムノード用クラス管理部4がプランナクラスファイルを
ホームノード上でインスタンス化する(ステップ40
6)。Thereafter, the agent 1 checks whether or not the agent 1 is currently at the home node 5 (step 40).
3). If agent 1 is at home node 5,
If the script interpreter interprets the script (step 404) and finds a “script generation request command” in the script (step 4)
05), the calling function unit 11 of the agent 1 calls the planner. That is, the calling function unit 11 of the agent 1 requests the home node class management unit 4 to instantiate a planner class file, and the home node class management unit 4 instantiates the planner class file on the home node (step 40
6).
【0030】続いて、インスタンス化されたプランナが
スクリプトを生成すると(ステップ407)、エージェ
ント1は、プランナが生成したスクリプトをエージェン
ト内部へ取り込み(ステップ408)、ステップ404
に戻る。Subsequently, when the instantiated planner generates a script (step 407), the agent 1 fetches the script generated by the planner into the agent (step 408), and step 404
Return to
【0031】一方、ステップ405において、スクリプ
ト中に「スクリプト生成要求コマンド」が見つけられな
かった場合には、ステップ409に進み、「移動コマン
ド」があるか否かが判断される。そして、「移動コマン
ド」を見つけた場合には、エージェント1は、移動対象
のノードへ移動する(ステップ410)。On the other hand, if the "script generation request command" is not found in the script in step 405, the flow advances to step 409 to determine whether there is a "move command". When finding the "move command", the agent 1 moves to the node to be moved (step 410).
【0032】一方、「移動コマンド」が見つけられなか
った場合は、エージェント1はホームノード上で、呼び
出し機能部11を利用して、コマンドに対応するコマン
ド実行部の呼び出しを行う。すなわち、エージェント1
の呼び出し機能部11は、ホームノード用クラス管理部
4にコマンドクラスファイルのインスタンス化を要求
し、ホームノード用クラス管理部4がコマンドクラスフ
ァイルをインスタンス化し(ステップ411)、インス
タンス化されたコマンド実行部がコマンドを実行する
(ステップ412)。そして、スクリプト中のコマンド
の実行がすべて終了したか否かが判断され(ステップ4
13)、終了していない場合には、ステップ404に戻
る。On the other hand, if the “movement command” is not found, the agent 1 uses the calling function unit 11 on the home node to call the command execution unit corresponding to the command. That is, agent 1
Requesting the home node class manager 4 to instantiate the command class file, the home node class manager 4 instantiates the command class file (step 411), and executes the instantiated command. The unit executes the command (Step 412). Then, it is determined whether or not all the commands in the script have been executed (step 4).
13) If not finished, return to step 404.
【0033】一方、ステップ403において、エージェ
ント1がホームノード5にいない場合は、スクリプトイ
ンタプリタがスクリプトを解釈し(ステップ414)、
その結果、そのスクリプト中に「スクリプト生成要求コ
マンド」を見つけた場合には(ステップ415)、エー
ジェント1はホームノード5へ移動し(ステップ41
6)、エージェント1の呼び出し機能部11がプランナ
の呼び出しを行い、ステップ406に進む。すなわち、
エージェント1の呼び出し機能部11は、ホームノード
用クラス管理部4にプランナクラスファイルのインスタ
ンス化を要求し、ホームノード用クラス管理部4がプラ
ンナクラスファイルをホームノード上でインスタンス化
する(ステップ406)。On the other hand, if the agent 1 is not at the home node 5 at step 403, the script interpreter interprets the script (step 414),
As a result, when the “script generation request command” is found in the script (step 415), the agent 1 moves to the home node 5 (step 41).
6), the calling function unit 11 of the agent 1 calls the planner, and proceeds to step 406. That is,
The calling function unit 11 of the agent 1 requests the home node class management unit 4 to instantiate the planner class file, and the home node class management unit 4 instantiates the planner class file on the home node (step 406). .
【0034】続いて、インスタンス化されたプランナが
スクリプトを生成すると(ステップ407)、エージェ
ント1は、プランナが生成したスクリプトをエージェン
ト内部へ取り込み(ステップ408)、ステップ404
に戻る。Subsequently, when the instantiated planner generates a script (step 407), the agent 1 fetches the script generated by the planner into the agent (step 408), and step 404
Return to
【0035】一方、ステップ415において、スクリプ
ト中に「スクリプト生成要求コマンド」が見つけられな
かった場合には、ステップ417に進み、「移動コマン
ド」があるか否かが判断される。そして、「移動コマン
ド」を見つけた場合には、エージェント1は、移動対象
のノードへ移動する(ステップ410)。On the other hand, if the "script generation request command" is not found in the script in step 415, the flow advances to step 417 to determine whether there is a "move command". When finding the "move command", the agent 1 moves to the node to be moved (step 410).
【0036】一方、「移動コマンド」が見つけられなか
った場合は、エージェント1は、転送機能部13を利用
して、現在そのエージェントがいるリモートノードのク
ラス管理部6に、対応するコマンドクラスのインスタン
ス化を要求する。すなわち、リモートノード用クラス管
理部6は、対応するコマンドクラスファイルのロードを
ホームノードのクラス転送部に要求し、そのコマンドク
ラスファイルをロードする。続いて、ロードされたコマ
ンドクラスファイルを、リモートノード用クラス管理部
のクラスインスタンス化部62がインスタンス化し(ス
テップ418)、インスタンス化されたコマンド実行部
がコマンドを実行する(ステップ419)。そして、ス
クリプト中のコマンドの実行がすべて終了したか否かが
判断され(ステップ420)、終了していない場合に
は、ステップ414に戻る。On the other hand, if the “move command” is not found, the agent 1 uses the transfer function unit 13 to store the instance of the corresponding command class in the class management unit 6 of the remote node where the agent is currently located. Request for conversion. That is, the remote node class management unit 6 requests the class transfer unit of the home node to load the corresponding command class file, and loads the command class file. Subsequently, the loaded command class file is instantiated by the class instantiation unit 62 of the remote node class management unit (step 418), and the instantiated command execution unit executes the command (step 419). Then, it is determined whether or not all the commands in the script have been executed (step 420). If not, the process returns to step 414.
【0037】続いて、具体例を用いて説明する。例え
ば、図5に示したように、ワークステーションA上に配
置された1つのホームノード“nodeA ” と、機器制御
用マイコンボード1,2,3上に配置された3つのリモ
ートノード“node1,2,3 ”から構成されるエージェント
システムにおいて、以下のスクリプトを与えたエージェ
ントをホームノード“nodeA ”で生成する。Next, a description will be given using a specific example. For example, as shown in FIG. 5, one home node “nodeA” arranged on the workstation A and three remote nodes “node1,2” arranged on the device control microcomputer boards 1,2,3. , 3 ", an agent provided with the following script is generated at the home node" nodeA ".
【0038】 1: goto node1 2: set state = 'checkState' 3: goto node2 4: if ( $state = 0 ) then 5: reportState 6: else if ($state = 1 ) then 7: goto node3 8: checkState 9: else if ($state = 2 ) then 10: changeState 11: else 12: newgoal testNext 13: endif この例において、gotoはエージェントの移動命令、newg
oal は新たなスクリプトの生成要求命令である。set は
スクリプト変数の設定命令であり、if、then、else、endif
は条件分岐のための構文である。それ以外の命令は、コ
マンド実行部で実行されるコマンドである。1: goto node1 2: set state = 'checkState' 3: goto node2 4: if ($ state = 0) then 5: reportState 6: else if ($ state = 1) then 7: goto node3 8: checkState 9: else if ($ state = 2) then 10: changeState 11: else 12: newgoal testNext 13: endif In this example, goto is an agent move command, newg
oal is a new script generation request command. set is a script variable setting instruction, if, then, else, endif
Is the syntax for conditional branching. Other instructions are commands executed by the command execution unit.
【0039】上記のスクリプトを与えられて、“nodeA
”で生成されたエージェントは、最初にスクリプトイ
ンタプリタをエージェントに取り込む。その後、スクリ
プトインタプリタは上記のスクリプトを解釈する。Given the above script, "nodeA
The agent created in "" first loads the script interpreter into the agent. Then, the script interpreter interprets the above script.
【0040】1行目の命令は、移動命令であるので、エ
ージェントは指定された“node1 ”に移動する。2行目
の命令は、スクリプト変数state にコマンドcheckState
の実行結果を代入するという意味である。Since the command on the first line is a move command, the agent moves to the designated "node1". The command on the second line is the command checkState in the script variable state.
Is substituted.
【0041】この命令を実行する時点で、エージェント
はリモートノード“node1 ”に存在するので、エージェ
ントの転送機能部がコマンドcheckStateに対応するコマ
ンドクラスファイルcheckState.classをホームノードで
あるnodeA からロードし、インスタンス化した後、実行
する。以下に、checkState.classを定義するcheckStat
e.java の例を示す。 すなわち、上例は、checkState.classをインスタンス化
した後、エージェントの転送機能部はメソッドstart()
を呼び出し、そのメソッドの帰り値を、スクリプトイン
タプリタがスクリプト変数state に格納することを意味
している。At the time of execution of this instruction, the agent exists at the remote node "node1", so that the transfer function unit of the agent loads the command class file checkState.class corresponding to the command checkState from the home node nodeA. Execute after instantiation. Below, checkStat that defines checkState.class
Here is an example of e.java. That is, in the above example, after instantiating checkState.class, the transfer function part of the agent uses the method start ()
Means that the script interpreter stores the return value of the method in the script variable state.
【0042】次に、3行目の命令は、移動命令であるの
で、エージェントは“node2 ”へ移動する。また、4行
目の命令は、ifによる分岐命令であるので、スクリプト
変数stateの値によって次の動作は変化する。すなわ
ち、state が0であった場合(4〜5行目)は、コマン
ドreportStateを、checkStateと同様にロードして実行
する。state が1であった場合(6〜8行目)は、node
3 に移動し、コマンドcheckStateをロードして実行す
る。state が2であった場合(9〜10行目)は、コマ
ンドchangeState をロードして実行する。Next, since the command on the third line is a move command, the agent moves to "node2". Further, since the instruction on the fourth line is a branch instruction by if, the next operation changes depending on the value of the script variable state. That is, when state is 0 (lines 4 and 5), the command reportState is loaded and executed in the same manner as checkState. If state is 1 (6th-8th line), node
Go to 3 and load and execute the command checkState. If state is 2 (lines 9 to 10), the command changeState is loaded and executed.
【0043】一方、state が上のいずれでもなかった場
合は、スクリプト生成要求命令newgoal を実行する。こ
の場合、スクリプトを生成するプランナを呼び出すた
め、エージェントはホームノードへ移動する。その後、
エージェントの呼び出し機能部を用いて、newgoal の引
数testNextを渡してプランナを実行する。そして、エー
ジェントは、プランナが返した新たなスクリプトを受け
取り、スクリプトインタプリタがそのスクリプトを解釈
し、エージェントの実行を続ける。On the other hand, if the state is neither of the above, the script generation request command newgoal is executed. In this case, the agent moves to the home node to call the planner that generates the script. afterwards,
Execute the planner by passing the argument testNext of newgoal using the calling function part of the agent. The agent then receives the new script returned by the planner, the script interpreter interprets the script, and continues executing the agent.
【0044】[3.効果]上記のように、本実施形態の
エージェントシステムでは、リモートノード7にはリモ
ートノード用クラス管理部6のみを設置するだけで済
み、リモートノード側に要求する機能を最小限に抑える
ことができる。また、リモートノード側においては、実
行するコマンドに対応するコマンドクラスのみをロード
するので、余分なネットワーク負荷をかけることがな
い。また、クラスファイルなどを設置する必要もないの
で、ファイルシステムが扱えないマシンをリモートノー
ドとすることもできる。このような形態のマシンは、機
器に組み込む形のマイコンボードなどに多く見られる
が、それらのボードをリモートノードとして扱うこと
で、本発明のエージェントシステムを適用し、機器の操
作や解析などをエージェントに行わせることが可能にな
る。[3. Effect] As described above, in the agent system of the present embodiment, only the remote node class management unit 6 needs to be installed in the remote node 7, and functions required of the remote node can be minimized. . Further, on the remote node side, only the command class corresponding to the command to be executed is loaded, so that no extra network load is applied. Further, since there is no need to install a class file or the like, a machine that cannot handle a file system can be used as a remote node. Machines of this form are often found in microcomputer boards that are built into equipment, but by treating those boards as remote nodes, the agent system of the present invention is applied, and operations and analysis of equipment are performed by agents. Can be performed.
【0045】また、本実施形態においては、エージェン
トは、エージェントが動作中に常に用いるスクリプトイ
ンタプリタのみを持ち運び、まれに用いるプランナはホ
ームノード上へ移動してから呼び出すという形態になっ
ている。また、コマンド実行部は、コマンドを実行する
必要がある場合に初めてロードを行うように構成されて
いる。その結果、エージェントの移動によるネットワー
ク負荷と、ロードによって発生するネットワーク負荷の
双方を最小限に抑えることができる。また、エージェン
トが動作に必要とするすべてのクラスファイルをホーム
ノード上で一括管理することができるため、エージェン
トシステムの管理、保守が容易になる。In this embodiment, the agent carries only the script interpreter that is always used during the operation of the agent, and the rarely used planner is moved to the home node and then called. Further, the command execution unit is configured to perform loading only when a command needs to be executed. As a result, it is possible to minimize both the network load caused by the movement of the agent and the network load caused by the load. In addition, since all class files required for the operation of the agent can be collectively managed on the home node, the management and maintenance of the agent system are facilitated.
【0046】[4.他の実施形態]なお、本発明は上述
した実施形態に限定されるものではなく、次に例示する
ような他の実施形態をも含むものである。例えば、本発
明において、スクリプト生成部、スクリプト実行部、コ
マンド実行部のどれを呼び出して用いるか、または運搬
して用いるか、またはロードして用いるかは自由であ
る。[4. Other Embodiments] The present invention is not limited to the above-described embodiments, but includes other embodiments as exemplified below. For example, in the present invention, any one of the script generation unit, the script execution unit, and the command execution unit can be freely called, used, transported, or loaded and used.
【0047】上記実施の形態において、実行されるコマ
ンドが多くのリモートノードで一致するならば、それら
のコマンド実行部をエージェントが運搬することによっ
て、ロードによるオーバヘッドを避けることができる。
また、リモートノードにおいて新たなスクリプトを生成
したい場合は、プランナクラスをロードすることによっ
て、インフォを参照しない簡単なスクリプト生成を行う
ことができる。さらに、各リモートノードにスクリプト
インタプリタを設置しておけば、エージェントはスクリ
プトのみを持ち運ぶ形態にすることができるので、ネッ
トワーク負荷を大幅に減らすことができる。In the above embodiment, if the commands to be executed match at many remote nodes, the agent can carry those command execution units, thereby avoiding the overhead due to loading.
When a new script is to be generated in the remote node, a simple script generation without referring to the information can be performed by loading the planner class. Furthermore, if a script interpreter is installed in each remote node, the agent can carry only the script, so that the network load can be greatly reduced.
【0048】また、上記の実施形態においては、リモー
トノード上にはクラスファイルを設けていないが、ホー
ムノードに限らず、任意のリモートノードにクラスファ
イルを設けることもできる。なお、この場合、ホームノ
ード及びリモートノードのクラス管理部は、共に図6に
示したように構成される。すなわち、クラス管理部50
は、クラスファイル格納部51、クラスインスタンス化
部52及びクラス転送部53とから構成されている。ま
た、クラス転送部53は、クラスロード部53a及びク
ラス送出部53bから構成されている。In the above embodiment, the class file is not provided on the remote node. However, the class file can be provided not only on the home node but also on any remote node. In this case, the class management units of the home node and the remote node are both configured as shown in FIG. That is, the class management unit 50
Is composed of a class file storage unit 51, a class instantiation unit 52, and a class transfer unit 53. The class transfer section 53 includes a class load section 53a and a class transmission section 53b.
【0049】そして、他のノードにいるエージェントか
ら、あるクラスのロード要求があり、そのクラスファイ
ルが自らのノードのクラスファイル格納部51に格納さ
れている場合には、クラス送出部53bを介して、前記
クラスファイル格納部51に格納されたクラスファイル
群の中から対応するクラスファイルを選択し、そのクラ
スファイルをエージェントのいるノードへ送出する。When an agent at another node requests a class to be loaded, and the class file is stored in the class file storage unit 51 of the own node, the class file is transmitted via the class transmission unit 53b. The corresponding class file is selected from the class file group stored in the class file storage unit 51, and the selected class file is sent to the node where the agent is located.
【0050】一方、エージェントから、他のノードのク
ラスファイルに格納されたあるクラスのロード要求があ
った場合は、前記クラスロード部53aが、そのクラス
ファイルがあるノードのクラス送出部にクラスファイル
の送出要求をし、ロードされたクラスファイルを、前記
クラスインスタンス化部52を介して、インスタンス化
する。On the other hand, when the agent requests to load a certain class stored in the class file of another node, the class loading unit 53a sends the class file to the class sending unit of the node where the class file is located. A transmission request is made, and the loaded class file is instantiated through the class instantiation unit 52.
【0051】このように構成すれば、スクリプト生成
部、スクリプト実行部、コマンド実行部及びそれらが用
いる各種のソフトウェア、スクリプト生成に用いる情報
等を、ネットワーク上の任意の場所に配置することがで
きる。With this configuration, the script generation unit, the script execution unit, the command execution unit, the various software used by them, the information used for script generation, and the like can be arranged at an arbitrary place on the network.
【0052】[0052]
【発明の効果】以上述べたように、本発明によれば、ス
クリプト生成部、実行部及びそれらが用いる各種のソフ
トウェアのノードへの配置を自由に行えるだけでなく、
ネットワーク負荷を軽減し、さまざまなネットワーク環
境へのエージェントシステムの適用を可能とすることが
できる。As described above, according to the present invention, not only can the script generation unit and the execution unit and various software used by them be freely arranged on the nodes,
The network load can be reduced and the agent system can be applied to various network environments.
【図1】本発明によるエージェントシステムの一実施形
態の構成を示す概略図FIG. 1 is a schematic diagram showing a configuration of an embodiment of an agent system according to the present invention.
【図2】図1に示したホームノード用クラス管理部の構
成を示す図FIG. 2 is a diagram showing a configuration of a home node class management unit shown in FIG. 1;
【図3】図1に示したリモートノード用クラス管理部の
構成を示す図FIG. 3 is a diagram showing a configuration of a remote node class management unit shown in FIG. 1;
【図4】本発明のエージェントシステムの動作を示すフ
ローチャートFIG. 4 is a flowchart showing the operation of the agent system of the present invention.
【図5】本発明のエージェントシステムの具体例を示す
図FIG. 5 is a diagram showing a specific example of the agent system of the present invention.
【図6】本発明の他の実施形態におけるクラス管理部の
構成を示す図FIG. 6 is a diagram illustrating a configuration of a class management unit according to another embodiment of the present invention.
【図7】従来のエージェントシステムの構成を示す図FIG. 7 is a diagram showing a configuration of a conventional agent system.
【図8】従来のエージェントシステムの他の構成を示す
図FIG. 8 is a diagram showing another configuration of a conventional agent system.
1…エージェント 2…プランナ 3…インフォ 4…ホームノード用クラス管理部 5…ホームノード 6…リモートノード用クラス管理部 7…リモートノード 11…呼び出し機能部 12…運搬機能部 13…転送機能部 14…スクリプト 15…スクリプトインタプリタ 41,51…クラスファイル格納部 42,52,62…クラスインスタンス化部 43,53,63…クラス転送部 43a…クラス送出部 53a…クラスロード部 53b…クラス送出部 63a…クラスロード部 DESCRIPTION OF SYMBOLS 1 ... Agent 2 ... Planner 3 ... Info 4 ... Home node class management part 5 ... Home node 6 ... Remote node class management part 7 ... Remote node 11 ... Calling function part 12 ... Transport function part 13 ... Transfer function part 14 ... Script 15 Script interpreter 41, 51 Class file storage unit 42, 52, 62 Class instantiation unit 43, 53, 63 Class transfer unit 43a Class transmission unit 53a Class loading unit 53b Class transmission unit 63a Class Load section
Claims (7)
報処理を行うエージェントシステムにおいて、 前記スクリプトを生成するスクリプト生成部と、スクリ
プトを実行するスクリプト実行部と、スクリプト中に記
述されるコマンドを実行するコマンド実行部とが、前記
エージェントが移動可能なネットワーク上の任意の場所
に配置され、 前記エージェントには、必要に応じて、前記スクリプト
生成部、スクリプト実行部及びコマンド実行部を選択的
に呼び出すことができる呼び出し機能部と、前記スクリ
プト生成部、スクリプト実行部及びコマンド実行部を選
択的にエージェント内部に取り込み、エージェントとと
もに移動させることができる運搬機能部と、前記スクリ
プト生成部、スクリプト実行部及びコマンド実行部を選
択的にエージェントのいるネットワーク上の任意の場所
に転送させることができる転送機能部とが備えられてい
ることを特徴とするエージェントシステム。1. An agent system in which an agent performs information processing based on a script, a script generation unit that generates the script, a script execution unit that executes the script, and a command execution that executes a command described in the script. A script generator, a script executor, and a command executor can be selectively called by the agent as needed. A call function unit, a transportation function unit that can selectively take the script generation unit, the script execution unit and the command execution unit into the agent, and move the agent together with the agent; and the script generation unit, the script execution unit and the command execution unit Selectively age Agent system characterized by the transfer function unit is provided which can be transferred to any location on the network that have the cement.
報処理を行うエージェントシステムにおいて、 前記エージェントシステムが、ネットワーク上の任意の
場所に移動することができるエージェントと、第1のク
ラス管理部を備えたホームノードと、第2のクラス管理
部を備えた複数のリモートノードを有し、 前記第1のクラス管理部が、エージェントの動作に必要
なクラスファイルを格納するクラスファイル格納部、ク
ラスファイルをインスタンス化するクラスインスタンス
化部及び第1のクラス転送部とから構成され、 前記第2のクラス管理部が、前記ホームノードのクラス
ファイルからロードしたクラスファイルをインスタンス
化するクラスインスタンス化部及び第2のクラス転送部
とから構成され、 前記エージェントには、必要に応じて、前記ホームノー
ドのクラスファイル格納部から、所望のクラスファイル
を選択的に呼び出すことができる呼び出し機能部と、所
望のクラスファイルを選択的にエージェント内部に取り
込み、エージェントとともに移動させることができる運
搬機能部と、所望のクラスファイルを選択的にエージェ
ントのいるネットワーク上の任意の場所に転送させるこ
とができる転送機能部とが備えられていることを特徴と
するエージェントシステム。2. An agent system in which an agent performs information processing based on a script, wherein the agent system includes an agent capable of moving to an arbitrary location on a network, and a home node including a first class management unit. And a plurality of remote nodes including a second class management unit, wherein the first class management unit instantiates the class file and a class file storage unit for storing a class file necessary for the operation of the agent. A class instantiation unit configured to include a class instantiation unit and a first class transfer unit, wherein the second class management unit instantiates a class file loaded from a class file of the home node; and a second class transfer unit And the agent Accordingly, a calling function unit capable of selectively calling a desired class file from the class file storage unit of the home node, and a desired class file can be selectively loaded into the agent and moved together with the agent. An agent system comprising: a transport function unit; and a transfer function unit that can selectively transfer a desired class file to an arbitrary location on a network where an agent is located.
とも、スクリプトの生成を行うスクリプト生成部のクラ
スファイル、スクリプトを解釈・実行するスクリプト実
行部のクラスファイル、コマンドを実行するコマンド実
行部のクラスファイルが格納されていることを特徴とす
る請求項2に記載のエージェントシステム。3. The class file storage unit includes at least a class file of a script generation unit that generates a script, a class file of a script execution unit that interprets and executes a script, and a class file of a command execution unit that executes a command. The agent system according to claim 2, wherein is stored.
ファイル格納部に格納されたクラスファイルを、他のノ
ードに送出するクラス送出部から構成されていることを
特徴とする請求項2または請求項3に記載のエージェン
トシステム。4. The class transfer unit according to claim 2, wherein the first class transfer unit includes a class sending unit that sends a class file stored in the class file storage unit to another node. The agent system according to claim 3.
ドのクラスファイル格納部に格納されたクラスファイル
を、当該リモートノードにロードするクラスロード部か
ら構成されていることを特徴とする請求項2または請求
項3に記載のエージェントシステム。5. The class transfer unit according to claim 1, wherein the second class transfer unit includes a class load unit that loads a class file stored in a class file storage unit of a home node into the remote node. The agent system according to claim 2 or 3.
報処理を行う情報処理方法において、 前記スクリプトを生成するスクリプト生成ステップと、
スクリプトを実行するスクリプト実行ステップと、スク
リプト中に記述されるコマンドを実行するコマンド実行
ステップとが、前記エージェントが移動可能なネットワ
ーク上の任意の場所で実行され、 前記エージェントには、必要に応じて、前記スクリプト
生成ステップ、スクリプト実行ステップ及びコマンド実
行ステップを選択的に呼び出すステップと、前記スクリ
プト生成ステップ、スクリプト実行ステップ及びコマン
ド実行ステップを選択的にエージェント内部で実行さ
せ、エージェントとともに移動させることができるステ
ップと、前記スクリプト生成ステップ、スクリプト実行
ステップ及びコマンド実行ステップを選択的にエージェ
ントのいるネットワーク上の任意の場所に転送させるこ
とができるステップとが含まれていることを特徴とする
情報処理方法。6. An information processing method in which an agent performs information processing based on a script, a script generating step of generating the script,
A script execution step of executing a script and a command execution step of executing a command described in the script are executed at an arbitrary location on a network to which the agent can be moved. Selectively calling the script generation step, the script execution step and the command execution step, and selectively executing the script generation step, the script execution step and the command execution step inside the agent, and moving the same together with the agent. And a step of selectively transferring the script generation step, the script execution step, and the command execution step to an arbitrary location on the network where the agent is located. An information processing method characterized by the following.
報処理を行う情報処理用プログラムを記録した媒体にお
いて、 前記情報処理用プログラムは、 前記スクリプトを生成させるスクリプト生成ステップ
と、スクリプトを実行させるスクリプト実行ステップ
と、スクリプト中に記述されるコマンドを実行させるコ
マンド実行ステップとを、前記エージェントが移動可能
なネットワーク上の任意の場所で実行させ、 前記エージェントに、必要に応じて、前記スクリプト生
成ステップ、スクリプト実行ステップ及びコマンド実行
ステップを選択的に呼び出すステップと、前記スクリプ
ト生成ステップ、スクリプト実行ステップ及びコマンド
実行ステップを選択的にエージェント内部で実行させ、
エージェントとともに移動させることができるステップ
と、前記スクリプト生成ステップ、スクリプト実行ステ
ップ及びコマンド実行ステップを選択的にエージェント
のいるネットワーク上の任意の場所に転送させることが
できるステップとを具備させたことを特徴とする情報処
理用プログラムを記録した媒体。7. A medium recording an information processing program in which an agent performs information processing based on a script, the information processing program comprising: a script generation step of generating the script; and a script execution step of executing the script. Executing a command described in a script at an arbitrary location on a network to which the agent can move, and, if necessary, causing the agent to generate the script and execute the script. And selectively calling the command execution step, and selectively executing the script generation step, the script execution step and the command execution step inside the agent,
A step of being able to be moved together with the agent, and a step of being able to selectively transfer the script generation step, the script execution step, and the command execution step to any location on the network where the agent is located. On which an information processing program is recorded.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13179098A JP3691962B2 (en) | 1998-05-14 | 1998-05-14 | Agent system and information processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13179098A JP3691962B2 (en) | 1998-05-14 | 1998-05-14 | Agent system and information processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11327909A true JPH11327909A (en) | 1999-11-30 |
| JP3691962B2 JP3691962B2 (en) | 2005-09-07 |
Family
ID=15066203
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13179098A Expired - Fee Related JP3691962B2 (en) | 1998-05-14 | 1998-05-14 | Agent system and information processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3691962B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7085831B2 (en) | 2002-01-16 | 2006-08-01 | International Business Machines Corporation | Intelligent system control agent for managing jobs on a network by managing a plurality of queues on a client |
| JP2007122747A (en) * | 2000-10-31 | 2007-05-17 | Unisys Corp | Dialogue flow interpreter |
| US7996507B2 (en) | 2002-01-16 | 2011-08-09 | International Business Machines Corporation | Intelligent system control agent for managing jobs on a network by managing a plurality of queues on a client |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008146602A (en) | 2006-12-13 | 2008-06-26 | Canon Inc | Document search apparatus, document search method, program, and storage medium |
-
1998
- 1998-05-14 JP JP13179098A patent/JP3691962B2/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007122747A (en) * | 2000-10-31 | 2007-05-17 | Unisys Corp | Dialogue flow interpreter |
| US7085831B2 (en) | 2002-01-16 | 2006-08-01 | International Business Machines Corporation | Intelligent system control agent for managing jobs on a network by managing a plurality of queues on a client |
| US7996507B2 (en) | 2002-01-16 | 2011-08-09 | International Business Machines Corporation | Intelligent system control agent for managing jobs on a network by managing a plurality of queues on a client |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3691962B2 (en) | 2005-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7058954B1 (en) | System and method for facilitating dynamic loading of stub information to enable a program operating in one address space to invoke processing of a remote method or procedure in another space | |
| US6961926B2 (en) | System and method for distributed debugging and recording medium on which control programs are recorded | |
| JPH11306022A (en) | Agent knowledge utilization method and device | |
| JPH11175342A (en) | System and method for agent execution | |
| US7085831B2 (en) | Intelligent system control agent for managing jobs on a network by managing a plurality of queues on a client | |
| JPH1031637A (en) | Agent communication device | |
| JPH0563821B2 (en) | ||
| Quang et al. | Device-driven on-demand deployment of serverless computing functions | |
| JPH11327909A (en) | Agent system, information processing method, and medium recording information processing program | |
| CN115729674A (en) | Container-based load migration system design method | |
| US6314462B1 (en) | Sub-entry point interface architecture for change management in a computer network | |
| JP2001502093A (en) | Path information based agent movement including movement of executable code | |
| JP2005108082A (en) | Device driver interface method | |
| CN111770005B (en) | Method and device for detecting availability of distributed system of Dubbo service framework | |
| JPH09160847A (en) | Client / server distributed processing system | |
| JP6502872B2 (en) | Network system, system management method and system management program | |
| US20250362940A1 (en) | Method and system for providing distributed display system for hpc and grid compute environments | |
| JP2000029847A (en) | Agent system, information processing method, and recording medium recording information processing software | |
| Girard | Assistant Agents for creation and management of distributed Applications | |
| EP1076852B1 (en) | Remote computing | |
| JPH1091371A (en) | Printer device control method | |
| JPH11194927A (en) | Distributed make method, apparatus, and computer program product | |
| CN120439269A (en) | Method, apparatus, device and medium for managing application resources of robotic devices | |
| JP2001147812A (en) | Class generation method, object generation method, interface object generation method, and object execution system | |
| AU2005236085B2 (en) | Modified computer architecture with initialization of objects |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040615 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040816 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20040921 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041020 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20041130 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050311 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20050415 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050510 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20050606 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050610 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050617 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090624 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090624 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100624 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100624 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110624 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120624 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120624 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130624 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |