JP3705070B2 - Mobile agent replacement system and method, and recording medium recording program - Google Patents

Mobile agent replacement system and method, and recording medium recording program Download PDF

Info

Publication number
JP3705070B2
JP3705070B2 JP2000038441A JP2000038441A JP3705070B2 JP 3705070 B2 JP3705070 B2 JP 3705070B2 JP 2000038441 A JP2000038441 A JP 2000038441A JP 2000038441 A JP2000038441 A JP 2000038441A JP 3705070 B2 JP3705070 B2 JP 3705070B2
Authority
JP
Japan
Prior art keywords
mobile agent
replacement
agent
information
mobile
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.)
Expired - Fee Related
Application number
JP2000038441A
Other languages
Japanese (ja)
Other versions
JP2001229039A (en
Inventor
震 中島
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 JP2000038441A priority Critical patent/JP3705070B2/en
Publication of JP2001229039A publication Critical patent/JP2001229039A/en
Application granted granted Critical
Publication of JP3705070B2 publication Critical patent/JP3705070B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は移動エージェントシステムに関し、特に、新たに移動してくる移動エージェントを格納する領域が足りない場合に既に保持している移動エージェントを削除して置き換えることで、新たに移動してきた移動エージェントを保持可能とする移動エージェント置き換えシステム、移動エージェント置き換え方法およびプログラムを記録した記録媒体に関する。
【0002】
【従来の技術】
従来の移動エージェントシステムについて、図8を参照して説明する。図8を参照すると、この従来の移動エージェントシステムでは、移動エージェントを格納する移動エージェント本体格納部120と、新たに移動してくる移動エージェントを入力する移動エージェント受付け部100と、受け付けた移動エージェントを前記移動エージェント本体格納部120に格納する処理制御を行なう移動エージェント格納制御部110と、保有する移動エージェントの格納箇所に関する情報を管理する保有エージェント管理部130と、を備えている。
【0003】
図10は、図8のシステムの動作を説明するフローチャートである。図8及び図10を参照して、従来の移動エージェントシステムの動作について説明する。
【0004】
新たな移動エージェントが移動エージェント受付け部100に到着する(ステップ300)。
【0005】
移動エージェント格納制御部110は、保有エージェント管理部130が管理する情報から、新たに到着した移動エージェントが格納可能かを判定する(ステップ310)。
【0006】
保有エージェント管理部130では、保有エージェント管理情報として、図9に示すように、移動エージェント本体格納部120の空き領域である開始番地と、空き領域の大きさを表す長さの情報を管理する。
【0007】
移動エージェント格納制御部110は、新たに移動してきた移動エージェントの大きさを計算することで、図9に示す保有エージェント格納情報から、新たに移動してきた移動エージェントが格納可能であるか否かを決定する。
【0008】
ステップ310の格納可能か否かの判定結果が「YES」の場合、移動エージェント格納制御部110は、移動エージェント本体格納部120に新たに移動してきた前記の移動エージェントを格納し、さらに、保有エージェント管理部130が管理する、保有エージェント格納情報(図9参照)を更新する(ステップ320)。すなわち、図9の開始番地と長さを、それぞれ以下のように変更する。
【0009】
[変更後の開始番地]=[変更前の開始番地]+[新たな移動エージェントの大きさ] …(1)
【0010】
[変更後の長さ]=[変更前の長さ]−[新たな移動エージェントの大きさ]…(2)
【0011】
一方、ステップ310の判定結果が「NO」の場合(格納不可の場合)、新たに移動してきた移動エージェントを格納することに失敗する。
【0012】
【発明が解決しようとする課題】
このように、従来の移動エージェントシステムにおいては、移動先の移動エージェントシステムが移動してきた移動エージェントを格納するために十分な領域を持たない場合、移動エージェントを格納することができない、という問題点を有している。
【0013】
一方、移動先において、既に保持している移動エージェントが利用されないような状況であったとしても、既に保持している移動エージェントが領域を解放しないために、あらたに移動してきた移動エージェントを格納することができない、という問題点もある。
【0014】
したがって本発明は、上記問題点に鑑みてなされたものであって、その主たる目的は、外部から新たに移動してくる移動エージェントを格納する領域が足りない等の理由で、既に保持している移動エージェントを削除して、置換することにより、新たに移動してきた移動エージェントを保持可能とする移動エージェント置き換えシステム、移動エージェント置き換え方法および移動エージェント置き換えプログラムを記録した記録媒体を提供することにある。
【0015】
【課題を解決するための手段】
前記目的を達成する本発明は、ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムであって、前記移動エージェントシステム内に既に保持する移動エージェントを格納する移動エージェント本体格納部と、新たに移動してくる移動エージェントを入力する移動エージェント受付け部と、受け付けた移動エージェントを前記移動エージェント本体格納部に格納する処理制御を行なう移動エージェント格納制御部と、既に保持する移動エージェントを削除し新たに移動してくる移動エージェントに置き換えるための情報を入力する置き換え情報受付け部と、保有する移動エージェントの格納箇所に関する情報に加え、置き換え選択に用いる情報を管理する保有エージェント管理部と、前記置き換え選択に用いる情報と、前記置き換え情報受付け部が受け付けた前記情報とを用いて、前記移動エージェント本体格納部に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する置き換え対象選択部と、を備えている。
【0016】
また本発明は、ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムであって、前記移動エージェントシステム内に既に保持する移動エージェントを格納する移動エージェント本体格納部と、新たに移動してくる移動エージェントに関する情報を入力する移動情報受付け部と、移動エージェントを前記移動エージェント本体格納部に格納する処理制御を行なう移動エージェント格納制御部と、前記受け付けた移動情報から移動エージェント本体を抽出する移動エージェント抽出部と前記受け付けた移動情報から置き換え制御情報を抽出する置き換え情報抽出部と、保有する移動エージェントの格納箇所に関する情報に加え、置き換え選択に用いる情報を管理する保有エージェント管理部と、前記置き換え選択に用いる情報と、前記置き換え情報抽出部の出力情報と、を用いて、前記移動エージェント本体格納部に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する置き換え対象選択部と、を備えている。
【0017】
【発明の実施の形態】
本発明の実施の形態について説明する、本発明の第1の実施の形態に係るシステムは、図1を参照すると、保持する移動エージェントを格納する移動エージェント本体格納部120と、新たに移動してくる移動エージェントを入力する移動エージェント受付け部100と、受け付けた移動エージェントを移動エージェント本体格納部120に格納する処理制御を行なう移動エージェント格納制御部110と、既に保持する移動エージェントを削除し新たに移動してくる移動エージェントに置き換えるための情報を入力する置き換え情報受付け部140と、保有する移動エージェントの格納箇所に関する情報に加えて、置き換え選択に用いる情報(付加情報)を管理する保有エージェント管理部130と、置き換え選択に用いる情報と、置き換え情報受付け部140で入力された情報とを用いて、移動エージェント本体格納部120に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する置き換え対象選択部150と、を含む。
【0018】
移動元が、移動先に新たな移動エージェントを移動させるにあたり、新たに移動する移動エージェントの大きさと付加情報を持つ置き換え制御情報を前記移動先に送信し、移動先では、移動元から送信された置き換え制御情報を受け取り、保有エージェント管理部130の情報を参照して、新たな移動エージェントが格納可能であるか否かを判定し、格納不能である場合、置き換え対象選択部150において、保有エージェント管理部130の付加情報、又は、該付加情報と前記移動元から送信された置き換え制御情報に基づき、既に保持している移動エージェントの中から削除対象として適切なものを選択して削除して、移動エージェント本体格納部120に領域を確保し、移動元へ移動エージェント受け付け可能指示情報を送信し、移動先は、前記移動元から送信された移動エージェント本体を受け付け、保有エージェント管理情報を更新し、新たに移動してきた前記の移動エージェントを移動エージェント本体格納部120に格納する。
【0019】
本発明の第2の実施の形態に係るシステムは、図2を参照すると、保持する移動エージェントを格納する移動エージェント本体格納部120と、新たに移動してくる移動エージェントに関する情報を入力する移動情報受付け部160と、移動エージェントを前記移動エージェント本体格納部120に格納する処理制御を行なう移動エージェント格納制御部110と、前記受け付けた移動情報から移動エージェント本体を抽出する移動エージェント抽出部180と、前記受け付けた移動情報から置き換え制御情報を抽出する置き換え情報抽出部170と、保有する移動エージェントの格納箇所に関する情報に加えて置き換え選択に用いる情報を管理する保有エージェント管理部130と、前記置き換え選択に用いる情報と前記置き換え情報抽出部170の出力情報を用いて、移動エージェント本体格納部120に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する置き換え対象選択部150と、を含む。
【0020】
移動元が、移動先に新たな移動エージェントを移動させようとする場合、新たに移動する移動エージェントの大きさと置き換え制御情報と移動エージェント本体を含む移動情報を前記移動先に送信し、前記移動先では、移動情報受け付け部160で前記移動元から送信された移動情報を受け取り、置き換え情報抽出部170で、該移動情報から置き換え制御情報を抽出し、前記置き換え制御情報から、保有エージェント管理部の情報を参照して、前記移動エージェントが格納可能か否かを判定し、格納不能である場合、置き換え対象選択部150において、保有エージェント管理部130の付加情報、又は、付加情報と前記置き換え制御情報に基づき、既に保持している移動エージェントの中から削除対象として適切なものを選択し、削除対象となる保持移動エージェントを削除して、移動エージェント本体格納部120に領域を確保し、移動情報から移動エージェント本体を抽出し、抽出した移動エージェント本体を移動エージェント本体格納部120に格納するとともに、保有エージェント管理情報を更新する。
【0021】
【実施例】
上記した本発明の実施の形態についてさらに詳細に説明すべく、本発明の実施例について図面を参照して説明する。図1は、本発明の一実施例の構成を示す図である。図1を参照すると、本発明の一実施例は、保持する移動エージェントを格納する移動エージェント本体格納部120と、新たに移動してくる移動エージェントを入力する移動エージェント受付け部100と、受け付けた移動エージェントを前記移動エージェント本体格納部120に格納する処理制御を行なう移動エージェント格納制御部110と、既に保持する移動エージェントを削除し新たに移動してくる移動エージェントに置き換えるための情報を入力する置き換え情報受付け部140と、保有する移動エージェントの格納箇所に関する情報に加えて置き換え選択に用いる情報を管理する保有エージェント管理部130と、前記置き換え選択に用いる情報と前記置き換え情報受付け部140との情報を用いて置き換えるために削除する保持移動エージェントを決定する置き換え対象選択部150とを含む。
【0022】
図5は、本発明の一実施例のシーケンス動作を説明するシーケンスチャートである。図6及び図7は、本発明の一実施例の動作を説明するフローチャートである。また図3は、本発明の一実施例におけるデータ構造を説明するための図である。
【0023】
移動元が、新たな移動エージェントを移動させようとする場合、図5に示すように、第1に、置き換え制御情報を移動先に送信する。
【0024】
図6のフローチャートに示すように、置き換え情報受付け部140が新たな移動エージェントの置き換え制御情報を受けとることで処理を開始する(ステップ400)。この置き換え制御情報には、新たに移動してくる移動エージェントの大きさと付加情報を持つ。
【0025】
置き換え対象選択部105は、保有エージェント管理部130が管理する保持エージェント格納情報を読み出す(ステップ410)。
【0026】
保持エージェント格納(管理)情報は、図3に示すように、保持する移動エージェントを格納する開始番地、その長さ、付加情報を、一エントリとして、該エントリを移動エージェントごとに備えたテーブルよりなる。
【0027】
この保持エージェント格納情報と、置き換え情報受付け部140で入力した置き換え制御情報とに基づき、移動エージェントを格納可能か否かを判定する(図6のステップ420)。
【0028】
この判定は、例えば次のように行なうことができる。
【0029】
すなわち、移動エージェント本体格納部120の総領域長を記憶保持し、保持エージェント格納情報を格納するテーブル(図3参照)を走査して得られる、最も大きな開始番地(最大開始番地)を持つエントリを求めて、次のように計算する。
【0030】
[総領域長]−([最大開始番地]+[対応する長さ])−[移動エージェントの大きさ] …(3)
【0031】
ステップ420の判定が「YES」の場合(上式(3)に符号が非負の場合)、移動エージェント受付け部100から移動エージェント本体を受け付ける(図6のステップ450)。
【0032】
移動エージェント格納制御部110は、保有エージェント管理部130が管理するテーブル情報を更新し、新たに移動してきた前記の移動エージェントを移動エージェント本体格納部120に格納する(図6のステップ460)。
【0033】
このステップ460で、作成する新たなテーブル情報のエントリは、置き換え制御情報と、新たに格納した移動エージェントの開始番地から作成することができる。
【0034】
また、ステップ450では、図5にシーケンスチャートとして示したように、移動先から移動元に移動エージェント受付け可能指示を送出した後、移動エージェント本体を送受信する処理を実現することができる。
【0035】
図6のステップ420の判定が「NO」の場合(上式(3)に符号が負の場合)、移動エージェント本体格納部120には、新たな移動エージェントを格納するための領域が不足していることを示す。
【0036】
そのため、既に保持している移動エージェントの中から適切なものを選択して削除する(図6のステップ430)。
【0037】
この選択の基準に、図3に示した保持エージェント格納情報のテーブルに保持されている付加情報を用いる。たとえば、付加情報としては、
(a)エントリに対応する保持エージェントが使用された頻度、
(b)エントリに対応する保持エージェントの名前、
(c)エントリに対応する保持エージェントが利用する資源リスト、
などが用いられる。
【0038】
ここで、資源リストの例としては、移動先の移動エージェントシステムが保有するファイルやデータベースが用いられる。
【0039】
(a)の場合、最も使用頻度数の小さいエントリを削除対象として選択すればよい。これは、最も利用される頻度の少ない保持移動エージェントを自動的に選択する方式に対応する。
【0040】
(b)の場合、置き換え制御情報の内部に削除対象エージェントの名前を予め入れておき、この名前と同じ名前を持つエントリを削除対象として選択すれば良い。これは、新たに移動してくる移動エージェントが予め削除したい保持移動エージェントを直接指定する方式に対応する。
【0041】
(c)の場合、置き換え制御情報の内部に削除対象エージェントが利用する資源リストを予め入れておき、このリストに一致する資源リストを持つエントリを削除対象として選択すれば良い。これは、新たに移動してくる移動エージェントが使用したい資源が同じであるために、資源アクセス時に衝突が発生する保持移動エージェントを間接的に指定する方式に対応する。
【0042】
置き換え制御情報として与える情報と、保有エージェント管理部130が管理するテーブルの各エントリの付加情報(図3参照)を工夫することで、種々の実施の形態を実現できることは明らかである。
【0043】
図6のステップ430で、選択された削除対象となる保持移動エージェントを削除して、移動エージェント本体格納部120に、領域を確保する(ステップ440)。この時、移動エージェント本体格納部120に格納済みの移動エージェントの格納場所を適切に変更し、さらに、保有エージェント管理部130が持つ情報を更新し、移動エージェント本体格納部120に連続領域を確保すれば良い。これは一般に、計算機のメモリ領域管理で行なわれる公知の方法である。
【0044】
次に、図6のステップ450に移り、新たな移動エージェントを受け付け、ステップ460で保持処理を完了する。
【0045】
本発明の一実施例において、移動エージェント受付け部100と、移動エージェント格納制御部110と、置き換え情報受付け部140と、保有エージェント管理部130と、置き換え対象選択部150は、コンピュータ上で動作するプログラムによりその機能が実現される。この場合、該プログラムを記録した媒体(フロッピディスク媒体、ハードディスク媒体、磁気テープ媒体、半導体メモリ、CD−ROM媒体、DVD(digital versatile disk)媒体)等から該プログラムをコンピュータの主メモリにロードして実行するか、又はリモートサーバから、通信媒体を介して、コンピュータのHDD(ハードディスクドライブ)等のダウンロードし、該プログラムをコンピュータの主メモリにロードして実行することで本発明を実施することができる。
【0046】
次に、本発明の第2の実施例について説明する。図2は、本発明の第2の実施例の構成を示す図である。図2を参照すると、保持する移動エージェントを格納する移動エージェント本体格納部120と、新たに移動してくる移動エージェントに関する情報を入力する移動情報受付け部160と、移動エージェントを前記移動エージェント本体格納部120に格納する処理制御を行なう移動エージェント格納制御部110と、受け付けた移動情報から移動エージェント本体を抽出する移動エージェント抽出部180と、受け付けた移動情報から置き換え制御情報を抽出する置き換え情報抽出部170と、保有する移動エージェントの格納箇所に関する情報に加えて置き換え選択に用いる情報を管理する保有エージェント管理部130と、置き換え選択に用いる情報と置き換え情報抽出部170の出力情報を用いて、置き換えるために削除する保持移動エージェントを決定する置き換え対象選択部150と、を含む。
【0047】
図7は、本発明の第2の実施例の動作を説明するための流れ図である。図4は、本発明の第2の実施例のデータ構造を説明するための図である。
【0048】
移動情報受付け部160が、図4に示す移動情報を受けとる(ステップ401)。
【0049】
置き換え制御情報と移動エージェント本体とからなる移動情報を入力として置き換え情報抽出部170が置き換え制御情報を抽出する(ステップ410)。
【0050】
以降、図6のフローチャートを参照して説明した前記実施例と同様な処理を行なう。
【0051】
ステップ440で削除可能な保持移動エージェントを選択した後、移動エージェント抽出部180は前記の移動情報受付け部160から移動情報を得て、移動エージェント本体を抽出する(ステップ445)。
【0052】
抽出された移動エージェント本体を、移動エージェント本体格納部120に格納し、保持エージェント格納情報を更新することで、保持処理を完了する(ステップ460)。
【0053】
本発明の一実施例において、移動エージェント格納制御部110と、置き換え情報受付け部140と、保有エージェント管理部130と、置き換え対象選択部150、移動情報受付け部160と、置き換え情報抽出部170と、移動エージェント抽出部180は、コンピュータ上で動作するプログラムによりその機能が実現される。この場合、該プログラムを記録した媒体(フロッピディスク媒体、ハードディスク媒体、磁気テープ媒体、半導体メモリ、CD−ROM媒体、DVD(digital versatile disk)媒体)等から該プログラムをコンピュータの主メモリにロードして実行するか、又はリモートサーバから、通信媒体を介して、コンピュータのHDD(ハードディスクドライブ)等のダウンロードし、該プログラムをコンピュータの主メモリにロードして実行することで本発明を実施することができる。
【0054】
【発明の効果】
以上説明したように、本発明によれば、新たに移動してくる移動エージェントを格納する領域が足りない等の理由で新たに移動してくる移動エージェントを格納することができない場合、既に保持している移動エージェントを削除し置き換える構成としたことにより、新たに移動してきた移動エージェントを保持することができ、メモリの容量不足等により新たな移動エージェントを保持することができないという事態の発生を回避することができる、という効果を奏する。
【図面の簡単な説明】
【図1】本発明の第1の実施例の構成を示す図である。
【図2】本発明の第2の実施例の構成を示す図である。
【図3】本発明の第1の実施例のデータ構造を示す図である。
【図4】本発明の第2の実施例のデータ構造を示す図である。
【図5】本発明の第1の実施例のシーケンスチャートを示す図である。
【図6】本発明の第1の実施例の動作を説明するための流れ図である。
【図7】本発明の第2の実施例の動作を説明するための流れ図である。
【図8】従来の移動エージェントシステム構成を示す図である。
【図9】従来の移動エージェントシステムのデータ構造を示す図である。
【図10】従来の移動エージェントシステムの動作を説明するための流れ図である。
【符号の説明】
100、160 移動エージェント受付け部
110 移動エージェント格納制御部
120 移動エージェント本体格納部
130 保有エージェント管理部
140 置き換え情報受付け部
150 置き換え対象選択部
160 移動エージェント抽出部
170 置き換え情報抽出部
180 移動エージェント抽出部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a mobile agent system, and in particular, when there is not enough space to store a newly moving mobile agent, the mobile agent that has already been moved can be replaced by deleting the existing mobile agent. The present invention relates to a mobile agent replacement system, a mobile agent replacement method, and a recording medium on which a program is recorded.
[0002]
[Prior art]
A conventional mobile agent system will be described with reference to FIG. Referring to FIG. 8, in this conventional mobile agent system, a mobile agent main body storage unit 120 for storing a mobile agent, a mobile agent receiving unit 100 for inputting a new mobile agent, and a mobile agent received. A mobile agent storage control unit 110 that performs processing control to be stored in the mobile agent main body storage unit 120, and a possessed agent management unit 130 that manages information related to the location of the retained mobile agent are provided.
[0003]
FIG. 10 is a flowchart for explaining the operation of the system of FIG. The operation of the conventional mobile agent system will be described with reference to FIGS.
[0004]
A new mobile agent arrives at the mobile agent receiving unit 100 (step 300).
[0005]
The mobile agent storage control unit 110 determines whether or not a newly arrived mobile agent can be stored from the information managed by the possessed agent management unit 130 (step 310).
[0006]
As shown in FIG. 9, the possessed agent management unit 130 manages the start address, which is a free area of the mobile agent main body storage unit 120, and length information indicating the size of the free area, as retained agent management information.
[0007]
The mobile agent storage control unit 110 calculates whether the newly moved mobile agent can be stored from the stored agent storage information shown in FIG. 9 by calculating the size of the newly moved mobile agent. decide.
[0008]
If the determination result in step 310 is “YES”, the mobile agent storage control unit 110 stores the mobile agent newly moved in the mobile agent main body storage unit 120, and further stores the retained agent. The owned agent storage information (see FIG. 9) managed by the management unit 130 is updated (step 320). That is, the start address and length in FIG. 9 are changed as follows.
[0009]
[Start address after change] = [Start address before change] + [Size of new mobile agent] (1)
[0010]
[Length after change] = [Length before change]-[Size of new mobile agent] (2)
[0011]
On the other hand, when the determination result of step 310 is “NO” (when storage is impossible), it fails to store the newly moved mobile agent.
[0012]
[Problems to be solved by the invention]
As described above, in the conventional mobile agent system, the mobile agent cannot be stored if the destination mobile agent system does not have enough area to store the mobile agent that has moved. Have.
[0013]
On the other hand, even if the already held mobile agent is not used at the destination, the mobile agent that has already moved is stored so that the already held mobile agent does not release the area. There is also a problem that it is not possible.
[0014]
Therefore, the present invention has been made in view of the above-described problems, and the main purpose of the present invention is already held because of a lack of an area for storing a mobile agent that newly moves from outside. An object of the present invention is to provide a mobile agent replacement system, a mobile agent replacement method, and a recording medium on which a mobile agent replacement program is recorded that can retain a mobile agent that has newly moved by deleting and replacing the mobile agent.
[0015]
[Means for Solving the Problems]
The present invention that achieves the above object is a mobile agent system that accepts, stores, and executes a mobile agent that moves from another computer system via a network, and that is already held in the mobile agent system. A mobile agent main body storage unit for storing a mobile agent, a mobile agent reception unit for inputting a newly moving mobile agent, and a mobile agent storage for performing processing control for storing the received mobile agent in the mobile agent main body storage unit In addition to the control unit, the replacement information accepting unit for inputting information for deleting the already held mobile agent and replacing it with the newly moved mobile agent, and information on the stored location of the mobile agent, it is used for replacement selection. Information management Using the agent management unit, the information used for the replacement selection, and the information received by the replacement information receiving unit, the mobile agent stored in the mobile agent main body storage unit is deleted for replacement. A replacement object selection unit that determines a mobile agent.
[0016]
The present invention also provides a mobile agent system that receives, stores, and executes a mobile agent moving from another computer system via a network, and stores the mobile agent already held in the mobile agent system. A mobile agent main body storage unit, a movement information accepting unit for inputting information on a newly moving mobile agent, a mobile agent storage control unit for performing processing control for storing a mobile agent in the mobile agent main body storage unit, In addition to information on the mobile agent extraction unit that extracts the mobile agent body from the received movement information, the replacement information extraction unit that extracts replacement control information from the received movement information, and information on the storage location of the mobile agent that is held, Use information tube Using the retained agent management unit, the information used for the replacement selection, and the output information of the replacement information extraction unit, the mobile agent held in the mobile agent main body storage unit is deleted for replacement. A replacement target selection unit that determines a mobile agent to be operated.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Referring to FIG. 1, the system according to the first embodiment of the present invention, which describes an embodiment of the present invention, has a mobile agent main body storage unit 120 for storing a mobile agent to be held, and a newly moved The mobile agent receiving unit 100 for inputting the incoming mobile agent, the mobile agent storage control unit 110 for controlling the processing for storing the received mobile agent in the mobile agent main body storage unit 120, and deleting the mobile agent already held and newly moving A replacement information receiving unit 140 for inputting information for replacing the mobile agent, and a retained agent management unit 130 for managing information used for replacement selection (additional information) in addition to information on the storage location of the retained mobile agent. And information used for replacement selection and input by the replacement information receiving unit 140. By using the information, including among the mobile agent held in the mobile agent body storage section 120, an object selection unit 150 replaces determines the mobile agent to be removed for replacement, the.
[0018]
When the move source moves a new move agent to the move destination, the move control information having the size and additional information of the move agent to be newly moved is transmitted to the move destination. The replacement control information is received, and it is determined whether or not a new mobile agent can be stored by referring to the information of the owned agent management unit 130. If the new mobile agent cannot be stored, the replacement target selection unit 150 performs the owned agent management. Based on the additional information of the unit 130, or the additional information and the replacement control information transmitted from the movement source, the mobile agent that has already been stored is selected and deleted from the mobile agent that is already held, and moved. An area is secured in the agent main body storage unit 120, the mobile agent acceptance instruction information is transmitted to the movement source, and the movement destination is the movement source. Accepts et transmitted mobile agent body, it updates the held agent management information, and stores the moving agent that has newly moved into mobile agent body storage section 120.
[0019]
Referring to FIG. 2, the system according to the second embodiment of the present invention has a mobile agent main body storage unit 120 for storing a mobile agent to be held, and movement information for inputting information on a newly moving mobile agent. A receiving unit 160; a mobile agent storage control unit 110 that performs processing control for storing a mobile agent in the mobile agent main body storage unit 120; a mobile agent extraction unit 180 that extracts a mobile agent main body from the received movement information; A replacement information extraction unit 170 that extracts replacement control information from the received movement information, a possessed agent management unit 130 that manages information used for replacement selection in addition to information about the storage location of the mobile agent that is held, and used for the replacement selection Using the information and the output information of the replacement information extraction unit 170 Of the mobile agent held in the Jento main storage unit 120 includes a target selection unit 150 replaces determines the mobile agent to be removed for replacement, the.
[0020]
When the movement source tries to move a new movement agent to the movement destination, the movement information including the size of the movement agent to be newly moved, the replacement control information, and the movement agent main body is transmitted to the movement destination, and the movement destination The movement information reception unit 160 receives the movement information transmitted from the movement source, the replacement information extraction unit 170 extracts the replacement control information from the movement information, and the information of the possessed agent management unit is extracted from the replacement control information. To determine whether or not the mobile agent can be stored. If the mobile agent cannot be stored, the replacement target selection unit 150 adds the additional information of the owned agent management unit 130 or the additional information and the replacement control information. Based on the already held mobile agent, select the appropriate deletion target and hold movement to be deleted The agent is deleted, an area is secured in the mobile agent main unit storage unit 120, the mobile agent main unit is extracted from the movement information, the extracted mobile agent main unit is stored in the mobile agent main unit storage unit 120, and the possessed agent management information is stored. Update.
[0021]
【Example】
In order to describe the above-described embodiment of the present invention in more detail, examples of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. Referring to FIG. 1, in one embodiment of the present invention, a mobile agent main body storage unit 120 that stores a mobile agent to be held, a mobile agent reception unit 100 that inputs a newly moving mobile agent, and a received movement Mobile agent storage control unit 110 that performs processing control for storing an agent in the mobile agent main body storage unit 120, and replacement information for inputting information for deleting the already held mobile agent and replacing it with a newly moved mobile agent Using the reception unit 140, the information about the storage location of the mobile agent to be held, the owned agent management unit 130 that manages information used for replacement selection, and the information used for the replacement selection and the replacement information reception unit 140 Determine which retention mobile agent to remove to replace And a modified target selection unit 150 can.
[0022]
FIG. 5 is a sequence chart for explaining the sequence operation of the embodiment of the present invention. 6 and 7 are flowcharts for explaining the operation of the embodiment of the present invention. FIG. 3 is a diagram for explaining a data structure in an embodiment of the present invention.
[0023]
When the movement source tries to move a new movement agent, first, as shown in FIG. 5, the replacement control information is transmitted to the movement destination.
[0024]
As shown in the flowchart of FIG. 6, the replacement information receiving unit 140 receives the replacement control information of the new mobile agent and starts the process (step 400). This replacement control information includes the size and additional information of the newly moving mobile agent.
[0025]
The replacement target selection unit 105 reads the stored agent storage information managed by the stored agent management unit 130 (step 410).
[0026]
As shown in FIG. 3, the retention agent storage (management) information includes a table including a start address for storing the retained mobile agent, its length, and additional information as one entry, and the entry for each mobile agent. .
[0027]
Based on the stored agent storage information and the replacement control information input by the replacement information receiving unit 140, it is determined whether or not the mobile agent can be stored (step 420 in FIG. 6).
[0028]
This determination can be performed as follows, for example.
[0029]
That is, the entry having the largest start address (maximum start address) obtained by scanning the table (see FIG. 3) storing the stored agent storage information is stored and held in the total area length of the mobile agent main body storage unit 120. Obtain and calculate as follows.
[0030]
[Total area length]-([maximum start address] + [corresponding length])-[size of mobile agent] (3)
[0031]
If the determination in step 420 is “YES” (when the sign in the above equation (3) is non-negative), the mobile agent main body is received from the mobile agent receiving unit 100 (step 450 in FIG. 6).
[0032]
The mobile agent storage control unit 110 updates the table information managed by the possessed agent management unit 130, and stores the newly moved mobile agent in the mobile agent main body storage unit 120 (step 460 in FIG. 6).
[0033]
In step 460, an entry of new table information to be created can be created from the replacement control information and the start address of the newly stored mobile agent.
[0034]
Further, in step 450, as shown as a sequence chart in FIG. 5, it is possible to realize a process of transmitting / receiving the mobile agent body after sending a mobile agent acceptable instruction from the movement destination to the movement source.
[0035]
When the determination in step 420 of FIG. 6 is “NO” (when the sign in the above equation (3) is negative), the mobile agent main body storage unit 120 has insufficient area for storing a new mobile agent. Indicates that
[0036]
Therefore, an appropriate agent is selected from the already held mobile agents and deleted (step 430 in FIG. 6).
[0037]
For this selection criterion, the additional information held in the held agent storage information table shown in FIG. 3 is used. For example, as additional information:
(a) how often the retention agent corresponding to the entry was used;
(b) the name of the retention agent corresponding to the entry,
(c) Resource list used by the holding agent corresponding to the entry,
Etc. are used.
[0038]
Here, as an example of the resource list, a file or a database held by the migration agent system at the migration destination is used.
[0039]
In the case of (a), the entry with the smallest usage frequency may be selected as the deletion target. This corresponds to a method of automatically selecting a holding mobile agent that is least frequently used.
[0040]
In the case of (b), the name of the agent to be deleted is put in advance in the replacement control information, and an entry having the same name as this name may be selected as the object to be deleted. This corresponds to a method in which a newly moving mobile agent directly designates a holding mobile agent to be deleted in advance.
[0041]
In the case of (c), a resource list used by the agent to be deleted is placed in advance in the replacement control information, and an entry having a resource list that matches this list may be selected as a deletion target. This corresponds to a method of indirectly designating a holding mobile agent that causes a collision at the time of resource access because the resources to be used by the newly moving mobile agent are the same.
[0042]
It is obvious that various embodiments can be realized by devising information given as replacement control information and additional information (see FIG. 3) of each entry in the table managed by the owned agent management unit 130.
[0043]
In step 430 of FIG. 6, the selected retained mobile agent to be deleted is deleted, and an area is secured in the mobile agent main body storage unit 120 (step 440). At this time, the storage location of the mobile agent already stored in the mobile agent main body storage unit 120 is appropriately changed, and the information held by the owned agent management unit 130 is updated to secure a continuous area in the mobile agent main body storage unit 120. It ’s fine. This is a publicly known method generally performed in memory area management of a computer.
[0044]
Next, the process proceeds to step 450 in FIG. 6, a new mobile agent is accepted, and the holding process is completed at step 460.
[0045]
In one embodiment of the present invention, the mobile agent accepting unit 100, the mobile agent storage control unit 110, the replacement information accepting unit 140, the possessed agent managing unit 130, and the replacement target selecting unit 150 are programs that run on a computer. This function is realized. In this case, the program is loaded into the main memory of the computer from a medium (floppy disk medium, hard disk medium, magnetic tape medium, semiconductor memory, CD-ROM medium, DVD (digital versatile disk) medium) on which the program is recorded. The present invention can be implemented by executing or downloading a computer HDD (Hard Disk Drive) or the like from a remote server via a communication medium, loading the program into the main memory of the computer, and executing the program. .
[0046]
Next, a second embodiment of the present invention will be described. FIG. 2 is a diagram showing the configuration of the second exemplary embodiment of the present invention. Referring to FIG. 2, a mobile agent main body storage unit 120 for storing a mobile agent to be held, a movement information receiving unit 160 for inputting information on a newly moving mobile agent, and a mobile agent as the mobile agent main body storage unit. A mobile agent storage control unit 110 that performs processing control stored in 120, a mobile agent extraction unit 180 that extracts a mobile agent body from the received movement information, and a replacement information extraction unit 170 that extracts replacement control information from the received movement information In order to replace the information by using the retained agent management unit 130 that manages information used for replacement selection in addition to the information about the storage location of the mobile agent that is held, the information used for replacement selection, and the output information of the replacement information extraction unit 170 Replace to determine the retained mobile agent to delete Including the elephant selection unit 150, a.
[0047]
FIG. 7 is a flowchart for explaining the operation of the second embodiment of the present invention. FIG. 4 is a diagram for explaining the data structure of the second embodiment of the present invention.
[0048]
The movement information receiving unit 160 receives the movement information shown in FIG. 4 (step 401).
[0049]
The replacement information extraction unit 170 extracts the replacement control information by using the movement information composed of the replacement control information and the mobile agent body as input (step 410).
[0050]
Thereafter, processing similar to that in the embodiment described with reference to the flowchart of FIG. 6 is performed.
[0051]
After selecting the retained mobile agent that can be deleted in step 440, the mobile agent extraction unit 180 obtains the movement information from the movement information accepting unit 160 and extracts the mobile agent body (step 445).
[0052]
The extracted mobile agent main body is stored in the mobile agent main body storage unit 120, and the holding agent storage information is updated to complete the holding process (step 460).
[0053]
In one embodiment of the present invention, the mobile agent storage control unit 110, the replacement information receiving unit 140, the possessed agent management unit 130, the replacement target selection unit 150, the movement information receiving unit 160, the replacement information extraction unit 170, The function of the mobile agent extraction unit 180 is realized by a program that runs on a computer. In this case, the program is loaded into the main memory of the computer from a medium (floppy disk medium, hard disk medium, magnetic tape medium, semiconductor memory, CD-ROM medium, DVD (digital versatile disk) medium) on which the program is recorded. The present invention can be implemented by executing or downloading a computer HDD (Hard Disk Drive) or the like from a remote server via a communication medium, loading the program into the main memory of the computer, and executing the program. .
[0054]
【The invention's effect】
As described above, according to the present invention, when a mobile agent that newly moves cannot be stored due to a lack of an area for storing a new mobile agent or the like, it is already retained. By deleting and replacing existing mobile agents, it is possible to hold newly moved mobile agents and avoid the situation where new mobile agents cannot be held due to insufficient memory capacity. There is an effect that can be done.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a first exemplary embodiment of the present invention.
FIG. 2 is a diagram showing a configuration of a second exemplary embodiment of the present invention.
FIG. 3 is a diagram showing a data structure of the first embodiment of the present invention.
FIG. 4 is a diagram showing a data structure of a second embodiment of the present invention.
FIG. 5 is a diagram showing a sequence chart of the first embodiment of the present invention.
FIG. 6 is a flowchart for explaining the operation of the first exemplary embodiment of the present invention.
FIG. 7 is a flowchart for explaining the operation of the second exemplary embodiment of the present invention;
FIG. 8 is a diagram showing a conventional mobile agent system configuration.
FIG. 9 is a diagram showing a data structure of a conventional mobile agent system.
FIG. 10 is a flowchart for explaining the operation of a conventional mobile agent system.
[Explanation of symbols]
100, 160 Mobile agent reception unit 110 Mobile agent storage control unit 120 Mobile agent main body storage unit 130 Owned agent management unit 140 Replacement information reception unit 150 Replacement target selection unit 160 Mobile agent extraction unit 170 Replacement information extraction unit 180 Mobile agent extraction unit

Claims (10)

ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムにおいて、
前記移動エージェントシステム内に保持する移動エージェントを格納する移動エージェント本体格納部と、
新たに移動してくる移動エージェントを入力する移動エージェント受付け部と、
受け付けた移動エージェントを前記移動エージェント本体格納部に格納する処理制御を行なう移動エージェント格納制御部と、
既に保持する移動エージェントを削除し新たに移動してくる移動エージェントに置き換えるための置き換え制御情報を入力する置き換え情報受付け部と、
保有する移動エージェントの格納箇所に関する情報に加え、置き換え選択に用いる情報を管理する保有エージェント管理部と、
前記置き換え選択に用いる情報と、前記置き換え情報受付け部が受け付けた前記置き換え制御情報とを用いて、前記移動エージェント本体格納部に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する置き換え対象選択部と、
を備え
前記置き換え情報受付け部に入力される前記置き換え制御情報は、新たに移動してくる移動エージェントの大きさを少なくとも含み、
前記保有エージェント管理部で管理される、前記置き換え選択に用いる情報は、前記移動エージェント本体格納部に保持されている移動エージェントに関して、
(a) 前記移動エージェントの使用頻度、
(b) 前記移動エージェントの名前、
(c) 前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置き換え選択に用いる情報が、前記 (a) の場合、前記置き換え対象選択部は、最も使用頻度数の小さい移動エージェントを削除対象として選択し、
前記置き換え選択に用いる情報が、前記 (b) の場合、前記置き換え制御情報は、削除対象エージェントの名前を含み、前記置き換え対象選択部は、前記置き換え制御情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントを削除対象として選択し、
前記置き換え選択に用いる情報が、前記 (c) の場合、前記置き換え制御情報は、削除対象エージェントが利用する資源リストを含み、前記置き換え対象選択部は、前記置き換え制御情報の前記資源リストに一致する資源リストを持つ移動エージェントを削除対象として選択する、ことを特徴とする移動エージェントシステム。
In a mobile agent system that receives, stores, and executes mobile agents that move from other computer systems via the network,
A mobile agent main body storage unit for storing a mobile agent held in the mobile agent system;
A mobile agent accepting unit for inputting a new moving agent;
A mobile agent storage control unit that performs processing control to store the received mobile agent in the mobile agent main body storage unit;
A replacement information receiving unit for inputting replacement control information for deleting a mobile agent already held and replacing it with a newly moving mobile agent;
In addition to the information about the storage location of the mobile agent to be held, the owned agent management unit that manages the information used for replacement selection,
By using the information used for the replacement selection, and the replacement the location-out changeover control information information accepting unit accepts, among mobile agent held in the mobile agent body storage section, move to be removed for replacement A replacement target selector for determining an agent;
Equipped with a,
The replacement control information input to the replacement information receiving unit includes at least the size of a mobile agent that newly moves,
Information used for the replacement selection managed by the possessed agent management unit is related to the mobile agent held in the mobile agent main body storage unit.
(a) frequency of use of the mobile agent;
(b) the name of the mobile agent;
(c) a resource list used by the mobile agent;
Including at least one of
When the information used for the replacement selection is (a) , the replacement target selection unit selects a mobile agent with the smallest number of use frequencies as a deletion target,
When the information used for the replacement selection is (b) , the replacement control information includes the name of the deletion target agent, and the replacement target selection unit includes the name of the deletion target agent included in the replacement control information. Select a mobile agent with the same name for deletion,
When the information used for the replacement selection is (c) , the replacement control information includes a resource list used by the deletion target agent, and the replacement target selection unit matches the resource list of the replacement control information. A mobile agent system , wherein a mobile agent having a resource list is selected for deletion .
ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムにおいて、
前記移動エージェントシステム内に保持する移動エージェントを格納する移動エージェント本体格納部と、
新たに移動してくる移動エージェントに関する情報を入力する移動情報受付け部と、
移動エージェントを前記移動エージェント本体格納部に格納する処理制御を行なう移動エージェント格納制御部と、
前記受け付けた移動情報から移動エージェント本体を抽出する移動エージェント抽出部と、
前記受け付けた移動情報から置き換え制御情報を抽出する置き換え情報抽出部と、
保有する移動エージェントの格納箇所に関する情報に加え、置き換え選択に用いる情報を管理する保有エージェント管理部と、
前記置き換え選択に用いる情報と、前記置き換え情報抽出部の出力情報と、を用いて、前記移動エージェント本体格納部に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する置き換え対象選択部と、
を備え
前記置き換え情報抽出部で抽出される前記置き換え制御情報は、新たに移動してくる移動エージェントの大きさを少なくとも含み、
前記保有エージェント管理部で管理される、前記置き換え選択に用いる情報は、前記移動エージェント本体格納部に保持されている移動エージェントに関して、
(a) 前記移動エージェントの使用頻度、
(b) 前記移動エージェントの名前、
(c) 前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置き換え選択に用いる情報が、前記 (a) の場合、前記置き換え対象選択部は、最も使用頻度数の小さい移動エージェントを削除対象として選択し、
前記置き換え選択に用いる情報が、前記 (b) の場合、前記置き換え制御情報は、削除対象エージェントの名前を含み、前記置き換え対象選択部は、前記置き換え制御情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントを削除対象として選択し、
前記置き換え選択に用いる情報が、前記 (c) の場合、前記置き換え制御情報は、削除対象エージェントが利用する資源リストを含み、前記置き換え対象選択部は、前記置き換え制御情報の前記資源リストに一致する資源リストを持つ移動エージェントを削除対象として選択する、ことを特徴とする移動エージェントシステム。
In a mobile agent system that receives, stores, and executes mobile agents that move from other computer systems via the network,
A mobile agent main body storage unit for storing a mobile agent held in the mobile agent system;
A movement information receiving unit for inputting information on a newly moving mobile agent;
A mobile agent storage control unit that performs processing control for storing a mobile agent in the mobile agent main body storage unit;
A mobile agent extraction unit for extracting a mobile agent body from the received movement information;
A replacement information extraction unit that extracts replacement control information from the received movement information;
In addition to the information about the storage location of the mobile agent to be held, the owned agent management unit that manages the information used for replacement selection,
Replacement for determining a mobile agent to be deleted for replacement out of mobile agents held in the mobile agent main body storage unit using information used for the replacement selection and output information of the replacement information extraction unit An object selection unit;
Equipped with a,
The replacement control information extracted by the replacement information extraction unit includes at least the size of a mobile agent that newly moves,
Information used for the replacement selection managed by the possessed agent management unit is related to the mobile agent held in the mobile agent main body storage unit.
(a) frequency of use of the mobile agent;
(b) the name of the mobile agent;
(c) a resource list used by the mobile agent;
Including at least one of
When the information used for the replacement selection is (a) , the replacement target selection unit selects a mobile agent with the smallest number of use frequencies as a deletion target,
When the information used for the replacement selection is (b) , the replacement control information includes the name of the deletion target agent, and the replacement target selection unit includes the name of the deletion target agent included in the replacement control information. Select a mobile agent with the same name for deletion,
When the information used for the replacement selection is (c) , the replacement control information includes a resource list used by the deletion target agent, and the replacement target selection unit matches the resource list of the replacement control information. A mobile agent system , wherein a mobile agent having a resource list is selected for deletion .
ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムにおいて、
前記移動エージェントシステム内に保持する移動エージェントを格納する移動エージェント本体格納部と、
新たに移動してくる移動エージェントを入力する移動エージェント受付け部と、
受け付けた移動エージェントを前記移動エージェント本体格納部に格納する処理制御を行なう移動エージェント格納制御部と、
を備えた移動エージェントシステムの移動エージェント置き換え方法であって、
既に保持する移動エージェントを削除し新たに移動してくる移動エージェントに置き換えるための置き換え制御情報を入力する第1のステップと、
保有する移動エージェントの格納箇所に関する情報に加えて置き換え選択に用いる情報を管理する第2のステップと、
前記置き換え選択に用いる情報と、前記入力した置き換え情報とを用いて、前記移動エージェント本体格納部に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する第3のステップと、
を含み、
前記第1のステップで入力される前記置き換え制御情報は、新たに移動してくる移動エージェントの大きさを少なくとも含み、
前記第2のステップで管理される、前記置き換え選択に用いる情報は、前記移動エージェント本体格納部に保持されている移動エージェントに関して、
(a) 前記移動エージェントの使用頻度、
(b) 前記移動エージェントの名前、
(c) 前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置き換え選択に用いる情報が、前記 (a) の場合、前記第3のステップでは、最も使用頻度数の小さい移動エージェントが削除対象として選択され、
前記置き換え選択に用いる情報が、前記 (b) の場合、前記置き換え制御情報は、削除対象エージェントの名前を含み、前記第3のステップでは、前記置き換え制御情報に含まれ る前記削除対象エージェントの名前と同じ名前を持つ移動エージェントが削除対象として選択され、
前記置き換え選択に用いる情報が、前記 (c) の場合、前記置き換え制御情報は、削除対象エージェントが利用する資源リストを含み、前記第3のステップでは、前記置き換え制御情報の前記資源リストに一致する資源リストを持つ移動エージェントが削除対象として選択される、ことを特徴とする移動エージェント置き換え方法。
In a mobile agent system that receives, stores, and executes mobile agents that move from other computer systems via the network,
A mobile agent main body storage unit for storing a mobile agent held in the mobile agent system;
A mobile agent accepting unit for inputting a new moving agent;
A mobile agent storage control unit that performs processing control to store the received mobile agent in the mobile agent main body storage unit;
A mobile agent replacement method for a mobile agent system comprising:
A first step of inputting replacement control information for deleting a mobile agent already held and replacing it with a newly moving mobile agent;
A second step of managing information used for replacement selection in addition to the information related to the storage location of the mobile agent possessed;
A third step of determining a mobile agent to be deleted for replacement, out of the mobile agents held in the mobile agent main body storage unit, using the information used for the replacement selection and the input replacement information; ,
Including
The replacement control information input in the first step includes at least the size of a mobile agent that newly moves,
Information used for the replacement selection managed in the second step is related to the mobile agent held in the mobile agent main body storage unit.
(a) frequency of use of the mobile agent;
(b) the name of the mobile agent;
(c) a resource list used by the mobile agent;
Including at least one of
When the information used for the replacement selection is (a) , in the third step, the mobile agent with the smallest use frequency number is selected as a deletion target,
Information used for the replacement selection, if the (b), the replacement control information includes the name of the deleted agent, the name of the in the third step, the deletion target agent that is part of the replacement control information A mobile agent with the same name as is selected for deletion,
When the information used for the replacement selection is (c) , the replacement control information includes a resource list used by the agent to be deleted, and in the third step, matches the resource list of the replacement control information. A mobile agent replacement method, wherein a mobile agent having a resource list is selected for deletion .
ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムにおいて、
前記移動エージェントシステム内に既に保持する移動エージェントを格納する移動エージェント本体格納部と、
新たに移動してくる移動エージェントに関する情報を入力する移動情報受付け部と、
移動エージェントを前記移動エージェント本体格納部に格納する処理制御を行なう移動エージェント格納制御部と、
を備えた移動エージェントシステムの移動エージェント置き換え方法であって、
前記受け付けた移動情報から移動エージェント本体を抽出する第1のステップと、
前記受け付けた移動情報から置き換え制御情報を抽出する第2のステップと、
保有する移動エージェントの格納箇所に関する情報に加えて置き換え選択に用いる情報を管理する第3のステップと、
前記置き換え選択に用いる情報と、前記置き換え制御情報とを用いて、前記移動エージェント本体格納部に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定するステップと、
を含
前記第1のステップで抽出される前記置き換え制御情報は、新たに移動してくる移動エージェントの大きさを少なくとも含み、
前記第1のステップで管理される、前記置き換え選択に用いる情報は、前記移動エージェント本体格納部に保持されている移動エージェントに関して、
(a) 前記移動エージェントの使用頻度、
(b) 前記移動エージェントの名前、
(c) 前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置き換え選択に用いる情報が、前記 (a) の場合、前記第3のステップでは、最も使用頻度数の小さい移動エージェントが削除対象として選択され、
前記置き換え選択に用いる情報が、前記 (b) の場合、前記置き換え制御情報は、削除対象エージェントの名前を含み、前記第3のステップでは、前記置き換え制御情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントが削除対象として選択され、
前記置き換え選択に用いる情報が、前記 (c) の場合、前記置き換え制御情報は、削除対象エージェントが利用する資源リストを含み、前記第3のステップでは、前記置き換え制御情報の前記資源リストに一致する資源リストを持つ移動エージェントが削除対象として選択される、ことを特徴とする移動エージェント置き換え方法。
In a mobile agent system that receives, stores, and executes mobile agents that move from other computer systems via the network,
A mobile agent body storage unit for storing a mobile agent already held in the mobile agent system;
A movement information receiving unit for inputting information on a newly moving mobile agent;
A mobile agent storage control unit that performs processing control for storing a mobile agent in the mobile agent main body storage unit;
A mobile agent replacement method for a mobile agent system comprising:
A first step of extracting a mobile agent body from the received movement information;
A second step of extracting replacement control information from the received movement information;
A third step of managing information used for replacement selection in addition to the information related to the storage location of the mobile agent possessed;
Determining a mobile agent to be deleted for replacement out of the mobile agents held in the mobile agent main body storage unit using the information used for the replacement selection and the replacement control information;
Only including,
The replacement control information extracted in the first step includes at least the size of a mobile agent that newly moves,
Information used for the replacement selection managed in the first step is related to the mobile agent held in the mobile agent main body storage unit.
(a) frequency of use of the mobile agent;
(b) the name of the mobile agent;
(c) a resource list used by the mobile agent;
Including at least one of
When the information used for the replacement selection is (a) , in the third step, the mobile agent with the smallest use frequency number is selected as a deletion target,
When the information used for the replacement selection is (b) , the replacement control information includes the name of the deletion target agent. In the third step, the name of the deletion target agent included in the replacement control information A mobile agent with the same name is selected for deletion,
When the information used for the replacement selection is (c) , the replacement control information includes a resource list used by the agent to be deleted, and in the third step, matches the resource list of the replacement control information. A mobile agent replacement method, wherein a mobile agent having a resource list is selected for deletion .
ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムにおいて、
移動エージェントシステム内に保持する移動エージェントを格納する移動エージェント本体格納部を備え、
(a)新たに移動してくる移動エージェントを入力する移動エージェント受付け処理と、
(b)受け付けた移動エージェントを前記移動エージェント本体格納部に格納する処理制御を行なう移動エージェント格納制御処理と、
(c)既に保持する移動エージェントを削除し新たに移動してくる移動エージェントに置き換えるための置き換え制御情報を入力する置き換え情報受付け処理と、
(d)保有する移動エージェントの格納箇所に関する情報に加えて置き換え選択に用いる情報を管理する保有エージェント管理処理と、
(e)前記置き換え選択に用いる情報と、前記置き換え情報受付け処理で入力された情報とを用いて、前記移動エージェント本体格納部に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する置き換え対象選択処理と、
を有し、
前記置き換え情報受付け処理に入力される前記置き換え制御情報は、新たに移動してくる移動エージェントの大きさを少なくとも含み、
前記保有エージェント管理処理で管理される、前記置き換え選択に用いる情報は、前記移動エージェント本体格納部に保持されている移動エージェントに関して、
( ) 前記移動エージェントの使用頻度、
( ) 前記移動エージェントの名前、
( ) 前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置き換え選択に用いる情報が、前記 ( ) の場合、前記置き換え対象選択処理は、最も使用頻度数の小さい移動エージェントを削除対象として選択し、
前記置き換え選択に用いる情報が、前記 ( ) の場合、前記置き換え制御情報は、削除対象エージェントの名前を含み、前記置き換え対象選択処理は、前記置き換え制御情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントを削除対象として選択し、
前記置き換え選択に用いる情報が、前記 ( ) の場合、前記置き換え制御情報は、削除対象エージェントが利用する資源リストを含み、前記置き換え対象選択処理は、前記置き換え制御情報の前記資源リストに一致する資源リストを持つ移動エージェントを削除対象として選択し、
前記(a)乃至(e)の各処理をコンピュータに実行させるプログラムを記録した記録媒体。
In a mobile agent system that receives, stores, and executes mobile agents that move from other computer systems via the network,
A mobile agent main body storage unit for storing a mobile agent held in the mobile agent system is provided.
(A) a mobile agent acceptance process for inputting a new mobile agent to be moved;
(B) a mobile agent storage control process for performing a process control for storing the received mobile agent in the mobile agent main body storage unit;
(C) a replacement information acceptance process for inputting replacement control information for deleting a mobile agent already held and replacing it with a mobile agent that newly moves;
(D) a possessed agent management process for managing information used for replacement selection in addition to the information on the storage location of the retained mobile agent;
(E) A mobile agent to be deleted for replacement out of mobile agents held in the mobile agent main body storage unit using information used for the replacement selection and information input in the replacement information receiving process A replacement target selection process for determining
Have
The replacement control information input to the replacement information acceptance process includes at least the size of a mobile agent that newly moves,
Information used for the replacement selection managed in the possessed agent management process is related to the mobile agent held in the mobile agent main body storage unit.
( 1 ) Frequency of use of the mobile agent,
( 2 ) The name of the mobile agent,
( 3 ) Resource list used by the mobile agent,
Including at least one of
When the information used for the replacement selection is ( 1 ) , the replacement target selection process selects the mobile agent with the lowest use frequency as the deletion target,
When the information used for the replacement selection is ( 2 ) , the replacement control information includes the name of the deletion target agent, and the replacement target selection processing includes the name of the deletion target agent included in the replacement control information. Select a mobile agent with the same name for deletion,
When the information used for the replacement selection is ( 3 ) , the replacement control information includes a resource list used by the deletion target agent, and the replacement target selection process matches the resource list of the replacement control information. Select a mobile agent with a resource list for deletion,
A recording medium on which a program for causing a computer to execute the processes (a) to (e) is recorded.
ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムにおいて、
移動エージェントシステム内に保持する移動エージェントを格納する移動エージェント本体格納部を備え、
(a)新たに移動してくる移動エージェントに関する情報を入力する移動情報受付け処理と、
(b)移動エージェントを前記移動エージェント本体格納処理に格納する処理制御を行なう移動エージェント格納制御処理と、
(c)前記受け付けた移動情報から移動エージェント本体を抽出する移動エージェント抽出処理と、
(d)前記受け付けた移動情報から置き換え制御情報を抽出する置き換え情報抽出処理と、
(e)保有する移動エージェントの格納箇所に関する情報に加えて置き換え選択に用いる情報を管理する保有エージェント管理処理と、
(f)前記置き換え選択に用いる情報と、前記置き換え情報抽出処理の出力情報とを用いて、前記移動エージェント本体格納部に保持されている移動エージェントのうち、置き換えのために削除する移動エージェントを決定する置き換え対象選択処理と、
を有し、
前記置き換え情報抽出処理で抽出される前記置き換え制御情報は、新たに移動してくる移動エージェントの大きさを少なくとも含み、
前記保有エージェント管理処理で管理される、前記置き換え選択に用いる情報は、前記移動エージェント本体格納部に保持されている移動エージェントに関して、
(1)前記移動エージェントの使用頻度、
(2)前記移動エージェントの名前、
(3)前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置き換え選択に用いる情報が、前記(1)の場合、前記置き換え対象選択処理は、最も使用頻度数の小さい移動エージェントを削除対象として選択し、
前記置き換え選択に用いる情報が、前記(2)の場合、前記置き換え制御情報は、削除対象エージェントの名前を含み、前記置き換え対象選択処理は、前記置き換え制御情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントを削除対象として選択し、
前記置き換え選択に用いる情報が、前記(3)の場合、前記置き換え制御情報は、削除対象エージェントが利用する資源リストを含み、前記置き換え対象選択処理は、前記置き換え制御情報の前記資源リストに一致する資源リストを持つ移動エージェントを削除対象として選択し、
前記(a)乃至(f)の各処理をコンピュータに実行させるプログラムを記録した記録媒体。
In a mobile agent system that receives, stores, and executes mobile agents that move from other computer systems via the network,
A mobile agent main body storage unit for storing a mobile agent held in the mobile agent system is provided.
(A) a movement information accepting process for inputting information on a newly moving mobile agent;
(B) a mobile agent storage control process for performing process control for storing a mobile agent in the mobile agent main body storage process;
(C) a mobile agent extraction process for extracting a mobile agent body from the received movement information;
(D) replacement information extraction processing for extracting replacement control information from the received movement information;
(E) a possessed agent management process for managing information used for replacement selection in addition to information on the storage location of the retained mobile agent;
(F) Using the information used for the replacement selection and the output information of the replacement information extraction process, the mobile agent to be deleted for replacement is determined among the mobile agents held in the mobile agent main body storage unit. Replacement target selection process to be
Have
The replacement control information extracted by the replacement information extraction process includes at least the size of a mobile agent that newly moves,
Information used for the replacement selection managed in the possessed agent management process is related to the mobile agent held in the mobile agent main body storage unit.
(1) Frequency of use of the mobile agent,
(2) The name of the mobile agent
(3) Resource list used by the mobile agent,
Including at least one of
When the information used for the replacement selection is (1), the replacement target selection process selects the mobile agent with the smallest usage frequency as a deletion target,
When the information used for the replacement selection is (2), the replacement control information includes the name of the deletion target agent, and the replacement target selection process includes the name of the deletion target agent included in the replacement control information. Select a mobile agent with the same name for deletion,
When the information used for the replacement selection is (3) , the replacement control information includes a resource list used by the deletion target agent, and the replacement target selection process matches the resource list of the replacement control information. Select a mobile agent with a resource list for deletion,
A recording medium on which a program for causing a computer to execute the processes (a) to (f) is recorded.
ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムであって、
移動元が、移動先に新たな移動エージェントを移動させるにあたり、前記新たに移動する移動エージェントの大きさと付加情報を持つ置き換え制御情報を、前記移動エージェントの移動に先だって、前記移動先に送信する手段を備え、
前記移動先が、保持する移動エージェントを格納する移動エージェント本体格納部の格納開始番地、その長さ、及び、置き換え選択に参照される所定の付加情報からなる保持エージェント管理情報を移動エージェントのごとに備えたテーブルと、
前記移動元から送信された置き換え制御情報を受け取り、前記テーブルを参照して、前記移動エージェントが格納可能か否かを判定し、格納不能である場合、前記テーブルに格納されている付加情報、又は、前記付加情報と前記置き換え制御情報に基づき、既に保持している移動エージェントの中から削除対象として適切なものを選択して削除して、移動エージェント本体格納部に領域を確保するように制御する置き換え対象選択手段と、
前記移動元へ移動エージェント受け付け可能指示情報を送信する手段と、
を備え、
前記移動先は、前記移動元から送信された移動エージェント本体を受け付け、前記テーブルの保持エージェント管理情報を更新し、新たに移動してきた前記移動エージェントを前記移動エージェント本体格納部に格納し、
前記テーブルに保持される、前記保持エージェント管理情報の前記置き換え選択に参照される所定の付加情報として、
(a) 前記移動エージェントの使用頻度、
(b) 前記移動エージェントの名前、
(c) 前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置き換え選択に参照される所定の付加情報が、前記 (a) の場合、前記置き換え対象選択手段は、最も使用頻度数の小さい移動エージェントを削除対象として選択し、
前記置き換え選択に参照される所定の付加情報が、前記 (b) の場合、前記置き換え制御情報の付加情報は、削除対象エージェントの名前を含み、前記置き換え対象選択手段は、前記置き換え制御情報の付加情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントを削除対象として選択し、
前記置き換え選択に参照される所定の付加情報が、前記 (c) の場合、前記置き換え制御情報の付加情報は、削除対象エージェントが利用する資源リストを含み、前記置き換え対 象選択手段は、前記置き換え制御情報の付加情報に含まれる前記資源リストに一致する資源リストを持つ移動エージェントを削除対象として選択する、ことを特徴とする移動エージェントシステム。
A mobile agent system that receives, stores, and executes a mobile agent that moves from another computer system via a network.
When the movement source moves a new movement agent to the movement destination, means for transmitting replacement control information having the size and additional information of the new movement agent to the movement destination prior to the movement of the movement agent With
For each mobile agent, the migration destination stores storage agent management information including a storage start address of the mobile agent main body storage unit that stores the mobile agent to be held, its length, and predetermined additional information referred to replacement selection. A table with
The replacement control information transmitted from the movement source is received and the table is referenced to determine whether or not the mobility agent can be stored. If the storage agent cannot store the additional information stored in the table, or Based on the additional information and the replacement control information, the mobile agent that has already been held is selected and deleted as appropriate for deletion, and control is performed to secure an area in the mobile agent main body storage unit. A replacement target selection means;
Means for transmitting mobile agent acceptance instruction information to the source;
With
The destination receives the mobile agent main body transmitted from the source, updates the held agent management information in the table, stores the newly moved mobile agent in the mobile agent main body storage unit ,
As predetermined additional information that is held in the table and is referred to for the replacement selection of the held agent management information,
(a) frequency of use of the mobile agent;
(b) the name of the mobile agent;
(c) a resource list used by the mobile agent;
Including at least one of
When the predetermined additional information referred to in the replacement selection is (a) , the replacement target selection unit selects a mobile agent with the smallest number of use frequencies as a deletion target,
When the predetermined additional information referred to in the replacement selection is (b) , the additional information of the replacement control information includes the name of the agent to be deleted, and the replacement target selection unit adds the replacement control information. Select a mobile agent having the same name as the name of the agent to be deleted included in the information to be deleted,
Predetermined additional information that is referred to the replacement selection, if the (c), the additional information of the replacement control information includes a resource list deletion agent to use, the replacement Target selection means, the replacement A mobile agent system, wherein a mobile agent having a resource list that matches the resource list included in the additional information of the control information is selected as a deletion target .
ネットワークを経由して、他の計算機システムから移動してくる移動エージェントを受け付け、格納し、実行する移動エージェントシステムであって、
移動元が、移動先に新たな移動エージェントを移動させようとする場合、新たに移動する移動エージェントの大きさと置き換え制御情報と移動エージェント本体を含む移動情報を、前記移動先に送信する手段を備え、
前記移動先は、保持する移動エージェントを格納する移動エージェント本体格納部の格納開始番地、その長さ、及び、置き換え選択に参照される所定の付加情報からなる保持エージェント管理情報を移動エージェントごとに記憶するテーブルと、
前記移動元から送信された移動情報を受け取り、該移動情報から置き換え制御情報を抽出する置き換え情報抽出手段と、
前記置き換え制御情報と、前記テーブルを参照して、前記移動エージェントが格納可能か否かを判定し、格納不能である場合、前記テーブルに格納されている付加情報、又は、前記付加情報と前記置き換え制御情報に基づき、既に保持している移動エージェントの中から削除対象として適切なものを選択し、削除対象となる移動エージェントを削除して、移動エージェント本体格納部に領域を確保する置き換え対象選択手段と、
前記移動情報から移動エージェント本体を抽出する手段と、
前記抽出した移動エージェント本体を前記移動エージェント本体格納部に格納するとともに、前記テーブルの保持エージェント管理情報を更新する手段と、
を備え
前記置き換え情報抽出手段で抽出される前記置き換え制御情報は、新たに移動してくる移動エージェントの大きさを少なくとも含み、
前記テーブルに保持される、前記保持エージェント管理情報の前記置き換え選択に参照される所定の付加情報として、
(a) 前記移動エージェントの使用頻度、
(b) 前記移動エージェントの名前、
(c) 前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置き換え選択に参照される所定の付加情報が、前記 (a) の場合、前記置き換え対象選択手段は、最も使用頻度数の小さい移動エージェントを削除対象として選択し、
前記置き換え選択に参照される所定の付加情報が、前記 (b) の場合、前記置き換え制御情報は、削除対象エージェントの名前を含み、前記置き換え対象選択手段は、前記置き換え制御情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントを削除対象として選択し、
前記置き換え選択に参照される所定の付加情報が、前記 (c) の場合、前記置き換え制御情報は、削除対象エージェントが利用する資源リストを含み、前記置き換え対象選択手段は、前記置き換え制御情報の前記資源リストに一致する資源リストを持つ移動エージェントを削除対象として選択する、ことを特徴とする移動エージェントシステム。
A mobile agent system that receives, stores, and executes a mobile agent that moves from another computer system via a network.
When the movement source intends to move a new movement agent to the movement destination, the movement source includes means for transmitting the movement information including the size of the movement agent to be newly moved, the replacement control information, and the movement agent body to the movement destination. ,
The moving destination stores, for each moving agent, holding agent management information including a storage start address of the mobile agent main body storage unit storing the held mobile agent, its length, and predetermined additional information referred to replacement selection. And a table to
Replacement information extraction means for receiving movement information transmitted from the movement source and extracting replacement control information from the movement information;
With reference to the replacement control information and the table, it is determined whether or not the mobile agent can be stored. If the mobile agent cannot be stored, the additional information stored in the table or the replacement information and the replacement information is replaced. Replacement target selection means for selecting an appropriate deletion target from among already held mobile agents based on the control information, deleting the mobile agent to be deleted, and securing an area in the mobile agent main body storage unit When,
Means for extracting a mobile agent body from the movement information;
Means for storing the extracted mobile agent main body in the mobile agent main body storage unit and updating the retained agent management information in the table;
Equipped with a,
The replacement control information extracted by the replacement information extraction means includes at least the size of a mobile agent that newly moves,
As predetermined additional information that is held in the table and is referred to for the replacement selection of the held agent management information,
(a) frequency of use of the mobile agent;
(b) the name of the mobile agent;
(c) a resource list used by the mobile agent;
Including at least one of
When the predetermined additional information referred to in the replacement selection is (a) , the replacement target selection unit selects a mobile agent with the smallest number of use frequencies as a deletion target,
When the predetermined additional information referred to in the replacement selection is (b) , the replacement control information includes the name of the agent to be deleted, and the replacement target selection means is the deletion target included in the replacement control information. Select a mobile agent with the same name as the target agent for deletion,
When the predetermined additional information referred to in the replacement selection is (c) , the replacement control information includes a resource list used by the deletion target agent, and the replacement target selection unit is configured to store the replacement control information in the replacement control information. A mobile agent system , wherein a mobile agent having a resource list that matches the resource list is selected for deletion .
(a)移動元が、移動先に新たな移動エージェントを移動させようとする場合、新たに移動する移動エージェントの大きさと付加情報を持つ置き換え制御情報を移動先に送信するステップと、
(b)前記移動先は置き換え制御情報を受け取り、保持する移動エージェントを格納する開始番地、その長さ、ならびに、置換選択に用いられる所定の付加情報からなる保持エージェント管理情報を移動エージェントごとに備えたテーブルを参照して、前記移動エージェントが格納可能か否かを判定するステップと、
(c)前記ステップ(b)の判定で格納可能である場合は、ステップ(e)に移行し、一方、格納不能である場合、前記テーブルに保持される付加情報、又は、前記付加情報と前記置き換え制御情報に基づき、既に保持している移動エージェントの中から削除対象として適切なものを選択するステップと、
(d)削除対象として選択された保持移動エージェントを削除して、移動エージェント本体格納部に領域を確保するステップと、
(e)前記移動先から前記移動元に移動エージェント受付け可能指示を送出するステップと、
(f)前記移動先は前記移動元から送信された移動エージェント本体を受け付け、前記テーブルの保持エージェント管理情報を更新し、新たに移動してきた前記の移動エージェントを移動エージェント本体格納部に格納するステップと、
を含み、
前記テーブルに保持される、前記保持エージェント管理情報の前記置換選択に用いられる所定の付加情報として、
(1)前記移動エージェントの使用頻度、
(2)前記移動エージェントの名前、
(3)前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置換選択に用いられる所定の付加情報が、前記(1)の場合、前記(c)のステップは、最も使用頻度数の小さい移動エージェントを削除対象として選択し、
前記置換選択に用いられる所定の付加情報が、前記(2)の場合、前記置き換え制御情報の付加情報は、削除対象エージェントの名前を含み、前記(c)のステップは、前記置き換え制御情報の付加情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントを削除対象として選択し、
前記置換選択に用いられる所定の付加情報が、前記(3)の場合、前記置き換え制御情報の付加情報は、削除対象エージェントが利用する資源リストを含み、前記(c)のステップは、前記置き換え制御情報の付加情報に含まれる前記資源リストに一致する資源リストを持つ移動エージェントを削除対象として選択する、ことを特徴とする移動エージェント置き換え方法。
(A) when the movement source intends to move a new mobile agent to the movement destination, the step of transmitting replacement control information having the size of the new movement agent and additional information to the movement destination;
(B) The moving destination receives replacement control information, and includes for each moving agent holding agent management information including a start address for storing the held mobile agent, its length, and predetermined additional information used for replacement selection. Determining whether the mobile agent can be stored with reference to the table,
(C) If it can be stored in the determination of step (b), the process proceeds to step (e). On the other hand, if it cannot be stored, the additional information held in the table, or the additional information and the Based on the replacement control information, selecting an appropriate deletion target from among the mobile agents already held;
(D) deleting the retained mobile agent selected as the deletion target and securing an area in the mobile agent main body storage unit;
(E) sending a mobile agent acceptance instruction from the destination to the source;
(F) The movement destination accepts the mobile agent main body transmitted from the movement source, updates the held agent management information in the table, and stores the newly moved mobile agent in the mobile agent main body storage unit. When,
Including
As predetermined additional information used for the replacement selection of the held agent management information held in the table,
(1) Frequency of use of the mobile agent,
(2) The name of the mobile agent
(3) Resource list used by the mobile agent,
Including at least one of
When the predetermined additional information used for the replacement selection is (1), the step (c) selects a mobile agent having the smallest use frequency as a deletion target,
When the predetermined additional information used for the replacement selection is (2), the additional information of the replacement control information includes the name of the agent to be deleted , and the step (c) includes adding the replacement control information. Select a mobile agent having the same name as the name of the agent to be deleted included in the information to be deleted,
When the predetermined additional information used for the replacement selection is (3), the additional information of the replacement control information includes a resource list used by the deletion target agent , and the step (c) includes the replacement control. A mobile agent replacement method, wherein a mobile agent having a resource list that matches the resource list included in the additional information of information is selected as a deletion target.
(a)移動元が、移動先に新たな移動エージェントを移動させようとする場合、新たに移動する移動エージェントの大きさと付加情報を持つ置き換え制御情報と移動エージェント本体を含む移動情報を、移動先に送信するステップと、
(b)前記移動情報を受け取った前記移動先において、該移動情報から置き換え制御情報を抽出するステップと、
(c)前記置き換え制御情報から、保持する移動エージェントを格納する開始番地、その長さ、ならびに、置換選択に用いられる所定の付加情報からなる保持エージェント管理情報を移動エージェントごとに備えたテーブルを参照して、前記移動エージェントが格納可能か否かを判定するステップと、
(d)前記ステップ(c)の判定で格納可能である場合は、ステップ(f)に移行し、一方、格納不能である場合、前記テーブルに保持される付加情報、又は前記付加情報と前記置き換え制御情報に基づき、既に保持している移動エージェントの中から削除対象として適切なものを選択するステップと、
(e)削除対象として選択された移動エージェントを削除して、移動エージェント本体格納部に領域を確保するステップと、
(f)前記移動情報から移動エージェント本体を抽出するステップと、
(g)前記抽出した移動エージェント本体を前記移動エージェント本体格納部に格納するとともに前記テーブルの保持エージェント管理情報を更新するステップと、
を含み、
前記(b)のステップで抽出される前記置き換え制御情報は、新たに移動してくる移動エージェントの大きさを少なくとも含み、
前記テーブルに保持される前記保持エージェント管理情報の置換選択に用いられる所定の付加情報として、
(1)前記移動エージェントの使用頻度、
(2)前記移動エージェントの名前、
(3)前記移動エージェントが利用する資源リスト、
のうちの少なくとも1つを含み、
前記置換選択に用いられる所定の付加情報が、前記(1)の場合、前記(d)のステップは、最も使用頻度数の小さい移動エージェントを削除対象として選択し、
前記置き換え選択に参照される所定の付加情報が、前記(2)の場合、前記置き換え制御情報は、削除対象エージェントの名前を含み、前記(d)のステップは、前記置き換え制御情報に含まれる前記削除対象エージェントの名前と同じ名前を持つ移動エージェントを削除対象として選択し、
前記置き換え選択に参照される所定の付加情報が、前記(3)の場合、前記置き換え制御情報は、削除対象エージェントが利用する資源リストを含み、前記(d)のステップは、前記置き換え制御情報の前記資源リストに一致する資源リストを持つ移動エージェントを削除対象として選択する、ことを特徴とする移動エージェント置き換え方法。
(A) When the movement source tries to move a new movement agent to the movement destination, the movement information including the replacement control information having the size and additional information of the movement agent to be newly moved and the movement agent main body is moved to the movement destination. Sending to
(B) extracting replacement control information from the movement information at the movement destination that has received the movement information;
(C) From the replacement control information, refer to a table provided for each mobile agent with the starting address for storing the mobile agent to be held, its length, and holding agent management information including predetermined additional information used for replacement selection. Determining whether the mobile agent can be stored;
(D) If it can be stored in the determination of step (c) , the process proceeds to step (f) . On the other hand, if it cannot be stored, the additional information held in the table, or the replacement with the additional information Based on the control information, selecting an appropriate deletion target from among already held mobile agents;
(E) deleting a mobile agent selected as a deletion target and securing an area in the mobile agent main body storage unit;
(F) extracting a mobile agent body from the movement information;
(G) storing the extracted mobile agent body in the mobile agent body storage unit and updating the held agent management information in the table;
Including
The replacement control information extracted in the step (b) includes at least the size of a mobile agent that newly moves,
As predetermined additional information used for replacement selection of the held agent management information held in the table,
(1) Frequency of use of the mobile agent,
(2) The name of the mobile agent
(3) Resource list used by the mobile agent,
Including at least one of
When the predetermined additional information used for the replacement selection is (1), the step (d) selects the mobile agent with the lowest use frequency as a deletion target,
When the predetermined additional information referred to in the replacement selection is (2), the replacement control information includes the name of the agent to be deleted, and the step (d) includes the replacement control information. Select a mobile agent with the same name as the agent you want to delete
When the predetermined additional information referred to in the replacement selection is (3), the replacement control information includes a resource list used by the agent to be deleted, and the step (d) includes the replacement control information A mobile agent replacement method, wherein a mobile agent having a resource list that matches the resource list is selected as a deletion target.
JP2000038441A 2000-02-16 2000-02-16 Mobile agent replacement system and method, and recording medium recording program Expired - Fee Related JP3705070B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000038441A JP3705070B2 (en) 2000-02-16 2000-02-16 Mobile agent replacement system and method, and recording medium recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000038441A JP3705070B2 (en) 2000-02-16 2000-02-16 Mobile agent replacement system and method, and recording medium recording program

Publications (2)

Publication Number Publication Date
JP2001229039A JP2001229039A (en) 2001-08-24
JP3705070B2 true JP3705070B2 (en) 2005-10-12

Family

ID=18562175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000038441A Expired - Fee Related JP3705070B2 (en) 2000-02-16 2000-02-16 Mobile agent replacement system and method, and recording medium recording program

Country Status (1)

Country Link
JP (1) JP3705070B2 (en)

Also Published As

Publication number Publication date
JP2001229039A (en) 2001-08-24

Similar Documents

Publication Publication Date Title
US7840957B2 (en) Computer program and apparatus for updating installed software programs by comparing update times
US8140631B2 (en) Method for mailbox migration
JP4304194B2 (en) File system management apparatus and method
US9092474B2 (en) Incremental conversion of database objects during upgrade of an original system
JP3705070B2 (en) Mobile agent replacement system and method, and recording medium recording program
US7403792B2 (en) Cellular phone and automatic program update method used therefor
JP2000259468A (en) Method and device for buffer cache in file system
JP2006252354A (en) Data management device, cellular phone, data management method, program, and recording medium
KR20170106626A (en) Method and computing apparatus for maniging main memory database
CN107643959B (en) Mirror image file processing method and device
CN109783274B (en) Disk snapshot management method and device and readable storage medium
CN104375781B (en) Data access method and device
EP1298666A2 (en) Method, apparatus and computer program product for recording additional information on a rewritable recording medium
KR100498771B1 (en) Method and system for managing applications for a mobile terminal
JPH0566989A (en) Memory managing device for information processing system
CN111831231B (en) Partition merging and partition splitting method and device
CN109379412A (en) A kind of method and apparatus for deleting cloud host
CN110381121B (en) Data processing method and device
JP3166676B2 (en) Apparatus and method for preventing file fragmentation by downloading
JP2011138223A (en) Search device, search method and program
JP2010061395A (en) Information processing apparatus, information processing method, information acquisition apparatus, information acquisition method, communication system and communication method
KR20070111626A (en) Method and apparatus for allocating free space of disc for a file to be written on the disc
JP6451170B2 (en) Information processing apparatus and program
JPWO2005059757A1 (en) Recording device controller
CN117520010A (en) Message processing method and system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040622

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050308

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050509

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: 20050705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050718

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080805

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100805

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120805

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130805

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees