JP3983187B2 - Entity device, link re-establishing method, and computer program - Google Patents

Entity device, link re-establishing method, and computer program Download PDF

Info

Publication number
JP3983187B2
JP3983187B2 JP2003070039A JP2003070039A JP3983187B2 JP 3983187 B2 JP3983187 B2 JP 3983187B2 JP 2003070039 A JP2003070039 A JP 2003070039A JP 2003070039 A JP2003070039 A JP 2003070039A JP 3983187 B2 JP3983187 B2 JP 3983187B2
Authority
JP
Japan
Prior art keywords
entity
event
shared link
entity device
event place
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
JP2003070039A
Other languages
Japanese (ja)
Other versions
JP2004280384A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2003070039A priority Critical patent/JP3983187B2/en
Publication of JP2004280384A publication Critical patent/JP2004280384A/en
Application granted granted Critical
Publication of JP3983187B2 publication Critical patent/JP3983187B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、エンティティ装置、リンク再確立方法、及び、コンピュータプログラムに関する。
【0002】
【従来の技術】
近年、ネットワークの業界において、「ブローカレス型探索モデル」という新たな概念が考え出された。このブローカレス型探索モデルが、2000年3月に発表されたGnutellaのような、世界中で注目されるようになったP2P(Peer-to-Peer)に相当する。また、2001年4月に発表されたJXTAもP2P、すなわちブローカレス型探索モデルに相当する。P2Pは、WWW以来の革新技術であり、第3世代と呼ばれている。なお、近年、伝送レイヤにP2Pの概念を適用したブローカレス型伝送モデルや、ポリシーレイヤにP2Pの考え方を適用したブローカレス型ポリシーモデルの研究開発が活発化していている。ブローカレス(配信)モデルのディメンションを図23に示す。このブローカレス型探索モデルの1つがSIONet(Semantic Information-Oriented Network、意味情報ネットワーク)である。
【0003】
SIONetは、意味情報(メタデータ)に基づいて、データと当該データの意味情報とからなるイベントを配送するメタネットワークである。図24に示すように、イベント受信者は、受信したいイベントの条件を示す意味情報を予めSIONetに登録しておく。イベント送信者からイベントがSIONetに送信されると、SIONetは、当該イベントの意味情報と、登録された意味情報とを照合し、その照合結果に基づいて、当該イベントをイベント受信者に送信する。このように、イベントをSIONetに送信することを「刺激」といい、登録した意味情報とイベントの意味情報とが合致し、当該意味情報を登録したイベント受信者に、当該イベントを通知することを「発火」という。
【0004】
これにより、ネットワーク上に超分散する不特定多数のエンティティの中から、特定のエンティティを動的に探索・発見することができる。すなわち、SIONetは、従来のネットワークで用いていた宛先アドレス(誰に対して送信する)の代わりに、意味情報(どういう人に対して送信する)に基づいてイベントを配送するネットワークである。
【0005】
また、SIONetは、SIONetの構成要素を含めたすべてのエンティティが自律分散協調することにより、ネットワークが自己組織化される自律分散協調ネットワーク(自律分散コンピュータ)である。SIONetのネットワーク構成要素には、「意味情報スイッチ(SI-SW)」、「意味情報ルータ(SI-R)」、「意味情報ゲートウェイ(SI-GW)」、「イベントプレース」、「セッション」などがあり、これらが必要に応じて自己組織化することにより、セキュアーでスケーラブルなP2Pネットワークをボトムアップアプローチで構築することができる。
【0006】
SIONetの基本概念・原理は単純で一元的である。“エンティティによるフィルタの登録とイベントの送出“という単純操作の繰り返し、すなわち、”エンティティの「刺激」と「発火」が、SIONetのネットワーク構成要素間で「連鎖反応」”することにより、すべてのエンティティを自律分散協調させる点にある。この連鎖反応の振舞いを制御するものが、上述のイベント受信者がSIONetに登録した意味情報であり、これを「フィルタ」という。フィルタに登録するフィルタ値により、エンティティの連鎖反応の仕方を動的に制御することができる。SIONetにおけるもう一つの基本概念がイベントプレースである。イベントプレースは、シェアードリンクにより相互に接続されたエンティティグループであり、これにより連鎖反応の範囲を制限することができる。
なお、SIONetの詳細については非特許文献1、2に記載されている。また、この発明の出願人は、先に、特願2001-394980によってSIONetに関する出願を行っている。
【0007】
【非特許文献1】
星合隆成、小柳恵一、ビルゲー・スクバタール、久保田稔、柴田弘、酒井隆道、"意味情報ネットワークアーキテクチャ"、電子情報通信学会論文誌B、Vol.J84-B、No.3、pp.4,11-4,2,4(2000.7受付、 2001-3掲載)
【非特許文献2】
星合隆成、柴田弘、酒井隆道、小柳恵一:"意味情報ネットワークアーキテクチャ:SIONアーキテクチャ"、NTT R&D、Vol.50、No.3、pp.157-164(2000.12受付、2001.3掲載)
【0008】
【発明が解決しようとする課題】
SIONetでは、イベントプレースという概念が提唱されている。イベントプレースとは、イベント又はイベントパスの波及範囲であり、言い換えると、シェアードリンクで結合されているエンティティのグループである。そして、このイベントプレース内のエンティティが、他のイベントプレース内のエンティティ、もしくは、他のイベントプレースに対して、フェデレーション(連携)要求を行うことにより、これらのイベントプレースが連携する。しかし、フェデレーション要求を行ったエンティティ、あるいは、フェデレーション要求を受けたエンティティが、イベントプレースから退去することにより、これらイベントプレースのフェデレーションが解除され、ネットワークが分断してしまうという問題があった。
【0009】
本発明はこのような事情に鑑みてなされたもので、イベントプレース間のフェデレーションを行っているエンティティが退去しても、ネットワークを分断することなく、フェデレーションを継続することのできるエンティティ装置、リンク再確立方法、及び、コンピュータプログラムを提供することを目的とする。
【0010】
【課題を解決するための手段】
本発明は上記の目的を達成するためになされたもので、請求項1に記載の発明は、自身の属するイベントプレースと、該イベントプレースと連携を行っている他のイベントプレースとの間の連携を維持させ、該イベントプレースからの退去を行うエンティティ装置であって、自身の属するイベントプレースからの退去を行うときに、自身がイベントプレースの連携を行っている場合には、該イベントプレースに属し、自身とシェアードリンクを確立しているエンティティ装置の中から、前記他のイベントプレースに属し、自身とシェアードリンクを確立して連携を行っているエンティティ装置との連携を行わせるエンティティ装置を選択する選択手段と、自身とシェアードリンクを確立している全てのエンティティ装置へ自身とのシェアードリンクの解除を指示するとともに、自身とシェアードリンクを確立している下流のエンティティ装置へシェアードリンクの再確立先のエンティティ装置の情報を通知する通知手段と、前記選択した他のイベントプレースとの連携を行わせるエンティティ装置に対しては、フェデレーションのためのシェアードリンク再確立先を通知する手段と、を備え、前記選択手段は、該イベントプレース内に上流のエンティティ装置がある場合には1ホップ上流のエンティティ装置を、上流のエンティティ装置がない場合には1ホップ下流のエンティティ装置を選択する、ことを特徴とする請求項1に記載のエンティティ装置である。
【0012】
請求項に記載の発明は、請求項1に記載のエンティティ装置であって、前記通知手段は、前記他のイベントプレースに属し、自身と連携を行っている前記エンティティ装置が下流である場合に、この連携を行っているエンティティ装置へ前記選択手段が選択したエンティティ装置の情報をシェアードリンクの再確立先として通知し、上流である場合に、この連携を行っているエンティティ装置の情報を、前記選択手段が選択したエンティティ装置へシェアードリンクの再確立先として通知する、ことを特徴とする。
【0013】
請求項に記載の発明は、請求項1または請求項2に記載のエンティティ装置であって、前記通知手段は、該イベントプレース内に上流のエンティティ装置が存在せず、かつ、自身とシェアードリンクを確立している下流のエンティティが複数存在する場合に、前記選択手段が選択したエンティティ装置以外の下流のエンティティに、この選択したエンティティの情報をシェアードリンクの再確立先として通知する、ことを特徴とする。
【0014】
請求項4に記載の発明は、イベントプレース間の連携を行っているエンティティ装置の退去に伴い、シェアードリンクを再確立して該イベントプレース間の連携を維持するエンティティ装置であって、自身の属するイベントプレースとは異なるイベントプレースに属し、自身とシェアードリンクを確立して連携を行っている前記エンティティ装置から、シェアードリンクの解除の指示と、シェアードリンクの再確立先である前記異なるイベントプレースに属するエンティティ装置とフェデレーションを行うためのシェアードリンク再確立先情報とを受信する受信手段と、
受信した前記シェアードリンクの解除の指示に従い、自身と連携を行っている前記エンティティ装置とのシェアードリンクを解除するとともに、受信した前記フェデレーションのためのシェアードリンク再確立先情報が示す前記異なるイベントプレースに属するエンティティ装置とのシェアードリンクを確立するリンク制御手段と、を備え、前記シェアードリンクの再確立先は、前記異なるイベントプレースにおいて、自身と連携を行っている前記エンティティ装置に上流のエンティティ装置がある場合、この連絡先の前記エンティティ装置の1ホップ上流のエンティティ装置であり、上流のエンティティ装置がない場合には、この連携先の前記エンティティ装置の1ホップ下流のエンティティ層である、ことを特徴とするエンティティ装置である。
【0016】
請求項に記載の発明は、自身の属するイベントプレースと、該イベントプレースと連携を行っている他のイベントプレースとの間の連携を維持させ、該イベントプレースからの退去を行うエンティティ装置に用いられるリンク再確立方法であって、前記退去を行うエンティティ装置が、自身の属するイベントプレースからの退去を行うときに、自身がイベントプレースの連携を行っている場合には、該イベントプレースに属し、自身とシェアードリンクを確立しているエンティティ装置の中から、前記他のイベントプレースに属し、自身とシェアードリンクを確立して連携を行っているエンティティ装置との連携を行わせるエンティティ装置を選択し、前記選択した他のイベントプレースとの連携を行わせるエンティティ装置に対しては、フェデレーションのためのシェアードリンク再確立先を通知し、自身とシェアードリンクを確立している全てのエンティティ装置へ自身とのシェアードリンクの解除を指示するとともに、自身とシェアードリンクを確立している下流のエンティティ装置へシェアードリンクの再確立先のエンティティ装置の情報を通知する、ことを特徴とし、前記連携を行わせるエンティティ装置を選択するときには、該イベントプレース内に上流のエンティティ装置がある場合には1ホップ上流のエンティティ装置を、上流のエンティティ装置がない場合には1ホップ下流のエンティティ装置を選択する、ことを特徴とするリンク再確立方法である。
【0017】
請求項に記載の発明は、イベントプレース間の連携を行っているエンティティ装置の退去に伴い、シェアードリンクを再確立して該イベントプレース間の連携を維持するエンティティ装置に用いられるリンク再確立方法であって、イベントプレース間の連携を行っているエンティティ装置が、自身の属するイベントプレースとは異なるイベントプレースに属し、自身とシェアードリンクを確立して連携を行っている前記エンティティ装置から、シェアードリンクの解除の指示と、シェアードリンクの再確立先である前記異なるイベントプレースに属するエンティティ装置とフェデレーションを行うためのシェアードリンク再確立先情報とを受信し、受信したシェアードリンクの解除の指示に従い、前記異なるイベントプレースに属し、自身と連携を行っている前記エンティティ装置とのシェアードリンクを解除するとともに、受信した情報が示すシェアードリンクの再確立先の前記異なるイベントプレースに属するエンティティ装置とのシェアードリンクを確立する、ことを特徴とし、前記シェアードリンクの再確立先は、前記異なるイベントプレースにおいて、自身と連携を行っている前記エンティティ装置に上流のエンティティ装置がある場合、この連携先の前記エンティティ装置の1ホップ上流のエンティティ装置であり、上流のエンティティ装置がない場合には、この連携先の前記エンティティ装置の1ホップ下流のエンティティ装置である、ことを特徴とするリンク再確立方法である。
【0019】
請求項に記載の発明は、自身の属するイベントプレースと、該イベントプレースと連携を行っている他のイベントプレースとの間の連携を維持させ、該イベントプレースからの退去を行うエンティティ装置に用いられるコンピュータプログラムであって、前記退去を行うエンティティ装置として用いられるコンピュータに、自身の属するイベントプレースからの退去を行うときに、自身がイベントプレースの連携を行っている場合には、該イベントプレースに属し、自身とシェアードリンクを確立しているエンティティ装置の中から、前記他のイベントプレースに属し、自身とシェアードリンクを確立して連携を行っているエンティティ装置との連携を行わせるエンティティ装置を選択するステップと、前記選択した他のイベントプレースとの連携を行わせるエンティティ装置に対しては、フェデレーションのためのシェアードリンク再確立先を通知するステップと、自身とシェアードリンクを確立している全てのエンティティ装置へ自身とのシェアードリンクの解除を指示するステップと、自身とシェアードリンクを確立している下流のエンティティ装置へシェアードリンクの再確立先のエンティティ装置の情報を通知するステップと、をコンピュータに実行させることを特徴とし、連携を行わせるエンティティ装置を選択する前記ステップにおいては、該イベントプレース内に上流のエンティティ装置がある場合には1ホップ上流のエンティティ装置を、上流のエンティティ装置がない場合には1ホップ下流のエンティティ装置を選択する処理を実行させることを特徴とするコンピュータプログラム。
【0020】
請求項に記載の発明は、イベントプレース間の連携を行っているエンティティ装置の退去に伴い、シェアードリンクを再確立して該イベントプレース間の連携を維持するエンティティ装置に用いられるコンピュータプログラムであって、イベントプレース間の連携を行うエンティティ装置といて用いられるコンピュータに、自身の属するイベントプレースとは異なるイベントプレースに属し、自身とシェアードリンクを確立して連携を行っている前記エンティティ装置から、シェアードリンクの解除の指示と、シェアードリンクの再確立先である前記異なるイベントプレースに属するエンティティ装置とフェデレーションを行うためのシェアードリンク再確立先情報とを受信するステップと、受信したシェアードリンクの解除の指示に従い、前記異なるイベントプレースに属し、自身と連携を行っている前記エンティティ装置とのシェアードリンクを解除するステップと、受信した情報が示すシェアードリンクの再確立先の前記異なるイベントプレースに属するエンティティ装置とのシェアードリンクを確立するステップと、を実行させることを特徴とし、前記シェアードリンクの再確立先は、前記異なるイベントプレースにおいて、自身と連携を行っている前記エンティティ装置に上流のエンティティ装置がある場合、この連携先の前記エンティティ装置の1ホップ上流のエンティティ装置であり、上流のエンティティ装置がない場合には、この連携先の前記エンティティ装置の1ホップ下流のエンティティ装置である、ことを特徴とするコンピュータプログラムである。
【0022】
なお、この明細書において、エンティティ装置とは、パーソナルコンピュータ、ワークステーション、情報携帯端末、携帯電話、ウエアラブルコンピュータなどのあらゆるコンピュータの総称である。
イベントプレースとは、複数のエンティティをシェアードリンクによって接続した構成をいう。
シェアードリンクとは、2つのエンティティを接続するソフトウェアであり、データ転送要件を相互に設定できるソフトウェアをいう。
【0023】
【発明の実施の形態】
[SIONetの詳細]
<SIONetエンティティの定義>
ここでは、パーソナルコンピュータ、ワークステーション、情報携帯端末、携帯電話、ウエアラブルコンピュータなどのあらゆるコンピュータを総称して、ホストと呼ぶ。さらに、SIONetソフトウェアを実装したホストを、「SIONetエンティティ」もしくは単に「エンティティ」と呼ぶ。エンティティ(エンティティ装置)は、図2(a)に例を示すように、SIONetソフトウェアを実装したホストを、SIONetにおける自律分散協調の単位として仮想化したものである。SIONetソフトウェアは、個々のエンティティが自律分散協調を行うための仕組みを提供する。このSIONetソフトウェアにより、各ホストが自律分散コンピュータとなることが可能となる。
【0024】
エンティティは、図2(b)に示すように、主に以下の3つのタイプに分類される。
・サービスとして振る舞うアプリケーション(サービスエンティティ:SE、サービスエンティティ部)をエンティティ内部に含むもの
・ネットワーク構成要素として振る舞うモジュール(ネットワークエンティティ:NE)をエンティティ内部に含むもの
・上記SEとNEとの両方をエンティティ内部に含むもの
【0025】
<エンティティ構造と状態遷移>
図3は、エンティティの状態遷移を示す図である。この図に示すように、エンティティの状態として、”Non-Existent”、”サスペンド”、”アクティブ”という3つの状態がある。
”Non-Existent”状態は、ホストにSIONetソフトウェアをインストールした時点でのエンティティ状態を表している。
SIONetソフトウェアを実行(ラウンチ)することにより、”Non-Existent”状態から”サスペンド”状態に遷移する。このとき、エンティティ内に、図4に一例を示すように、エンティティ制御部、コントロールパネル、ネットワークエンティティファクトリ(NEファクトリ)、ネットワークエンティティ(NE)、などの内部モジュールが生成される。以下に、それぞれの役割を簡単に説明する。
【0026】
エンティティ制御部とは、エンティティの実体であり、他のエンティティやコントロールパネルからの様々な要求(後述するセッションの確立要求、シェアードリンクの確立要求など)を受け付ける。なお、”サスペンド”状態のエンティティに対して、他のエンティティからセッションの確立要求、シェアードリンクの確立要求などを行うことはできない。
【0027】
コントロールパネルは、人などのエンティティの所有者に対して、GUI(Graphical User Interface)を提供する。コントロールパネルにより、例えば、エンティティの所有者にエンティティ名の入力を促し、入力されたエンティティ名に基づいて、エンティティ制御部が当該エンティティにエンティティ名を付与する。図4の例では、エンティティ名を”エンティティ2”としている。このエンティティ名を、後述する「グローバルエンティティ名」と特に区別して「ローカルエンティティ名」と呼ぶことがある。このローカルエンティティ名は、当該エンティティの所有者等が任意で設定できるものとする。
【0028】
NE(ネットワークエンティティ)ファクトリとは、NEを動的に生成する機能を備える。
NE(ネットワークエンティティ)とは、SI-R(Semantic Information Router、意味情報ルータ)、SI-GW(Semantic Information Gateway、意味情報ゲートウェイ)、アライブエンティティ、障害処理エンティティ、統計情報収集エンティティなど、ネットワーク制御のために振る舞うモジュールの総称である。
【0029】
SE(サービスエンティティ)とは、エンティティが提供するプラグイン機構を用いて、エンティティ内にSEとして組み込まれたアプリケーションであり、SIONet上で動作するP2Pアプリケーションを仮想化したものである。エンティティが提供するプラグイン機構を用いて、アプリケーションをSEとしてエンティティ内に組み込むことができる。また、SEは、SI-SWに対して、任意数のセッションを確立することができる。SEはセッションを介してのみ、イベントの送受信が可能である。SEは、SIONetのネットワーク構築・運営に関与しない。なお、SEをエンティティ内に組み込むプラグイン機構については後述する。
【0030】
図3における”サスペンド”状態のエンティティ(エンティティ2)が、例えば、図5に例を示すように自らイベントプレースを生成したり、図6に例を示すように既存のイベントプレースにJoin(参加)などして、任意のイベントプレースに属し、エンティティグループのメンバーになったときに、エンティティ(エンティティ2)は”サスペンド”状態から”アクティブ”状態へと遷移する。”アクティブ”状態のエンティティのみが自身の存在をアドバタイズ(公開、詳細は後述する)し、他のエンティティからのセッションの確立要求やシェアードリンクの確立要求を受け付けることができる。
【0031】
ここで、ソフトウェアがホストにインストールされ、NE、NEファクトリ、エンティティ制御部、コントロールパネルなどを備えるエンティティが生成された後、当該エンティティが”アクティブ”状態となるまでの動作を説明する。エンティティが、当該エンティティの所有者などからコントロールパネルを介して、イベントプレースの生成や他のイベントプレースへの参加の指示を受けたものとする。エンティティのエンティティ制御部は、当該エンティティのNEファクトリにSI-SW(Semantic Information Switch、意味情報スイッチ)の生成を依頼する。NEファクトリがSI-SWを生成すると、エンティティ制御部は、生成されたSI-SWと、NEなどの内部モジュールとの間にセッションを確立する。これにより、アドバタイズや、他のエンティティからのセッションの確立要求、シェアードリンクの確立要求等を受け付けることが可能となる。
【0032】
ここで、図7を参照し、SI-SWとセッションの役割について説明する。
セッションとは、SI-SWとSE間のコネクションであり、SEは、セッションを介してのみイベントの送受信を行うことができる。セッションには、イベントの送信セッション、受信セッション、送受信セッションの3タイプがある。
SI-SWは、意味情報に基づいて、イベントをスイッチングするスイッチング機構を提供する。SI-SWはセッションを介して、NEや、プラグイン機構によりエンティティ内に組み込まれたSEやNEなどの内部エンティティをスター型で収容する。以下では、SEを例にとり説明するが、NEなど、エンティティに内包された他の内部エンティティも同様である。
【0033】
ここで、イベントの構成について説明する。図8に一例を示すように、イベントは、制御情報部、意味情報部、データ部から構成される。データ部には、送信データが格納される。送信データとして、テキストデータ、バイナリデータ、リファレンス、プロキシ、エージェントなど、様々なデータ、プログラムを格納することができる。
【0034】
意味情報部には、送信データの意味情報(語彙とその値)、及び、意味情報の語彙概念(イベントタイプ)が格納される。ここで、意味情報とは、送信データの特性を記述したメタデータであり、イベントタイプのインスタンスである。また、イベントタイプは意味情報のテンプレートである。イベントタイプ間には継承関係を定義できる。図9に、意味情報体系の一例を示す。この図において、”タイトル;イエスタデイ”、”価格;$30”、”アーティスト名;ビートルズ”という意味情報は、”ポピュラー”というイベントタイプに属しており、また”音楽”というイベントタイプにも属している。また、”タイトル;きよしこの夜”、”価格;$20”、”シチュエーション;クリスマス”という意味情報は、”BGM”というイベントタイプに属しており、また”音楽”というイベントタイプにも属している。
【0035】
意味情報体系の記述言語としてはXML(Extensible Markup Language)などがある。なお、ネットワークエンティティ用に一部のイベントタイプ名(SIONetから始まるすべての名称)が予約済みである。
図8に一例を示すイベントの制御情報部は、SIONetの実行制御のために用いられる制御フィールドであり、これのみがSIONetのユーザであるSEに対して開放されていない。制御情報部には、合致したフィルタの識別子、合致したフィルタの照合得点、同期型統計情報収集フラグ、イベントプレース内、イベントプレース間におけるTTL(Time To Live)値、イベントプレース内、イベントプレース間におけるホップ数、ホップ属性などの制御情報が設定される。
【0036】
図7に示すようなエンティティの構成において、SEの機能を説明する。SEは、受信セッションを介して、イベントの取得条件をSI-SWに登録する。これを「フィルタ」と呼ぶ。フィルタには、取得したいイベントの語彙概念(イベントタイプ)、及び、意味情報との照合条件(例えば、語彙”Price”が”$20から$40の範囲”のものを取得対象とする)等を設定する。なお、当該イベントタイプに定義されているすべての語彙との「完全一致」、一部の語彙との「部分一致」、「重み付け一致」など、照合条件をフィルタ単位で選択することができる。
【0037】
SEは、一つの受信セッションから、複数のフィルタを登録することが可能であるが、同一セッションを介して登録されたフィルタ間は”or”関係を有する。すなわち、一つのイベントに対して、一つの受信セッションは高々1回しか発火しない。取得したいイベントのイベントタイプにワイルドカードを指定した場合には、すべてのイベントタイプが取得の対象となる。また、意味情報との照合条件に1(論理値が真)が設定された場合には、無条件に意味情報との照合条件が満足されたことを意味する。
【0038】
また、SEは、送信セッションを介して、SI-SWにイベントの送信を行う。このとき、SI-SWはイベントの意味情報部とフィルタとを照合する。具体的には、まず、受信したいイベントタイプであるかどうかをチェックし、これを満足した場合には、意味情報と照合条件をチェックする。この照合の結果、意味情報が照合条件を満足している場合には、合致したフィルタを登録したエンティティを起動するとともに、当該イベントを通知する。
SIONetでは、イベントの送信を「刺激」、フィルタがイベントに合致することを「反応」、合致したフィルタを登録したエンティティを起動しイベント通知することを「発火」と呼ぶ。
【0039】
<エンティティの名称付与方法>
図5に示すように、エンティティ2が”イベントプレースA”と命名したイベントプレースを生成する場合を説明する。エンティティ2の所有者は、コントロールパネルを介するなどして、エンティティ2にイベントプレース名を入力する。ここでは、入力等されたイベントプレース名を「イベントプレースA」とする。すると、エンティティ制御部は、NEファクトリにSI-SWの生成を依頼し、生成されたSI-SWと、NEなどの内部モジュールとの間にセッションを確立する。さらに、エンティティ制御部は、生成されたSI-SWの名前を「イベントプレース名+ローカルエンティティ名」、すなわち「イベントプレースA+エンティティ2」として記憶する。この名前を「グローバルエンティティ名」と呼ぶ。このグローバルエンティティ名の作成がイベントプレースの生成に相当する。
【0040】
すなわち、SIONetでは、イベントプレースの生成により、必ずしも何らかの管理実体が生成されるとは限らない。つまり、SIONetでは、イベントプレースに属しているエンティティのメンバー管理を、後述するエンティティ間のシェアードリンクにより実現しているため、メンバー管理を行う集中管理部自体が存在しない。そのため、イベントプレースを生成したエンティティが当該イベントプレースから退去しても、当該イベントプレースに残されたエンティティが自律的に自己組織化することにより、当該イベントプレースの運営が継続される。すなわち、イベントプレースから最後のエンティティが退去することが、イベントプレースの消滅に相当する。
【0041】
このグローバルエンティティ名は、シェアードリンクやセッションを確立する場合に用いられる。図5に示すようなエンティティ2が、イベントプレースBをさらに生成し、エンティティ1からのシェアードリンクを確立する動作を、図10を参照して説明する。
【0042】
まず、既にイベントプレースAに参加しているエンティティ2が、イベントプレースBを生成する動作を説明する。エンティティ2のエンティティ制御部は、前述と同様に、NEファクトリに新たなSI-SWを生成させる。エンティティ制御部は、生成された新たなSI-SWにグローバルエンティティ名として「イベントプレースB+エンティティ2」を付与する。これにより、イベントプレースBが生成される。この時点で、エンティティ2は、「イベントプレースA+エンティティ2」と「イベントプレースB+エンティティ2」という二つのグローバルエンティティ名(SI-SW名)を持つ。
【0043】
次に、エンティティ1がイベントプレースAにJoin(参加)する動作を説明する。上述のようにイベントプレースA及びイベントプレースBに参加したエンティティ2は、“アクティブ”状態となっている。“アクティブ”状態のエンティティは、自身の存在を他のエンティティにアドバタイズ(公開)することができるが、その際にはグローバルエンティティ名が公開される。
【0044】
エンティティ1がエンティティ2を発見し、当該エンティティ2に対してJoin要求を行うとき、エンティティ1は、Join先のエンティティであるエンティティ2のグローバルエンティティ名が「イベントプレースA+エンティティ2」である旨をエンティティ2に通知する。
【0045】
このように、グローバルエンティティ名により、シェアードリンクを確立するSI-SWを一意に特定することが可能になり、ひいては、イベントプレースAへの参加が可能になる。このように、シェアードリンクやセッションの確立先であるSI-SWはグローバルエンティティ名として仮想化されるため、エンティティの所有者等は、SI-SWを直接意識することはない。
【0046】
<SEのプラグイン方法>
以下に、図11に示すエンティティへのSEの組み込みの動作を説明する。
(1)エンティティの所有者は、コントロールパネルに対して、アプリケーションのプラグインを指示する。このとき、プラグインするアプリケーションの実行ファイル名をパラメータとして与える。
(2)コントロールパネルは、プラグインの指示を受けた旨と、プラグインするアプリケーションの実行ファイル名とをエンティティ制御部に通知する。
【0047】
(3)エンティティ制御部は、プラグインする実行ファイル名を記憶するとともに、与えられた実行ファイル名を用いて、アプリケーションを起動し、SI-SWと起動したアプリケーションとの間にセッションを確立する。
すなわち、SIONetにおけるプラグインとは、アプリケーションとSI-SWとの間にセッションを確立することに他ならない。SIONetでは、SE、NEなどのすべての動作実体は、セッションを介して連携する。そのため、プラグイン/プラグアウト(着脱)を容易に実現できるとともに、プラグイン/プラグアウトが他の動作実体に影響を与えない(超疎結合)。この考え方を拡張することにより、後述するようなエンティティ間でのSE共有が実現できる。
【0048】
<PREFERENCEアーキテクチャ>
SIONetは図12に一例を示すようなリファレンスモデルの考え方を採用している。図12に示すPREFERENCEアーキテクチャは、フィルタに意味情報を登録し、イベントの意味情報部に配布条件(照合条件)を設定する御用聞き社会(御用聞き型サイバーソサイアティ)構築に向けたアーキテクチャであり、ブローカレス型配信モデル、ブローカレス型探索モデル、ブローカレス型ポリシーモデルに対するトータルソリューションを提供する。具体的には、ストリームインターフェース、SIONet、COMNetなどから構成される。
SIONetはイベントの伝達層であり、上位層に対してネットワークインタフェースを提供する。ミドルウエア層がコミュニティ(コミュニティネットワーク:COMNet)であり、SIONetのインテリジェンス層に相当する。このレイヤにおいて、情報の局所化、認証、セキュリティ、情報の権利保証、ポリシー制御などが行われる。そして、最上位層がアプリケーション層となっている。このアプリケーション層には、SEが実装される。SEとしては、例えば、個人TV局、メッセージ交換サービスのスマートメッセンジャーなどがある。
【0049】
このように、SIONetは、分散コンピューティング、情報交換、コラボレーション、メッセージ配信などのあらゆるP2Pサービス(SEがサービスを提供する)に対して、共通のP2Pネットワーク基盤を提供するとともに、プラグイン機構の提供により、アプリケーション開発の効率化をサポートする。
【0050】
<SIONetにおけるエンティティの役割>
SIONetは、個々のエンティティが互いに助け合うことにより、ボランティア型のネットワークを構築する形態であり、それぞれが自律分散協調することにより、ネットワークを自己組織化する。例えば、図6の構成において、エンティティ1の生成したイベントプレースにエンティティ2が参加し、その後、エンティティ1が当該イベントプレースから退去する動作を説明する。
【0051】
予め、エンティティ1はイベントプレースを生成し、当該イベントプレースに参加している。ここに、エンティティ2がエンティティ1に対して、イベントプレースへのJoin要求を行うと、図13に示すように、エンティティ2にSI-SWが生成され、さらに、エンティティ1及びエンティティ2のSI-SW間にシェアードリンクが確立され、エンティティグループが形成される。
このようにエンティティ1とエンティティ2のSI-SW間にシェアードリンクが確立され、エンティティ2がイベントプレースに参加した後、イベントプレースの生成者であるエンティティ1がイベントプレースから退去するものとする。すると、SI-SW間のシェアードリンクが解除され、以降は、エンティティ2のみでイベントプレースの構築・運営が継続される。このように、個々のエンティティが自己組織化するため、あるエンティティが退去、消失等しても他のエンティティが当該エンティティの機能を果たす。
【0052】
SIONetでは、目的に応じてエンティティを配置・組み合わせることにより、様々な形態のP2Pネットワークを構築することができる。また、異なる形態のP2Pネットワークをシームレスに連携させることもできる。これは、以下を実現させることにより達成される。
(1)すべてのエンティティを、”刺激と発火に基づく連鎖反応”という一元的かつ単純な仕組みで自律分散協調させること
(2)P2Pネットワーク形態の差異をエンティティの配置・運営問題に帰着させること
このように、単一の仕組みで様々な形態のP2Pネットワークを構築できる点がSIONetの特徴の一つである。
【0053】
<シェアードリンク>
「シェアードリンク(共有リンク)」は、複数の異なるエンティティ間において、双方向のイベント共有を行うための概念である。例えば、図14に示すように、エンティティ2がエンティティ1に対して、シェアードリンク(SL: Shared Link)の確立要求を行うことにより、図15に示すように、SI-SW2とSI-SW1との間にシェアードリンクが確立され、新たなエンティティグループが形成される。すなわち、シェアードリンクは、エンティティグループを形成するための仕組みであり、また、マルチホップの経路でもある。
【0054】
図14において、シェアードリンクの確立に成功したエンティティ2には、エンティティ1からイベントプレース名(グローバルエンティティ名)、当該イベントプレースにおけるイベント転送方式(ルーティング方式)、当該イベントプレースのディスクリプション(説明文)、プラグインされているSE情報等のさまざまな情報が送信される。なお、後述するSI-Rによるフィルタ値の設定によって、SI-SW間に様々なイベントルーティング方式を動的に設定できる。以降において、シェアードリンクの確立の動作を説明し、さらに、SI-Rの役割、仕組みを詳述する。
【0055】
<シェアードリンクの確立>
図14及び図15を用いて、シェアードリンク確立までの仕組みを説明する。まず、図14において、エンティティ2がエンティティ1に対して、シェアードリンクの確立要求を発行した場合を考える。
(1)エンティティ2がエンティティ1に対して、シェアードリンクの確立要求を発行する。
【0056】
(2)図15に示すように、エンティティ1のエンティティ制御部は、SL1,2(エンティティ2からのイベントを受信するためのシェアードリンク)を確立するために、NEファクトリに、意味情報に基づいてSI-SW間のイベントルーティング(イベント転送)を行うSI-R1,2 を、エンティティ1内部に動的に生成させる。さらに、エンティティ制御部は、エンティティ2がシェアードリンクの確立要求元であることを記憶する。厳密には、エンティティ2のエントリポイントとグローバルエンティティ名(SI-SW2)とをシェアードリンクの確立要求元として記憶する。
【0057】
(3)SI-R1,2は、エンティティ2に対してイベント受信セッションの確立要求要求を行うことでSI-SW2に対してイベント受信セッションを確立する。このとき、SI-SW2に、エンティティ1が受信するイベントの条件を示すフィルタを登録する。さらに、SI-R1,2は、自身が属するSI-SW1に対して、イベント送信のためのセッションを確立する。このような、SI-Rが確立する送受信セッションの組み合せをシェアードリンクという。これによりSL1,2が確立され、例えば、SE4がSI-SW2に対して送出したイベントは、SI-R1,2を介して、SI-SW1へも送出される。
【0058】
(4)このとき、SI-R1,2がSI-SW2に対して登録するフィルタの設定値により、イベントの転送方式を動的に制御できる。その例を以下に示す。
(a)SI-SW2に対して送出されたイベントを、無条件にSI-SW1へと転送する。すなわち、すべてのイベントに対して、SI-R1,2が発火する。これはSI-RがSI-SWに登録するフィルタとして、「取得する語彙概念にワイルドカードを、及び意味情報(語彙)との照合条件に真」を設定することにより可能になる。これを「無条件ルーティング」と呼ぶ。この設定は、シェアードリンク確立時に一度だけ行えばよい。この方式では、無駄なイベント転送と転送先でのイベント照合処理オーバヘッドが発生する可能性があるが、後述するイベントパス確立(ルーティング情報の設定)のためのオーバヘッドが発生しないため、フィルタ登録数がイベント送出数よりも十分大きい場合に有効な方式である。このルーティング方式は、主に、マルチホップ型ブロードキャスト通信に用いられる。
【0059】
(b)エンティティ1に取って必要なイベントのみをSI-SW2からSI-SW1へ転送する。これにより、不要なイベント転送を行わない。すなわち、特定のイベントに対してのみ、SI-R1,2が発火する。これは、SI-Rが語彙概念のみ(照合条件は常に真)をフィルタに設定する「語彙概念によるイベントルーティング」と、語彙概念と語彙との照合条件をフィルタに設定する「語彙によるイベントルーティング」に大別される。前者は主にマルチホップ型属性付きマルチキャスト通信に、後者は主にマルチホップ型ユニキャスト通信、マルチホップ型マルチキャスト通信に用いられる。これは、障害処理通知、統計情報通知、アライブ通知、リプライ通知、アドバタイズメント通知などで用いられている。
なお、マルチホップ型ブロードキャスト通信、マルチホップ型属性付きマルチキャスト通信、マルチホップ型ユニキャスト通信、マルチホップ型マルチキャスト通信のようなマルチホップ通信のほかに、SI-Rの設定するフィルタ値により、通信先エンティティのエントリポイントを用いた直接通信も可能である。なお、マルチホップ型ブロードキャスト通信、マルチホップ型属性付きマルチキャスト通信、マルチホップ型ユニキャスト通信、マルチホップ型マルチキャスト通信については後述する。
【0060】
(4)前述(2)から(3)の手順は、シェアードリンクの確立要求元であるエンティティ2においても同様に行われる。すなわち、エンティティ2のエンティティ制御部は、エンティティ1(SI-SW1)をシェアードリンクの確立要求先として記憶するとともに、SL2,1を確立するために、NEファクトリにSI-R2,1を動的に生成させる。この生成されたSI-R2,1は、上述と同様にSI-SW1にフィルタを登録し、シェアードリンクを確立する。これにより、SI-SW1とSI-SW2の間に、双方向のシェアードリンクが確立され、エンティティ間でイベントを互いに共有することが可能になる。なお、SI-Rがフィルタの登録を行わないことにより、片方向のシェアードリンクを確立すること、すなわち、SI-Rを発火させないことができる。
【0061】
<イベントパスの確立>
イベント転送(イベントルーティング)のための経路選択情報(SI-Rがイベント共有のために登録するフィルタの集合)を「イベントパス」と呼ぶ。例えば、図15に示すように、エンティティ2とエンティティ3とが各々エンティティ1とシェアードリンクを確立している構成において、エンティティ2のSE3がSI-SW2に対してフィルタを登録した場合を考える。このとき、エンティティ2のSI-R2,1はSE3の登録したフィルタを、受信セッションを介して、エンティティ1のSI-SW1に登録する。同様に、エンティティ1のSI-R1,3は当該フィルタを、受信セッションを介して、エンティティ3のSI-SW3に登録する。このようにSE3によるフィルタ登録をトリガに、SI-Rの登録したフィルタがシェアードリンクに基づいて、順次隣接するSI-Rに波及することにより、イベントパスが確立される。これを「イベントパスの設定、もしくは波及」と呼ぶ。
【0062】
ここで、上述した「語彙概念によるイベントルーティング」のためのイベントパスの確立について説明する。図15において、「語彙概念によるイベントルーティング」のためのイベントパスを確立するためには、エンティティ2のSE3がSI-SW2に対して登録したフィルタにおいて、SI-R2,1は、イベントタイプのみ(照合条件は常に真)をエンティティ1のSI-SW1へのフィルタとして設定する。すなわち、SE3がフィルタ登録した照合条件を活用しない。つまり、イベントタイプのみを活用することにより、例えば、エンティティ1のSE1がイベント送信したとき、イベントタイプのみをSI-SW1において照合し、その結果、SI-R2,1が発火すると、SI-R2,1は当該イベントをSI-SW2へと送出し、意味情報との照合をSI-SW2において行う。
【0063】
また、上述した「語彙によるイベントルーティング」のためのイベントパスの確立について説明する。図15において、「語彙によるイベントルーティング」のためのイベントパス確立に際しては、エンティティ2のSI-R2,1は、SE3が登録したフィルタ値を、そのままエンティティ1のSI-SW1へのフィルタ値として設定する。すなわち、SI-R2,1は、SE3がフィルタ登録したイベントタイプと意味情報との両者をエンティティ1のSI-SW1へとフィルタ登録し、SI-SW1において完全なフィルタリングを行う形態である。
【0064】
そのため、語彙によるイベントルーティング方式では、無駄なイベント転送が全く発生しないが、ルーティングのためのイベントパス設定オーバヘッドが膨大になるため、フィルタ登録数に比べてイベント送出数が十分大きい場合に有効な方式である。一方、イベントタイプに基づくルーティング方式は、前述の2方式の折衷案的な位置付けにある。すなわち、フィルタ登録数とイベント送出数が同程度の場合、もしくは、フィルタ登録数とイベント送出数の比率を予測できないような利用形態において有効である。これらの仕組みにより、意味情報に基づく、イベントのマルチホップ通信が実現される。なお、イベントプレースの生成時、もしくは、SEからのフィルタ登録時に、イベントルーティング方式を指定できる。
【0065】
イベントパスの設定要求はイベントプレース内のすべてのSI-Rに対して波及するが、TTL値により、その波及範囲を制限することができる。図16を用いて、その動作を簡単に説明する。ここでは説明の便宜上、語彙概念ルーティングのためのイベントパス確立を前提とするが、これに限られるわけではない。また、各エンティティは、同じ語彙概念をアドバタイズ(フィルタ登録)するものとする。また、TTL値を2として説明する。
【0066】
図16(a)において、エンティティ2のSI-Rがイベントパスの設定要求を開始する。ここでは、TTL値が2であるため、エンティティ1、エンティティ3、そしてエンティティ4に対してのみイベントパスの設定要求が波及し、その結果、図16(b)に示すようにイベントパスが確立される。
【0067】
上述と同様に、エンティティ11のSI-Rがイベントパスの設定要求を開始すると、エンティティ10、及びエンティティ9に対してイベントパスが確立される。図16に示す構成では、エンティティ2のSI-R及びエンティティ11のSI-Rがイベントパスの設定要求をすると、エンティティ5にはイベントパスが設定されないため、エンティティ2とエンティティ11の間では、イベントの共有が行われない。つまり、エンティティ2から生起したイベントは、エンティティ5〜11に連鎖反応せず、エンティティ5〜11へはイベントが転送されないことになる。
【0068】
しかしながら、図16(b)に示すように、エンティティ5のSI-Rがイベントパスの設定要求を開始することにより、エンティティ4、エンティティ5、エンティティ6、エンティティ7、そしてエンティティ9に対してイベントパスが確立される。結果的に、図16(c)に示すように、エンティティ8を除く、イベントプレース内のすべてのエンティティに対してイベントパスが確立される。
【0069】
このように、当該語彙概念が当該イベントプレースにおいて、使用頻度の高いもの(評判が高い、流行しているもの)であるならば、最終的に、イベントプレース内にイベントパスの確立が行き渡ることになる。その逆で、あまり流行していない語彙概念は、いずれ淘汰されることになり、これにより緩やかな連鎖反応を実現できる。なお、図16におけるイベントパス上の数字は、その多重度を示している。
【0070】
なお、エンティティは、イベントパスの多重度をエンティティプロパティの属性として公開することができる。一方、エンティティプロパティのディスカバリにより、イベントパスの多重度が高いエンティティを発見することができる。このとき、当該エンティティに対して、シェアードリンクの張り替えを行うことにより、同好の志(同好のエンティティ)が緩やかに近傍に集まることができる(同好エンティティの局所化)。エンティティプロパティの詳細については後述する。
【0071】
分散オブジェクト技術の観点から、イベントパスを以下のように解釈することもできる。世界中に超分散しているエンティティは、エンティティ間でなんらかの「相関関係」を有する。相関関係を与えるものとしては、エンティティ名、グループ名、属性(位置、興味、評判、流行、サービス)など様々なプロパティがある。エンティティは、相関関係に基づいて、エンティティ間の結びつきを持ち分散協調する。この、エンティティの相関関係を与えるものを、エンティティプロパティという。
【0072】
SIONetでは、この相関関係を語彙概念と語彙により表現し、シェアードリンクに基づいて、イベントパスとして設定する。また、相関関係の強弱が、語彙概念の汎化・特化、イベントパスの多重度などに相当する。すなわち、SIONetでは、イベントパスにより、エンティティ間の相関関係を動的に制御・管理している。これこそが、フィルタによる連鎖反応の制御である。そのため、エンティティは固定的なエンティティ識別子を有していない。
【0073】
例えば、IPアドレスは、位置に基づいたエンティティの固定的な識別子であるが、SIONetでは、これの代わりに、エンティティプロパティを語彙概念・語彙として記述したものをエンティティ識別子として用いる。エンティティは、これらをフィルタとしてSI-SWに登録することにより、エンティティのプロパティ(エンティティ識別子)を宣言するとともに、自身のプロパティをシェアードリンクに基づいてアドバタイズする。これがイベントパスの波及に相当する。これにより、イベントパスが確立される。
【0074】
上述したように、SI-Rは、イベント送信とイベント受信の両者の側面を持つネットワークエンティティであり、一般のサービスエンティティと本質的な違いはない。SIONetでは、SI-RのようなSIONetの制御に用いられるエンティティを、サービスエンティティ(SE)と特に区別して、ネットワークエンティティ(NE)と呼ぶ。SIONetにおいては、サービスエンティティ、ネットワークエンティティのすべてのエンティティを共通のエンティティとして扱い、さらに、イベント送出とイベント受信、すなわち刺激と発火の連鎖反応という単純かつ一貫性のある共通ロジックに従って自律動作させることにより、すべてのエンティティが自律分散協調可能な超分散・超疎結合アーキテクチャを提供する。
【0075】
<シェアードリンクの解除と再確立>
イベントプレースに参加しているエンティティが、障害に陥ったり、イベントプレースから退去する場合など、様々な理由により当該エンティティがネットワークの運営に関わることができないケースにおいては、残されたエンティティが自己組織化することによりネットワークサービスを継続できることが必要になる。
SIONetでは、このようなケースにおいては、SI-SW間において確立されているシェアードリンクを解除し、さらにシェアードリンクの再確立を行う。その動作を図17を参照して説明する。
【0076】
図17において、シェアードリンク確立要求の先頭数字(図中▲1▼や▲2▼など)は、それらの要求順序を示している。つまり、シェアードリンク確立要求の順序は、まず、エンティティ2からエンティティ1へシェアードリンクの確立要求を行う。次にエンティティ3からエンティティ2へシェアードリンクの確立要求を行う。最後に、エンティティ4からエンティティ2へシェアードリンクの確立要求を行うものとする。なお、ここで、「各エンティティは、同一イベントプレース内においてシェアードリンクの確立要求を高々1回しかできないが、無制限に確立要求を受け付けることが可能なリンクトポロジーに基づいて、シェアードリンクの確立を行う」リンク確立手法を提案する。これにより、シェアードリンクで結合されたエンティティ間に、ループが発生しないことが保証される。すなわち、この手法を用いることにより、隣接エンティティ間のリンク再確立のみで開リンクトポロジーを簡単に実現できる。
【0077】
上述した順序で確立要求が成功すると、前述した手順で各SI-SW間にシェアードリンクが確立される。シェアードリンクが確立されると、各エンティティのエンティティ制御部は、自身が確立要求を行ったエンティティと、自身への確立を受け付けたエンティティを記憶している。例えば、エンティティ2は、自身が確立要求を行ったエンティティ1と、自身への確立を受け付けたエンティティ3、エンティティ4のリストを保持している。
この状況において、例えば、エンティティ2の退去、減設などが行われる場合、自身のSI-SW2に対して確立されているシェアードリンクの解除要求を発行し、シェアードリンクの解除を行う。その後、各エンティティは新たなシェアードリンクの確立を行う。以下、その動作を説明する。
【0078】
(1)エンティティ2が退去する場合、エンティティ2のエンティティ制御部は、自身のシェアードリンクを解除する旨を、1ホップのエンティティ(エンティティ1、エンティティ3、エンティティ4)に対して通知する。これは、イベントのTTL値を1にしてイベント送出を行うことにより可能になる。なお、このとき、自身へのシェアードリンク確立を受け付けたエンティティ(エンティティ3、エンティティ4)に対しては、自身に代わる新たなシェアードリンクの確立要求先として、自身が確立要求を行ったエンティティ1を教える。なお、自身が確立要求を行ったエンティティが存在しない場合には、自身への確立要求元エンティティ(1ホップ先のエンティティ)の中から任意のエンティティを選択して、これを自身に代わるシェアードリンクの確立要求先とする。
【0079】
(2)エンティティ2のエンティティ制御部は、自身が確立したシェアードリンク(SL2,1、SL2,3、SL2,4)を解除するために、その旨をSI-R2,1、SI-R2,3、SI-R2,4(図示略)に通知する。なお、SI-R2,1、SI-R2,3、SI-R2,4とはエンティティ2のSI-Rであり、上述したように、エンティティ1、エンティティ3、エンティティ4に対し、シェアードリンクSL2,1、SL2,3、SL2,4を確立したものである。これらのSI-Rは、これをトリガとしてエンティティ2のSI-SW2へのセッションを解除する。
【0080】
(3)エンティティ1のエンティティ制御部は、SI-R1,2(図示略)に、シェアードリンクSL1,2の解除を指示する。SI-R1,2は、シェアードリンクSL1,2を解除する。エンティティ1は、エンティティ3、エンティティ4からの確立要求を待つ。
(4)エンティティ3、エンティティ4は、エンティティ1と同様に、自身がSI-SW2(エンティティ2のSI-SW2)に対して確立していたシェアードリンク(SL3,2、SL4,2)をすべて解除し、エンティティ2からシェアードリンクの確立要求先として教えられた新たなエンティティ(エンティティ1)に対してシェアードリンクの確立要求を行い、シェアードリンクを再確立する。すなわち、上述と同様に、各々のエンティティ制御部は、NEファクトリに各々SI-R3,1、SI-R4,1を生成させ、当該SI-R3,1、SI-R4,1にシェアードリンクSL3,1、SL4,1を確立させる。
【0081】
上述したように、シェアードリンクの確立処理、再確立処理は、隣接するエンティティ間においてのみ行われ、他のエンティティには影響を与えない。すなわち、全てのエンティティに対するリンクの再構築を必要としない。
【0082】
なお、エンティティの退去や減設などの正当な手順を踏んだシェアードリンクの解除要求ばかりでなく、エンティティの障害、電源断、セッション(物理的な通信路)の障害などに起因して、シェアードリンクを再確立しなければならないケースがある。しかしながら、このようなケースにおいては、シェアードリンクの再確立時に必要となる代わりのエンティティを教授できない可能性がある。SIONetでは、このような状況に対応するために、各エンティティはnホップ(nは任意の自然数)のイベントを送出することにより、代わりの確立要求先エンティティの把握を行っている。なお、SIONetでは、TTL値とホップ属性を用いることにより、更にきめこまかなホップ制御が可能である。ホップ属性の例として、以下のものがある。
【0083】
▲1▼シェアードリンクの確立要求先エンティティのみをホップ対象とする。
▲2▼シェアードリンクの確立要求元エンティティのみをホップ対象とする。
▲3▼すべてのエンティティをホップ対象とする。
【0084】
▲1▼のホップ属性を指定した場合の、イベントの流れの例を図18の破線で示している。図18において、(i/j)は各エンティティにおいて記憶しているシェアードリンクの確立情報である。iはエンティティがシェアードリンクの確立要求を行った先のエンティティを示しており、一方、jはエンティティがシェアードリンクの確立要求を受け付けたエンティティを示している。例えば、エンティティ3の(2/5、6)は、エンティティ3がエンティティ2に対して確立要求を行い、エンティティ5及びエンティティ6から確立要求を受け付けていることを表している。各エンティティがシェアードリンクの確立情報を保持することにより、例えば、エンティティ3が他のエンティティに対して、更なるシェアードリンクの確立要求を行った場合、その要求をエラーとしてリジェクトすることができる。これにより、前述した開リンクトポロジーの一貫性を保証している。この状況において、エンティティ6が3ホップで、上述▲1▼のホップ属性を持つイベントを送出することにより、エンティティ1とエンティティ2の存在を知ることが可能になり、これらがエンティティ3障害時の代替エンティティとなる。
【0085】
なお、上述したホップ属性は、障害時の代替エンティティの探索ばかりでなく、シェアードリンクの確立を受け付け可能なエンティティの探索、トップ(誰にもシェアードリンクの確立を行っていない)エンティティの探索などに有効である。SIONetでは、トップのエンティティのみが、他のイベントプレースに対して、フェデレーション(連携、イベントプレース間のシェアードリンクに相当)を確立することができる。
【0086】
<オンライン増減設の目的>
SIONetにおけるエンティティ増減設の目的は、主に以下の二つに大別される。
(1)イベントプレースのトータル処理能力向上の観点から、イベントプレース内のエンティティを増設し、イベントのフィルタリング処理を負荷分散する。その逆の観点から、エンティティを減設する。これは、主に、ハイブリッドP2P、バックボーンP2Pネットワークの運用において用いられる。
(2)動的に生成されたエンティティに対して、シェアードリンクを柔軟に確立することにより、フレキシブルでグローバルなP2Pネットワークをボトムアップ的に構築する。これは、主に、ピュアP2Pネットワークの運営において用いられる。
【0087】
なお、ハイブリッド型P2Pネットワークとは、例えばネットワークプロバイダなどの運営者がホスト等にイベントプレースをあらかじめ生成し、個人の端末等のサービスエンティティがセッションによりイベントプレースと接続することにより構成されるネットワークである。また、ピュア型P2Pネットワークとは、個人の送受信端末たるエンティティがシェアードリンクで各々接続されることにより構成されるネットワークであり、このネットワークのうち、イベントを共有する最小単位がイベントプレースである。バックボーン型P2Pネットワークとは、ネットワーク間の接続形態のことであり、例えば、複数の地域のピュア型P2Pネットワークをハイブリッド型P2Pネットワークを経由して接続した状態のネットワークのことをいう。
【0088】
<増減設の形態>
SIONでは幾つかの増減設形態を提供しているが、ここでは、図19、図20に例を示す代表的な形態について述べる。
(1)イベントプレースの合成と分離
図19(a)に示すように、複数のイベントプレースを合成することができる。ここで合成とは、複数のイベントプレースにそれぞれ属するエンティティを、一つのイベントプレース内のメンバーとして集めることを言う。典型的な例として、異なるサービス運営者間の業務提携に基づく、サービス統合(情報共有)が考えられる。
【0089】
これは、イベントプレースに属する任意のエンティティ、もしくはイベントプレースに対して合成要求を行うことにより、合成要求先イベントプレース内のエンティティに対してシェアードリンクの確立要求が発行される。その結果、SI-SW間にシェアードリンクが確立され、両者の合成が実現される。なお、合成の要求元及び要求先は、それぞれ、エンティティでもイベントプレースでもどちらであってもかまわない。一方、分割する場合には、確立されているシェアードリンクを解除し、それぞれのイベントプレースに分離する。
【0090】
(2)イベントプレースへの参加と退去
図19(b)に示すように、イベントプレース内のエンティティ、もしくは、イベントプレースに対してJoin(参加)要求を行うことにより、要求元エンティティにSI-SWが生成される。そして、要求先エンティティに対してシェアードリンクの確立要求が発行されることにより、SI-SW間にシェアードリンクが確立され、当該イベントプレースに参加することができる。
エンティティがイベントプレースから退去する場合には、上述と同様に、エンティティ間のシェアードリンクを解除し、さらに、シェアードリンクの再構築を行い、当該イベントプレースから退去する。このとき、退去したエンティティの状態は、サスペンド状態へと遷移する。
【0091】
なお、イベントプレース側からエンティティに対してシェアードリンクの確立を要求することにより、当該エンティティをイベントプレース内に取り込むことも可能である。これを吸収という。その逆を分裂という。
(3)エンティティ(SI-SW)の増減設
図20(c)に示すように、イベントプレース内のエンティティ、もしくは、イベントプレースに対して、エンティティの増設要求を行うと、指定されたエンティティにSI-SWが新たに生成され、既存のSI-SWとの間にシェアードリンクが確立される。一方、イベントプレースにエンティティの減設要求を行うと、指定されたエンティティに対しシェアードリンクの解除要求が発行され、SI-SW間のシェアードリンクが解除された後、シェアードリンクの再確立が行われ、当該エンティティが削除される。このとき、エンティティの状態は、Non-Existentに遷移する。
【0092】
(4)イベントプレース間のフェデレーション
図20(d)に示すように、イベントプレース内のエンティティ、もしくは、イベントプレースに対して、フェデレーション(連携)要求を行うことにより、イベントプレース間でイベントを転送するSI-GWが動的に生成され、セッションを介して両イベントプレースが連携する。なお、フェデレーションの要求元及び要求先は、それぞれ、エンティティでもイベントプレースでもどちらであってもかまわない。
【0093】
<エンティティのアドバタイズメント>
図21、図22を参照し、エンティティのアドバタイズメント(公開)について説明する。SIONetにおけるエンティティのアドバタイズメントには、以下の2つの観点がある。
観点1:エントランスのアドバタイズメント
観点2:エンティティプロパティのアドバタイズメント
以下、各々の観点について説明する。
観点1:エントランスのアドバタイズメント
ベースイベントプレースは、エンティティに取って、最適なイベントプレースをいもづる式に探索(ディスカバリ)するためのベース(起点)となるイベントプレースである。つまり、ベースイベントプレースがSIONetへのエントランス(入り口)となる。そのため、ベースイベントプレースに参加しているエンティティは、SIONetのエントランスを公開することができる。ここで、エントランスの公開とは、シェアードリンクの確立要求先となるエンティティのエントリポイントとグローバルエンティティ名をアドバタイズすることを意味する。この公開情報は、後述するブロードキャストを用いた探索により発見される。
【0094】
観点2:エンティティプロパティのアドバタイズメント
シェアードリンクで接続されている任意のエンティティグループ(ベースイベントプレースを含むすべてのイベントプレース)において、各エンティティは自身のエンティティプロパティをアドバタイズすることができる。これが前述したイベントパスの波及に相当する。この公開情報は、後述するディスカバリイベントの送出により発見される。
【0095】
以下に、エンティティの公開、探索から、エンティティグループ形成までの流れを説明する。なお、以下では、ベースエンティティ、エンティティ1、エンティティ2、エンティティ3、エンティティ4、エンティティ5、エンティティ6はベースイベントプレースに属しており、エンティティ3、エンティティ11、エンティティ12、エンティティ13はイベントプレースαに属しているものとして説明する。
【0096】
▲1▼図21に示すように、SIONetソフトウェアをホストにインストールする。この時点でのエンティティの状態は、前述したように“Non-Existent”である。説明の便宜上、このエンティティをエンティティYとする。
▲2▼SIONetソフトウェアを実行することにより、エンティティYは“Non-Existent”から“サスペンド”状態に遷移する。この状態のエンティティは、SIONetからその存在がまだ認知されていない。
【0097】
▲3▼“サスペンド”状態のエンティティYは、SIONetの構成要素としてネットワークに参加するために、ベースイベントプレースに属している他のエンティティのエントランス(エントリポイントとグローバルエンティティ名)を探索する。具体的には、ブロードキャストにより、ベースイベントプレースに参加しているエンティティの中から、近傍のエンティティを探索する。ブロードキャストの方法は、実装に依存する。例えば、無線ネットワークで実装されている場合には、無線の到達範囲すべてのエンティティが探索の対象となる。一方、IPネットワークで実装されている場合には、IPブロードキャストもしくはIPマルチキャストを行うことになる。図21では、ブロードキャストによる探索により、エンティティ1(エンティティ1のエントリポイントとグローバルエンティティ名)が発見されたことを表している。なお、ブロードキャストにより、近傍のエンティティを発見できない場合には、Well-Known(周知)のエンティティを利用することもできる。Well-Knownのエンティティをベースエンティティと呼ぶ。なお、ベースエンティティは、ベースイベントプレースを含むすべてのイベントプレース内に存在することができる。
【0098】
▲4▼エンティティYは、発見されたエンティティ1に対して、ベースイベントプレースへのJoin(参加)要求を行う。すなわち、エンティティYは、エンティティ1のエントリポイントに対して、エンティティ1のグローバルエンティティ名をパラメータとしたJoin要求を行う。エンティティYからのJoin要求を受けたエンティティ1は、自身の状態遷移が“アクティブ”であり、かつ、エントランスやエンティティプロパティが公開モードの場合のみ、当該Join要求を受け付ける。なお、エンティティYは、最大Join数を超えてJoin要求を発行することはできない。この最大Join数は、エンティティYのコントロールパネルで、エンティティYの所有者等が設定可能である。エンティティ1がエンティティYのJoin要求を受け付けると、上述と同様の動作により、エンティティY及びエンティティ1のSI-SW間にシェアードリンクが確立される。これにより、エンティティYは、ベースイベントプレース内のネットワーク構成要素として自己組織化される。このとき、エンティティYは、“サスペンド”状態から“アクティブ”状態へと遷移する。
【0099】
ベースイベントプレースにJoinしたエンティティYは、エントランスの公開が可能になる。また、エンティティプロパティをアドバタイズすることもできる。エンティティプロパティには、グローバルエンティティ名(及びエントリポイント)、ニックネーム、グループ名、アライブ(存在だけの表明であり、シェアードリンクの確立先情報となるエントリポイントとグローバルエンティティ名は公開しない、エンティティが非公開モードの場合でも公開の対象)、ディスクリプション(エンティティの説明文)、属性などがある。属性には、プラグインされているSE情報、イベントパス多重度、イベントプレース情報などがある。なお、エンティティプロパティの記述言語としては、XMLなどがある。
【0100】
図21において、例えばエンティティ3のエンティティ制御部は、エンティティ3が同時に参加しているイベントプレースαをエンティティプロパティの属性として公開することができる。さらに、エンティティ制御部は、現在Joinしているイベントプレースばかりでなく、過去にJoinしたイベントプレースのイベントプレース情報を公開することもできる。このイベントプレース情報とは、例えば、イベントプレースのディスクリプション(イベントプレースの説明文、説明情報)や、当該イベントプレースに参加する際にシェアードリンクを確立したエンティティ(意味情報スイッチ)のグローバルエンティティ名(イベントプレース名+エンティティ名、コネクション確立情報)、エントリポイント(エントリポイント情報)などである。この、過去にJoinしたイベントプレース情報をエンティティが保持できる数は任意とし、例えば、コントロールパネルによりエンティティ所有者等が設定できるものとする。この公開されたイベントプレース情報を取得したエンティティは、当該イベントプレース情報をコントロールパネル等により出力することで当該エンティティ所有者に提示する。これにより、エンティティ所有者は、他のイベントプレースの存在を認識することが出来る。
SIONetでは、どこにどのようなイベントプレースがあり当該イベントプレースではどのようなサービスを提供しているか、というようなイベントプレース情報を集中管理する機能がないので、イベントプレース情報を取得しようとする場合、他のエンティティのエンティティプロパティからイベントプレース情報を取得する必要がある。現在参加しているイベントプレースのみならず、過去に参加したイベントプレース情報を公開することにより、イベントプレース情報を取得する機会が増え、自身の求めるサービスを提供するイベントプレースに参加できる確立が高くなる。
【0101】
エンティティYのエントランスの公開時には、これらのエンティティプロパティを、エンティティ内の意味情報スイッチにフィルタとして登録することにより、エンティティプロパティがシェアードリンクに基づいて他のエンティティに波及し、イベントパスが確立される。基本的には、イベントパスの確立要求がイベントプレース内のすべてのエンティティに対して波及するが、TTL値で、イベントパス確立要求の波及範囲を制限することができる。なお、グローバルエンティティ名はマルチホップ型ユニキャスト通信時の識別子として、グループ名はマルチホップ型マルチキャスト通信時の識別子として、属性はマルチホップ型属性付きマルチキャスト通信時の識別子として用いられる。例えば、マルチホップ型ユニキャスト通信の代表例として、イベント受信エンティティからイベント送信元エンティティへのリプライ通知がある。
【0102】
すなわち、グローバルエンティティ名はマルチホップ型ユニキャスト通信とは、グローバルエンティティ名で特定されるエンティティのSI-SWからnホップのイベントを送信する通信方式である。また、マルチホップ型マルチキャスト通信とは、グループ名で特定されるグループに属するエンティティのSI-SWにnホップのイベントを送信する通信方式である。また、マルチホップ型属性付きマルチキャスト通信とは、自身と同様の属性のエンティティのSI-SWにnホップのイベントを送信する通信方式である。また、マルチホップ型ブロードキャスト通信とは、任意のエンティティのSI-SWにnホップのイベントを送信する通信方式である。
【0103】
▲5▼図22において、ベースイベントプレースに参加したエンティティYは、「自身が参加したいイベントプレース」を探索するためのディスカバリイベントを送出することにより、「自身のニーズに合致するエンティティプロパティ」を公開しているエンティティを探索する。このディスカバリイベントは、SIONetの制御のために用いられるイベントであり、SEが送出するイベントと同等のものである。ディスカバリイベントとは、NEを発火させるためのイベントであり、イベントの意味情報部には、エンティティプロパティとの照合条件が設定される。すなわち、SIONetにおける新たな機能追加とは、新たな語彙概念と語彙を規定することを意味する(仕組みの追加ではなく、連鎖反応条件の追加)。これにより、単一な仕組み(連鎖反応)だけで、様々な機能追加を可能にしている。
【0104】
ここでは、探索の結果、エンティティ3が発見されたものとする。上述したように、エンティティ3は、ベースイベントプレースと同時にイベントプレースαに参加している。エンティティ3を発見したことにより、エンティティYはイベントプレースαの存在を知ることができる。
▲6▼エンティティYは、エンティティ3に対してイベントプレースαへのJoin要求を発行し、イベントプレースαに参加する。なお、エンティティ3は、前述したように、自身の状態遷移が”アクティブ”であり、かつ、公開モードのときに、Join要求(シェアードリンクの確立要求)を受け付ける。
【0105】
▲7▼さらに、エンティティYは、イベントプレースαにおいて、同様の探索のためのイベントを送出することができる。これにより、自身のニーズに合致する新たなエンティティを発見することができる。例えば、ここでは、エンティティ12が発見されたものとする。すなわち、エンティティYは、ベースイベントプレースにおいて発見することができなかったエンティティ12を、エンティティ3を介して発見できるということを意味している。このような操作を繰り返すことにより、自身のニーズに合致したイベントプレースに、次第にたどり着くことが可能になる。
【0106】
ここで示したアドバタイズメント方式は以下の効果がある。
(1)エンティティの公開情報を管理するブローカ(管理部)が存在しないため、耐障害性に強い自己組織化ネットワークを低コストで構築することができる。また、膨大な数の公開情報(エントリポイントやエンティティプロパティ)をブローカで管理することは現実的でない。
(2)エンティティに取って相応しいイベントプレースを、芋づる式に絞り込むことができるので、効率的に所望のイベントプレースを探索することができる。例えば、連鎖反応の波及範囲(ディスカバリイベントのホップ数、及び、エンティティプロパティのためのイベントパス設定要求の波及範囲)がTTL値で制限されたとしても、上述のように、エンティティ3経由でエンティティ12を発見し、その結果、エンティティ12が同時に属している別のイベントプレースを発見することができる。なお、連鎖反応の波及範囲を制限することにより、ネットワークトラフィック(イベントの転送回数、イベントパス設定要求の転送回数)を軽減することができる。
【0107】
なお、自身は情報を提供することなく(例えば、エンティティプロパティを公開することなく)、他のエンティティからの情報提供を受けるだけのエンティティは、ペナルティーとして、強制的にシェアードリンクが解除され、一定条件を満足しない限り、再度イベントプレースに参加できないようにすることもできる。
【0108】
<SEの共有方法(自動配信)>
以下に、ゲームイベントプレースにおけるSE(ゲームアプリケーションプログラム)の共有を例に、SEの共有方法の仕組みを示す。
(1)ゲームイベントプレースの運営者であるエンティティ2の所有者はエンティティ2のコントロールパネルを介してイベントプレース名を付与する。なお、ここで付与されたイベントプレース名は「ゲーム」であるものとして説明する。
【0109】
(2)エンティティ2のエンティティ制御部は、上述と同様に、NEファクトリにより生成されたSI-SWに対してグローバルエンティティ名「ゲーム+エンティティ2」を付与する。これにより、イベントプレースが生成される。このとき、ゲームイベントプレースの生成者であるエンティティ2は、イベントプレース生成時に当該イベントプレースに自動的に参加する。
(3)エンティティ2の所有者は、当該エンティティ2のコントロールパネルに対して、ゲームアプリケーションプログラム(SE)のプラグインを指示する。このとき、プラグインするアプリケーションの実行ファイル名、及び、SE共有の有無をパラメータとして与える。
【0110】
(4)エンティティ2のコントロールパネルはこの旨をエンティティ制御部に通知する。
(5)エンティティ2のエンティティ制御部は、プラグインする実行ファイル名を記憶するとともに、与えられた実行ファイル名を用いてアプリケーション(SE)を起動し、上述と同様に、SI-SWとアプリケーション間にセッションを確立する。すなわち、SIONetにおけるプラグインとは、アプリケーションとSI-SWとの間にセッションを確立することを意味する。
【0111】
(6)エンティティ2のエンティティ制御部は、エンティティ2のエンティティプロパティをアドバタイズ(公開)する。エンティティ2のエンティティプロパティの公開形態としては、例えば、以下のものがある。
・エンティティ2がベースイベントプレースに参加し、ベースイベントプレース内で、エンティティ2のエンティティプロパティを公開する。
・エンティティ2が、芋づる式探索を行うことにより、ゲームイベントプレースと関係の深いイベントプレースを発見、参加し、当該イベントプレース内で、エンティティ2のエンティティプロパティを公開する。
・エンティティ2をベースエンティティとする。すなわち、エンティティ2のエンティティプロパティ(エントリポイントとグローバルエンティティ名)を周知する。
【0112】
(7)エンティティ2の存在を知ったエンティティ1が、エンティティ2に対して、ゲームイベントプレースへの参加を要求する。
(8)この要求が承認された場合、エンティティ1は、エンティティ2に対して、シェアードリンクの確立を要求する。そして、上述と同様に、エンティティ1とエンティティ2の間にシェアードリンクが確立する。
(9)シェアードリンクが確立された場合、シェアードリンクの確立要求先(エンティティ2)は確立要求元(エンティティ1)に対して、当該イベントプレース内でイベントの送受信に必要な情報を返却する。具体的には、例えば、イベントプレース名(グローバルエンティティ名)、参加したイベントプレースがベースイベントプレースであるか否か、当該イベントプレースにおけるイベント転送方式(ルーティング方式)、イベントプレースのディスクリプション、プラグインされているSE情報(SE共有が有りの場合)等である。
【0113】
SE共有を共有する場合にシェアードリンク確立要求元に返却するSE情報とは、具体的には、例えば、上述したプラグインするアプリケーションの実行ファイル名や当該アプリケーションのファイル等である。
(10)当該ファイルを受けたエンティティ1のエンティティ制御部は、上述と同様に、与えられた実行ファイル名を用いてアプリケーションを起動し、エンティティ1内のSI-SWとアプリケーションとの間にセッションを確立する。これにより、エンティティ1内部に、ゲームアプリケーションプログラムをSEとしてプラグインする。
【0114】
すなわち、イベントプレースへの参加とは、シェアードリンクにより結合されたエンティティグループを形成し、プラグイン済みのアプリケーションプログラムを参加者が共有することを意味する。これにより、イベントプレースに参加するだけで、当該イベントプレース内のメンバーであるエンティティが、プラグインされているアプリケーションを、自動的に利用することが可能になる。なお、エンティティ1がゲームイベントプレースから退去するとき、プラグインされたゲームアプリケーションプログラムは、プラグアウトされる。なおその際、エンティティ1は、受信した当該ファイルを保有しつづけることもできるし、プラグアウト時に、当該ファイルが削除されることもある。
【0115】
上述した動作は、ピュア型のP2Pネットワーク環境でのアプリケーション共有である。そのため、アプリケーションプログラムの配信は、シェアードリンク確立先エンティティと確立元エンティティの2者間でのみ行われるため、シェアードリンクにより既に結合されている他のエンティティに対して影響を与えない。すなわち、ファイル転送のため処理は2者間に局所化されるため、スケーラブルなSE共有を達成することができる。
【0116】
<ビジネスモデル>
ここで、上述したSIONetを、サービスとして提供する実施例を説明する。
(1)クライアントサーバモデル
予め決められたエンティティのみでイベントプレースを運営する形態である。すなわち、予め決められたエンティティのみが当該イベントプレースに参加(Join)することが可能であり、参加を許されたエンティティは、エンティティ間のシェアードリンクを確立することにより、エンティティグループを構成する。一方、それ以外のエンティティは当該エンティティグループに対してセッションを確立し、当該セッションを介したイベントの送受信を行う。すなわち、イベントプレース(予め定められたエンティティのグループ)がサーバであり、その以外のエンティティがクライアントに相当する。このビジネスモデルでは、エンティティグループのメンバーである各エンティティは、自律分散コンピュータとして振舞い、任意のエンティティが障害に陥った際には、残されたエンティティが自己組織化しイベントプレースの運営を継続する。また、サーバの処理能力向上を図りたい場合には、新たなエンティティを当該イベントプレースに参加させれば良い。そのため、従来のサーバ実現方式と比べて、耐故障性に強く、安価で、スケーラブルなサーバを実現することができる。
【0117】
(2)ハイブリッドモデル
例えば、ゲームイベントプレースの運営者となるエンティティは、ゲームイベントプレースを生成し、当該イベントプレース内でのベースエンティティとなる。一方、ゲームイベントプレースのユーザとして位置付けられるエンティティは、当該イベントプレースに参加することにより、当該イベントプレースでのサービスを享受する。従来のクライアントサーバモデルでは、ユーザ数の増加に比例して新たな設備投資(CPUパワー、ストレージ、通信帯域など)が必要とされたが、本ビジネスモデルは、ユーザがイベントプレースに参加することにより、ユーザ自身のエンティティをサービス運営のために提供するため、イベントプレース運営者は新たな設備投資を必要としない。そのため、安価で、スケーラブルなP2Pサ-ビス環境を構築できる。なお、ベースエンティティにおいて、当該イベントプレースに参加するユーザ(エンティティ)の認証、課金が可能である。また、ベースエンティティは、ディスカバリイベントを送出することにより、エンティティグループの中から、シェアードリンクの確立が可能なエンティティ(代替エンティティ)を発見し、発見されたエンティティを参加希望のエンティティに対し通知し、両者の間でシェアードリンクを確立させることも可能である。
【0118】
(3)ピュアモデル
すべてのエンティティが自由にイベントプレースに対して参加(退去)することが可能なビジネスモデルである。
上述したように、SIONetでは、運営・配置問題に帰着することにより、様々なビジネスモデルを共通の仕組みで実現できる。そのため、開発工数、規模、デバッグ効率、維持管理の容易性等に大きな効果を与える。
【0119】
なお、上述したように、“サスペンド”状態のエンティティは、エントランスやエンティティプロパティを公開することはできない。“サスペンド”状態のエンティティは、任意のイベントプレースにJoinすることにより“アクティブ”状態に遷移する。“アクティブ”状態のエンティティのみが、エントランスやエンティティプロパティを公開することが可能である。また、ベースイベントプレースにJoinしているエンティティのみがエントランスの公開が可能である。「コントロールパネルにより、公開が指示されている」かつ「当該エンティティに対するセッション(シェアードリンク)の確立数がデフォルト値を超えていない」を満足するとき、エンティティはエントランスやエンティティプロパティを実際に公開できる。例えば、エンティティの所有者がコントロールパネルを用いて公開を指示しても、デフォルト値を超えてシェアードリンクが確立している場合には、自動的に非公開モードとなる。なお、デフォルト値は、コントロールパネルで設定可能であり、例えば、エンティティの所有者が、当該エンティティの能力等により設定することができる。
【0120】
なお、ネットワークエンティティ、ネットワークエンティティファクトリ、エンティティ制御部、コントロールパネル、サービスエンティティ、意味情報スイッチ、意味情報ルータ、意味情報ゲートウェイは専用のハードウェアにより実現されるものであってもよく、また、メモリ及びCPU(中央演算装置)により構成され、その機能を実現するためのプログラムをメモリにロードして実行することによりその機能を実現させるものであってもよい。
【0121】
また、ネットワークエンティティ、ネットワークエンティティファクトリ、エンティティ制御部、コントロールパネル、サービスエンティティ、意味情報スイッチ、意味情報ルータ、意味情報ゲートウェイの機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより実現させてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
【0122】
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
【0123】
[この発明の実施形態]
以下、本発明の一実施形態について説明する。
図1において、イベントプレースX、イベントプレースY、及び、イベントプレースZが存在する。このとき、例えば、イベントプレースXのトップ(どのエンティティにもシェアードリンクの確立要求を行っていない)エンティティが、イベントプレースZのトップエンティティに対してフェデレーション(連携)要求を行うことにより、エンティティ間にシェアードリンクが確立される。これにより、本来、疎の関係にあるイベントプレース間でイベントを共有することが可能になり、それぞれの用途や目的に応じて構築されたイベントプレース間の連携を実現することが可能となる。そして、イベントプレースXがボトム(どのエンティティからもフェデレーション要求を受けていない)のイベントプレースとなり、イベントプレースZがトップのイベントプレースとなる。同様に、イベントプレースYのトップエンティティがイベントプレースZのトップエンティティにフェデレーション要求を行った場合には、イベントプレースYがボトムのイベントプレース、イベントプレースZがトップのイベントプレースとなる。
【0124】
具体的には、図25に示すように、フェデレーション要求の承認時に、それぞれのエンティティ内に、内部エンティティとしてのSI-GWが動的に生成される。このSI-GWは、イベントプレース間に跨って、連鎖反応を拡大させるためのネットワークエンティティである。そして、このSI-GWが、フェデレーション先のSI-SWに対して送受信セッションを確立することにより、イベントプレース間に跨るエンティティ間にシェアードリンク(イベント転送用シェアードリンク及びリプライイベント転送用シェアードリンク)が確立される。このシェアードリンクを介してイベントプレース間で転送されるイベントは、ホップ属性、TTL値、および、イベントパスにより、その転送範囲が制御される。ここで確立されるシェアードリンクとSI-R(意味情報ルータ)が確立するシェアードリンクは、原理的に同じものである。
【0125】
なお、SI-GWは、以下の機能を具備する点でSI-Rとは異なる。
(1)イベントプレース間に跨って転送するイベントのイベントタイプを指定することが可能である(転送するイベントの制限指定)。具体的には、SI-GWがイベント受信用セッションを介して登録するフィルタ値の設定により、すべてのイベントタイプを転送の対象とする、特定のイベントタイプのみを転送の対象とする、などきめ細かな制御が可能になる。
(2)イベントプレース間に跨って転送するイベントのオントロジー変換を行う。例えば、SI-GWは、隣接するイベントプレース間の意味情報変換テーブルを作成し、これに基づいた意味情報変換を行った後に、イベント転送を行う。このことにより、異なる意味情報体系をもつイベントプレース間において、イベント転送を行う際の意味情報変換を実現することができる。これには、手動モードと自動モードがあり、自動モードは、手動モードに比べて変換精度が劣るが、アドホック的なコミュニティなど比較的寿命の短いイベントプレース間での変換には有効である。一例をあげると、図に示すように、エンティティ1とエンティティ2間でフェデレーションが行われているときに、エンティティ1のSI-GW1,2は、イベントプレース2で使用される「ベースボール」という意味情報を持つイベントをエンティティ2のSI-SW2から受けると、自身のイベントプレース1において使用される「野球」という意味情報への変換を行い、エンティティ1のSI-SW1へ転送する。
【0126】
図26を用いて、フェデレーションの確立を行っているエンティティが退去した場合、すなわち、SI-GWを用いてイベントプレース間のシェアードリンクの確立を行っているエンティティが退去した場合のシェアードリンクの再確立方法について以下に述べる。
同図において、イベントプレースX、イベントプレースY、及び、イベントプレースZが存在する。イベントプレースXは、トップのエンティティB1と、その下流であり、かつ、ボトムであるエンティティB2及びエンティティB3とで構成される。また、イベントプレースYは、トップをエンティティCとしたツリー型(2分木)のトポロジーにより構成される。また、イベントプレースZは、トップのエンティティA1と、その下流のエンティティA2と、さらにその下流であり、かつ、ボトムであるエンティティA3及びA4とで構成される。そして、エンティティB1が、エンティティA1へ、また、エンティティCがエンティティA3へフェデレーションの要求を行うことにより、シェアードリンクが確立されている。すなわち、イベントプレースZはトップのイベントプレースであり、イベントプレースX及びイベントプレースYはボトムのイベントプレースである。
なお、上流とは、シェアードリンクの確立要求先を、下流とは、シェアードリンクの確立要求元を示す。
【0127】
まず、最初に、エンティティA1が退去する場合を想定する。
(1)エンティティA1は、自身に代わるトップのエンティティとして、1ホップ下流のエンティティ、すなわち、エンティティB1及びエンティティA2の中から、トップになるエンティティを選択する。しかし、エンティティB1が他のイベントプレースに属するエンティティであるため、エンティティA2を選択する。
(2)エンティティA1は、自身に対してシェアードリンクを確立しているエンティティ(1ホップ先のエンティティ)であるエンティティA2およびエンティティB1に対して、自身とのシェアードリンクを解除する旨を通知する。そのとき、代わりのトップとなるエンティティが、エンティティA2である旨も通知する。
(3)エンティティA2は、エンティティA1からの通知を受け、自身がトップのエンティティとなることを認識する。一方、エンティティB1は、シェアードリンクの再確立要求先がエンティティA2であることを認識する。
(4)エンティティB1は、エンティティA2へシェアードリンクの確立(シェアードリンク再確立)を行う。
【0128】
次に、同図において、エンティティA3が退去する場合を想定する。
(1)エンティティA3は、自身に対してシェアードリンクを確立しているエンティティ(1ホップ先のエンティティ)であるエンティティA2およびエンティティCに対して、自身へのシェアードリンクを解除する旨を通知する。このとき、自身の代わりとなる上流のエンティティがエンティティA2である旨を通知する。
(2)エンティティCは、エンティティA3からの通知を受け、シェアードリンクの再確立要求先がエンティティA2であることを認識する。
(3)エンティティCは、エンティティA2へシェアードリンクへの確立(シェアードリンク再確立)を行う。
【0129】
最後に、同図において、エンティティB1が退去する場合を想定する。
(1)エンティティB1は、自身に代わるトップのエンティティとして、1ホップ下流のエンティティ、すなわち、エンティティB2もしくはエンティティB3の中からいずれかを選択する。ここでは、エンティティB2が選択されたものとする。
(2)エンティティB1は、自身に対してシェアードリンクを確立しているエンティティ(1ホップ先のエンティティ)であるエンティティA1、エンティティB2、および、エンティティB3に対して、自身へのシェアードリンクを解除する旨を通知する。このとき、代わりのトップとなるエンティティが、エンティティB2である旨を、エンティティB2およびエンティティB3へ通知する。なお、トップとなるエンティティB2に対しては、フェデレーションのためのシェアードリンク確立先エンティティがエンティティA1である旨も通知する。
(3)エンティティB2は、エンティティB1からの通知を受け、自身がトップのエンティティとなること、および、フェデレーションのためのシェアードリンク確立先エンティティがエンティティA1であることを認識する。一方、エンティティB3は、シェアードリンクの再確立要求先がエンティティB2であることを認識する。
(4)エンティティB2およびエンティティB3は、(3)に基づいて、それぞれ、エンティティA1及びエンティティB2へのシェアードリンク確立(シェアードリンク再確立)を行う。
このような仕組みにより、ネットワークが分断することなく、自己組織化される。
【0130】
以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。
【0131】
【発明の効果】
以上説明したように、本発明によれば、イベントプレース間の連携を行っているエンティティが退去した場合、残存するエンティティがイベントプレース内及びイベントプレース間のシェアードリンクを再確立してネットワークを再構築することができる。これにより、イベントプレース間の連携を行っているエンティティが退去した場合でも、ネットワークが分断することなく、イベントプレース間の連携を維持することができる。
【図面の簡単な説明】
【図1】 本発明の一実施形態によるイベントプレース間のフェデレーションを説明するための図である。
【図2】 本発明の前提技術であるSIONet(意味情報ネットワーク)におけるエンティティを説明するための図である。
【図3】 SIONetにおけるエンティティの状態遷移を説明するための図である。
【図4】 SIONetにおけるエンティティの内部構成を示すブロック図である。
【図5】 SIONetにおけるイベントプレースの生成を説明するための図である。
【図6】 SIONetにおけるエンティティがイベントプレースへ参加する動作を説明するための図である。
【図7】 SIONetにおける意味情報スイッチSI-SWとセッションを説明するための図である。
【図8】 SIONetにおけるイベントの構成を示す図である。
【図9】 SIONetにおける意味情報体系を説明するための図である。
【図10】 SIONetにおいて、あるイベントプレースに参加しているエンティティが、さらに他のイベントプレースに参加する動作を説明するための図である。
【図11】 SIONetにおけるサービスエンティティのプラグインを説明するための図である。
【図12】 SIONetにおけるリファレンスモデルを説明するための図である。
【図13】 SIONetにおけるシェアードリンクを説明するための図である。
【図14】 SIONetにおけるシェアードリンクを説明するための図である。
【図15】 SIONetにおけるシェアードリンクを説明するための図である。
【図16】 SIONetにおけるイベントパスを説明するための図である。
【図17】 SIONetにおけるシェアードリンクの再確立を説明するための図である。
【図18】 SIONetにおけるホップ属性を説明するための図である。
【図19】 SIONetにおけるイベントプレース及びエンティティの増減設を説明するための図である。
【図20】 SIONetにおけるイベントプレース及びエンティティの増減設を説明するための図である。
【図21】 SIONetにおけるエンティティのアドバタイズメントを説明するための図である。
【図22】 SIONetにおけるエンティティのアドバタイズメントを説明するための図である。
【図23】 P2Pモデルのディメンションを示す図である。
【図24】 SIONetの概念を説明する図である。
【図25】 本発明の一実施形態によるフェデレーション時のシェアードリンクの確立を説明するための図である。
【図26】 同実施形態によるフェデレーション時のシェアードリンクの再確立方法を説明するための図である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an entity device, a link re-establishment method, and a computer program.
[0002]
[Prior art]
In recent years, a new concept of “brokerless search model” has been devised in the networking industry. This brokerless search model is equivalent to P2P (Peer-to-Peer) that has gained worldwide attention, such as Gnutella, which was announced in March 2000. JXTA, announced in April 2001, also corresponds to P2P, a brokerless search model. P2P is an innovative technology since the WWW and is called the third generation. In recent years, research and development of brokerless transmission models that apply the P2P concept to the transmission layer and brokerless policy models that apply the P2P concept to the policy layer have become active. The dimensions of the brokerless (distribution) model are shown in FIG. One of these brokerless search models is SIONet (Semantic Information-Oriented Network).
[0003]
SIONet is a meta network that delivers an event composed of data and semantic information of the data based on semantic information (metadata). As shown in FIG. 24, the event receiver registers semantic information indicating the condition of the event to be received in advance in SIONet. When an event is transmitted from the event sender to the SIONet, the SIONet collates the semantic information of the event with the registered semantic information, and transmits the event to the event receiver based on the collation result. In this way, sending an event to SIONet is called “stimulation”, and the registered semantic information matches the semantic information of the event, and notifying the event recipient who registered the semantic information of the event. It is called “ignition”.
[0004]
As a result, it is possible to dynamically search and discover a specific entity from among an unspecified number of entities that are super-distributed on the network. That is, SIONet is a network that delivers events based on semantic information (sending to whom) instead of the destination address (sending to whom) used in the conventional network.
[0005]
SIONet is an autonomous distributed cooperative network (autonomous distributed computer) in which all entities including the components of SIONet perform autonomous distributed cooperation to self-organize the network. Network components of SIONet include "Semantic Information Switch (SI-SW)", "Semantic Information Router (SI-R)", "Semantic Information Gateway (SI-GW)", "Event Place", "Session", etc. These can be self-organized as needed to build a secure and scalable P2P network with a bottom-up approach.
[0006]
The basic concept and principle of SIONet is simple and unified. Repeating the simple operation of “registering a filter by an entity and dispatching an event”, that is, “entity“ stimulation ”and“ ignition ”“ chain reaction ”between the network components of SIONet. The thing that controls the behavior of this chain reaction is the semantic information registered in the SIONet by the above-mentioned event receiver, and this is called the “filter”. The method of chain reaction of entities can be dynamically controlled by the filter value registered in the filter. Another basic concept in SIONet is event place. An event place is an entity group connected to each other by a shared link, thereby limiting the scope of a chain reaction.
Details of SIONet are described in Non-Patent Documents 1 and 2. The applicant of the present invention has previously filed an application relating to SIONet according to Japanese Patent Application No. 2001-394980.
[0007]
[Non-Patent Document 1]
Takanari Hoshiai, Keiichi Koyanagi, Birge Sukubatar, Kei Kubota, Hiroshi Shibata, Takamichi Sakai, "Semantic Information Network Architecture", IEICE Transactions B, Vol. J84-B, No. 3, pp. 4, 11- 4,2,4 (2000.7 reception, 2001-3 publication)
[Non-Patent Document 2]
Takanari Hoshiai, Hiroshi Shibata, Takamichi Sakai, Keiichi Koyanagi: "Semantic Information Network Architecture: SION Architecture", NTT R & D, Vol.50, No.3, pp.157-164 (Received 2000.12, published in 2001.3)
[0008]
[Problems to be solved by the invention]
SIONet advocates the concept of an event place. An event place is a spillover range of an event or an event path, in other words, a group of entities linked by a shared link. The entities in this event place cooperate with each other by making a federation (cooperation) request to entities in other event places or other event places. However, when an entity that has made a federation request or an entity that has received a federation request leaves the event place, there has been a problem that the federation of these event places is canceled and the network is divided.
[0009]
The present invention has been made in view of such circumstances, and even if an entity that performs federation between event places leaves, an entity device that can continue federation without dividing the network, and link re-establishment. An object is to provide an establishment method and a computer program.
[0010]
[Means for Solving the Problems]
The present invention has been made in order to achieve the above object, and the invention according to claim 1 is directed to cooperation between an event place to which the apparatus belongs and another event place linked with the event place. Is an entity device that moves out of the event place, and when moving out of the event place to which it belongs, If you are working with an event place, Among entity devices that belong to the event place and have established a shared link with the event place, link with an entity device that belongs to the other event place and establishes a shared link with the entity device and performs cooperation. Selection means for selecting an entity device, and instructing all entity devices that have established a shared link with itself to release the shared link with itself, and sharing with a downstream entity device that has established a shared link with itself A notification means for notifying information of an entity device to which a link is re-established; A means for notifying an entity device that is linked with the selected other event place, a shared link re-establishment destination for federation; The selection means selects an entity device that is one hop upstream if there is an upstream entity device in the event place, and selects an entity device that is one hop downstream if there is no upstream entity device. The entity device according to claim 1, wherein:
[0012]
Claim 2 The invention described in claim 1 It is an entity apparatus of description, Comprising: The notification means is Belongs to the other event place, When the entity device that is cooperating with itself is downstream, the entity device selected by the selection unit is notified to the entity device that is cooperating as the reestablishment destination of the shared link, and is upstream In this case, the information of the entity device that performs the cooperation is notified to the entity device selected by the selection unit as the reestablishment destination of the shared link.
[0013]
Claim 3 The invention described in claim 1 Or claim 2 In the entity device according to claim 1, the notification means includes the event place when there is no upstream entity device and there are a plurality of downstream entities that establish a shared link with itself. The information of the selected entity is notified to a downstream entity other than the entity device selected by the selection unit as a reestablishment destination of the shared link.
[0014]
The invention according to claim 4 is an entity apparatus that reestablishes a shared link and maintains the cooperation between the event places when the entity apparatus that performs the cooperation between the event places retreats. It belongs to an event place different from the event place, and belongs to the different event place that is the reestablishment destination of the shared link from the entity device that establishes the shared link with itself and performs the cooperation. Entity device Shared link reestablishment destination for federation Receiving means for receiving information;
In accordance with the received instruction to release the shared link, the shared link with the entity device that is cooperating with itself is released and received. The shared link re-establishment destination information for the federation indicates Link control means for establishing a shared link with an entity device belonging to the different event place, and the reestablishment destination of the shared link is upstream of the entity device that is cooperating with itself in the different event place. If there is an entity device of this contact, it is an entity device that is one hop upstream of the entity device of this contact, and if there is no upstream entity device, it is an entity layer that is one hop downstream of the entity device of the cooperation destination , An entity device characterized by the above.
[0016]
Claim 5 The invention described in 1) maintains the link between the event place to which it belongs and the other event place linked with the event place, and the link re-use used for the entity device that leaves the event place. In the establishment method, when the entity device performing the retreat from the event place to which it belongs, If you are working with an event place, Among entity devices that belong to the event place and have established a shared link with the event place, link with an entity device that belongs to the other event place and establishes a shared link with the entity device and performs cooperation. Select the entity device For entity devices that are linked to the selected other event place, notify the shared link re-establishment destination for federation, All entity devices that have established a shared link with itself are instructed to release the shared link with itself, and the downstream entity device that has established a shared link with itself is notified of the entity device to which the shared link is to be reestablished. Notify information To When selecting an entity device to be linked, when there is an upstream entity device in the event place, an entity device upstream by 1 hop is selected, and when there is no upstream entity device, 1 hop is selected. A link re-establishment method characterized by selecting a downstream entity device.
[0017]
Claim 6 The invention according to claim 1 is a link re-establishment method used for an entity device that re-establishes a shared link and maintains cooperation between the event places as the entity device that performs cooperation between event places retreats. The entity device that cooperates between the event places belongs to an event place that is different from the event place to which the entity place belongs, and establishes a shared link with itself and releases the shared link from the entity device that cooperates. Entity device belonging to the different event place to which the instruction and shared link are reestablished Shared link reestablishment destination for federation In accordance with the received shared link release instruction, the shared link with the entity device belonging to the different event place and cooperating with itself is released, and the shared link indicated by the received information is displayed. A shared link is established with an entity device belonging to the different event place of the re-establishment destination, and the re-establishment destination of the shared link is the entity device that cooperates with itself in the different event place If there is an upstream entity device, it is an entity device that is one hop upstream of the entity device that is the cooperation destination, and if there is no upstream entity device, it is an entity device that is one hop downstream of the entity device that is the cooperation destination It is characterized by It is a link re-established method.
[0019]
Claim 7 The computer program used for the entity device that maintains the linkage between the event place to which it belongs and the other event place linked to the event place and moves out of the event place. And, when the exit from the event place to which the computer belongs is performed to the computer used as the entity device that performs the exit, If you are working with an event place, Among entity devices that belong to the event place and have established a shared link with the event place, link with an entity device that belongs to the other event place and establishes a shared link with the entity device and performs cooperation. Selecting an entity device; Notifying the entity device to be linked with the selected other event place, a step of notifying the shared link re-establishment destination for federation; A step of instructing all entity devices that have established a shared link with itself to release the shared link with itself, and an entity device to which a shared link is reestablished to a downstream entity device that has established a shared link with itself And in the step of selecting an entity device to be linked, if there is an upstream entity device in the event place, one hop upstream A computer program that causes an entity device to execute a process of selecting an entity device that is one hop downstream when there is no upstream entity device.
[0020]
Claim 8 The computer program used for the entity device that reestablishes the shared link and maintains the cooperation between the event places as the entity device that performs the cooperation between the event places retreats. Release the shared link from the entity device that belongs to the event place that is different from the event place to which the computer used as the entity device that cooperates between the places and that establishes the shared link with the computer and cooperates with the computer. And an entity device belonging to the different event place to which the shared link is re-established Shared link reestablishment destination for federation Receiving the information, in accordance with the received shared link release instruction, releasing the shared link with the entity device belonging to the different event place and cooperating with itself, and the received information indicates Establishing a shared link with an entity device belonging to the different event place to which the shared link is reestablished, wherein the shared link is reestablished with itself at the different event place. If there is an upstream entity device in the entity device that is cooperating, it is an entity device that is one hop upstream of the entity device of this cooperation destination, and if there is no upstream entity device, the entity of this cooperation destination 1 hop downstream of the device A Iti apparatus, a computer program, characterized in that.
[0022]
In this specification, the entity device is a general term for all computers such as a personal computer, a workstation, an information portable terminal, a mobile phone, and a wearable computer.
An event place is a configuration in which a plurality of entities are connected by a shared link.
Shared link is software that connects two entities, and refers to software that can mutually set data transfer requirements.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
[Details of SIONet]
<Definition of SIONet entity>
Here, all computers such as personal computers, workstations, portable information terminals, mobile phones, and wearable computers are collectively referred to as hosts. Furthermore, a host that implements SIONet software is called a “SIONet entity” or simply an “entity”. As shown in FIG. 2A, an entity (entity device) is a virtualized host in which SIONet software is implemented as a unit of autonomous distributed cooperation in SIONet. SIONet software provides a mechanism for individual entities to perform autonomous distributed cooperation. With this SIONet software, each host can become an autonomous distributed computer.
[0024]
Entities are mainly classified into the following three types as shown in FIG.
・ Applications that act as services (service entity: SE, service entity part) are included inside the entity.
· Modules that act as network components (network entity: NE) are included inside the entity
・ Including both SE and NE in the entity
[0025]
<Entity structure and state transition>
FIG. 3 is a diagram illustrating state transition of an entity. As shown in this figure, there are three states of an entity, “Non-Existent”, “Suspend”, and “Active”.
The “Non-Existent” state represents the entity state when the SIONet software is installed on the host.
By executing (launching) the SIONet software, transition from the “Non-Existent” state to the “Suspend” state. At this time, internal modules such as an entity control unit, a control panel, a network entity factory (NE factory), and a network entity (NE) are generated in the entity as shown in FIG. Below, each role is demonstrated easily.
[0026]
The entity control unit is an entity entity, and accepts various requests (session establishment request, shared link establishment request, etc., which will be described later) from other entities and the control panel. Note that a request for establishing a session, a request for establishing a shared link, etc. cannot be made from another entity to an entity in the “suspend” state.
[0027]
The control panel provides a GUI (Graphical User Interface) to owners of entities such as people. For example, the control panel prompts the owner of the entity to input the entity name, and the entity control unit assigns the entity name to the entity based on the input entity name. In the example of FIG. 4, the entity name is “entity 2”. This entity name may be referred to as a “local entity name”, particularly distinguished from a “global entity name” described later. The local entity name can be arbitrarily set by the owner of the entity.
[0028]
The NE (network entity) factory has a function of dynamically generating an NE.
NE (Network Entity) means SI-R (Semantic Information Router), SI-GW (Semantic Information Gateway), alive entity, fault handling entity, statistics collection entity, etc. It is a general term for modules that behave in order to achieve this.
[0029]
The SE (service entity) is an application embedded as an SE in an entity using a plug-in mechanism provided by the entity, and is a virtualized P2P application operating on SIONet. An application can be embedded in an entity as an SE using a plug-in mechanism provided by the entity. Also, the SE can establish an arbitrary number of sessions with the SI-SW. The SE can send and receive events only through a session. SE is not involved in SIONet network construction and operation. A plug-in mechanism for incorporating SE into an entity will be described later.
[0030]
The entity (entity 2) in the “suspend” state in FIG. 3 generates an event place by itself as shown in FIG. 5, for example, or joins (joins) an existing event place as shown in FIG. When the entity (entity 2) belongs to an arbitrary event place and becomes a member of an entity group, the entity (entity 2) transitions from the “suspend” state to the “active” state. Only an entity in the “active” state advertises its existence (public, details will be described later), and can accept a session establishment request or a shared link establishment request from another entity.
[0031]
Here, after the software is installed in the host and the entity including the NE, the NE factory, the entity control unit, the control panel, and the like is generated, the operation until the entity enters the “active” state will be described. Assume that an entity receives an instruction to create an event place or participate in another event place via the control panel from the owner of the entity. The entity control unit of the entity requests the NE factory of the entity to generate SI-SW (Semantic Information Switch). When the NE factory generates SI-SW, the entity control unit establishes a session between the generated SI-SW and an internal module such as NE. This makes it possible to accept advertisements, session establishment requests from other entities, shared link establishment requests, and the like.
[0032]
Here, the role of SI-SW and session will be described with reference to FIG.
A session is a connection between SI-SW and SE, and SE can send and receive events only through the session. There are three types of sessions: event transmission sessions, reception sessions, and transmission / reception sessions.
SI-SW provides a switching mechanism that switches events based on semantic information. The SI-SW accommodates NEs and internal entities such as SEs and NEs incorporated in the entities by a plug-in mechanism through a session in a star shape. In the following, SE will be described as an example, but the same applies to other internal entities included in an entity such as NE.
[0033]
Here, the configuration of the event will be described. As shown in an example in FIG. 8, the event includes a control information part, a semantic information part, and a data part. Transmission data is stored in the data portion. Various data and programs such as text data, binary data, reference, proxy, and agent can be stored as transmission data.
[0034]
The semantic information portion stores semantic information (vocabulary and its value) of transmission data and a vocabulary concept (event type) of semantic information. Here, the semantic information is metadata describing the characteristics of transmission data and is an instance of an event type. The event type is a semantic information template. You can define inheritance relationships between event types. FIG. 9 shows an example of the semantic information system. In this figure, the meaning information “title; yesterday”, “price; $ 30”, “artist name; beatles” belongs to the event type “popular” and also belongs to the event type “music”. Yes. In addition, the meaning information “Title; Kiyoshi no Koto”, “Price; $ 20”, “Situation; Christmas” belongs to the event type “BGM”, and also belongs to the event type “Music”. .
[0035]
As a description language of the semantic information system, there is XML (Extensible Markup Language). Note that some event type names (all names starting with SIONet) are reserved for network entities.
The event control information part shown in FIG. 8 is a control field used for SIONet execution control, and only this is not open to the SE who is the user of SIONet. The control information section includes matched filter identifiers, matched filter verification scores, synchronous statistical information collection flags, TTL (Time To Live) values within event places, between event places, within event places, and between event places. Control information such as the number of hops and hop attributes is set.
[0036]
In the entity configuration as shown in FIG. 7, the function of the SE will be described. The SE registers event acquisition conditions in the SI-SW via the reception session. This is called a “filter”. In the filter, set the vocabulary concept (event type) of the event you want to acquire, and the matching condition with the semantic information (for example, the vocabulary “Price” is in the range of “$ 20 to $ 40”) . Note that collation conditions such as “complete match” with all vocabularies defined in the event type, “partial match” with some vocabularies, and “weighted match” can be selected in units of filters.
[0037]
The SE can register a plurality of filters from one reception session, but the filters registered through the same session have an “or” relationship. That is, for one event, one receiving session is fired at most once. If a wildcard is specified for the event type of the event to be acquired, all event types are targeted for acquisition. Further, when 1 (logical value is true) is set as the matching condition with the semantic information, it means that the matching condition with the semantic information is satisfied unconditionally.
[0038]
In addition, the SE transmits an event to the SI-SW via a transmission session. At this time, the SI-SW collates the semantic information part of the event with the filter. Specifically, first, it is checked whether or not the event type is desired to be received. If the event type is satisfied, the semantic information and the matching condition are checked. As a result of the collation, when the semantic information satisfies the collation condition, the entity that registered the matched filter is activated and the event is notified.
In SIONet, event transmission is referred to as “stimulation”, that the filter matches the event as “reaction”, and that the entity that registered the matched filter is activated to notify the event is referred to as “ignition”.
[0039]
<Entity name assignment method>
As shown in FIG. 5, the case where the entity 2 generates an event place named “event place A” will be described. The owner of the entity 2 inputs an event place name to the entity 2 through a control panel or the like. Here, the input event place name is “event place A”. Then, the entity control unit requests the NE factory to generate SI-SW, and establishes a session between the generated SI-SW and an internal module such as NE. Further, the entity control unit stores the name of the generated SI-SW as “event place name + local entity name”, that is, “event place A + entity 2”. This name is called “global entity name”. Creation of this global entity name corresponds to generation of an event place.
[0040]
That is, in SIONet, some management entity is not necessarily generated by generating an event place. That is, in SIONet, member management of entities belonging to an event place is realized by a shared link between entities described later, and therefore there is no centralized management unit itself that performs member management. For this reason, even if the entity that generated the event place leaves the event place, the entity remaining in the event place autonomously self-organizes, whereby the operation of the event place is continued. In other words, the removal of the last entity from the event place corresponds to the disappearance of the event place.
[0041]
This global entity name is used when a shared link or session is established. An operation in which the entity 2 as shown in FIG. 5 further generates an event place B and establishes a shared link from the entity 1 will be described with reference to FIG.
[0042]
First, an operation in which the entity 2 already participating in the event place A generates the event place B will be described. The entity control unit of entity 2 causes the NE factory to generate a new SI-SW, as described above. The entity control unit assigns “event place B + entity 2” as the global entity name to the generated new SI-SW. Thereby, the event place B is generated. At this time, the entity 2 has two global entity names (SI-SW names) “event place A + entity 2” and “event place B + entity 2”.
[0043]
Next, an operation in which the entity 1 joins (joins) the event place A will be described. As described above, the entity 2 participating in the event place A and the event place B is in the “active” state. An entity in the “active” state can advertise (publish) its existence to other entities, in which case the global entity name is published.
[0044]
When entity 1 discovers entity 2 and makes a join request to entity 2, entity 1 indicates that the global entity name of entity 2 that is the join destination entity is “event place A + entity 2”. Entity 2 is notified.
[0045]
In this way, the global entity name can uniquely identify the SI-SW that establishes the shared link, and thus can participate in the event place A. In this way, the SI-SW, which is the shared link or session establishment destination, is virtualized as a global entity name, so that the entity owner or the like is not directly aware of the SI-SW.
[0046]
<SE plug-in method>
The operation of incorporating SE into the entity shown in FIG. 11 will be described below.
(1) The entity owner instructs an application plug-in to the control panel. At this time, the executable file name of the application to be plugged in is given as a parameter.
(2) The control panel notifies the entity control unit that the plug-in instruction has been received and the execution file name of the plug-in application.
[0047]
(3) The entity control unit stores an execution file name to be plugged in, starts an application using the given execution file name, and establishes a session between the SI-SW and the started application.
That is, the plug-in in SIONet is nothing but to establish a session between the application and SI-SW. In SIONet, all operation entities such as SE and NE cooperate through a session. Therefore, plug-in / plug-out (detachment) can be easily realized, and the plug-in / plug-out does not affect other operation entities (super loose coupling). By extending this concept, SE sharing between entities as described later can be realized.
[0048]
<PREFERENCE architecture>
SIONet adopts the concept of a reference model as shown in FIG. The PREFERENCE architecture shown in FIG. 12 is an architecture for building a listening society (a listening-oriented cyber society) in which semantic information is registered in a filter and distribution conditions (matching conditions) are set in an event semantic information section. Provides total solutions for less-less distribution model, broker-less search model, and broker-less policy model. Specifically, it consists of a stream interface, SIONet, COMNet, and the like.
SIONet is an event transmission layer and provides a network interface to higher layers. The middleware layer is a community (community network: COMNet), and corresponds to the intelligence layer of SIONet. In this layer, information localization, authentication, security, information right guarantee, policy control, and the like are performed. The highest layer is the application layer. SE is implemented in this application layer. Examples of the SE include a personal TV station and a smart messenger for a message exchange service.
[0049]
In this way, SIONet provides a common P2P network infrastructure and a plug-in mechanism for all P2P services (SEs provide services) such as distributed computing, information exchange, collaboration, and message delivery. To support efficient application development.
[0050]
<Role of entity in SIONet>
SIONet is a form of constructing a volunteer network by helping each other's entities to help each other, and each network is self-organizing through autonomous distributed cooperation. For example, in the configuration of FIG. 6, an operation in which the entity 2 participates in the event place generated by the entity 1 and then the entity 1 leaves the event place will be described.
[0051]
In advance, the entity 1 generates an event place and participates in the event place. Here, when entity 2 makes a join request to event place for entity 1, as shown in FIG. 13, SI-SW is generated for entity 2, and SI-SW of entity 1 and entity 2 is further generated. A shared link is established between them and an entity group is formed.
In this way, after the shared link is established between the SI-SWs of the entity 1 and the entity 2 and the entity 2 participates in the event place, the entity 1 that is the creator of the event place leaves the event place. Then, the shared link between SI and SW is released, and thereafter, the event place construction / operation is continued only by entity 2. Thus, since each entity self-organizes, even if an entity leaves, disappears, etc., another entity performs the function of the entity.
[0052]
In SIONet, various forms of P2P networks can be constructed by arranging and combining entities according to the purpose. It is also possible to seamlessly link different forms of P2P networks. This is achieved by realizing:
(1) All entities are autonomously distributed and coordinated using a simple and simple mechanism called “chain reaction based on stimulation and firing”.
(2) Reducing the difference in P2P network form to the problem of entity placement and management
As described above, one of the features of SIONet is that various forms of P2P networks can be constructed with a single mechanism.
[0053]
<Shared link>
The “shared link” is a concept for performing bidirectional event sharing between a plurality of different entities. For example, as shown in FIG. 14, when entity 2 makes a request for establishment of a shared link (SL) to entity 1, as shown in FIG. 15, SI-SW2 and SI-SW1 A shared link is established between them and a new entity group is formed. That is, the shared link is a mechanism for forming an entity group, and is also a multi-hop route.
[0054]
In FIG. 14, the entity 2 that has successfully established the shared link includes the event place name (global entity name) from the entity 1, the event transfer method (routing method) in the event place, and the description (description) of the event place. Various information such as SE information that is plugged in is transmitted. Various event routing methods can be dynamically set between SI-SWs by setting filter values using SI-R, which will be described later. In the following, the operation of establishing a shared link will be described, and the role and mechanism of SI-R will be described in detail.
[0055]
<Establishment of shared link>
A mechanism up to establishment of a shared link will be described with reference to FIGS. 14 and 15. First, in FIG. 14, consider a case where entity 2 issues a shared link establishment request to entity 1.
(1) The entity 2 issues a shared link establishment request to the entity 1.
[0056]
(2) As shown in FIG. 15, the entity control unit of entity 1 is SL 1,2 SI-R that performs event routing (event transfer) between SI and SW based on semantic information to NE factory to establish (shared link for receiving event from entity 2) 1,2 Are dynamically generated inside the entity 1. Further, the entity control unit stores that the entity 2 is a shared link establishment request source. Strictly speaking, the entry point of the entity 2 and the global entity name (SI-SW2) are stored as a shared link establishment request source.
[0057]
(3) SI-R 1,2 Establishes an event reception session for SI-SW 2 by making a request for establishment of an event reception session to entity 2. At this time, a filter indicating a condition of an event received by the entity 1 is registered in the SI-SW 2. In addition, SI-R 1,2 Establishes a session for event transmission to the SI-SW 1 to which it belongs. Such a combination of transmission and reception sessions established by SI-R is called a shared link. SL 1,2 For example, the event sent by SE4 to SI-SW2 is SI-R 1,2 Is also sent to SI-SW1.
[0058]
(4) At this time, SI-R 1,2 The event transfer method can be dynamically controlled according to the setting value of the filter registered in SI-SW2. An example is shown below.
(A) The event sent to SI-SW2 is unconditionally transferred to SI-SW1. That is, for all events, SI-R 1,2 Fires. This is made possible by setting “wildcard for the acquired vocabulary concept and true for the matching condition with semantic information (vocabulary)” as a filter that SI-R registers in SI-SW. This is called “unconditional routing”. This setting only needs to be performed once when the shared link is established. In this method, there is a possibility that unnecessary event transfer and event collation processing overhead at the transfer destination may occur. However, since there is no overhead for event path establishment (routing information setting) described later, the number of registered filters is small. This method is effective when it is sufficiently larger than the number of event transmissions. This routing method is mainly used for multi-hop broadcast communication.
[0059]
(B) Transfer only events necessary for entity 1 from SI-SW 2 to SI-SW 1. Thereby, unnecessary event transfer is not performed. That is, SI-R only for specific events 1,2 Fires. This is because SI-R sets only the vocabulary concept (matching condition is always true) in the filter as “event routing by vocabulary concept”, and sets the matching condition between the vocabulary concept and vocabulary as “filter”. It is divided roughly into. The former is mainly used for multicast communication with a multi-hop type attribute, and the latter is mainly used for multi-hop type unicast communication and multi-hop type multicast communication. This is used in failure processing notifications, statistical information notifications, alive notifications, reply notifications, advertisement notifications, and the like.
In addition to multi-hop communication such as multi-hop broadcast communication, multi-hop attribute multicast communication, multi-hop unicast communication, and multi-hop multicast communication, the communication destination can be set according to the filter value set by SI-R. Direct communication using entity entry points is also possible. Multi-hop broadcast communication, multi-hop attributed multicast communication, multi-hop unicast communication, and multi-hop multicast communication will be described later.
[0060]
(4) The procedures (2) to (3) described above are performed in the same way in the entity 2 that is the shared link establishment request source. That is, the entity control unit of entity 2 stores entity 1 (SI-SW1) as a shared link establishment request destination and SL. 2,1 SI-R to NE factory to establish 2,1 Is generated dynamically. This generated SI-R 2,1 Registers a filter in SI-SW1 in the same manner as described above, and establishes a shared link. Thereby, a bidirectional shared link is established between SI-SW1 and SI-SW2, and events can be shared among entities. Since SI-R does not register the filter, it is possible to establish a one-way shared link, that is, to prevent SI-R from being fired.
[0061]
<Establishing an event path>
Route selection information for event forwarding (event routing) (a set of filters that SI-R registers for event sharing) is called an “event path”. For example, as shown in FIG. 15, in a configuration in which entity 2 and entity 3 each establish a shared link with entity 1, consider a case where SE3 of entity 2 registers a filter for SI-SW2. At this time, SI-R of entity 2 2,1 Registers the filter registered by SE3 to SI-SW1 of entity 1 via the reception session. Similarly, the SI-R of entity 1 1,3 Registers the filter in the SI-SW 3 of the entity 3 via the reception session. In this way, with the filter registration by SE3 as a trigger, the SI-R registered filter sequentially spreads to adjacent SI-Rs based on the shared link, thereby establishing an event path. This is called “event path setting or spreading”.
[0062]
Here, the establishment of the event path for the above-described “event routing based on the vocabulary concept” will be described. In FIG. 15, in order to establish an event path for “event routing based on vocabulary concept”, in the filter registered by the SE3 of the entity 2 with respect to the SI-SW2, the SI-R 2,1 Sets only the event type (the matching condition is always true) as a filter to entity 1's SI-SW1. That is, the collation condition registered by SE3 as a filter is not used. In other words, by utilizing only the event type, for example, when SE1 of entity 1 sends an event, only the event type is collated in SI-SW1, and as a result, SI-R 2,1 When the fire ignites, SI-R 2,1 Sends the event to SI-SW 2 and collates with semantic information in SI-SW 2.
[0063]
In addition, establishment of an event path for the above-mentioned “event routing by vocabulary” will be described. In FIG. 15, when establishing an event path for “event routing by vocabulary”, the SI-R of entity 2 2,1 Sets the filter value registered by SE3 as it is as the filter value to SI-SW1 of entity 1. That is, SI-R 2,1 Is a form in which both the event type and semantic information registered by SE3 as a filter are registered in SI-SW1 of entity 1 and complete filtering is performed in SI-SW1.
[0064]
Therefore, the event routing method based on vocabulary does not cause any unnecessary event transfer, but the event path setting overhead for routing becomes enormous, so this method is effective when the number of event transmissions is sufficiently larger than the number of registered filters. It is. On the other hand, the routing method based on the event type is positioned as a compromise between the two methods described above. In other words, it is effective when the number of filter registrations and the number of event transmissions are about the same, or when the ratio between the number of filter registrations and the number of event transmissions cannot be predicted. With these mechanisms, multi-hop communication of events based on semantic information is realized. An event routing method can be specified when generating an event place or registering a filter from an SE.
[0065]
The event path setting request is propagated to all SI-Rs in the event place, but the propagation range can be limited by the TTL value. The operation will be briefly described with reference to FIG. Here, for convenience of explanation, it is assumed that an event path is established for vocabulary concept routing, but the present invention is not limited to this. Further, each entity advertises (filter registration) the same vocabulary concept. The description will be made assuming that the TTL value is 2.
[0066]
In FIG. 16A, the SI-R of the entity 2 starts an event path setting request. Here, since the TTL value is 2, the event path setting request is propagated only to entity 1, entity 3, and entity 4, and as a result, the event path is established as shown in FIG. The
[0067]
Similarly to the above, when the SI-R of the entity 11 starts an event path setting request, an event path is established for the entity 10 and the entity 9. In the configuration shown in FIG. 16, when the SI-R of entity 2 and the SI-R of entity 11 make an event path setting request, the event path is not set in entity 5. Is not shared. That is, the event that has occurred from the entity 2 does not cause a chain reaction with the entities 5 to 11, and the event is not transferred to the entities 5 to 11.
[0068]
However, as shown in FIG. 16B, when the SI-R of the entity 5 initiates an event path setting request, the event path for the entity 4, the entity 5, the entity 6, the entity 7, and the entity 9 is determined. Is established. As a result, as shown in FIG. 16C, an event path is established for all entities in the event place except the entity 8.
[0069]
Thus, if the vocabulary concept is frequently used (reputed or popular) in the event place, the event path will eventually be established in the event place. Become. On the other hand, vocabulary concepts that are not so popular will eventually be deceived, which allows a mild chain reaction to be realized. Note that the numbers on the event path in FIG. 16 indicate the multiplicity.
[0070]
An entity can publish the multiplicity of event paths as an attribute of an entity property. On the other hand, an entity having a high multiplicity of event paths can be found by entity property discovery. At this time, by re-sharing the shared link with respect to the entity, it is possible to gradually gather like-minds (like entities) in the vicinity (localization of like-entities). Details of the entity property will be described later.
[0071]
From the viewpoint of distributed object technology, the event path can also be interpreted as follows. Entities that are super-distributed around the world have some “correlation” between them. There are various properties such as an entity name, a group name, and attributes (location, interest, reputation, fashion, service) that give a correlation. Based on the correlation, the entities have a connection between the entities and perform distributed cooperation. This entity that gives an entity correlation is called an entity property.
[0072]
In SIONet, this correlation is expressed by the vocabulary concept and vocabulary and set as an event path based on the shared link. The strength of the correlation corresponds to generalization / specialization of vocabulary concepts, multiplicity of event paths, and the like. That is, in SIONet, the correlation between entities is dynamically controlled and managed by an event path. This is the control of the chain reaction by the filter. Therefore, the entity does not have a fixed entity identifier.
[0073]
For example, an IP address is a fixed identifier of an entity based on a position. In SIONet, instead of this, an entity property described as a vocabulary concept / vocabulary is used as an entity identifier. Entities register these as filters in SI-SW, thereby declaring entity properties (entity identifiers) and advertising their properties based on shared links. This corresponds to the propagation of the event path. Thereby, an event path is established.
[0074]
As described above, SI-R is a network entity having both aspects of event transmission and event reception, and is not fundamentally different from a general service entity. In SIONet, an entity used for SIONet control such as SI-R is called a network entity (NE), particularly distinguished from a service entity (SE). In SIONet, all service entities and network entities are treated as a common entity, and autonomously operated according to a simple and consistent common logic of event transmission and event reception, that is, chain reaction of stimulus and firing. , Provide a super-distributed and super-loosely coupled architecture in which all entities can cooperate autonomously and distributedly.
[0075]
<Release and re-establish shared link>
In cases where an entity participating in the event place falls into a failure or leaves the event place, the remaining entity is not able to participate in the operation of the network for various reasons. By doing so, it is necessary to be able to continue the network service.
In such a case, SIONet releases the shared link established between SI and SW, and re-establishes the shared link. The operation will be described with reference to FIG.
[0076]
In FIG. 17, the first numbers (1) and (2) in the shared link establishment request indicate the order of those requests. That is, in order of the shared link establishment request, first, the shared link establishment request is made from the entity 2 to the entity 1. Next, a request for establishment of a shared link is made from entity 3 to entity 2. Finally, a shared link establishment request is made from entity 4 to entity 2. Here, “Each entity can make a shared link establishment request at most once in the same event place, but establishes a shared link based on a link topology that can accept an unlimited number of establishment requests. Propose a link establishment method. This guarantees that no loop will occur between entities linked by a shared link. That is, by using this method, an open link topology can be easily realized only by link re-establishment between adjacent entities.
[0077]
If the establishment request is successful in the above-described order, a shared link is established between each SI-SW by the above-described procedure. When the shared link is established, the entity control unit of each entity stores the entity that has made the establishment request and the entity that has accepted the establishment to itself. For example, the entity 2 holds a list of the entity 1 that has requested establishment and the entities 3 and 4 that have accepted the establishment of the entity 2.
In this situation, for example, when the entity 2 is moved out or removed, a shared link release request is issued to its own SI-SW 2 to release the shared link. Thereafter, each entity establishes a new shared link. Hereinafter, the operation will be described.
[0078]
(1) When the entity 2 leaves, the entity control unit of the entity 2 notifies the one-hop entity (entity 1, entity 3, entity 4) that the shared link is released. This can be done by sending an event with the TTL value of the event set to 1. At this time, for the entity (entity 3 and entity 4) that has accepted the establishment of the shared link to itself, the entity 1 that has made the establishment request is used as the establishment request destination of the new shared link on behalf of itself. teach. If there is no entity that has made an establishment request, an arbitrary entity is selected from the establishment requesting entities (one hop ahead) to itself, and this is used for the shared link on behalf of itself. The establishment request destination.
[0079]
(2) The entity control unit of entity 2 uses the shared link (SL 2,1 , SL 2,3 , SL 2,4 ) 2,1 , SI-R 2,3 , SI-R 2,4 (Not shown). SI-R 2,1 , SI-R 2,3 , SI-R 2,4 Is the SI-R of entity 2, and as described above, shared link SL for entity 1, entity 3, and entity 4 2,1 , SL 2,3 , SL 2,4 Is established. These SI-Rs use this as a trigger to release the session of entity 2 to SI-SW2.
[0080]
(3) The entity control unit of entity 1 is SI-R 1,2 (Not shown) Shared Link SL 1,2 Instruct to cancel. SI-R 1,2 Shared link SL 1,2 Is released. The entity 1 waits for establishment requests from the entities 3 and 4.
(4) Similar to entity 1, entity 3 and entity 4 share a shared link (SL) established for SI-SW 2 (SI-SW 2 of entity 2). 3,2 , SL 4,2 ) Are all released, a shared link establishment request is made to the new entity (entity 1) instructed as the shared link establishment request destination from the entity 2, and the shared link is reestablished. That is, as described above, each entity control unit sends an SI factory to the NE factory. 3,1 , SI-R 4,1 To generate the SI-R 3,1 , SI-R 4,1 Shared link SL 3,1 , SL 4,1 Establish.
[0081]
As described above, the shared link establishment process and re-establishment process are performed only between adjacent entities and do not affect other entities. That is, there is no need to reconstruct links for all entities.
[0082]
The shared link is not only requested to release the shared link by following proper procedures such as moving out or deinstalling the entity, but also due to an entity failure, power failure, session (physical communication path) failure, etc. There are cases where you must re-establish. However, in such cases, it may not be possible to teach alternative entities that are needed when reestablishing a shared link. In SIONet, in order to cope with such a situation, each entity transmits an event of n hops (n is an arbitrary natural number) to grasp an alternative establishment request destination entity. In SIONet, finer hop control is possible by using TTL values and hop attributes. Examples of hop attributes include:
[0083]
(1) Only the entity requesting shared link establishment is targeted for hopping.
(2) Only the entity requesting the establishment of a shared link is a hop target.
(3) All entities are targeted for hopping.
[0084]
An example of an event flow when the hop attribute of (1) is designated is indicated by a broken line in FIG. In FIG. 18, (i / j) is shared link establishment information stored in each entity. i indicates the entity to which the entity has made a shared link establishment request, while j indicates the entity that has accepted the shared link establishment request. For example, (2/5, 6) of the entity 3 indicates that the entity 3 makes an establishment request to the entity 2 and accepts the establishment requests from the entities 5 and 6. Each entity holds shared link establishment information, so that, for example, when the entity 3 makes a further shared link establishment request to another entity, the request can be rejected as an error. This guarantees the consistency of the open link topology described above. In this situation, entity 6 has 3 hops and sends an event having the above-mentioned hop attribute (1), so that it becomes possible to know the existence of entity 1 and entity 2, which are alternatives when entity 3 fails. Become an entity.
[0085]
The hop attribute described above is used not only for searching for an alternative entity at the time of failure, but also for searching for an entity that can accept establishment of a shared link, and for searching for a top entity (nobody establishes a shared link). It is valid. In SIONet, only the top entity can establish a federation (corresponding to a shared link between event places) for other event places.
[0086]
<Purpose of online increase / decrease>
The purpose of the entity increase / decrease in SIONet is mainly divided into the following two.
(1) From the viewpoint of improving the total processing capacity of the event place, the number of entities in the event place is increased, and the event filtering process is load-balanced. From the opposite point of view, the entity is reduced. This is mainly used in the operation of hybrid P2P and backbone P2P networks.
(2) A flexible and global P2P network is built from the bottom up by flexibly establishing a shared link for dynamically generated entities. This is mainly used in the operation of a pure P2P network.
[0087]
Note that a hybrid P2P network is a network that is configured by, for example, an operator such as a network provider generating an event place in advance on a host or the like, and a service entity such as a personal terminal connecting to the event place through a session. . The pure P2P network is a network configured by connecting entities that are individual transmission / reception terminals via shared links, and among these networks, the smallest unit for sharing an event is an event place. The backbone P2P network is a connection form between networks, for example, a network in a state where pure P2P networks in a plurality of regions are connected via a hybrid P2P network.
[0088]
<Type of increase / decrease>
SION provides several types of increase / decrease configurations, but here, typical configurations shown in FIGS. 19 and 20 will be described.
(1) Combining and separating event places
As shown in FIG. 19A, a plurality of event places can be synthesized. Here, composition refers to collecting entities belonging to a plurality of event places as members in one event place. As a typical example, service integration (information sharing) based on a business alliance between different service operators can be considered.
[0089]
This is because a request for establishing a shared link is issued to any entity belonging to the event place or an entity in the event place where the request is made, by issuing a composition request. As a result, a shared link is established between SI and SW, and the combination of both is realized. The request source and the request destination of synthesis may be either an entity or an event place. On the other hand, in the case of division, the established shared link is released and separated into event places.
[0090]
(2) Participating in and leaving the event place
As shown in FIG. 19B, an SI-SW is generated in the request source entity by making a Join request to the entity in the event place or the event place. Then, by issuing a shared link establishment request to the request destination entity, the shared link is established between the SI and SW, and can participate in the event place.
When the entity leaves the event place, the shared link between the entities is released, the shared link is reconstructed, and the entity leaves the event place as described above. At this time, the state of the entity that has moved out transitions to the suspended state.
[0091]
By requesting the entity to establish a shared link from the event place side, the entity can be taken into the event place. This is called absorption. The opposite is called splitting.
(3) Increase / decrease of entities (SI-SW)
As shown in FIG. 20 (c), when an entity expansion request is made to an entity in an event place or an event place, an SI-SW is newly generated for the specified entity, and an existing SI-SW is generated. A shared link is established with the SW. On the other hand, when an entity reduction request is made to the event place, a shared link release request is issued to the specified entity, and after the shared link between SI and SW is released, the shared link is reestablished. , The entity is deleted. At this time, the state of the entity transitions to Non-Existent.
[0092]
(4) Federation between event places
As shown in Fig. 20 (d), a SI-GW that transfers events between event places is dynamically generated by making a federation (cooperation) request to the entities in the event place or to the event place. Both event places cooperate through the session. Note that the federation request source and request destination may be either an entity or an event place.
[0093]
<Entity advertisement>
With reference to FIGS. 21 and 22, the advertisement (publication) of an entity will be described. There are the following two aspects to entity advertisement in SIONet.
Viewpoint 1: Entrance advertisement
Viewpoint 2: Entity property advertisement
Hereinafter, each viewpoint will be described.
Viewpoint 1: Entrance advertisement
The base event place is an event place serving as a base (starting point) for searching for (discovering) an optimal event place based on an entity. In other words, the base event place is the entrance to SIONet. Therefore, entities participating in the base event place can make the SIONet entrance public. Here, opening the entrance means advertising the entry point and the global entity name of the entity that is the shared link establishment request destination. This public information is found by a search using a broadcast described later.
[0094]
Viewpoint 2: Entity property advertisement
In any entity group connected by a shared link (all event places including the base event place), each entity can advertise its entity properties. This corresponds to the propagation of the event path described above. This public information is discovered by sending out a discovery event described later.
[0095]
The flow from entity disclosure and search to entity group formation will be described below. In the following, base entity, entity 1, entity 2, entity 3, entity 4, entity 5, and entity 6 belong to the base event place, and entity 3, entity 11, entity 12, and entity 13 belong to event place α. It will be described as belonging.
[0096]
(1) Install SIONet software on the host as shown in FIG. The state of the entity at this point is “Non-Existent” as described above. For convenience of explanation, this entity is assumed to be entity Y.
(2) By executing the SIONet software, the entity Y transitions from the “Non-Existent” state to the “Suspend” state. An entity in this state has not yet been recognized by SIONet.
[0097]
{Circle around (3)} The entity Y in the “suspend” state searches for the entrance (entry point and global entity name) of other entities belonging to the base event place in order to participate in the network as a component of SIONet. Specifically, a nearby entity is searched from among entities participating in the base event place by broadcasting. The broadcast method depends on the implementation. For example, when implemented in a wireless network, all entities within the wireless reach are targeted for search. On the other hand, when implemented in an IP network, IP broadcast or IP multicast is performed. FIG. 21 shows that the entity 1 (entry point of the entity 1 and the global entity name) is found by the search by broadcast. If a nearby entity cannot be found by broadcasting, a well-known entity can be used. Well-known entities are called base entities. Note that the base entity can exist in all event places including the base event place.
[0098]
{Circle around (4)} The entity Y makes a join request to the base event place for the discovered entity 1. That is, the entity Y makes a Join request to the entry point of the entity 1 using the global entity name of the entity 1 as a parameter. The entity 1 that has received the join request from the entity Y accepts the join request only when the state transition of the entity 1 is “active” and the entrance and the entity property are in the public mode. The entity Y cannot issue a Join request exceeding the maximum number of Joins. The maximum number of Joins can be set by the owner of the entity Y or the like on the control panel of the entity Y. When the entity 1 receives the join request of the entity Y, a shared link is established between the entity Y and the SI-SW of the entity 1 by the same operation as described above. Thereby, the entity Y is self-organized as a network component in the base event place. At this time, the entity Y transitions from the “suspend” state to the “active” state.
[0099]
Entity Y joined to the base event place can open the entrance. You can also advertise entity properties. Entity properties include global entity name (and entry point), nickname, group name, alive (only assertion exists, entry point and global entity name as shared link establishment information are not disclosed, entity is not disclosed (Even if it is a mode, there are disclosure targets), descriptions (descriptions of entities), attributes, etc. The attributes include plug-in SE information, event path multiplicity, event place information, and the like. The entity property description language includes XML.
[0100]
In FIG. 21, for example, the entity control unit of the entity 3 can publish the event place α in which the entity 3 participates simultaneously as an attribute of the entity property. Furthermore, the entity control unit can disclose not only the event place that is currently joined but also the event place information of the event place that has been joined in the past. This event place information is, for example, a description of the event place (description of the event place, explanation information), or the global entity name of the entity (semantic information switch) that established the shared link when participating in the event place ( Event place name + entity name, connection establishment information), entry point (entry point information), and the like. The number of entities that can hold the event place information joined in the past is arbitrary. For example, the entity owner or the like can be set by the control panel. The entity that has obtained the public event place information presents the event place information to the entity owner by outputting the event place information through a control panel or the like. Thereby, the entity owner can recognize the existence of another event place.
In SIONet, there is no function to centrally manage event place information such as where and what event place and what service is provided in that event place, so if you want to get event place information, Event place information needs to be obtained from entity properties of other entities. By making public the event place information that participated in the past as well as the event place that you are currently participating in, the chances of acquiring the event place information will increase, and the chances of participating in the event place that provides the service you want will increase. .
[0101]
When the entrance of the entity Y is released, these entity properties are registered as filters in the semantic information switch in the entity, whereby the entity properties are propagated to other entities based on the shared link, and an event path is established. Basically, the event path establishment request is propagated to all the entities in the event place, but the propagation range of the event path establishment request can be limited by the TTL value. The global entity name is used as an identifier during multi-hop type unicast communication, the group name is used as an identifier during multi-hop type multicast communication, and the attribute is used as an identifier during multicast communication with a multi-hop type attribute. For example, as a typical example of multi-hop unicast communication, there is a reply notification from an event reception entity to an event transmission source entity.
[0102]
In other words, the global entity name is multi-hop unicast communication, which is a communication method for transmitting an n-hop event from the SI-SW of the entity specified by the global entity name. Multi-hop multicast communication is a communication method for transmitting n-hop events to SI-SWs of entities belonging to a group specified by a group name. Multi-hop attributed multicast communication is a communication method for transmitting an n-hop event to an SI-SW of an entity having the same attribute as that of itself. Multi-hop broadcast communication is a communication method for transmitting an n-hop event to SI-SW of an arbitrary entity.
[0103]
(5) In FIG. 22, the entity Y who participated in the base event place releases “entity properties that meet his / her needs” by sending out a discovery event to search for the “event place where he / she wants to participate”. Search for the entity This discovery event is an event used for control of SIONet, and is equivalent to an event transmitted by SE. A discovery event is an event for igniting an NE, and a matching condition with an entity property is set in the semantic information portion of the event. In other words, adding a new function in SIONet means defining a new vocabulary concept and vocabulary (not adding a mechanism, but adding a chain reaction condition). As a result, various functions can be added only by a single mechanism (chain reaction).
[0104]
Here, it is assumed that the entity 3 is found as a result of the search. As described above, the entity 3 participates in the event place α simultaneously with the base event place. By discovering the entity 3, the entity Y can know the existence of the event place α.
(6) The entity Y issues a Join request to the event place α to the entity 3 and participates in the event place α. As described above, the entity 3 accepts a Join request (shared link establishment request) when its state transition is “active” and in the public mode.
[0105]
(7) Furthermore, the entity Y can send an event for the same search at the event place α. Thereby, it is possible to find a new entity that meets its own needs. For example, it is assumed here that the entity 12 has been discovered. That is, entity Y means that entity 12 that could not be found in the base event place can be found via entity 3. By repeating such an operation, it is possible to gradually reach an event place that meets its needs.
[0106]
The advertisement method shown here has the following effects.
(1) Since there is no broker (management unit) that manages public information of entities, it is possible to construct a self-organizing network that is strong in fault tolerance at low cost. In addition, it is not realistic to manage a huge number of public information (entry points and entity properties) with a broker.
(2) Since the event place suitable for the entity can be narrowed down to the formula to be determined, a desired event place can be efficiently searched. For example, even if the spillover range of the chain reaction (the hop number of the discovery event and the spillover range of the event path setting request for the entity property) is limited by the TTL value, as described above, the entity 12 via the entity 3 As a result, another event place to which the entity 12 belongs can be found. It should be noted that network traffic (event transfer count, event path setup request transfer count) can be reduced by limiting the spread range of the chain reaction.
[0107]
Note that entities that simply receive information from other entities without providing information (for example, without disclosing entity properties) will be forced to release the shared link as a penalty, As long as you are not satisfied, you can prevent them from participating in the event place again.
[0108]
<SE sharing method (automatic distribution)>
In the following, the mechanism of the SE sharing method will be described by taking SE (game application program) sharing in the game event place as an example.
(1) The owner of the entity 2 who is an operator of the game event place gives an event place name via the control panel of the entity 2. It is assumed that the event place name assigned here is “game”.
[0109]
(2) The entity control unit of entity 2 gives the global entity name “game + entity 2” to the SI-SW generated by the NE factory, as described above. Thereby, an event place is generated. At this time, the entity 2 that is the creator of the game event place automatically participates in the event place when the event place is generated.
(3) The owner of the entity 2 instructs the control panel of the entity 2 to plug in the game application program (SE). At this time, the executable file name of the application to be plugged in and the presence or absence of SE sharing are given as parameters.
[0110]
(4) The control panel of entity 2 notifies the entity control unit of this fact.
(5) The entity control unit of entity 2 stores the name of the executable file to be plugged in, and starts the application (SE) using the given executable file name, and between SI-SW and the application as described above Establish a session on That is, the plug-in in SIONet means establishing a session between the application and SI-SW.
[0111]
(6) The entity control unit of entity 2 advertises (publishes) the entity property of entity 2. Examples of the entity property public form of entity 2 include the following.
Entity 2 participates in the base event place and publishes the entity properties of entity 2 in the base event place.
Entity 2 discovers and participates in an event place that is closely related to the game event place by performing an expression search, and publishes the entity property of entity 2 in the event place.
-Entity 2 is a base entity. That is, the entity properties (entry point and global entity name) of entity 2 are made known.
[0112]
(7) The entity 1 that knows the existence of the entity 2 requests the entity 2 to participate in the game event place.
(8) If this request is approved, entity 1 requests entity 2 to establish a shared link. Then, a shared link is established between entity 1 and entity 2 as described above.
(9) When the shared link is established, the shared link establishment request destination (entity 2) returns information necessary for transmission / reception of the event in the event place to the establishment request source (entity 1). Specifically, for example, an event place name (global entity name), whether or not the event place that participated is a base event place, an event transfer method (routing method) in the event place, a description of the event place, a plug-in SE information (when there is SE sharing) and the like.
[0113]
Specifically, the SE information returned to the shared link establishment request source when sharing the SE share is, for example, an execution file name of the application to be plugged in or a file of the application.
(10) The entity control unit of the entity 1 that has received the file activates the application using the given executable file name as described above, and establishes a session between the SI-SW in the entity 1 and the application. Establish. As a result, the game application program is plugged into the entity 1 as SE.
[0114]
In other words, participation in an event place means that an entity group connected by a shared link is formed, and a participant shares a plug-in-completed application program. As a result, an entity that is a member in the event place can automatically use the plugged-in application simply by participating in the event place. Note that when the entity 1 leaves the game event place, the plugged-in game application program is plugged out. At that time, the entity 1 can continue to hold the received file, or the file may be deleted at the time of plug-out.
[0115]
The operation described above is application sharing in a pure P2P network environment. Therefore, the distribution of the application program is performed only between the two parties, that is, the shared link establishment destination entity and the establishment source entity, and thus does not affect other entities that are already coupled by the shared link. That is, since the processing is localized between the two parties for file transfer, scalable SE sharing can be achieved.
[0116]
<Business model>
Here, an embodiment in which the above-described SIONet is provided as a service will be described.
(1) Client server model
This is a form in which an event place is operated only by a predetermined entity. That is, only a predetermined entity can participate (Join) in the event place, and an entity permitted to participate constitutes an entity group by establishing a shared link between the entities. On the other hand, the other entities establish a session with the entity group, and send and receive events via the session. That is, an event place (a predetermined group of entities) is a server, and other entities correspond to clients. In this business model, each entity that is a member of an entity group behaves as an autonomous distributed computer, and when any entity falls into a failure, the remaining entities are self-organized and continue to operate the event place. In order to improve the processing capacity of the server, a new entity may be added to the event place. Therefore, it is possible to realize a scalable server that is strong in fault tolerance, inexpensive, and scalable as compared with the conventional server realization method.
[0117]
(2) Hybrid model
For example, an entity that is an operator of a game event place generates a game event place and becomes a base entity in the event place. On the other hand, an entity positioned as a user of a game event place enjoys the service at the event place by participating in the event place. In the conventional client server model, new capital investment (CPU power, storage, communication bandwidth, etc.) was required in proportion to the increase in the number of users, but this business model is based on the fact that users participate in the event place. In order to provide the user's own entity for service operation, the event place operator does not need new capital investment. Therefore, an inexpensive and scalable P2P service environment can be constructed. Note that the base entity can authenticate and charge a user (entity) participating in the event place. In addition, the base entity sends out a discovery event to discover an entity that can establish a shared link (alternate entity) from the entity group, and notifies the entity that wants to participate to the discovered entity. It is also possible to establish a shared link between the two.
[0118]
(3) Pure model
This is a business model in which all entities can freely participate (leave) in the event place.
As mentioned above, SIONet can realize various business models with a common mechanism by reducing to operation / placement problem. Therefore, it has a great effect on development man-hours, scale, debugging efficiency, ease of maintenance and the like.
[0119]
As described above, an entity in the “suspended” state cannot disclose an entrance or an entity property. An entity in the “suspend” state transitions to an “active” state by joining an arbitrary event place. Only entities in the “active” state can expose entrances and entity properties. Also, only the entities that are joined to the base event place can open the entrance. An entity can actually publish an entrance or an entity property when satisfying “publication is instructed by the control panel” and “the number of established sessions (shared link) for the entity does not exceed the default value”. For example, even if the owner of an entity instructs the disclosure using the control panel, if the shared link is established beyond the default value, the private mode is automatically set. The default value can be set on the control panel. For example, the entity owner can set the default value based on the ability of the entity.
[0120]
The network entity, network entity factory, entity control unit, control panel, service entity, semantic information switch, semantic information router, semantic information gateway may be realized by dedicated hardware, It may be configured by a CPU (Central Processing Unit), and the function may be realized by loading a program for realizing the function into a memory and executing it.
[0121]
In addition, a program for realizing the functions of a network entity, a network entity factory, an entity control unit, a control panel, a service entity, a semantic information switch, a semantic information router, and a semantic information gateway is recorded on a computer-readable recording medium, You may implement | achieve by making a computer system read the program recorded on this recording medium, and executing it. Here, the “computer system” includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
[0122]
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case is also used to hold a program for a certain period of time. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
[0123]
[Embodiment of the Invention]
Hereinafter, an embodiment of the present invention will be described.
In FIG. 1, there are an event place X, an event place Y, and an event place Z. At this time, for example, the entity at the top of the event place X (who has not made a shared link establishment request to any entity) makes a federation (cooperation) request to the top entity of the event place Z, so that A shared link is established. As a result, it is possible to share events between event places that are originally sparsely related, and it is possible to realize cooperation between event places constructed in accordance with the respective uses and purposes. Event place X is the bottom event place (no federation request is received from any entity), and event place Z is the top event place. Similarly, when the top entity of event place Y makes a federation request to the top entity of event place Z, event place Y becomes the bottom event place and event place Z becomes the top event place.
[0124]
Specifically, as shown in FIG. 25, when a federation request is approved, SI-GW as an internal entity is dynamically generated in each entity. This SI-GW is a network entity for expanding the chain reaction across event places. And this SI-GW establishes a transmission / reception session with the federation destination SI-SW, so that shared links (shared link for event transfer and shared link for reply event transfer) are shared between entities across event places. Established. The transfer range of events transferred between event places via this shared link is controlled by the hop attribute, TTL value, and event path. The shared link established here and the shared link established by SI-R (semantic information router) are the same in principle.
[0125]
SI-GW differs from SI-R in that it has the following functions.
(1) It is possible to specify an event type of an event transferred across event places (limit specification of events to be transferred). Specifically, by setting the filter value that SI-GW registers through the event reception session, all event types are subject to forwarding, and only specific event types are subject to forwarding. Control becomes possible.
(2) Ontology conversion of events transferred across event places is performed. For example, the SI-GW creates a semantic information conversion table between adjacent event places, performs event information transfer after performing semantic information conversion based on the table. This makes it possible to realize semantic information conversion when event transfer is performed between event places having different semantic information systems. This includes a manual mode and an automatic mode. The automatic mode is inferior in conversion accuracy compared to the manual mode, but is effective for conversion between event places having a relatively short life such as an ad hoc community. As an example, as shown in the figure, when federation is performed between entity 1 and entity 2, the SI-GW of entity 1 1,2 When the event with semantic information “baseball” used in event place 2 is received from SI-SW2 of entity 2, it is converted to the semantic information “baseball” used in event place 1 of itself. , Transfer to SI-SW1 of entity 1.
[0126]
Referring to FIG. 26, when an entity that establishes a federation leaves, that is, when an entity that establishes a shared link between event places using SI-GW leaves, the reestablishment of the shared link The method is described below.
In the figure, there are an event place X, an event place Y, and an event place Z. The event place X is composed of a top entity B1 and an entity B2 and entity B3 that are downstream and downstream. The event place Y is configured by a tree-type (binary tree) topology with the entity C as the top. The event place Z includes a top entity A1, a downstream entity A2, and further downstream and bottom entities A3 and A4. The entity B1 makes a federation request to the entity A1 and the entity C makes a request for federation to the entity A3, whereby a shared link is established. That is, the event place Z is a top event place, and the event place X and the event place Y are bottom event places.
The upstream indicates a shared link establishment request destination, and the downstream indicates a shared link establishment request source.
[0127]
First, it is assumed that the entity A1 leaves.
(1) The entity A1 selects the entity that becomes the top from the entities one hop downstream, that is, the entity B1 and the entity A2, as the top entity instead of itself. However, since the entity B1 belongs to another event place, the entity A2 is selected.
(2) The entity A1 notifies the entity A2 and the entity B1, which are entities (one-hop ahead entity) that have established a shared link to the entity A1, to release the shared link with the entity A1. At that time, it is also notified that the alternative top entity is entity A2.
(3) The entity A2 receives the notification from the entity A1 and recognizes that it is the top entity. On the other hand, the entity B1 recognizes that the shared link re-establishment request destination is the entity A2.
(4) The entity B1 establishes a shared link (shared link re-establishment) to the entity A2.
[0128]
Next, in the figure, it is assumed that the entity A3 leaves.
(1) The entity A3 notifies the entity A2 and the entity C that are entities (one hop ahead entity) that have established a shared link to the entity A3 to release the shared link to itself. At this time, it notifies that the upstream entity serving as its substitute is the entity A2.
(2) Upon receiving the notification from the entity A3, the entity C recognizes that the shared link reestablishment request destination is the entity A2.
(3) The entity C establishes a shared link (shared link re-establishment) to the entity A2.
[0129]
Finally, in the figure, it is assumed that the entity B1 leaves.
(1) The entity B1 selects one of the entities one hop downstream, that is, the entity B2 or the entity B3, as the top entity instead of itself. Here, it is assumed that the entity B2 is selected.
(2) The entity B1 releases the shared link to itself for the entity A1, entity B2, and entity B3, which are entities (one hop ahead) that have established a shared link to the entity B1. Notify that. At this time, the entity that is the alternative top entity notifies the entity B2 and the entity B3 that it is the entity B2. Note that the entity B2 at the top is also notified that the shared link establishment destination entity for federation is the entity A1.
(3) Upon receiving the notification from the entity B1, the entity B2 recognizes that it is the top entity and that the shared link establishment destination entity for federation is the entity A1. On the other hand, the entity B3 recognizes that the shared link re-establishment request destination is the entity B2.
(4) The entity B2 and the entity B3 perform shared link establishment (shared link re-establishment) to the entity A1 and the entity B2, respectively, based on (3).
By such a mechanism, the network is self-organized without being divided.
[0130]
The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention.
[0131]
【The invention's effect】
As described above, according to the present invention, when an entity that cooperates between event places leaves, the remaining entity reestablishes a shared link within the event place and between the event places to reconstruct the network. can do. Thereby, even when an entity that performs cooperation between event places leaves, the cooperation between event places can be maintained without dividing the network.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining federation between event places according to an embodiment of the present invention;
FIG. 2 is a diagram for explaining entities in SIONet (semantic information network), which is a prerequisite technology of the present invention.
FIG. 3 is a diagram for explaining entity state transition in SIONet;
FIG. 4 is a block diagram showing an internal configuration of an entity in SIONet.
FIG. 5 is a diagram for explaining generation of an event place in SIONet.
FIG. 6 is a diagram for explaining an operation in which an entity in SIONet participates in an event place.
FIG. 7 is a diagram for explaining a semantic information switch SI-SW and a session in SIONet.
FIG. 8 is a diagram showing a configuration of events in SIONet.
FIG. 9 is a diagram for explaining a semantic information system in SIONet.
FIG. 10 is a diagram for explaining an operation in which an entity participating in a certain event place further participates in another event place in SIONet.
FIG. 11 is a diagram for explaining a service entity plug-in in SIONet;
FIG. 12 is a diagram for explaining a reference model in SIONet.
FIG. 13 is a diagram for explaining a shared link in SIONet.
FIG. 14 is a diagram for explaining a shared link in SIONet.
FIG. 15 is a diagram for explaining a shared link in SIONet;
FIG. 16 is a diagram for explaining an event path in SIONet;
FIG. 17 is a diagram for explaining re-establishment of a shared link in SIONet.
FIG. 18 is a diagram for explaining a hop attribute in SIONet;
FIG. 19 is a diagram for explaining event place and entity increase / decrease in SIONet;
FIG. 20 is a diagram for explaining event place and entity increase / decrease in SIONet;
FIG. 21 is a diagram for explaining entity advertisement in SIONet;
FIG. 22 is a diagram for explaining entity advertisement in SIONet;
FIG. 23 is a diagram showing dimensions of a P2P model.
FIG. 24 is a diagram for explaining the concept of SIONet.
FIG. 25 is a diagram for explaining establishment of a shared link during federation according to an embodiment of the present invention.
FIG. 26 is a diagram for explaining a shared link re-establishment method during federation according to the embodiment;

Claims (8)

自身の属するイベントプレースと、該イベントプレースと連携を行っている他のイベントプレースとの間の連携を維持させ、該イベントプレースからの退去を行うエンティティ装置であって、
自身の属するイベントプレースからの退去を行うときに、自身がイベントプレースの連携を行っている場合には、該イベントプレースに属し、自身とシェアードリンクを確立しているエンティティ装置の中から、前記他のイベントプレースに属し、自身とシェアードリンクを確立して連携を行っているエンティティ装置との連携を行わせるエンティティ装置を選択する選択手段と、
前記選択した他のイベントプレースとの連携を行わせるエンティティ装置に対しては、フェデレーションのためのシェアードリンク再確立先を通知する手段と、
自身とシェアードリンクを確立している全てのエンティティ装置へ自身とのシェアードリンクの解除を指示するとともに、自身とシェアードリンクを確立している下流のエンティティ装置へシェアードリンクの再確立先のエンティティ装置の情報を通知する通知手段と、
を備え、
前記選択手段は、該イベントプレース内に上流のエンティティ装置がある場合には1ホップ上流のエンティティ装置を、上流のエンティティ装置がない場合には1ホップ下流のエンティティ装置を選択する、
ことを特徴とするエンティティ装置。
An entity device that maintains a linkage between an event place to which the user belongs and another event place that is linked to the event place, and that leaves the event place,
When leaving the event place to which it belongs, if the event place is linked to the event place, the other entity devices that belong to the event place and have established a shared link with the other place A selection means for selecting an entity device that is linked to an entity device that belongs to the event place and establishes a shared link with itself and is linked,
A means for notifying an entity device that performs cooperation with the selected other event place, a shared link re-establishment destination for federation ;
All entity devices that have established a shared link with itself are instructed to release the shared link with itself, and the downstream entity device that has established a shared link with itself is notified of the entity device to which the shared link is reestablished. A notification means for notifying information;
With
The selection means selects an entity device that is one hop upstream if there is an upstream entity device in the event place, and selects an entity device that is one hop downstream if there is no upstream entity device.
An entity device characterized by that.
前記通知手段は、前記他のイベントプレースに属し、自身と連携を行っている前記エンティティ装置が下流である場合に、この連携を行っているエンティティ装置へ前記選択手段が選択したエンティティ装置の情報をシェアードリンクの再確立先として通知し、上流である場合に、この連携を行っているエンティティ装置の情報を、前記選択手段が選択したエンティティ装置へシェアードリンクの再確立先として通知する、
ことを特徴とする請求項1に記載のエンティティ装置。
When the entity device belonging to the other event place and cooperating with itself is downstream, the notifying device sends information on the entity device selected by the selecting device to the entity device cooperating with the event device. Notifying as the reestablishment destination of the shared link, and in the case of upstream, information of the entity device that is performing the cooperation is notified as the reestablishment destination of the shared link to the entity device selected by the selection unit.
The entity device according to claim 1.
前記通知手段は、該イベントプレース内に上流のエンティティ装置が存在せず、かつ、自身とシェアードリンクを確立している下流のエンティティが複数存在する場合に、前記選択手段が選択したエンティティ装置以外の下流のエンティティに、この選択したエンティティの情報をシェアードリンクの再確立先として通知する、
ことを特徴とする請求項1または請求項2のいずれかの項に記載のエンティティ装置。
The notifying unit is not an entity device selected by the selecting unit when there is no upstream entity device in the event place and there are a plurality of downstream entities that have established a shared link with itself. Inform downstream entities of this selected entity's information as the re-establishment point of the shared link,
The entity device according to claim 1, wherein the entity device is a device.
イベントプレース間の連携を行っているエンティティ装置の退去に伴い、シェアードリンクを再確立して該イベントプレース間の連携を維持するエンティティ装置であって、
自身の属するイベントプレースとは異なるイベントプレースに属し、自身とシェアードリンクを確立して連携を行っている前記エンティティ装置から、シェアードリンクの解除の指示と、シェアードリンクの再確立先である前記異なるイベントプレースに属するエンティティ装置とフェデレーションを行うためのシェアードリンク再確立先情報とを受信する受信手段と、
受信した前記シェアードリンクの解除の指示に従い、自身と連携を行っている前記エンティティ装置とのシェアードリンクを解除するとともに、受信した前記フェデレーションのためのシェアードリンク再確立先情報が示す前記異なるイベントプレースに属するエンティティ装置とのシェアードリンクを確立するリンク制御手段と、
を備え、
前記シェアードリンクの再確立先は、前記異なるイベントプレースにおいて、自身と連携を行っている前記エンティティ装置に上流のエンティティ装置がある場合、この連絡先の前記エンティティ装置の1ホップ上流のエンティティ装置であり、上流のエンティティ装置がない場合には、この連携先の前記エンティティ装置の1ホップ下流のエンティティ層である、
ことを特徴とするエンティティ装置。
An entity device that reestablishes a shared link and maintains cooperation between the event places as the entity device that performs cooperation between event places retreats,
The entity device that belongs to an event place that is different from the event place to which it belongs and that establishes a shared link with the entity place and cooperates to release the shared link and the different event that is the reestablishment destination of the shared link Receiving means for receiving shared link re-establishment destination information for performing federation with entity devices belonging to the place;
In accordance with the received instruction to release the shared link, the shared link with the entity device cooperating with itself is released, and the received different link to the event place indicated by the received shared link re-establishment destination information is provided. Link control means for establishing a shared link with the entity device to which it belongs;
With
The re-establishment destination of the shared link is an entity device that is one hop upstream of the entity device of the contact when there is an upstream entity device in the entity device that is cooperating with itself in the different event place. When there is no upstream entity device, the entity layer is one hop downstream of the entity device of the cooperation destination.
An entity device characterized by that.
自身の属するイベントプレースと、該イベントプレースと連携を行っている他のイベントプレースとの間の連携を維持させ、該イベントプレースからの退去を行うエンティティ装置に用いられるリンク再確立方法であって、
前記退去を行うエンティティ装置が、
自身の属するイベントプレースからの退去を行うときに、自身がイベントプレースの連携を行っている場合には、該イベントプレースに属し、自身とシェアードリンクを確立しているエンティティ装置の中から、前記他のイベントプレースに属し、自身とシェアードリンクを確立して連携を行っているエンティティ装置との連携を行わせるエンティティ装置を選択し、
前記選択した他のイベントプレースとの連携を行わせるエンティティ装置に対しては、フェデレーションのためのシェアードリンク再確立先を通知し、
自身とシェアードリンクを確立している全てのエンティティ装置へ自身とのシェアードリンクの解除を指示するとともに、自身とシェアードリンクを確立している下流のエンティティ装置へシェアードリンクの再確立先のエンティティ装置の情報を通知する、
ことを特徴とし、
前記連携を行わせるエンティティ装置を選択するときには、該イベントプレース内に上流のエンティティ装置がある場合には1ホップ上流のエンティティ装置を、上流のエンティティ装置がない場合には1ホップ下流のエンティティ装置を選択する、
ことを特徴とするリンク再確立方法。
A link re-establishment method used for an entity device that maintains an association between an event place to which the user belongs and another event place that cooperates with the event place and moves out of the event place,
An entity device that performs the retirement,
When leaving the event place to which it belongs, if the event place is linked to the event place, the other entity devices that belong to the event place and have established a shared link with the other place Select the entity device that is to be linked with the entity device that belongs to the event place and establishes a shared link with itself and is linked,
For the entity device that is to be linked with the selected other event place, notify the shared link re-establishment destination for federation,
All entity devices that have established a shared link with itself are instructed to release the shared link with itself, and the downstream entity device that has established a shared link with itself is notified of the entity device to which the shared link is reestablished. Notify information,
It is characterized by
When selecting an entity device to be linked, when there is an upstream entity device in the event place, an entity device upstream by 1 hop is selected, and when there is no upstream entity device, an entity device downstream by 1 hop is selected. select,
A link re-establishment method characterized by the above.
イベントプレース間の連携を行っているエンティティ装置の退去に伴い、シェアードリンクを再確立して該イベントプレース間の連携を維持するエンティティ装置に用いられるリンク再確立方法であって、
イベントプレース間の連携を行っているエンティティ装置が、
自身の属するイベントプレースとは異なるイベントプレースに属し、自身とシェアードリンクを確立して連携を行っている前記エンティティ装置から、シェアードリンクの解除の指示と、シェアードリンクの再確立先である前記異なるイベントプレースに属するエンティティ装置とフェデレーションを行うためのシェアードリンク再確立先情報とを受信し、
受信したシェアードリンクの解除の指示に従い、前記異なるイベントプレースに属し、自身と連携を行っている前記エンティティ装置とのシェアードリンクを解除するとともに、受信した情報が示すシェアードリンクの再確立先の前記異なるイベントプレースに属するエンティティ装置とのシェアードリンクを確立する、
ことを特徴とし、
前記シェアードリンクの再確立先は、前記異なるイベントプレースにおいて、自身と連携を行っている前記エンティティ装置に上流のエンティティ装置がある場合、この連携先の前記エンティティ装置の1ホップ上流のエンティティ装置であり、上流のエンティティ装置がない場合には、この連携先の前記エンティティ装置の1ホップ下流のエンティティ装置である、
ことを特徴とするリンク再確立方法。
A link re-establishment method used for an entity device that reestablishes a shared link and maintains cooperation between the event places as the entity device that performs cooperation between event places retreats,
An entity device that links between event places
The entity device that belongs to an event place that is different from the event place to which it belongs and that establishes a shared link with the entity place and cooperates to release the shared link and the different event that is the reestablishment destination of the shared link Receiving shared link re-establishment destination information for federation with entity devices belonging to the place,
In accordance with the received shared link release instruction, the shared link with the entity device belonging to the different event place and cooperating with itself is released, and the shared link reestablished destination indicated by the received information is different. Establish a shared link with entity devices belonging to the event place,
It is characterized by
The re-establishment destination of the shared link is an entity device that is one hop upstream of the entity device that is the cooperation destination when there is an upstream entity device in the entity device that is cooperating with itself in the different event place. , If there is no upstream entity device, the entity device is one hop downstream of the linked entity device.
A link re-establishment method characterized by the above.
自身の属するイベントプレースと、該イベントプレースと連携を行っている他のイベントプレースとの間の連携を維持させ、該イベントプレースからの退去を行うエンティティ装置に用いられるコンピュータプログラムであって、
前記退去を行うエンティティ装置として用いられるコンピュータに、
自身の属するイベントプレースからの退去を行うときに、自身がイベントプレースの連携を行っている場合には、該イベントプレースに属し、自身とシェアードリンクを確立しているエンティティ装置の中から、前記他のイベントプレースに属し、自身とシェアードリンクを確立して連携を行っているエンティティ装置との連携を行わせるエンティティ装置を選択するステップと、
前記選択した他のイベントプレースとの連携を行わせるエンティティ装置に対しては、フェデレーションのためのシェアードリンク再確立先を通知するステップと、
自身とシェアードリンクを確立している全てのエンティティ装置へ自身とのシェアードリンクの解除を指示するステップと、
自身とシェアードリンクを確立している下流のエンティティ装置へシェアードリンクの再確立先のエンティティ装置の情報を通知するステップと、
をコンピュータに実行させることを特徴とし、
連携を行わせるエンティティ装置を選択する前記ステップにおいては、該イベントプレース内に上流のエンティティ装置がある場合には1ホップ上流のエンティティ装置を、上流のエンティティ装置がない場合には1ホップ下流のエンティティ装置を選択する処理を実行させることを特徴とするコンピュータプログラム。
A computer program used for an entity device that maintains an association between an event place to which the user belongs and another event place that cooperates with the event place, and moves out of the event place,
In a computer used as an entity device that performs the retreat,
When leaving the event place to which it belongs, if the event place is linked to the event place, the other entity devices that belong to the event place and have established a shared link with the other place Selecting an entity device that belongs to the event place of and establishes a shared link with itself and performs cooperation with an entity device that is performing cooperation;
Notifying the entity device to be linked with the selected other event place, a step of notifying the shared link re-establishment destination for federation;
Instructing all entity devices that have established a shared link with itself to release the shared link with the entity device;
Notifying the downstream entity device that has established a shared link with itself of the information of the entity device to which the shared link is re-established;
To run on a computer,
In the step of selecting an entity device to be linked, an entity device that is one hop upstream if there is an upstream entity device in the event place, and an entity that is one hop downstream if there is no upstream entity device A computer program for executing a process of selecting a device.
イベントプレース間の連携を行っているエンティティ装置の退去に伴い、シェアードリンクを再確立して該イベントプレース間の連携を維持するエンティティ装置に用いられるコンピュータプログラムであって、
イベントプレース間の連携を行うエンティティ装置といて用いられるコンピュータに、
自身の属するイベントプレースとは異なるイベントプレースに属し、自身とシェアードリンクを確立して連携を行っている前記エンティティ装置から、シェアードリンクの解除の指示と、シェアードリンクの再確立先である前記異なるイベントプレースに属するエンティティ装置とフェデレーションを行うためのシェアードリンク再確立先情報とを受信するステップと、
受信したシェアードリンクの解除の指示に従い、前記異なるイベントプレースに属し、自身と連携を行っている前記エンティティ装置とのシェアードリンクを解除するステップと、
受信した情報が示すシェアードリンクの再確立先の前記異なるイベントプレースに属するエンティティ装置とのシェアードリンクを確立するステップと、
を実行させることを特徴とし、
前記シェアードリンクの再確立先は、前記異なるイベントプレースにおいて、自身と連携を行っている前記エンティティ装置に上流のエンティティ装置がある場合、この連携先の前記エンティティ装置の1ホップ上流のエンティティ装置であり、上流のエンティティ装置がない場合には、この連携先の前記エンティティ装置の1ホップ下流のエンティティ装置である、
ことを特徴とするコンピュータプログラム。
A computer program used for an entity device that reestablishes a shared link and maintains cooperation between the event places as the entity device that performs cooperation between event places retreats,
In a computer used as an entity device that links event places,
The entity device belonging to an event place different from the event place to which it belongs, and establishing the shared link with itself and performing the cooperation, the instruction to release the shared link and the different event to which the shared link is reestablished Receiving shared link re-establishment destination information for federation with entity devices belonging to the place;
In accordance with the received instruction to release the shared link, releasing the shared link with the entity device belonging to the different event place and cooperating with itself,
Establishing a shared link with an entity device belonging to the different event place to which the shared link indicated by the received information is re-established;
To execute
The re-establishment destination of the shared link is an entity device that is one hop upstream of the entity device that is the cooperation destination when there is an upstream entity device in the entity device that is cooperating with itself in the different event place. , If there is no upstream entity device, the entity device is one hop downstream of the linked entity device.
A computer program characterized by the above.
JP2003070039A 2003-03-14 2003-03-14 Entity device, link re-establishing method, and computer program Expired - Fee Related JP3983187B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003070039A JP3983187B2 (en) 2003-03-14 2003-03-14 Entity device, link re-establishing method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003070039A JP3983187B2 (en) 2003-03-14 2003-03-14 Entity device, link re-establishing method, and computer program

Publications (2)

Publication Number Publication Date
JP2004280384A JP2004280384A (en) 2004-10-07
JP3983187B2 true JP3983187B2 (en) 2007-09-26

Family

ID=33286893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003070039A Expired - Fee Related JP3983187B2 (en) 2003-03-14 2003-03-14 Entity device, link re-establishing method, and computer program

Country Status (1)

Country Link
JP (1) JP3983187B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101043765B1 (en) 2009-08-31 2011-06-22 경북대학교 산학협력단 Ad-hoc wireless instant messenger system and service management method thereof

Also Published As

Publication number Publication date
JP2004280384A (en) 2004-10-07

Similar Documents

Publication Publication Date Title
WO2008095127A2 (en) A hybrid wired and wireless universal access network
JP3850378B2 (en) Entity device, ad hoc network construction method, ad hoc network construction program, and storage medium thereof
JP3822178B2 (en) Entity device, failure recovery method, and computer program
JP3946658B2 (en) Entity device, event transfer control method, event transfer control program, and recording medium therefor
JP3983187B2 (en) Entity device, link re-establishing method, and computer program
JP3987817B2 (en) Entity device, service sharing method, and computer program
JP3723127B2 (en) Entity device, information disclosure system, method, recording medium, and program
JP3723126B2 (en) Entity device, name assigning method, recording medium, and program
JP3803329B2 (en) Entity device, alternative entity search method, alternative entity search program, and recording medium thereof
JP3844747B2 (en) Entity device, shared link re-establishment method, shared link re-establishment program, and recording medium thereof
JP3850379B2 (en) Semantic information network construction method, semantic information network system, and program
JP3792664B2 (en) Entity device, reply notification control method, reply notification control program, and recording medium thereof
JP3782345B2 (en) Embedded system, method, recording medium, and program
JP3910550B2 (en) Semantic information network data retrieval method, semantic information network system and program
JP4028429B2 (en) Computer, event place search method, and computer program
JP3974357B2 (en) Shared link setting method, communication system, entity device, computer program thereof, and recording medium thereof
JP3974054B2 (en) Entity device, shared link control method, authentication method, shared link control program, and recording medium thereof
JP3732762B2 (en) Semantic information switch, semantic information router, method, recording medium, program
JP2004265325A (en) Service providing method in semantic information network, semantic information network system, and program
JP3974158B2 (en) Event place search method, communication system, entity device, computer program thereof, and recording medium thereof
JP3977387B2 (en) Semantic information switch, semantic information router, method, recording medium, program
JP3977388B2 (en) Semantic information switch, semantic information router, method, recording medium, program
JP4060325B2 (en) Semantic information switch, semantic information router, method, recording medium, program
JP4170322B2 (en) Semantic information switch, semantic information router, method, recording medium, program
JP3977389B2 (en) Semantic information switch, semantic information router, method, recording medium, program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060919

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061120

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070308

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070403

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070530

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070703

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees