JP4038406B2 - Event sharing system, host, event sharing method, and event sharing program - Google Patents
Event sharing system, host, event sharing method, and event sharing program Download PDFInfo
- Publication number
- JP4038406B2 JP4038406B2 JP2002199202A JP2002199202A JP4038406B2 JP 4038406 B2 JP4038406 B2 JP 4038406B2 JP 2002199202 A JP2002199202 A JP 2002199202A JP 2002199202 A JP2002199202 A JP 2002199202A JP 4038406 B2 JP4038406 B2 JP 4038406B2
- Authority
- JP
- Japan
- Prior art keywords
- event
- host
- server
- hosts
- list
- 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 - Lifetime
Links
Images
Landscapes
- Hardware Redundancy (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、複数のホストでイベントを共有するイベント共有システム及びこのようなイベント共有システムに適用されるホスト、イベント共有方法及びイベント共有プログラムに関する。
【0002】
【従来の技術】
従来、複数のホストが互いにネットワークにより接続され、通信を行うシステムが開発されている。
【0003】
そして、上記のようなシステムでは、複数のホストによりイベントを共有する場合がある。イベントを共有することにより、それぞれのホストは同じイベントを取得してアプリケーション処理を行なうことが可能となり、コラボレーションツールへの応用が可能となっている。
【0004】
コラボレーションツールとは、複数の地点で協調して使えるツールのことである。例えば、お互いに遠くにいる二人が、同じツールの画面を見ながら同時に編集したりするようなツールである。
【0005】
【発明が解決しようとする課題】
しかしながら、上記のような複数のホストでイベントを共有する従来技術の場合には、下記のような問題が生じていた。
【0006】
すなわち、複数のホストでイベントを共有する場合、イベントの順序を守るために特定のホストでイベントのシリアライズ(直列化)を行って、複数の他のホストにイベントを送信する。このような特定のホストを、管理サーバ又はイベントサーバという。
【0007】
イベントのシリアライズとは、イベントを順番(シリアル)に並べることをいう。すなわち、イベントのシリアライズでは、複数のホストから複数のイベントが上がった場合に、それを順番に並べて他のホストに通知する。
【0008】
例えば、ホストAからイベントaが発生し、それと同時にホストBからイベントbが発生した場合、イベントをa、bの順に発信することがシリアライズである。
【0009】
この場合、その特定のホストが何らかの理由でダウンした場合、あるいはその特定のホストへのネットワークが切断された場合などにイベントを正しく送信できなくなることがある。
【0010】
このような問題点に対応するため、特開2001−34592号公報に開示された技術では、管理サーバのノードが削除された場合、削除された管理サーバのノードと予め定期的に通信を行っていた各ノードは、サーバ優先順位テーブルに基づいて新たな管理サーバを決定し、ネットワーク構成情報を更新する。
【0011】
そして、更新されたネットワーク構成情報を、新たに決定された管理サーバのノードと定期的に交換するとしている(上記公報段落73)。
【0012】
しかしながら、上記公報に記載の技術では、各ノードが管理サーバのノードと定期的に通信を行うシステムでなければ適用できない。
【0013】
本発明は上記事情に鑑みなされたもので、その目的とするところは、複数のホストでイベントを共有する際に、ネットワークの形態が変化した場合にも、イベントの配信を適切に行うことの可能なイベント共有システム、ホスト、イベント共有方法及びイベント共有プログラムを提供することを目的とする。
【0014】
ここで、ネットワークの形態の変化とは、例えばホストやネットワークに障害が発生した場合や、ホストがネットワークから離脱した場合などが相当する。
【0015】
【課題を解決するための手段】
上記目的を達成するために、本発明に係るイベント共有システムは、複数のホストがネットワークにより接続され、いずれかのホストがイベントサーバとなって各ホストで発生したイベントの共有が行われるイベント共有システムであって、各ホストは、イベントサーバに関する情報を格納するサーバ情報格納手段と、複数のホストがイベントサーバとして選ばれる優先順にリストされているホストリストを格納するホストリスト格納手段と、前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段とを備え、前記イベント送信手段は、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信するものであり、さらに各ホストは、イベントサーバとなった場合の機能として、他のホストから送信されたイベントを受信するイベント受信手段と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段と、を備えることを特徴とする。
【0016】
また、本発明に係るイベント共有システムは、複数のホストがネットワークにより接続され、いずれかのホストがイベントサーバとなって各ホストで発生したイベントの共有が行われるイベント共有システムであって、各ホストは、複数のホストがイベントサーバとして選ばれる優先順にリストされ、かつ、そのうちのどのホストがイベントサーバであるのかを示す情報を含むホストリストを格納するホストリスト格納手段と、前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段とを備え、前記イベント送信手段は、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信するものであり、さらに各ホストは、イベントサーバとなった場合の機能として、他のホストから送信されたイベントを受信するイベント受信手段と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段と、を備えることを特徴とする。
【0018】
さらに、本発明に係るホストは、複数のホストがネットワークにより接続され、いずれかのホストがイベントサーバとなって各ホストで発生したイベントの共有が行われるイベント共有システムにおける前記ホストであって、イベントサーバに関する情報を格納するサーバ情報格納手段と、複数のホストがイベントサーバとして選ばれる優先順にリストされているホストリストを格納するホストリスト格納手段と、前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段とを備え、前記イベント送信手段は、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信するものであり、さらにイベントサーバとなった場合の機能として、他のホストから送信されたイベントを受信するイベント受信手段と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段と、を備えることを特徴とする。
【0019】
また、本発明に係るホストは、複数のホストがネットワークにより接続され、いずれかのホストがイベントサーバとなって各ホストで発生したイベントの共有が行われるイベント共有システムにおける前記ホストであって、複数のホストがイベントサーバとして選ばれる優先順にリストされ、かつ、そのうちのどのホストがイベントサーバであるのかを示す情報を含むホストリストを格納するホストリスト格納手段と、前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段とを備え、前記イベント送信手段は、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信するものであり、さらにイベントサーバとなった場合の機能として、他のホストから送信されたイベントを受信するイベント受信手段と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段と、を備えることを特徴とする。
【0021】
さらに、本発明に係るイベント共有方法は、複数のホストがネットワークにより接続され、いずれかのホストがイベントサーバとなって各ホストで発生したイベントの共有が行われるイベント共有システムに適用されるイベント共有方法であって、各ホストが、イベントサーバに関する情報を格納するサーバ情報格納手段と、複数のホストがイベントサーバとして選ばれる優先順にリストされているホストリストを格納するホストリスト格納手段と、を備えており、クライアントとなっているホストが実行する工程として、前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信工程と、前記イベント送信工程による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新工程と、前記送信が成功しなかったイベントを、前記サーバ情報更新工程によって更新された前記新たなイベントサーバに送信する送信工程とを備え、イベントサーバとなっているホストが実行する工程として、他のホストから送信されたイベントを受信するイベント受信工程と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信工程と、前記受信イベント送信工程によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新工程と、を備えることを特徴とする。
【0022】
また、本発明に係るイベント共有方法は、複数のホストがネットワークにより接続され、いずれかのホストがイベントサーバとなって各ホストで発生したイベントの共有が行われるイベント共有システムに適用されるイベント共有方法であって、各ホストが、複数のホストがイベントサーバとして選ばれる優先順にリストされ、かつ、そのうちのどのホストがイベントサーバであるのかを示す情報を含むホストリストを格納するホストリスト格納手段を備えており、クライアントとなっているホストが実行する工程として、前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信工程と、前記イベント送信工程による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新工程と、前記送信が成功しなかったイベントを、前記サーバ情報更新工程によって更新された前記新たなイベントサーバに送信する送信工程とを備え、イベントサーバとなっているホストが実行する工程として、他のホストから送信されたイベントを受信するイベント受信工程と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信工程と、前記受信イベント送信工程によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新工程と、を備えることを特徴とする。
【0024】
さらに、本発明に係るイベント共有プログラムは、複数のホストがネットワークにより接続され、いずれかのホストがイベントサーバとなって各ホストで発生したイベントの共有が行われるイベント共有システムにおける各ホストに適用されるイベント共有プログラムであって、前記ホストを、イベントサーバに関する情報を格納するサーバ情報格納手段、複数のホストがイベントサーバとして選ばれる優先順にリストされているホストリストを格納するホストリスト格納手段、前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段、及び、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信する送信手段として機能させ、イベントサーバとなっているホストを、他のホストから送信されたイベントを受信するイベント受信手段、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段、及び、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段として機能させることを特徴とする。
【0025】
また、本発明に係るイベント共有プログラムは、複数のホストがネットワークにより接続され、いずれかのホストがイベントサーバとなって各ホストで発生したイベントの共有が行われるイベント共有システムにおける各ホストに適用されるイベント共有プログラムであって、前記ホストを、複数のホストがイベントサーバとして選ばれる優先順にリストされ、かつ、そのうちのどのホストがイベントサーバであるのかを示す情報を含むホストリストを格納するホストリスト格納手段、前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段、及び、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信する送信手段として機能させ、イベントサーバとなっているホストを、他のホストから送信されたイベントを受信するイベント受信手段、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段、及び、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段として機能させることを特徴とする。
【0027】
なお、本発明にいうイベントとは、アプリケーションの動作と非同期に発生する事象である。例えば、マウスをクリックすると画面が変わるようなアプリケーションの場合、マウスをクリックすることでイベントが発生する。そして、そのイベント処理で画面が変更される。
【0028】
なお、本発明にいう、イベントの送信が成功しなかった場合には、イベントに関するデータが完全に送信できなかった場合のみならず、イベントに関するデータの一部分のみが送信された場合、すなわち、相手側に送信されたイベントに関するデータに欠落がある場合も含めることができる。
【0029】
【発明の実施の形態】
以下に図面を参照して、この発明の好適な実施の形態を例示的に詳しく説明する。ただし、この実施の形態に記載されている構成部品の寸法、形状、その相対配置などは、特に特定的な記載がない限りは、この発明の範囲をそれらのみに限定する趣旨のものではない。
【0030】
また、以下の図面において、既述の図面に記載された部品と同様の部品には同じ番号を付す。また、以下に説明する本発明に係るイベント共有システムの第1の実施形態の説明は、本発明に係るホスト、イベント共有方法及びイベント共有プログラムの説明も兼ねる。
【0031】
(イベント共有システムの第1の実施形態)
本発明に係るイベント共有システムの第1の実施形態について図面を参照して説明する。図1に、本発明に係るイベント共有システムの第1の実施形態の全体構成図を示す。
【0032】
図1に示されるイベント共有システムでは、ホストA101、ホストB102、ホストC103、ホストD104、ホストE105及びホストF106の6つのホストが、ネットワーク107により互いに接続されている。ただし、本実施形態では、6つのホストが互いに接続される例を説明するが、本発明では、ホストの数は6つに限定されるものではなく、2以上の任意の数であって良い。
【0033】
また、図1に示される各ホストは互いに双方向に通信が可能となっている。また、ネットワーク107に、送信又は受信のみを行う片方向通信のホストが接続されるとしても良い。
【0034】
また、図1に示されるネットワーク107は特に限定されるものではなく、ネットワーク107はTCP/IPを用いたインターネットであっても良い。
【0035】
さらに、ネットワーク107はこのようなインターネットに限定されるものではなく、例えばWAP(wireless application protocol)などその他の任意のプロトコルを用い、又は併用したネットワークであって良い。
【0036】
また、上記インターネットは、IPv4でもIPv6でも、両者を併用しても良い。また、上記ネットワークは、有線でも無線でも、両者を併用しても良い。
【0037】
また、図1に示されるホストとして以下の説明ではパソコンを例にして説明するが、ホストはパソコンに限定されるものではなく、その他にも、PDA(Personal Digital Assistants)、携帯電話、カー・ナビゲーション・システム、家庭用電化製品にコンピュータを融合したデジタル家電などもホストとなりうる。
【0038】
次に、図1に示されるホストの機能について図2を参照して説明する。図2は、図1に示されるホストの機能を示すブロック図である。なお、図1に示される各ホストは、全て以下の図2に示される機能を備えている。
【0039】
また、図2に示されるホストの各機能及び以下に説明するホストの動作は、ホストが備える不図示のCPUが、単体で、その他の各部品と共に又は主記憶部やCD−ROM、ハードディスクなどの補助記憶部に記憶されているプログラムと協働することにより処理される。また、このプログラムは、ネットワーク107を介して各ホストにダウンロードされるとしても良い。
【0040】
図2に示されるように、ホストは、サーバ部201、クライアント部202、サーバ情報203及びホストリスト204を備えている。
【0041】
サーバ部201は、ホストがサーバとして動作する場合に機能する部分である。このサーバ部201は、以下に説明するイベント受信部205、イベント送信部206及びホストリスト更新部207を備えている。
【0042】
イベント受信部205は、クライアントとなったホスト(以下、単にクライアントとも記す)からイベントを受信する部分である。
【0043】
イベント送信部206は、クライアントから送られてきたイベントを、ホストリスト204に格納されているホストリストに示されるホストに送信する部分である。
【0044】
ホストリスト更新部207は、ホストリスト中のホストであって、送信ができなかったホストがある場合に、ホストリストを更新する部分である。
【0045】
また、図1に示されるサーバ情報203は、現在のイベントサーバに関する情報を格納するためのデータベースである。
【0046】
このサーバ情報203には、例えば図3に示されるように、イベントサーバの情報が格納されている。図3に示される例では、現在のイベントサーバは、ホストAとなっている。図3は、図2に示されるサーバ情報に格納される情報の概念図である。
【0047】
また、図1に示されるホストリスト204は、本イベント共有システムに接続されているホストを順位付けたホストリストが格納されるデータベースである。
【0048】
このホストリスト204には、例えば図4に示されるようなホストリストが格納される。図4は、図2に示されるホストリストに格納される情報の概念図である。
【0049】
図4に示されるホストリストでは、ホストAを最優先順位として、以下、ホストB、ホストC、ホストD、ホストE、ホストFの順の順位でリストが作成されている。このホストリストの順位は、後述するように、イベントサーバを決定する際に使用される。
【0050】
このホストリストは、初期状態において、図1に示される各ホストに共通して備えられる。
【0051】
次に、図2の説明に戻る。図2に示されるクライアント部202は、ホストがクライアントとして動作する場合に機能する部分である。
【0052】
このクライアント部202は、イベント送信部208と、サーバ情報更新部209とを備えている。
【0053】
イベント送信部208は、クライアント内でイベントが発生したときに、発生したイベントをイベントサーバに送信する部分である。また、このイベント送信部208は、イベントサーバへのイベントの送信が成功しなかった場合に、新たなイベントサーバに再びイベントを送信する。
【0054】
また、サーバ情報更新部209は、イベントをイベントサーバに送信した際に、そのイベントサーバが稼動しているかどうか判断し、送信先リストを参照した上でサーバ情報を更新する部分である。
【0055】
次に、上記構成のイベント共有システムにおいて、ネットワーク形態に変更が発生する前の動作について図1から図4を参照しつつ説明する。
【0056】
例えばホストF106においてイベントが発生した場合、このイベントは、現在のイベントサーバであるホストA101に送信される(1)。
【0057】
そして、同様にその他の各ホストからイベントを受信したホストA101は、各イベントのシリアライズを行った後、これらイベントを各ホストに配信する((2),(3),(4),(5),(6))。
【0058】
このように、本実施形態では、1つのホストがイベントサーバとなって、イベントの共有が行われる。
【0059】
(ネットワーク形態に変更が発生した場合)
次に、本実施形態のイベント共有システムにおいてネットワーク形態に変更が発生した場合について説明する。まず、ネットワーク形態の変更として、ネットワークの分断が発生した場合を例に挙げて説明する。ここで、ネットワークが分断するとは、分断した相手方のネットワークに対して通信が確立できないことをいう。
【0060】
このようなネットワークの分断として、例えばネットワーク107に障害が発生した場合が考えられる。
【0061】
以下、ネットワーク形態に変更が発生した場合の本実施形態の動作について図5、図6、図7及び図8を参照して説明する。図5は、図1に示されるイベント共有システムにおいて、ネットワークに分断が発生した場合の全体構成図であり、図6、図7及び図8は、図1に示されるイベント共有システムの動作のフローチャートである。
【0062】
まず、図5に示される分断が発生する前は、ホストA101、ホストB102、ホストC103、ホストD104、ホストE105、ホストF106の6台がネットワーク107に接続されており、相互に通信できる状態であったとする。
【0063】
また、ホストA101がイベントサーバの役割を担っていた。また、すべてのホストが、「ホストA、ホストB、ホストC、ホストD、ホストE、ホストF」の順に並ぶホストリストを保持していた。このホストリストは、以下の説明では図4に示されるホストリストであるとして良い。
【0064】
そして、図5に示されるように、ネットワーク107に障害が発生し、「ホストA、ホストB、ホストC」のグループと「ホストD、ホストE、ホストF」のグループにネットワーク107が分断された。
【0065】
この前提のもと、以下にホストE105から見た場合のイベントサーバ選択の例とホストC103から見た場合のサーバ選択の例を示す。
【0066】
(ホストEから見たイベントサーバ選択の例)
まず、ホストE105は、イベントサーバであるホストA101にイベントを送信する(S601)。
【0067】
ネットワーク107が分断されているためホストA101からホストE105への応答はない(S602,No)。そのため、ホストE105は、ホストA101を、図4に示されるホストリストから削除する(S603,S701)。
【0068】
次に、ホストE105は、図4に示されるホストリストの中からホストA101の次のホストであるホストBをイベントサーバとして、サーバ情報(図3)に設定する(S702)。
【0069】
次に、ホストE105は、新たにイベントサーバとして設定されたホストB102にイベントを送信しようと試みる(S601)。
【0070】
以下同様に、ホストE105は、ネットワーク107が分断されているためホストB102からの応答がないため、ホストB102をリストから削除し、ホストC103にイベントを送信する。
【0071】
また、ホストE105は、ネットワーク107が分断されホストC103からの応答がないため、ホストC103をリストから削除し、ホストD104にイベントを送信する。
【0072】
そして、ホストE105は、ホストD104からの応答があったため、ホストD104をイベントサーバとする(S602,Yes)。
【0073】
そして、ホストE105は、以降、ホストD104をイベントサーバとして扱う。
【0074】
(ホストCから見たイベントサーバ選択の例)
ホストC103は、イベントサーバであるホストA101にイベントを送信する(S601)。
【0075】
ホストC103は、イベントサーバA101からの応答があったため、これ以降もホストA101をイベントサーバとして扱う(S602,Yes)。
【0076】
(イベントサーバの動作)
次に、ネットワーク形態に変更があった後のイベントサーバの処理について図8を参照して説明する。
【0077】
他のホストからイベントを受信したホストはイベントサーバとなる。そして、他のホストからイベントを受信したイベントサーバは、ホストリストに示される各ホストに受信したイベントを送信する(S801,S802)。
【0078】
次に、イベントサーバは、各ホストへのイベント送信が成功したか否かを判断する(S803)。例えば図5に示されるイベントサーバであるホストA101は、ホストB102、ホストC103へのイベント送信は成功するが、ホストD104、ホストE105及びホストF106へのイベント送信は成功しない。
【0079】
そして、イベントサーバは、図2に示されるホストリスト更新部207の処理により、イベント送信が成功しなかったホストをホストリストから削除する更新処理を行なった後(S804)、動作を終える。
【0080】
このように、ネットワーク障害によりネットワークに分断が発生し、ネットワーク形態に変更が発生した場合であっても、イベント共有システムにおける各ホストはそれぞれに格納されているホストリストに基づいて自動的にイベントサーバを選択し、イベント配信ができるため、定期的にネットワーク構成情報を送信しなくても、イベント共有を可能としつつ、ネットワーク形態の変更に柔軟に対応したネットワークを構築することができる。
【0081】
また、本実施形態では、各ホストがイベントサーバと定期的に通信を行う必要が無いため、通信のトラフィックが減り、イベントサーバの負荷が減り、イベントサーバとの通信によってイベントサーバが常に情報を更新する必要が無いため、イベントサーバがダウンした際にもサーバを即座に切り替えることができ、ネットワークが複数に分断された場合にも、イベントサーバを複数にすることができる。
【0082】
(イベントサーバの障害によりネットワーク形態に変更が発生した場合)
次に、本実施形態のイベント共有システムにおいて、イベントサーバの障害によりネットワーク形態に変更が発生した場合について説明する。なお、以下に説明するイベントサーバの障害には、イベントサーバのイベント共有システムからの離脱も含む。
【0083】
図9に示されるように、互いにイベントを共有していたシステムにおいて、イベントサーバであるホストA101に障害が発生したとする。図9は、図1に示されるイベント共有システムにおいて、イベントサーバに障害が発生した場合の全体構成図である。
【0084】
この場合、イベント共有システムにおける他のホストは、イベントサーバであるホストA101と通信を行うことができない。以下、ホストE105の動作を例に本実施形態の動作の説明をする。また、前述の図6及び図7に示されるフローチャートも適宜参照して説明する。なお、ホストE105以外のホストの動作も以下の説明と同様である。
【0085】
まず、ホストE105は、イベントサーバであるホストA101にイベントを送信する(S601)。
【0086】
ホストA101に障害が発生しているため、ホストA101からの応答がないため(S602,No)、ホストE105は、ホストA101を、図4に示されるホストリストから削除する(S603,S701)。
【0087】
次に、ホストE105は、図4に示されるホストリストの中からホストA101の次のホストであるホストBをイベントサーバとして、サーバ情報に設定する(S702)。
【0088】
そして、ホストB102にイベントを送信しようと試みる(S601)。そして、ホストE105は、ホストB102からの応答があったため、ホストB102をイベントサーバとする。
【0089】
そして、ホストE105は、以降、ホストB102をイベントサーバとして扱う(S602,Yes)。
【0090】
このように、本実施形態では、イベントサーバであるホストA101に障害が発生した場合であっても、前述のネットワークに分断が発生した場合と同様の効果が得られ、各ホストは、自動的にイベントサーバを決定することができ、イベントの共有を実現できる。
【0091】
(イベント共有システムの第2の実施形態)
次に、本発明に係るイベント共有システムの第2の実施形態について図面を参照して説明する。本実施形態の全体構成は、前述の図1に示される全体構成と同様である。
【0092】
本実施形態のホストの機能について図10を参照して説明する。図10は、本発明に係るイベント共有システムの第2の実施形態におけるホストの機能を示すブロック図である。
【0093】
図10に示されるように、本実施形態のホストが備える機能は、前述の図2に示されるホストの機能から、サーバ情報203が削除された機能となっている。
【0094】
また、図10に示される各機能のうち、前述の第1の実施形態と異なる点は、ホストリスト1004の機能とサーバ情報更新部1009の機能であり、その他の機能は同様である。
【0095】
また、前述の図2に示されるホストの各機能及び動作と同様に、図10に示されるホストの各機能及び以下に説明する動作は、ホストが備える不図示のCPUが、単体で、その他の各部品と共に又は主記憶部やCD−ROM、ハードディスクなどの補助記憶部に記憶されているプログラムと協働することにより処理される。また、このプログラムは、ネットワーク107を介して各ホストにダウンロードされるとしても良い。
【0096】
次に、図10に示されるホストリスト1004に格納される情報について図11を参照して説明する。図11は、図10に示されるホストリストに格納される情報の概念図であり、図11の(a)は、イベントサーバがホストAである場合のホストリストであり、図11の(b)は、イベントサーバがホストDである場合のホストリストである。
【0097】
図11の(a)及び図11の(b)に示されるホストリストは、ホストA、ホストB、・・という順序、すなわち、図11の上から順に優先順位が付与されている。
【0098】
また、図11の(a)及び図11の(b)に示されるホストリストには、当該ホストリストに示されるホストのうち、どのホストがイベントサーバであるのかを示すチェック1101が入っている。
【0099】
このチェック1101は、イベントサーバの更新処理において、図10に示されるサーバ情報更新部1009により更新される。
【0100】
本実施形態における、ネットワーク形態に変更が発生する前の動作は、前述の図1を参照して説明した場合と同様であるため省略する。
【0101】
(ネットワーク形態に変更が発生した場合)
次に、本実施形態のイベント共有システムにおいてネットワーク形態に変更が発生した場合について説明する。まず、ネットワーク形態の変更として、ネットワークの分断が発生した場合を例に挙げて説明する。ここで、ネットワークが分断するとは、分断した相手方のネットワークに対して通信が確立できないことをいう。
【0102】
このようなネットワークの分断として、例えばネットワーク107に障害が発生した場合が考えられる。
【0103】
以下、ネットワーク形態に変更が発生した場合の本実施形態の動作について図5、図6、図10、図11及び図12を参照して説明する。図5及び図6は、前述のイベント共有システムの第1の実施形態において使用された図面であるが、本実施形態の説明にも用いることができる。また、図12は、本発明に係るイベント共有システムの第2の実施形態の動作のフローチャートである。
【0104】
まず、図5に示されるような分断が発生する前は、ホストA101、ホストB102、ホストC103、ホストD104、ホストE105、ホストF106の6台がネットワーク107に接続されており、相互に通信できる状態であったとする。
【0105】
また、ホストA101がイベントサーバの役割を担っていた。また、すべてのホストが、「ホストA、ホストB、ホストC、ホストD、ホストE、ホストF」の順に並ぶホストリストを保持していた。このホストリストは、以下の説明では図11の(a)に示されるホストリストであるとして良い。
【0106】
そして、図5に示されるように、ネットワーク107に障害が発生し、「ホストA、ホストB、ホストC」のグループと「ホストD、ホストE、ホストF」のグループにネットワーク107が分断された。
【0107】
この前提のもと、以下にホストE105から見た場合のイベントサーバ選択の例とホストC103から見た場合のサーバ選択の例を示す。
【0108】
(ホストEから見たイベントサーバ選択の例)
まず、ホストE105は、イベントサーバであるホストA101にイベントを送信する(S601)。
【0109】
ネットワーク107が分断されているためホストA101からホストE105への応答はない(S602,No)。そのため、ホストE105は、ホストA101を、図11に示されるホストリストから削除する(S603,S1201)。
【0110】
次に、ホストE105は、図11の(a)に示されるホストリストの中からホストA101の次のホストであるホストBをイベントサーバとして、図11に示されるホストリストのチェックを移動する更新処理を行う(S1202)。
【0111】
次に、ホストE105は、新たにイベントサーバとして設定されたホストB102にイベントを送信しようと試みる(S601)。
【0112】
以下同様に、ホストE105は、ネットワーク107が分断されているためホストBからの応答がないため、ホストB102をリストから削除し、ホストC103にイベントを送信する。
【0113】
また、ホストE105は、ネットワーク107が分断されホストC103からの応答がないため、ホストC103をリストから削除し、ホストD104にイベントを送信する。
【0114】
そして、ホストE105は、ホストD104からの応答があったため、ホストD104をイベントサーバとする(S602,Yes)。このとき、ホストリストは、図11の(b)に示されるように、ホストDにチェック1101が入る。
【0115】
そして、ホストE105は、以降、ホストD104をイベントサーバとして扱う。
【0116】
(ホストCから見たイベントサーバ選択の例)
ホストC103は、イベントサーバであるホストA101にイベントを送信する(S601)。
【0117】
ホストE105は、イベントサーバA101からの応答があったため、これ以降もホストA101をイベントサーバとして扱う(S602,Yes)。
【0118】
(イベントサーバの動作)
次に、ネットワーク形態に変更があった後のイベントサーバの処理については、前述の第1の実施形態における図8を用いた説明と同様であるため、省略する。
【0119】
このように、本実施形態では、前述の第1の実施形態と同様の効果が得られ、ネットワーク障害によりネットワークに分断が発生し、ネットワーク形態に変更が発生した場合であっても、イベント共有システムにおける各ホストはそれぞれに格納されているホストリストに基づいて自動的にイベントサーバを選択し、イベント配信ができるため、定期的にネットワーク構成情報を送信しなくても、イベント共有を可能としつつ、ネットワーク形態の変更に柔軟に対応したネットワークを構築することができる。
【0120】
また、本実施形態でも、各ホストがイベントサーバと定期的に通信を行う必要が無いため、通信のトラフィックが減り、イベントサーバの負荷が減り、イベントサーバとの通信によってイベントサーバが常に情報を更新する必要が無いため、イベントサーバがダウンした際にもサーバを即座に切り替えることができ、ネットワークが複数に分断された場合にも、イベントサーバを複数にすることができる。
【0121】
(イベントサーバの障害によりネットワーク形態に変更が発生した場合)
次に、本実施形態のイベント共有システムにおいて、イベントサーバの障害によりネットワーク形態に変更が発生した場合について説明する。なお、以下に説明するイベントサーバの障害には、イベントサーバのイベント共有システムからの離脱も含む。
【0122】
図9に示されるように、互いにイベントを共有していたシステムにおいて、イベントサーバであるホストA101に障害が発生したとする。図9は、前述の本発明に係るイベント共有システムの第1の実施形態を説明するための図であるが、本実施形態の説明にも用いることができる。
【0123】
この場合、イベント共有システムにおける他のホストは、イベントサーバであるホストA101と通信を行うことができない。以下、ホストE105の動作を例に本実施形態の動作の説明をする。また、前述の図6及び図12に示されるフローチャートも適宜参照して説明する。なお、ホストE105以外のホストの動作も以下の説明と同様である。
【0124】
まず、ホストE105は、イベントサーバであるホストA101にイベントを送信する(S601)。
【0125】
ホストA101に障害が発生しているため、ホストA101からの応答がないため(S602,No)、ホストE105は、ホストA101を、図11の(a)に示されるホストリストから削除する(S603,S1201)。
【0126】
次に、ホストE105は、図11の(a)に示されるホストリストの中からホストA101の次のホストであるホストBをイベントサーバとして、ホストリストの更新処理を行なう(S1202)。
【0127】
そして、ホスト105は、ホストB102にイベントを送信しようと試みる(S601)。そして、ホストE105は、ホストB102からの応答があったため、ホストB102をイベントサーバとする。
【0128】
そして、ホストE105は、以降、ホストB102をイベントサーバとして扱う(S602,Yes)。
【0129】
このように、イベントサーバであるホストA101に障害が発生した場合であっても、前述のネットワークに分断が発生した場合と同様の効果が得られ、各ホストは、自動的にイベントサーバを決定することができ、イベントの共有を実現できる。
【0130】
【発明の効果】
以上説明したように、ネットワークに障害が発生しネットワークの分断が発生した場合や、イベントサーバであるホストに障害が発生した場合にも、自動的にイベントサーバを選択することにより、特に定期的にネットワーク構成情報を交換しなくても、イベントを問題なく共有することができる。
【0131】
また、本発明では、ホストがイベントサーバと定期的に通信を行う必要が無いため、通信のトラフィックが減り、イベントサーバの負荷が減り、イベントサーバとの通信によってイベントサーバが常に情報を更新する必要が無いため、イベントサーバがダウンした際にもサーバを即座に切り替えることができ、ネットワークが複数に分断された場合にも、イベントサーバを複数にすることができる。
【0132】
そして、イベントの共有により、複数地点で同じイベントを取得してアプリケーションが処理を行うことが可能になり、コラボレーションツールへ応用できる。
【図面の簡単な説明】
【図1】本発明に係るイベント共有システムの第1の実施形態の全体構成図である。
【図2】図1に示されるホストの機能を示すブロック図である。
【図3】図2に示されるサーバ情報に格納される情報の概念図である。
【図4】図2に示されるホストリストに格納される情報の概念図である。
【図5】図1に示されるイベント共有システムにおいて、ネットワークに分断が発生した場合の全体構成図である。
【図6】図1に示されるイベント共有システムの動作のフローチャートである。
【図7】図1に示されるイベント共有システムの動作のフローチャートである。
【図8】図1に示されるイベント共有システムの動作のフローチャートである。
【図9】図1に示されるイベント共有システムにおいて、イベントサーバに障害が発生した場合の全体構成図である。
【図10】本発明に係るイベント共有システムの第2の実施形態におけるホストの機能を示すブロック図である。
【図11】図10に示されるホストリストに格納される情報の概念図である。
【図12】本発明に係るイベント共有システムの第2の実施形態の動作のフローチャートである。
【符号の説明】
101 ホストA
102 ホストB
103 ホストC
104 ホストD
105 ホストE
106 ホストF
107 ネットワーク
201 サーバ部
202 クライアント部
203 サーバ情報
204 ホストリスト
205 イベント受信部
206 イベント送信部
207 ホストリスト更新部
208 イベント送信部
209 サーバ情報更新部
1004 ホストリスト
1009 サーバ情報更新部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an event sharing system for sharing an event among a plurality of hosts, a host applied to such an event sharing system, an event sharing method, and an event sharing program.
[0002]
[Prior art]
Conventionally, a system has been developed in which a plurality of hosts are connected to each other via a network to perform communication.
[0003]
In the system as described above, an event may be shared by a plurality of hosts. By sharing an event, each host can acquire the same event and perform application processing, and can be applied to a collaboration tool.
[0004]
A collaboration tool is a tool that can be used in cooperation at multiple points. For example, it is a tool that allows two people far from each other to edit while viewing the same tool screen.
[0005]
[Problems to be solved by the invention]
However, in the case of the prior art in which an event is shared by a plurality of hosts as described above, the following problems have occurred.
[0006]
That is, when an event is shared by a plurality of hosts, the event is serialized (serialized) by a specific host in order to keep the order of the events, and the event is transmitted to a plurality of other hosts. Such a specific host is called a management server or an event server.
[0007]
Event serialization means arranging events in order (serial). That is, in event serialization, when a plurality of events are received from a plurality of hosts, they are arranged in order and notified to other hosts.
[0008]
For example, when an event a occurs from the host A and an event b occurs from the host B at the same time, the event is transmitted in the order of a and b.
[0009]
In this case, when the specific host goes down for some reason, or when the network to the specific host is disconnected, the event may not be transmitted correctly.
[0010]
In order to cope with such a problem, in the technique disclosed in Japanese Patent Laid-Open No. 2001-34592, when a node of the management server is deleted, communication is periodically performed in advance with the deleted node of the management server. Each node determines a new management server based on the server priority table and updates the network configuration information.
[0011]
The updated network configuration information is regularly exchanged with a newly determined management server node (paragraph 73 of the above publication).
[0012]
However, the technique described in the above publication can be applied only to a system in which each node periodically communicates with a node of the management server.
[0013]
The present invention has been made in view of the above circumstances, and an object of the present invention is to appropriately distribute an event even when a network form changes when an event is shared by a plurality of hosts. An event sharing system, a host, an event sharing method, and an event sharing program are provided.
[0014]
Here, the change in the form of the network corresponds to, for example, a case where a failure occurs in the host or the network or a case where the host leaves the network.
[0015]
[Means for Solving the Problems]
In order to achieve the above object, an event sharing system according to the present invention is an event sharing system in which a plurality of hosts are connected by a network, and any of the hosts serves as an event server to share events generated in each host. Each host includes server information storage means for storing information related to the event server, and a plurality of hosts. Listed in order of preference chosen as event server Host list storage means for storing a host list, event transmission means for transmitting an event that has occurred to an event server indicated by information stored in the server information storage means, and an event server for the event by the event transmission means Server information updating means for updating the information stored in the server information storage means with the host ranked next to the event server in the host list as a new event server when the transmission of the server is not successful And the event transmission means detects an event for which the transmission was not successful. Updated by the server information updating means The event is sent to the new event server, and each host further functions as an event server when receiving an event sent from another host, and receives the received event as the host. Receiving event transmitting means for transmitting to each host based on the list; and host list updating means for deleting from the host list hosts for which event transmission by the received event transmitting means has not been successful. .
[0016]
Further, the event sharing system according to the present invention is an event sharing system in which a plurality of hosts are connected by a network, and any of the hosts serves as an event server to share events generated in each host. Has multiple hosts Listed in order of preference chosen as event server, and , Of which Which host But Event server Contains information indicating whether Host list storage means for storing a host list, event transmission means for transmitting an event that has occurred to the event server indicated in the host list, and transmission of the event to the event server by the event transmission means was not successful A server information update unit that performs an update process on the host list with a host ranked next to the event server in the host list as a new event server, and the event transmission unit includes: The event that the transmission was not successful Updated by the server information updating means The event is sent to the new event server, and each host further functions as an event server when receiving an event sent from another host, and receives the received event as the host. Receiving event transmitting means for transmitting to each host based on the list; and host list updating means for deleting from the host list hosts for which event transmission by the received event transmitting means has not been successful. .
[0018]
Furthermore, the host according to the present invention is the host in the event sharing system in which a plurality of hosts are connected by a network, and any of the hosts serves as an event server to share an event that has occurred in each host. Server information storage means for storing information about the server and multiple hosts Listed in order of preference chosen as event server Host list storage means for storing a host list, event transmission means for transmitting an event that has occurred to an event server indicated by information stored in the server information storage means, and an event server for the event by the event transmission means Server information updating means for updating the information stored in the server information storage means with the host ranked next to the event server in the host list as a new event server when the transmission of the server is not successful And the event transmission means detects an event for which the transmission was not successful. Updated by the server information updating means Based on the host list, an event receiving means for receiving an event transmitted from another host as a function to be transmitted to the new event server and becoming an event server. Receiving event transmitting means for transmitting to each host; and host list updating means for deleting from the host list hosts for which event transmission by the receiving event transmitting means was not successful.
[0019]
Further, a host according to the present invention is the host in the event sharing system in which a plurality of hosts are connected by a network, and any of the hosts serves as an event server to share an event that has occurred in each host. Hosts Listed in order of preference chosen as event server, and , Of which Which host But Event server Contains information indicating whether Host list storage means for storing a host list, event transmission means for transmitting an event that has occurred to the event server indicated in the host list, and transmission of the event to the event server by the event transmission means was not successful A server information update unit that performs an update process on the host list with a host ranked next to the event server in the host list as a new event server, and the event transmission unit includes: The event that the transmission was not successful Updated by the server information updating means Based on the host list, an event receiving means for receiving an event transmitted from another host as a function to be transmitted to the new event server and becoming an event server. Receiving event transmitting means for transmitting to each host; and host list updating means for deleting from the host list hosts for which event transmission by the receiving event transmitting means was not successful.
[0021]
Furthermore, the event sharing method according to the present invention is an event sharing method applied to an event sharing system in which a plurality of hosts are connected via a network, and any of the hosts serves as an event server to share events generated in each host. A server information storage means in which each host stores information about an event server, and a plurality of hosts Listed in order of preference chosen as event server Host list storage means for storing the host list, and as a step executed by the host host, the generated event is transmitted to the event server indicated by the information stored in the server information storage means The event sending step, and when the event sending step does not succeed in sending the event to the event server, the host ranked next to the event server in the host list is set as the new event server. A server information update step for updating the information stored in the server information storage means, and an event for which the transmission was not successful. , Updated by the server information update process An event receiving step for receiving an event transmitted from another host as a step executed by a host serving as an event server, and a step for transmitting the received event to the host. A reception event transmission step of transmitting to each host based on the list, and a host list update step of deleting from the host list hosts that have not been successfully transmitted by the reception event transmission step. .
[0022]
Also, the event sharing method according to the present invention is an event sharing method applied to an event sharing system in which a plurality of hosts are connected by a network, and any of the hosts serves as an event server to share events generated by each host. Method, where each host has multiple hosts Listed in order of preference chosen as event server, and , Of which Which host But Event server Contains information indicating whether Host list storage means for storing a host list, and as a process executed by a host serving as a client, an event transmission process for transmitting an event that has occurred to an event server indicated in the host list, and the event transmission When the transmission of the event to the event server by the process is not successful, the host list is updated with the host ranked next to the event server in the host list as a new event server. A server information update step to be performed, and an event in which the transmission is not successful , Updated by the server information update process An event receiving step for receiving an event transmitted from another host as a step executed by a host serving as an event server, and a step for transmitting the received event to the host. A reception event transmission step of transmitting to each host based on the list, and a host list update step of deleting from the host list hosts that have not been successfully transmitted by the reception event transmission step. .
[0024]
Furthermore, the event sharing program according to the present invention is applied to each host in an event sharing system in which a plurality of hosts are connected by a network, and one of the hosts serves as an event server to share events generated by each host. An event sharing program, wherein the host includes server information storage means for storing information about the event server, and a plurality of hosts Listed in order of preference chosen as event server Host list storage means for storing a host list, event transmission means for transmitting an event that has occurred to an event server indicated by information stored in the server information storage means, and transmission of the event to the event server by the event transmission means Server information update means for updating the information stored in the server information storage means with the host ranked next to the event server in the host list as a new event server, , The event that the transmission was not successful Updated by the server information updating means The host functioning as a transmission means for transmitting to the new event server, the event reception means for receiving an event transmitted from another host, and the received event based on the host list A reception event transmission unit that transmits to a host, and a host list update unit that deletes a host that has not been successfully transmitted by the reception event transmission unit from the host list.
[0025]
In addition, the event sharing program according to the present invention is applied to each host in an event sharing system in which a plurality of hosts are connected by a network, and one of the hosts serves as an event server to share events generated in each host. An event sharing program, wherein a plurality of hosts Listed in order of preference chosen as event server, and , Of which Which host But Event server Contains information indicating whether Host list storage means for storing a host list, event transmission means for transmitting an event that has occurred to the event server indicated in the host list, and when the event transmission means has not successfully transmitted the event to the event server A server information update unit that performs an update process on the host list with the host ranked next to the event server in the host list as a new event server, and an event in which the transmission is not successful. Updated by the server information updating means The host functioning as a transmission means for transmitting to the new event server, the event reception means for receiving an event transmitted from another host, and the received event based on the host list A reception event transmission unit that transmits to a host, and a host list update unit that deletes a host that has not been successfully transmitted by the reception event transmission unit from the host list.
[0027]
The event referred to in the present invention is an event that occurs asynchronously with the operation of the application. For example, in the case of an application whose screen changes when the mouse is clicked, an event is generated when the mouse is clicked. Then, the screen is changed by the event processing.
[0028]
In addition, in the case where the transmission of the event according to the present invention is not successful, not only the case where the data regarding the event is not completely transmitted but also the case where only a part of the data regarding the event is transmitted, that is, the other party side It can also be included when there is a missing data regarding the event sent to.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
Exemplary embodiments of the present invention will be described in detail below with reference to the drawings. However, the dimensions, shapes, relative arrangements, and the like of the component parts described in this embodiment are not intended to limit the scope of the present invention only to those unless otherwise specified.
[0030]
Moreover, in the following drawings, the same number is attached | subjected to the components similar to the components described in above-mentioned drawing. The description of the first embodiment of the event sharing system according to the present invention described below also serves as the description of the host, the event sharing method, and the event sharing program according to the present invention.
[0031]
(First embodiment of event sharing system)
A first embodiment of an event sharing system according to the present invention will be described with reference to the drawings. FIG. 1 shows an overall configuration diagram of a first embodiment of an event sharing system according to the present invention.
[0032]
In the event sharing system shown in FIG. 1, six hosts, a
[0033]
Further, the hosts shown in FIG. 1 can communicate with each other bidirectionally. In addition, a one-way communication host that performs only transmission or reception may be connected to the
[0034]
The
[0035]
Furthermore, the
[0036]
The Internet may be IPv4 or IPv6, and both may be used together. The network may be wired or wireless, and both may be used together.
[0037]
Further, in the following description, a personal computer will be described as an example of the host shown in FIG. 1. However, the host is not limited to a personal computer, and other than that, a PDA (Personal Digital Assistant), a mobile phone, a car navigation system・ Digital home appliances that integrate computers with systems and household appliances can also be hosts.
[0038]
Next, the function of the host shown in FIG. 1 will be described with reference to FIG. FIG. 2 is a block diagram showing functions of the host shown in FIG. Note that each of the hosts shown in FIG. 1 has all the functions shown in FIG.
[0039]
The host functions shown in FIG. 2 and the operation of the host described below are performed by a CPU (not shown) provided in the host as a single unit, together with other components, or a main storage unit, a CD-ROM, a hard disk, etc. Processing is performed in cooperation with a program stored in the auxiliary storage unit. Further, this program may be downloaded to each host via the
[0040]
As shown in FIG. 2, the host includes a
[0041]
The
[0042]
The
[0043]
The
[0044]
The host
[0045]
The
[0046]
The
[0047]
The
[0048]
For example, a host list as shown in FIG. 4 is stored in the
[0049]
In the host list shown in FIG. 4, the list is created in the order of host B, host C, host D, host E, and host F, with host A as the highest priority. The order of the host list is used when determining an event server, as will be described later.
[0050]
This host list is provided in common for each host shown in FIG. 1 in the initial state.
[0051]
Next, the description returns to FIG. The
[0052]
The
[0053]
The
[0054]
The server
[0055]
Next, in the event sharing system configured as described above, an operation before a change in the network form will be described with reference to FIGS.
[0056]
For example, when an event occurs in the host F106, this event is transmitted to the current event server host A101 (1).
[0057]
Similarly, the
[0058]
As described above, in this embodiment, one host serves as an event server, and events are shared.
[0059]
(When a change occurs in the network configuration)
Next, a case where a change occurs in the network form in the event sharing system of this embodiment will be described. First, as an example of a change in the network form, a case where network division occurs will be described. Here, the division of the network means that communication cannot be established with respect to the network of the other party.
[0060]
As such network division, for example, a case where a failure occurs in the
[0061]
Hereinafter, the operation of the present embodiment when a change occurs in the network form will be described with reference to FIG. 5, FIG. 6, FIG. 7, and FIG. FIG. 5 is an overall configuration diagram in the event sharing system shown in FIG. 1 when a division occurs in the network. FIGS. 6, 7 and 8 are flowcharts of operations of the event sharing system shown in FIG. It is.
[0062]
First, before the fragmentation shown in FIG. 5 occurs, the host A101, host B102, host C103, host D104, host E105, and host F106 are connected to the
[0063]
In addition, the
[0064]
Then, as shown in FIG. 5, a failure occurred in the
[0065]
Based on this premise, an example of event server selection when viewed from the host E105 and an example of server selection when viewed from the host C103 are shown below.
[0066]
(Example of event server selection seen from host E)
First, the host E105 transmits an event to the host A101, which is an event server (S601).
[0067]
Since the
[0068]
Next, the host E105 sets, in the server information (FIG. 3), the host B, which is the host next to the host A101, from the host list shown in FIG. 4 as an event server (S702).
[0069]
Next, the host E105 tries to transmit an event to the host B102 newly set as the event server (S601).
[0070]
Similarly, the host E105 deletes the host B102 from the list and transmits an event to the host C103 because there is no response from the host B102 because the
[0071]
Further, since the
[0072]
Then, since there is a response from the host D104, the host E105 sets the host D104 as an event server (S602, Yes).
[0073]
Subsequently, the host E105 handles the host D104 as an event server.
[0074]
(Example of event server selection seen from host C)
The host C103 transmits an event to the host A101, which is an event server (S601).
[0075]
host C103 Since there is a response from the event server A101, the host A101 is treated as an event server thereafter (S602, Yes).
[0076]
(Event server operation)
Next, the processing of the event server after the network form has been changed will be described with reference to FIG.
[0077]
A host that receives an event from another host becomes an event server. Then, the event server that has received the event from the other host transmits the received event to each host indicated in the host list (S801, S802).
[0078]
Next, the event server determines whether or not the event transmission to each host is successful (S803). For example, the host A101, which is the event server shown in FIG. 5, succeeds in event transmission to the host B102 and the host C103, but does not succeed in event transmission to the host D104, the host E105, and the host F106.
[0079]
Then, the event server performs an update process for deleting a host whose event transmission was not successful from the host list by the process of the host
[0080]
In this way, even if the network is divided due to a network failure and the network configuration is changed, each host in the event sharing system is automatically based on the host list stored in the event server. Can be selected and event distribution can be performed. Therefore, even if network configuration information is not transmitted regularly, it is possible to share an event and to construct a network that can flexibly cope with a change in network configuration.
[0081]
Also, in this embodiment, each host does not need to periodically communicate with the event server, so communication traffic is reduced, the load on the event server is reduced, and the event server constantly updates information through communication with the event server. Therefore, even when the event server goes down, the server can be switched immediately, and even when the network is divided into a plurality of events, a plurality of event servers can be provided.
[0082]
(If the network configuration is changed due to an event server failure)
Next, in the event sharing system of the present embodiment, a case will be described in which a change in network configuration occurs due to an event server failure. The event server failure described below includes the event server leaving the event sharing system.
[0083]
As shown in FIG. 9, it is assumed that a failure has occurred in the host A101, which is an event server, in a system sharing events with each other. FIG. 9 is an overall configuration diagram when a failure occurs in the event server in the event sharing system shown in FIG.
[0084]
In this case, other hosts in the event sharing system cannot communicate with the
[0085]
First, the host E105 transmits an event to the host A101, which is an event server (S601).
[0086]
Since there is no response from the
[0087]
Next, the host E105 sets the host B, which is the host next to the host A101, from the host list shown in FIG. 4 as the event server in the server information (S702).
[0088]
Then, an attempt is made to send an event to the host B102 (S601). Since the host E105 has received a response from the host B102, the host B102 is set as the event server.
[0089]
Subsequently, the host E105 treats the host B102 as an event server (S602, Yes).
[0090]
As described above, in this embodiment, even when a failure occurs in the host A101 which is an event server, the same effect as that obtained when the network is divided is obtained. An event server can be determined, and event sharing can be realized.
[0091]
(Second Embodiment of Event Sharing System)
Next, a second embodiment of the event sharing system according to the present invention will be described with reference to the drawings. The overall configuration of this embodiment is the same as the overall configuration shown in FIG.
[0092]
The function of the host of this embodiment will be described with reference to FIG. FIG. 10 is a block diagram showing the functions of the host in the second embodiment of the event sharing system according to the present invention.
[0093]
As shown in FIG. 10, the function of the host according to the present embodiment is a function in which the
[0094]
Also, among the functions shown in FIG. 10, the differences from the first embodiment described above are the functions of the
[0095]
Similarly to the functions and operations of the host shown in FIG. 2 described above, the functions of the host shown in FIG. 10 and the operations described below are performed by a CPU (not shown) provided in the host as a single unit. Processing is performed by cooperating with each component or with a program stored in an auxiliary storage unit such as a main storage unit, a CD-ROM, or a hard disk. Further, this program may be downloaded to each host via the
[0096]
Next, information stored in the
[0097]
The host lists shown in FIGS. 11A and 11B are given priorities in the order of host A, host B,..., That is, from the top of FIG.
[0098]
Also, the host list shown in FIGS. 11A and 11B includes a check 1101 indicating which host is the event server among the hosts shown in the host list.
[0099]
This check 1101 is updated by the server
[0100]
Since the operation before the change in the network form in the present embodiment is the same as that described with reference to FIG.
[0101]
(When a change occurs in the network configuration)
Next, a case where a change occurs in the network form in the event sharing system of this embodiment will be described. First, as an example of a change in the network form, a case where network division occurs will be described. Here, the division of the network means that communication cannot be established with respect to the network of the other party.
[0102]
As such network division, for example, a case where a failure occurs in the
[0103]
Hereinafter, the operation of the present embodiment when a change occurs in the network configuration will be described with reference to FIGS. 5, 6, 10, 11, and 12. 5 and 6 are drawings used in the first embodiment of the event sharing system described above, but can also be used to describe the present embodiment. FIG. 12 is a flowchart of the operation of the second embodiment of the event sharing system according to the present invention.
[0104]
First, before the fragmentation as shown in FIG. 5 occurs, the host A101, host B102, host C103, host D104, host E105, and host F106 are connected to the
[0105]
In addition, the
[0106]
Then, as shown in FIG. 5, a failure occurred in the
[0107]
Based on this premise, an example of event server selection when viewed from the host E105 and an example of server selection when viewed from the host C103 are shown below.
[0108]
(Example of event server selection seen from host E)
First, the host E105 transmits an event to the host A101, which is an event server (S601).
[0109]
Since the
[0110]
Next, the host E105 uses the host B, which is the host next to the host A101, from the host list shown in FIG. 11A as an event server to update the host list check shown in FIG. (S1202).
[0111]
Next, the host E105 tries to transmit an event to the host B102 newly set as the event server (S601).
[0112]
Similarly, the host E105 deletes the host B102 from the list and transmits an event to the host C103 because there is no response from the host B because the
[0113]
Further, since the
[0114]
Then, since there is a response from the host D104, the host E105 sets the host D104 as an event server (S602, Yes). At this time, the host list is checked 1101 in the host D as shown in FIG.
[0115]
Subsequently, the host E105 handles the host D104 as an event server.
[0116]
(Example of event server selection seen from host C)
The host C103 transmits an event to the host A101, which is an event server (S601).
[0117]
Since there is a response from the event server A101, the host E105 treats the host A101 as an event server thereafter (S602, Yes).
[0118]
(Event server operation)
Next, the processing of the event server after the change in the network form is the same as that described with reference to FIG. 8 in the first embodiment, and will be omitted.
[0119]
As described above, in this embodiment, the same effect as that of the first embodiment described above can be obtained, and even if the network is divided due to a network failure and the network form is changed, the event sharing system Since each host in can automatically select an event server based on the host list stored in each host and distribute events, it is possible to share events without sending network configuration information regularly. A network that can flexibly cope with changes in the network form can be constructed.
[0120]
Also in this embodiment, each host does not need to periodically communicate with the event server, so communication traffic is reduced, the load on the event server is reduced, and the event server constantly updates information by communicating with the event server. Therefore, even when the event server goes down, the server can be switched immediately, and even when the network is divided into a plurality of events, a plurality of event servers can be provided.
[0121]
(If the network configuration is changed due to an event server failure)
Next, in the event sharing system of the present embodiment, a case will be described in which a change in network configuration occurs due to an event server failure. The event server failure described below includes the event server leaving the event sharing system.
[0122]
As shown in FIG. 9, it is assumed that a failure has occurred in the host A101, which is an event server, in a system sharing events with each other. FIG. 9 is a diagram for explaining the first embodiment of the event sharing system according to the present invention, which can also be used for explanation of this embodiment.
[0123]
In this case, other hosts in the event sharing system cannot communicate with the
[0124]
First, the host E105 transmits an event to the host A101, which is an event server (S601).
[0125]
Since there is no response from the host A101 because a failure has occurred in the host A101 (S602, No), the host E105 deletes the host A101 from the host list shown in FIG. 11A (S603). S1201).
[0126]
Next, the host E105 performs host list update processing using the host B, which is the host next to the host A101, from the host list shown in FIG. 11A as an event server (S1202).
[0127]
Then, the
[0128]
Subsequently, the host E105 treats the host B102 as an event server (S602, Yes).
[0129]
As described above, even when a failure occurs in the host A101 that is an event server, the same effects as those obtained when the network is divided are obtained, and each host automatically determines the event server. Event sharing.
[0130]
【The invention's effect】
As explained above, even when a network failure occurs and the network is divided, or when a failure occurs on a host that is an event server, by automatically selecting an event server, it Events can be shared without problems without exchanging network configuration information.
[0131]
In the present invention, since the host does not need to periodically communicate with the event server, communication traffic is reduced, the load on the event server is reduced, and the event server needs to constantly update information through communication with the event server. Therefore, even when the event server goes down, the server can be switched immediately, and even when the network is divided into a plurality of events, a plurality of event servers can be provided.
[0132]
By sharing the event, the same event can be acquired at a plurality of points and the application can perform processing, which can be applied to a collaboration tool.
[Brief description of the drawings]
FIG. 1 is an overall configuration diagram of a first embodiment of an event sharing system according to the present invention.
FIG. 2 is a block diagram showing functions of the host shown in FIG.
FIG. 3 is a conceptual diagram of information stored in server information shown in FIG. 2;
4 is a conceptual diagram of information stored in a host list shown in FIG.
FIG. 5 is an overall configuration diagram in the event sharing system shown in FIG. 1 when a network break occurs.
6 is a flowchart of the operation of the event sharing system shown in FIG.
7 is a flowchart of the operation of the event sharing system shown in FIG.
FIG. 8 is a flowchart of the operation of the event sharing system shown in FIG.
FIG. 9 is an overall configuration diagram when a failure occurs in an event server in the event sharing system shown in FIG. 1;
FIG. 10 is a block diagram showing functions of a host in the second embodiment of the event sharing system according to the present invention.
11 is a conceptual diagram of information stored in the host list shown in FIG.
FIG. 12 is a flowchart of the operation of the second exemplary embodiment of the event sharing system according to the present invention.
[Explanation of symbols]
101 Host A
102 Host B
103 Host C
104 Host D
105 Host E
106 Host F
107 network
201 Server part
202 Client part
203 Server information
204 Host list
205 Event receiver
206 Event transmitter
207 Host list update unit
208 Event transmitter
209 Server information update unit
1004 Host list
1009 Server information update unit
Claims (8)
各ホストは、
イベントサーバに関する情報を格納するサーバ情報格納手段と、
複数のホストがイベントサーバとして選ばれる優先順にリストされているホストリストを格納するホストリスト格納手段と、
前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段とを備え、
前記イベント送信手段は、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信するものであり、
さらに各ホストは、イベントサーバとなった場合の機能として、
他のホストから送信されたイベントを受信するイベント受信手段と、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段と、
を備えることを特徴とするイベント共有システム。An event sharing system in which a plurality of hosts are connected by a network, and one of the hosts serves as an event server to share events that occur on each host,
Each host
Server information storage means for storing information about the event server;
Host list storage means for storing a host list listed in a priority order in which a plurality of hosts are selected as event servers ;
Event transmitting means for transmitting an event that has occurred to the event server indicated by the information stored in the server information storing means;
When the transmission of the event to the event server by the event transmission unit is not successful, the host ranked next to the event server in the host list is stored in the server information storage unit as a new event server And server information updating means for updating the information being provided,
The event transmission unit is configured to transmit an event in which the transmission is not successful to the new event server updated by the server information update unit ,
Furthermore, as a function when each host becomes an event server,
An event receiving means for receiving an event transmitted from another host;
Receiving event transmitting means for transmitting the received event to each host based on the host list;
Host list update means for deleting hosts from which the event transmission by the received event transmission means was not successful, from the host list;
An event sharing system comprising:
各ホストは、
複数のホストがイベントサーバとして選ばれる優先順にリストされ、かつ、そのうちのどのホストがイベントサーバであるのかを示す情報を含むホストリストを格納するホストリスト格納手段と、
前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段とを備え、
前記イベント送信手段は、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信するものであり、
さらに各ホストは、イベントサーバとなった場合の機能として、
他のホストから送信されたイベントを受信するイベント受信手段と、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段と、
を備えることを特徴とするイベント共有システム。An event sharing system in which a plurality of hosts are connected by a network, and one of the hosts serves as an event server to share events that occur on each host,
Each host
Multiple hosts are listed in order of preference is selected as an event server, and the host list storage means which hosts of which stores a host list containing information indicating whether an event server,
Event transmitting means for transmitting an event that has occurred to an event server indicated in the host list;
When the event transmission unit does not successfully transmit the event to the event server, the host list is updated with the host ranked next to the event server in the host list as a new event server. Server information updating means for
The event transmission unit is configured to transmit an event in which the transmission is not successful to the new event server updated by the server information update unit ,
Furthermore, as a function when each host becomes an event server,
An event receiving means for receiving an event transmitted from another host;
Receiving event transmitting means for transmitting the received event to each host based on the host list;
Host list update means for deleting hosts from which the event transmission by the received event transmission means was not successful, from the host list;
An event sharing system comprising:
イベントサーバに関する情報を格納するサーバ情報格納手段と、
複数のホストがイベントサーバとして選ばれる優先順にリストされているホストリストを格納するホストリスト格納手段と、
前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段とを備え、
前記イベント送信手段は、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信するものであり、
さらにイベントサーバとなった場合の機能として、
他のホストから送信されたイベントを受信するイベント受信手段と、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段と、
を備えることを特徴とするホスト。A plurality of hosts are connected by a network, and any of the hosts serves as an event server, and the host in the event sharing system in which an event occurring in each host is performed,
Server information storage means for storing information about the event server;
Host list storage means for storing a host list listed in a priority order in which a plurality of hosts are selected as event servers ;
Event transmitting means for transmitting an event that has occurred to the event server indicated by the information stored in the server information storing means;
When the transmission of the event to the event server by the event transmission unit is not successful, the host ranked next to the event server in the host list is stored in the server information storage unit as a new event server And server information updating means for updating the information being provided,
The event transmission unit is configured to transmit an event in which the transmission is not successful to the new event server updated by the server information update unit ,
Furthermore, as a function when becoming an event server,
An event receiving means for receiving an event transmitted from another host;
Receiving event transmitting means for transmitting the received event to each host based on the host list;
Host list update means for deleting hosts from which the event transmission by the received event transmission means was not successful, from the host list;
A host characterized by comprising:
複数のホストがイベントサーバとして選ばれる優先順にリストされ、かつ、そのうちのどのホストがイベントサーバであるのかを示す情報を含むホストリストを格納するホストリスト格納手段と、
前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段とを備え、
前記イベント送信手段は、前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信するものであり、
さらにイベントサーバとなった場合の機能として、
他のホストから送信されたイベントを受信するイベント受信手段と、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段と、
を備えることを特徴とするホスト。A plurality of hosts are connected by a network, and any of the hosts serves as an event server, and the host in the event sharing system in which an event occurring in each host is performed,
Multiple hosts are listed in order of preference is selected as an event server, and the host list storage means which hosts of which stores a host list containing information indicating whether an event server,
Event transmitting means for transmitting an event that has occurred to an event server indicated in the host list;
When the event transmission unit does not successfully transmit the event to the event server, the host list is updated with the host ranked next to the event server in the host list as a new event server. Server information updating means for
The event transmission unit is configured to transmit an event in which the transmission is not successful to the new event server updated by the server information update unit ,
Furthermore, as a function when becoming an event server,
An event receiving means for receiving an event transmitted from another host;
Receiving event transmitting means for transmitting the received event to each host based on the host list;
Host list update means for deleting hosts from which the event transmission by the received event transmission means was not successful, from the host list;
A host characterized by comprising:
各ホストが、
イベントサーバに関する情報を格納するサーバ情報格納手段と、
複数のホストがイベントサーバとして選ばれる優先順にリストされているホストリストを格納するホストリスト格納手段と、を備えており、
クライアントとなっているホストが実行する工程として、
前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信工程と、
前記イベント送信工程による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新工程と、
前記送信が成功しなかったイベントを、前記サーバ情報更新工程によって更新された前記新たなイベントサーバに送信する送信工程とを備え、
イベントサーバとなっているホストが実行する工程として、
他のホストから送信されたイベントを受信するイベント受信工程と、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信工程と、
前記受信イベント送信工程によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新工程と、
を備えることを特徴とするイベント共有方法。An event sharing method applied to an event sharing system in which a plurality of hosts are connected by a network, and one of the hosts becomes an event server to share an event that has occurred in each host,
Each host
Server information storage means for storing information about the event server;
A host list storage means for storing a host list in which a plurality of hosts are listed in order of preference selected as an event server ,
As a process executed by the client host,
An event transmission step of transmitting an event that has occurred to the event server indicated by the information stored in the server information storage means;
When the transmission of the event to the event server in the event transmission step is not successful, the host ranked next to the event server in the host list is stored in the server information storage unit as a new event server. A server information update process for updating the information being processed;
Sending the event that the transmission was not successful to the new event server updated by the server information update step ,
As a process executed by the host that is the event server,
An event receiving process for receiving an event transmitted from another host;
A reception event transmission step of transmitting the received event to each host based on the host list;
A host list update step of deleting hosts from which the event transmission by the reception event transmission step was not successful, from the host list;
An event sharing method comprising:
各ホストが、
複数のホストがイベントサーバとして選ばれる優先順にリストされ、かつ、そのうちのどのホストがイベントサーバであるのかを示す情報を含むホストリストを格納するホストリスト格納手段を備えており、
クライアントとなっているホストが実行する工程として、
前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信工程と、
前記イベント送信工程による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新工程と、
前記送信が成功しなかったイベントを、前記サーバ情報更新工程によって更新された前記新たなイベントサーバに送信する送信工程とを備え、
イベントサーバとなっているホストが実行する工程として、
他のホストから送信されたイベントを受信するイベント受信工程と、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信工程と、
前記受信イベント送信工程によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新工程と、
を備えることを特徴とするイベント共有方法。An event sharing method applied to an event sharing system in which a plurality of hosts are connected by a network, and one of the hosts becomes an event server to share an event that has occurred in each host,
Each host
Multiple hosts are listed in order of preference is selected as an event server, and includes a host list storage means which hosts of which stores a host list containing information indicating whether an event server,
As a process executed by the client host,
An event transmission step of transmitting an event that has occurred to the event server shown in the host list;
When the transmission of the event to the event server in the event transmission step is not successful, the host list is updated with a host ranked next to the event server in the host list as a new event server. Server information update process to be performed on
Sending the event that the transmission was not successful to the new event server updated by the server information update step ,
As a process executed by the host that is the event server,
An event receiving process for receiving an event transmitted from another host;
A reception event transmission step of transmitting the received event to each host based on the host list;
A host list update step of deleting hosts from which the event transmission by the reception event transmission step was not successful, from the host list;
An event sharing method comprising:
前記ホストを、
イベントサーバに関する情報を格納するサーバ情報格納手段、
複数のホストがイベントサーバとして選ばれる優先順にリストされているホストリストを格納するホストリスト格納手段、
前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段、及び、
前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信する送信手段として機能させ、
イベントサーバとなっているホストを、
他のホストから送信されたイベントを受信するイベント受信手段、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段、及び、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段として機能させる
ことを特徴とするイベント共有プログラム。An event sharing program that is applied to each host in an event sharing system in which a plurality of hosts are connected by a network, and one of the hosts becomes an event server to share an event that has occurred in each host,
The host,
Server information storage means for storing information about the event server,
A host list storage means for storing a host list in which a plurality of hosts are listed in a priority order selected as an event server ;
Event transmission means for transmitting an event that has occurred to the event server indicated by the information stored in the server information storage means;
When the transmission of the event to the event server by the event transmission unit is not successful, the host ranked next to the event server in the host list is stored in the server information storage unit as a new event server Server information updating means for updating the stored information, and
Wherein the transmission is not successful event, the to function as transmission means for transmitting to said new event servers that are updated by the server information update unit,
The host that is the event server
Event receiving means for receiving events sent from other hosts,
A reception event transmitting means for transmitting the received event to each host based on the host list; and
An event sharing program that causes a host that has not been successfully transmitted by the reception event transmitting unit to function as a host list updating unit that deletes a host from the host list.
前記ホストを、
複数のホストがイベントサーバとして選ばれる優先順にリストされ、かつ、そのうちのどのホストがイベントサーバであるのかを示す情報を含むホストリストを格納するホストリスト格納手段、
前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段、及び、
前記送信が成功しなかったイベントを、前記サーバ情報更新手段によって更新された前記新たなイベントサーバに送信する送信手段として機能させ、
イベントサーバとなっているホストを、
他のホストから送信されたイベントを受信するイベント受信手段、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段、及び、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段として機能させる
ことを特徴とするイベント共有プログラム。An event sharing program that is applied to each host in an event sharing system in which a plurality of hosts are connected by a network, and one of the hosts becomes an event server to share an event that has occurred in each host,
The host,
Multiple hosts are listed in order of preference is selected as an event server, and the host list storage means which hosts of which stores a host list containing information indicating whether an event server,
Event transmitting means for transmitting an event that has occurred to the event server indicated in the host list;
When the event transmission unit does not successfully transmit the event to the event server, the host list is updated with the host ranked next to the event server in the host list as a new event server. Server information updating means for performing, and
Wherein the transmission is not successful event, the to function as transmission means for transmitting to said new event servers that are updated by the server information update unit,
The host that is the event server
Event receiving means for receiving events sent from other hosts,
A reception event transmitting means for transmitting the received event to each host based on the host list; and
An event sharing program that causes a host that has not been successfully transmitted by the reception event transmitting unit to function as a host list updating unit that deletes a host from the host list.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002199202A JP4038406B2 (en) | 2002-07-08 | 2002-07-08 | Event sharing system, host, event sharing method, and event sharing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002199202A JP4038406B2 (en) | 2002-07-08 | 2002-07-08 | Event sharing system, host, event sharing method, and event sharing program |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007122646A Division JP2007200361A (en) | 2007-05-07 | 2007-05-07 | Event sharing system, event sharing method, and event sharing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004046300A JP2004046300A (en) | 2004-02-12 |
| JP4038406B2 true JP4038406B2 (en) | 2008-01-23 |
Family
ID=31706438
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002199202A Expired - Lifetime JP4038406B2 (en) | 2002-07-08 | 2002-07-08 | Event sharing system, host, event sharing method, and event sharing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4038406B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1852782B1 (en) * | 2005-02-21 | 2013-01-30 | Vodafone Group Plc | Linkage operation method and communication terminal device |
-
2002
- 2002-07-08 JP JP2002199202A patent/JP4038406B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004046300A (en) | 2004-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4381655B2 (en) | Storage system, storage device, and information sharing method using the storage device | |
| KR100621092B1 (en) | Method and apparatus for sharing application using P2P protocol | |
| CN1792076B (en) | Data access, replication or communication systems involving distributed software applications | |
| US7139565B2 (en) | Connection architecture for a mobile network | |
| US7987266B2 (en) | Failover in proxy server networks | |
| JP4794143B2 (en) | System and method for managing cache objects using notification bonds | |
| US20050037787A1 (en) | Wireless intelligent portable-server system (WIPSS) | |
| JP4616159B2 (en) | Cluster system, load balancer, node transfer method, and node transfer program | |
| US20130286942A1 (en) | System and method for dynamic automatic communication path selection, distributed device synchronization and task delegation | |
| CN102224751A (en) | System and method for dynamic automatic communication path selection, distributed device synchronization and task delegation | |
| JPH1115715A (en) | Data sharing system | |
| CN111787079B (en) | Communication method, device, server, system and medium based on communication group | |
| JP2006253900A (en) | IP address takeover method, IP address address takeover program, server, and network system | |
| US7840528B2 (en) | System and method for integrating continuous synchronization on a host handheld device | |
| JP2005346573A (en) | WEB SERVICE PROVIDING METHOD, SERVER DEVICE AND CLIENT TERMINAL IN WEB SERVICE SYSTEM, WEB SERVICE SYSTEM, WEB SERVICE PROGRAM, AND RECORDING MEDIUM | |
| CN113709250B (en) | Cross-domain user data synchronization method based on subscription transmission mode | |
| US10320663B2 (en) | Communication device, communication system, and computer program product for performing interactive communication via relay servers | |
| KR100597405B1 (en) | Data relay system and data relay method using socket application program | |
| JP4038406B2 (en) | Event sharing system, host, event sharing method, and event sharing program | |
| US20050060700A1 (en) | Seamless scaling of multiple appliances | |
| US8826026B2 (en) | Systems and methods for tracking electronic files in computer networks using electronic signatures | |
| JP2007200361A (en) | Event sharing system, event sharing method, and event sharing program | |
| CN102624753B (en) | Distributed file transmission method and equipment for enterprise service bus | |
| JP2007207013A (en) | Information processing apparatus and information sharing program | |
| JP2006227763A (en) | Data sharing system, data sharing method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041130 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061026 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061031 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061228 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070306 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070507 |
|
| 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: 20071030 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071105 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4038406 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101109 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101109 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111109 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121109 Year of fee payment: 5 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121109 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131109 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |