JP2007200361A - Event sharing system, event sharing method and event sharing program - Google Patents
Event sharing system, event sharing method and event sharing program Download PDFInfo
- Publication number
- JP2007200361A JP2007200361A JP2007122646A JP2007122646A JP2007200361A JP 2007200361 A JP2007200361 A JP 2007200361A JP 2007122646 A JP2007122646 A JP 2007122646A JP 2007122646 A JP2007122646 A JP 2007122646A JP 2007200361 A JP2007200361 A JP 2007200361A
- Authority
- JP
- Japan
- Prior art keywords
- event
- host
- server
- transmission
- 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.)
- Pending
Links
Images
Landscapes
- Hardware Redundancy (AREA)
Abstract
Description
本発明は、複数のホストでイベントを共有するイベント共有システム及びこのようなイベント共有システムに適用されるホスト、イベント共有方法及びイベント共有プログラムに関する。 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.
従来、複数のホストが互いにネットワークにより接続され、通信を行うシステムが開発されている。 Conventionally, a system has been developed in which a plurality of hosts are connected to each other via a network to perform communication.
そして、上記のようなシステムでは、複数のホストによりイベントを共有する場合がある。イベントを共有することにより、それぞれのホストは同じイベントを取得してアプリケーション処理を行なうことが可能となり、コラボレーションツールへの応用が可能となっている。 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.
コラボレーションツールとは、複数の地点で協調して使えるツールのことである。例えば、お互いに遠くにいる二人が、同じツールの画面を見ながら同時に編集したりするようなツールである。
しかしながら、上記のような複数のホストでイベントを共有する従来技術の場合には、下記のような問題が生じていた。 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.
すなわち、複数のホストでイベントを共有する場合、イベントの順序を守るために特定のホストでイベントのシリアライズ(直列化)を行って、複数の他のホストにイベントを送信する。このような特定のホストを、管理サーバ又はイベントサーバという。 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.
イベントのシリアライズとは、イベントを順番(シリアル)に並べることをいう。すなわち、イベントのシリアライズでは、複数のホストから複数のイベントが上がった場合に、それを順番に並べて他のホストに通知する。 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.
例えば、ホストAからイベントaが発生し、それと同時にホストBからイベントbが発生した場合、イベントをa、bの順に発信することがシリアライズである。 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.
この場合、その特定のホストが何らかの理由でダウンした場合、あるいはその特定のホストへのネットワークが切断された場合などにイベントを正しく送信できなくなることがある。 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.
このような問題点に対応するため、特開2001−34592号公報に開示された技術では、管理サーバのノードが削除された場合、削除された管理サーバのノードと予め定期的に通信を行っていた各ノードは、サーバ優先順位テーブルに基づいて新たな管理サーバを決定し、ネットワーク構成情報を更新する。 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 with the deleted node of the management server is periodically performed in advance. Each node determines a new management server based on the server priority table and updates the network configuration information.
そして、更新されたネットワーク構成情報を、新たに決定された管理サーバのノードと定期的に交換するとしている(上記公報段落73)。 The updated network configuration information is regularly exchanged with a newly determined management server node (paragraph 73 of the above publication).
しかしながら、上記公報に記載の技術では、各ノードが管理サーバのノードと定期的に通信を行うシステムでなければ適用できない。 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.
本発明は上記事情に鑑みなされたもので、その目的とするところは、複数のホストでイベントを共有する際に、ネットワークの形態が変化した場合にも、イベントの配信を適切に行うことの可能なイベント共有システム、ホスト、イベント共有方法及びイベント共有プログラムを提供することを目的とする。 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.
ここで、ネットワークの形態の変化とは、例えばホストやネットワークに障害が発生した場合や、ホストがネットワークから離脱した場合などが相当する。 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.
上記目的を達成するために、本発明に係るイベント共有システムは、複数のホストがネットワークにより接続されたイベント共有システムであって、前記ホストは、イベントサーバに関する情報を格納するサーバ情報格納手段と、複数のホストが順位付けられたホストリストを格納するホストリスト格納手段と、前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段とを備え、前記イベント送信手段は、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信することを特徴とする。 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 the host stores server information storage means for storing information related to an event server; Host list storage means for storing a host list in which a plurality of hosts are ranked, 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 the event transmission When the event is not successfully transmitted to the event server, 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 information, and DOO transmission means, and transmits the event that the transmission is not successful in the new event server.
また、本発明に係るイベント共有システムは、複数のホストがネットワークにより接続されたイベント共有システムであって、前記ホストは、複数のホストが順位付けられ、そのうちの1つのホストをイベントサーバとするホストリストを格納するホストリスト格納手段と、前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段とを備え、前記イベント送信手段は、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信することを特徴とする。 The event sharing system according to the present invention is an event sharing system in which a plurality of hosts are connected via a network. The host is a host in which a plurality of hosts are ranked and one of them is an event server. Host list storage means for storing a 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 has not been successful Server information updating means for performing update processing on the host list with the host ranked next to the event server in the host list as a new event server. The event that was not successfully transmitted is designated as the new event. And transmits to over server.
また、本発明に係るイベント共有システムは、前記ホストは、他のホストから送信されたイベントを受信するイベント受信手段と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段とを備えることを特徴とする。 Also, in the event sharing system according to the present invention, the host receives an event transmitted from another host, and received event transmission for transmitting the received event to each host based on the host 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.
さらに、本発明に係るホストは、複数のホストがネットワークにより接続されたイベント共有システムにおける前記ホストであって、イベントサーバに関する情報を格納するサーバ情報格納手段と、複数のホストが順位付けられたホストリストを格納するホストリスト格納手段と、前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段とを備え、前記イベント送信手段は、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信することを特徴とする。 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 a server information storage means for storing information relating to the event server, and a host in which the plurality of hosts are ranked A host list storage means for storing a list; an event transmission means for transmitting an event that has occurred to an event server indicated by the information stored in the server information storage means; Server information update means for updating information stored in the server information storage means with a host ranked next to the event server in the host list as a new event server when transmission is not successful; The event transmission means includes the transmission. And transmitting an event that did not to the new event server.
また、本発明に係るホストは、複数のホストがネットワークにより接続されたイベント共有システムにおける前記ホストであって、複数のホストが順位付けられ、そのうちの1つのホストをイベントサーバとするホストリストを格納するホストリスト格納手段と、前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段とを備え、前記イベント送信手段は、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信することを特徴とする。 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 stores a host list in which a plurality of hosts are ranked and one of them is an event server. Host list storage means, 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, Server information updating means for performing update processing on the host list with the host ranked next to the event server in the host list as a new event server, wherein the event sending means has succeeded in the transmission Send the event that did not occur to the new event server. Characterized in that it.
また、本発明に係るホストは、他のホストから送信されたイベントを受信するイベント受信手段と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段とを備えることを特徴とする。 Further, the host according to the present invention includes an event receiving unit that receives an event transmitted from another host, a received event transmitting unit that transmits the received event to each host based on the host list, and the received event. Host list update means for deleting from the host list hosts for which event transmission by the sending means has not been successful.
さらに、本発明に係るイベント共有方法は、複数のホストがネットワークにより接続されたイベント共有システムに適用されるイベント共有方法であって、前記ホストが、イベントサーバに関する情報をサーバ情報格納手段に格納するサーバ情報格納工程と、複数のホストが順位付けられたホストリストをホストリスト格納手段に格納するホストリスト格納工程と、前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信工程と、前記イベント送信工程による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新工程と、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信する送信工程とを備えることを特徴とする。 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 by a network, and the host stores information related to the event server in a server information storage means. A server information storage step, a host list storage step of storing a host list in which a plurality of hosts are ranked in the host list storage means, and an event that has occurred in the event server indicated by the information stored in the server information storage means An event transmission step of transmitting the event, and when the event transmission step does not succeed in transmitting the event to the event server, a host that is ranked next to the event server in the host list is assigned as a new event server. Information stored in the server information storage means It characterized in that it comprises a server information updating step of updating, and the transmission step of transmitting the event that the transmission is not successful in the new event server.
また、本発明に係るイベント共有方法は、複数のホストがネットワークにより接続されたイベント共有システムに適用されるイベント共有方法であって、前記ホストが、複数のホストが順位付けられ、そのうちの1つのホストをイベントサーバとするホストリストをホストリスト格納手段に格納するホストリスト格納工程と、前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信工程と、前記イベント送信工程による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新工程と、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信する送信工程とを備えることを特徴とする。 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 the host is ranked among a plurality of hosts, and one of them is ranked. A host list storage step of storing a host list having the host as an event server in a host list storage means, an event transmission step of transmitting an event that has occurred to the event server indicated in the host list, and the event by the event transmission step Server information is updated when the host that is ranked next to the event server in the host list is updated as a new event server when transmission to the event server is not successful Before the process and the event that the transmission was not successful Characterized in that it comprises a transmission step of transmitting the new event server.
また、本発明に係るイベント共有方法は、前記ホストが、他のホストから送信されたイベントを受信するイベント受信工程と、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信工程と、前記受信イベント送信工程によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新工程とを備えることを特徴とする。 The event sharing method according to the present invention includes an event reception step in which the host receives an event transmitted from another host, and a reception event transmission in which the received event is transmitted to each host based on the host list. And a host list update step of deleting from the host list hosts for which event transmission by the reception event transmission step has not been successful.
さらに、本発明に係るイベント共有プログラムは、複数のホストがネットワークにより接続されたイベント共有システムにおける前記ホストに適用されるイベント共有プログラムであって、前記ホストを、イベントサーバに関する情報を格納するサーバ情報格納手段、複数のホストが順位付けられたホストリストを格納するホストリスト格納手段、前記サ
ーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段、及び、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信する送信手段として機能させることを特徴とする。
Furthermore, the event sharing program according to the present invention is an event sharing program applied to the host in an event sharing system in which a plurality of hosts are connected via a network, and stores information related to the event server. Storage means, host list storage means for storing a host list in which a plurality of hosts are ranked, event transmission means for transmitting an event that has occurred to an event server indicated by information stored in the server information storage means, the event If transmission of the event to the event server by the transmission means is not successful, the host ranked next to the event server in the host list is stored in the server information storage means as a new event server. Server that updates information Distribution updating unit, and characterized in that to function as transmission means for transmitting the event that the transmission is not successful in the new event server.
また、本発明に係るイベント共有プログラムは、複数のホストがネットワークにより接続されたイベント共有システムにおける前記ホストに適用されるイベント共有プログラムであって、前記ホストを、複数のホストが順位付けられ、そのうちの1つのホストをイベントサーバとするホストリストを格納するホストリスト格納手段、前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段、前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段、及び、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信する送信手段として機能させることを特徴とする。 The event sharing program according to the present invention is an event sharing program applied to the host in an event sharing system in which a plurality of hosts are connected by a network, and the hosts are ranked among the hosts, of which Host list storage means for storing a host list having one host as an event server, an event transmission means for transmitting an event that has occurred to the event server indicated in the host list, and an event server for the event by the event transmission means Server information updating means for performing update processing on the host list with the host ranked next to the event server in the host list as a new event server when the transmission of the host list is not successful, and The event was not successful Characterized in that the functioning of the bets as a transmission means for transmitting to said new event server.
また、本発明に係るイベント共有プログラムは、前記ホストを、他のホストから送信されたイベントを受信するイベント受信手段、前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段、及び、前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段として機能させることを特徴とする。 The event sharing program according to the present invention includes an event receiving unit that receives the host from an event transmitted from another host, and a received event transmitting unit that transmits the received event to each host based on the host list. And, it is made to function as a host list updating unit for deleting a host from which the event transmission by the received event transmitting unit was not successful from the host list.
なお、本発明にいうイベントとは、アプリケーションの動作と非同期に発生する事象である。例えば、マウスをクリックすると画面が変わるようなアプリケーションの場合、マウスをクリックすることでイベントが発生する。そして、そのイベント処理で画面が変更される。 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.
なお、本発明にいう、イベントの送信が成功しなかった場合には、イベントに関するデータが完全に送信できなかった場合のみならず、イベントに関するデータの一部分のみが送信された場合、すなわち、相手側に送信されたイベントに関するデータに欠落がある場合も含めることができる。 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 It can also be included when there is a missing data regarding the event sent to.
以上説明したように、ネットワークに障害が発生しネットワークの分断が発生した場合や、イベントサーバであるホストに障害が発生した場合にも、自動的にイベントサーバを選択することにより、特に定期的にネットワーク構成情報を交換しなくても、イベントを問題なく共有することができる。 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.
また、本発明では、ホストがイベントサーバと定期的に通信を行う必要が無いため、通信のトラフィックが減り、イベントサーバの負荷が減り、イベントサーバとの通信によってイベントサーバが常に情報を更新する必要が無いため、イベントサーバがダウンした際にもサーバを即座に切り替えることができ、ネットワークが複数に分断された場合にも、イベントサーバを複数にすることができる。 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.
そして、イベントの共有により、複数地点で同じイベントを取得してアプリケーションが処理を行うことが可能になり、コラボレーションツールへ応用できる。 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.
以下に図面を参照して、この発明の好適な実施の形態を例示的に詳しく説明する。ただし、この実施の形態に記載されている構成部品の寸法、形状、その相対配置などは、特に特定的な記載がない限りは、この発明の範囲をそれらのみに限定する趣旨のものではない。 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.
また、以下の図面において、既述の図面に記載された部品と同様の部品には同じ番号を付す。また、以下に説明する本発明に係るイベント共有システムの第1の実施形態の説明は、本発明に係るホスト、イベント共有方法及びイベント共有プログラムの説明も兼ねる。 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.
(イベント共有システムの第1の実施形態)
本発明に係るイベント共有システムの第1の実施形態について図面を参照して説明する。図1に、本発明に係るイベント共有システムの第1の実施形態の全体構成図を示す。
(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.
図1に示されるイベント共有システムでは、ホストA101、ホストB102、ホストC103、ホストD104、ホストE105及びホストF106の6つのホストが、ネットワーク107により互いに接続されている。ただし、本実施形態では、6つのホストが互いに接続される例を説明するが、本発明では、ホストの数は6つに限定されるものではなく、2以上の任意の数であって良い。
In the event sharing system shown in FIG. 1, six hosts of a
また、図1に示される各ホストは互いに双方向に通信が可能となっている。また、ネットワーク107に、送信又は受信のみを行う片方向通信のホストが接続されるとしても良い。
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
また、図1に示されるネットワーク107は特に限定されるものではなく、ネットワーク107はTCP/IPを用いたインターネットであっても良い。
The
さらに、ネットワーク107はこのようなインターネットに限定されるものではなく、例えばWAP(wireless application protocol)などその他の任意のプロトコルを用い、又は併用したネットワークであって良い。
Furthermore, the
また、上記インターネットは、IPv4でもIPv6でも、両者を併用しても良い。また、上記ネットワークは、有線でも無線でも、両者を併用しても良い。 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.
また、図1に示されるホストとして以下の説明ではパソコンを例にして説明するが、ホストはパソコンに限定されるものではなく、その他にも、PDA(Personal Digital Assistants)、携帯電話、カー・ナビゲーション・システム、家庭用電化製品にコンピュータを融合したデジタル家電などもホストとなりうる。 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.
次に、図1に示されるホストの機能について図2を参照して説明する。図2は、図1に示されるホストの機能を示すブロック図である。なお、図1に示される各ホストは、全て以下の図2に示される機能を備えている。 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.
また、図2に示されるホストの各機能及び以下に説明するホストの動作は、ホストが備える不図示のCPUが、単体で、その他の各部品と共に又は主記憶部やCD−ROM、ハードディスクなどの補助記憶部に記憶されているプログラムと協働することにより処理される。また、このプログラムは、ネットワーク107を介して各ホストにダウンロードされるとしても良い。
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
図2に示されるように、ホストは、サーバ部201、クライアント部202、サーバ情
報203及びホストリスト204を備えている。
As shown in FIG. 2, the host includes a
サーバ部201は、ホストがサーバとして動作する場合に機能する部分である。このサーバ部201は、以下に説明するイベント受信部205、イベント送信部206及びホストリスト更新部207を備えている。
The
イベント受信部205は、クライアントとなったホスト(以下、単にクライアントとも記す)からイベントを受信する部分である。
The
イベント送信部206は、クライアントから送られてきたイベントを、ホストリスト204に格納されているホストリストに示されるホストに送信する部分である。
The
ホストリスト更新部207は、ホストリスト中のホストであって、送信ができなかったホストがある場合に、ホストリストを更新する部分である。
The host
また、図1に示されるサーバ情報203は、現在のイベントサーバに関する情報を格納するためのデータベースである。
The
このサーバ情報203には、例えば図3に示されるように、イベントサーバの情報が格納されている。図3に示される例では、現在のイベントサーバは、ホストAとなっている。図3は、図2に示されるサーバ情報に格納される情報の概念図である。
The
また、図1に示されるホストリスト204は、本イベント共有システムに接続されているホストを順位付けたホストリストが格納されるデータベースである。
The
このホストリスト204には、例えば図4に示されるようなホストリストが格納される。図4は、図2に示されるホストリストに格納される情報の概念図である。
For example, a host list as shown in FIG. 4 is stored in the
図4に示されるホストリストでは、ホストAを最優先順位として、以下、ホストB、ホストC、ホストD、ホストE、ホストFの順の順位でリストが作成されている。このホストリストの順位は、後述するように、イベントサーバを決定する際に使用される。 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.
このホストリストは、初期状態において、図1に示される各ホストに共通して備えられる。 This host list is provided in common for each host shown in FIG. 1 in the initial state.
次に、図2の説明に戻る。図2に示されるクライアント部202は、ホストがクライアントとして動作する場合に機能する部分である。
Next, the description returns to FIG. The
このクライアント部202は、イベント送信部208と、サーバ情報更新部209とを備えている。
The
イベント送信部208は、クライアント内でイベントが発生したときに、発生したイベントをイベントサーバに送信する部分である。また、このイベント送信部208は、イベントサーバへのイベントの送信が成功しなかった場合に、新たなイベントサーバに再びイベントを送信する。
The
また、サーバ情報更新部209は、イベントをイベントサーバに送信した際に、そのイベントサーバが稼動しているかどうか判断し、送信先リストを参照した上でサーバ情報を更新する部分である。
The server
次に、上記構成のイベント共有システムにおいて、ネットワーク形態に変更が発生する前の動作について図1から図4を参照しつつ説明する。 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.
例えばホストF106においてイベントが発生した場合、このイベントは、現在のイベントサーバであるホストA101に送信される(1)。 For example, when an event occurs in the host F106, this event is transmitted to the current event server host A101 (1).
そして、同様にその他の各ホストからイベントを受信したホストA101は、各イベントのシリアライズを行った後、これらイベントを各ホストに配信する((2),(3),(4),(5),(6))。
Similarly, the
このように、本実施形態では、1つのホストがイベントサーバとなって、イベントの共有が行われる。 As described above, in this embodiment, one host serves as an event server, and events are shared.
(ネットワーク形態に変更が発生した場合)
次に、本実施形態のイベント共有システムにおいてネットワーク形態に変更が発生した場合について説明する。まず、ネットワーク形態の変更として、ネットワークの分断が発生した場合を例に挙げて説明する。ここで、ネットワークが分断するとは、分断した相手方のネットワークに対して通信が確立できないことをいう。
(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.
このようなネットワークの分断として、例えばネットワーク107に障害が発生した場合が考えられる。
As such network division, for example, a case where a failure occurs in the
以下、ネットワーク形態に変更が発生した場合の本実施形態の動作について図5、図6、図7及び図8を参照して説明する。図5は、図1に示されるイベント共有システムにおいて、ネットワークに分断が発生した場合の全体構成図であり、図6、図7及び図8は、図1に示されるイベント共有システムの動作のフローチャートである。 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.
まず、図5に示される分断が発生する前は、ホストA101、ホストB102、ホストC103、ホストD104、ホストE105、ホストF106の6台がネットワーク107に接続されており、相互に通信できる状態であったとする。
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
また、ホストA101がイベントサーバの役割を担っていた。また、すべてのホストが、「ホストA、ホストB、ホストC、ホストD、ホストE、ホストF」の順に並ぶホストリストを保持していた。このホストリストは、以下の説明では図4に示されるホストリストであるとして良い。
In addition, the
そして、図5に示されるように、ネットワーク107に障害が発生し、「ホストA、ホストB、ホストC」のグループと「ホストD、ホストE、ホストF」のグループにネットワーク107が分断された。
Then, as shown in FIG. 5, a failure occurred in the
この前提のもと、以下にホストE105から見た場合のイベントサーバ選択の例とホストC103から見た場合のサーバ選択の例を示す。 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.
(ホストEから見たイベントサーバ選択の例)
まず、ホストE105は、イベントサーバであるホストA101にイベントを送信する(S601)。
(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).
ネットワーク107が分断されているためホストA101からホストE105への応答はない(S602,No)。そのため、ホストE105は、ホストA101を、図4に示されるホストリストから削除する(S603,S701)。
Since the
次に、ホストE105は、図4に示されるホストリストの中からホストA101の次のホストであるホストBをイベントサーバとして、サーバ情報(図3)に設定する(S702)。 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).
次に、ホストE105は、新たにイベントサーバとして設定されたホストB102にイベントを送信しようと試みる(S601)。 Next, the host E105 tries to transmit an event to the host B102 newly set as the event server (S601).
以下同様に、ホストE105は、ネットワーク107が分断されているためホストB102からの応答がないため、ホストB102をリストから削除し、ホストC103にイベントを送信する。
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
また、ホストE105は、ネットワーク107が分断されホストC103からの応答がないため、ホストC103をリストから削除し、ホストD104にイベントを送信する。
Further, since the
そして、ホストE105は、ホストD104からの応答があったため、ホストD104をイベントサーバとする(S602,Yes)。 Then, since there is a response from the host D104, the host E105 sets the host D104 as an event server (S602, Yes).
そして、ホストE105は、以降、ホストD104をイベントサーバとして扱う。 Subsequently, the host E105 handles the host D104 as an event server.
(ホストCから見たイベントサーバ選択の例)
ホストC103は、イベントサーバであるホストA101にイベントを送信する(S601)。
(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).
ホストC103は、イベントサーバA101からの応答があったため、これ以降もホストA101をイベントサーバとして扱う(S602,Yes)。 Since there is a response from the event server A101, the host C103 treats the host A101 as an event server thereafter (S602, Yes).
(イベントサーバの動作)
次に、ネットワーク形態に変更があった後のイベントサーバの処理について図8を参照して説明する。
(Event server operation)
Next, the processing of the event server after the network form has been changed will be described with reference to FIG.
他のホストからイベントを受信したホストはイベントサーバとなる。そして、他のホストからイベントを受信したイベントサーバは、ホストリストに示される各ホストに受信したイベントを送信する(S801,S802)。 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).
次に、イベントサーバは、各ホストへのイベント送信が成功したか否かを判断する(S803)。例えば図5に示されるイベントサーバであるホストA101は、ホストB102、ホストC103へのイベント送信は成功するが、ホストD104、ホストE105及びホストF106へのイベント送信は成功しない。 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.
そして、イベントサーバは、図2に示されるホストリスト更新部207の処理により、イベント送信が成功しなかったホストをホストリストから削除する更新処理を行なった後(S804)、動作を終える。
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
このように、ネットワーク障害によりネットワークに分断が発生し、ネットワーク形態に変更が発生した場合であっても、イベント共有システムにおける各ホストはそれぞれに格納されているホストリストに基づいて自動的にイベントサーバを選択し、イベント配信ができるため、定期的にネットワーク構成情報を送信しなくても、イベント共有を可能としつつ、ネットワーク形態の変更に柔軟に対応したネットワークを構築することができる。 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.
また、本実施形態では、各ホストがイベントサーバと定期的に通信を行う必要が無いため、通信のトラフィックが減り、イベントサーバの負荷が減り、イベントサーバとの通信によってイベントサーバが常に情報を更新する必要が無いため、イベントサーバがダウンした際にもサーバを即座に切り替えることができ、ネットワークが複数に分断された場合にも、イベントサーバを複数にすることができる。 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.
(イベントサーバの障害によりネットワーク形態に変更が発生した場合)
次に、本実施形態のイベント共有システムにおいて、イベントサーバの障害によりネットワーク形態に変更が発生した場合について説明する。なお、以下に説明するイベントサーバの障害には、イベントサーバのイベント共有システムからの離脱も含む。
(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.
図9に示されるように、互いにイベントを共有していたシステムにおいて、イベントサーバであるホストA101に障害が発生したとする。図9は、図1に示されるイベント共有システムにおいて、イベントサーバに障害が発生した場合の全体構成図である。 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.
この場合、イベント共有システムにおける他のホストは、イベントサーバであるホストA101と通信を行うことができない。以下、ホストE105の動作を例に本実施形態の動作の説明をする。また、前述の図6及び図7に示されるフローチャートも適宜参照して説明する。なお、ホストE105以外のホストの動作も以下の説明と同様である。
In this case, other hosts in the event sharing system cannot communicate with the
まず、ホストE105は、イベントサーバであるホストA101にイベントを送信する(S601)。 First, the host E105 transmits an event to the host A101, which is an event server (S601).
ホストA101に障害が発生しているため、ホストA101からの応答がないため(S602,No)、ホストE105は、ホストA101を、図4に示されるホストリストから削除する(S603,S701)。
Since there is no response from the
次に、ホストE105は、図4に示されるホストリストの中からホストA101の次のホストであるホストBをイベントサーバとして、サーバ情報に設定する(S702)。 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).
そして、ホストB102にイベントを送信しようと試みる(S601)。そして、ホストE105は、ホストB102からの応答があったため、ホストB102をイベントサーバとする。 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.
そして、ホストE105は、以降、ホストB102をイベントサーバとして扱う(S602,Yes)。 Subsequently, the host E105 treats the host B102 as an event server (S602, Yes).
このように、本実施形態では、イベントサーバであるホストA101に障害が発生した場合であっても、前述のネットワークに分断が発生した場合と同様の効果が得られ、各ホストは、自動的にイベントサーバを決定することができ、イベントの共有を実現できる。 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.
(イベント共有システムの第2の実施形態)
次に、本発明に係るイベント共有システムの第2の実施形態について図面を参照して説明する。本実施形態の全体構成は、前述の図1に示される全体構成と同様である。
(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.
本実施形態のホストの機能について図10を参照して説明する。図10は、本発明に係るイベント共有システムの第2の実施形態におけるホストの機能を示すブロック図である。 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.
図10に示されるように、本実施形態のホストが備える機能は、前述の図2に示されるホストの機能から、サーバ情報203が削除された機能となっている。
As shown in FIG. 10, the function of the host according to the present embodiment is a function in which the
また、図10に示される各機能のうち、前述の第1の実施形態と異なる点は、
ホストリスト1004の機能とサーバ情報更新部1009の機能であり、その他の機能は同様である。
In addition, among the functions shown in FIG. 10, the difference from the first embodiment described above is that
This is the function of the
また、前述の図2に示されるホストの各機能及び動作と同様に、図10に示されるホストの各機能及び以下に説明する動作は、ホストが備える不図示のCPUが、単体で、その他の各部品と共に又は主記憶部やCD−ROM、ハードディスクなどの補助記憶部に記憶されているプログラムと協働することにより処理される。また、このプログラムは、ネットワーク107を介して各ホストにダウンロードされるとしても良い。
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
次に、図10に示されるホストリスト1004に格納される情報について図11を参照して説明する。図11は、図10に示されるホストリストに格納される情報の概念図であり、図11の(a)は、イベントサーバがホストAである場合のホストリストであり、図11の(b)は、イベントサーバがホストDである場合のホストリストである。
Next, information stored in the
図11の(a)及び図11の(b)に示されるホストリストは、ホストA、ホストB、・・という順序、すなわち、図11の上から順に優先順位が付与されている。 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.
また、図11の(a)及び図11の(b)に示されるホストリストには、当該ホストリストに示されるホストのうち、どのホストがイベントサーバであるのかを示すチェック1101が入っている。 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.
このチェック1101は、イベントサーバの更新処理において、図10に示されるサーバ情報更新部1009により更新される。
This check 1101 is updated by the server
本実施形態における、ネットワーク形態に変更が発生する前の動作は、前述の図1を参照して説明した場合と同様であるため省略する。 Since the operation before the change in the network form in the present embodiment is the same as that described with reference to FIG.
(ネットワーク形態に変更が発生した場合)
次に、本実施形態のイベント共有システムにおいてネットワーク形態に変更が発生した場合について説明する。まず、ネットワーク形態の変更として、ネットワークの分断が発生した場合を例に挙げて説明する。ここで、ネットワークが分断するとは、分断した相手方のネットワークに対して通信が確立できないことをいう。
(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.
このようなネットワークの分断として、例えばネットワーク107に障害が発生した場合が考えられる。
As such network division, for example, a case where a failure occurs in the
以下、ネットワーク形態に変更が発生した場合の本実施形態の動作について図5、図6、図10、図11及び図12を参照して説明する。図5及び図6は、前述のイベント共有システムの第1の実施形態において使用された図面であるが、本実施形態の説明にも用いることができる。また、図12は、本発明に係るイベント共有システムの第2の実施形態の動作のフローチャートである。 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.
まず、図5に示されるような分断が発生する前は、ホストA101、ホストB102、ホストC103、ホストD104、ホストE105、ホストF106の6台がネットワーク107に接続されており、相互に通信できる状態であったとする。
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
また、ホストA101がイベントサーバの役割を担っていた。また、すべてのホストが、「ホストA、ホストB、ホストC、ホストD、ホストE、ホストF」の順に並ぶホストリストを保持していた。このホストリストは、以下の説明では図11の(a)に示されるホストリストであるとして良い。
In addition, the
そして、図5に示されるように、ネットワーク107に障害が発生し、「ホストA、ホストB、ホストC」のグループと「ホストD、ホストE、ホストF」のグループにネットワーク107が分断された。
Then, as shown in FIG. 5, a failure occurred in the
この前提のもと、以下にホストE105から見た場合のイベントサーバ選択の例とホストC103から見た場合のサーバ選択の例を示す。 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.
(ホストEから見たイベントサーバ選択の例)
まず、ホストE105は、イベントサーバであるホストA101にイベントを送信する(S601)。
(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).
ネットワーク107が分断されているためホストA101からホストE105への応答はない(S602,No)。そのため、ホストE105は、ホストA101を、図11に示されるホストリストから削除する(S603,S1201)。
Since the
次に、ホストE105は、図11の(a)に示されるホストリストの中からホストA101の次のホストであるホストBをイベントサーバとして、図11に示されるホストリストのチェックを移動する更新処理を行う(S1202)。 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, and updates the host list check shown in FIG. (S1202).
次に、ホストE105は、新たにイベントサーバとして設定されたホストB102にイベントを送信しようと試みる(S601)。 Next, the host E105 tries to transmit an event to the host B102 newly set as the event server (S601).
以下同様に、ホストE105は、ネットワーク107が分断されているためホストBからの応答がないため、ホストB102をリストから削除し、ホストC103にイベントを送信する。
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
また、ホストE105は、ネットワーク107が分断されホストC103からの応答がないため、ホストC103をリストから削除し、ホストD104にイベントを送信する。
Further, since the
そして、ホストE105は、ホストD104からの応答があったため、ホストD104をイベントサーバとする(S602,Yes)。このとき、ホストリストは、図11の(b)に示されるように、ホストDにチェック1101が入る。 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, in the host list, a check 1101 is entered into the host D as shown in FIG.
そして、ホストE105は、以降、ホストD104をイベントサーバとして扱う。
(ホストCから見たイベントサーバ選択の例)
ホストC103は、イベントサーバであるホストA101にイベントを送信する(S601)。
Subsequently, the host E105 handles the host D104 as an event server.
(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).
ホストE105は、イベントサーバA101からの応答があったため、これ以降もホストA101をイベントサーバとして扱う(S602,Yes)。 Since there is a response from the event server A101, the host E105 treats the host A101 as an event server thereafter (S602, Yes).
(イベントサーバの動作)
次に、ネットワーク形態に変更があった後のイベントサーバの処理については、前述の第1の実施形態における図8を用いた説明と同様であるため、省略する。
(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.
このように、本実施形態では、前述の第1の実施形態と同様の効果が得られ、ネットワーク障害によりネットワークに分断が発生し、ネットワーク形態に変更が発生した場合であっても、イベント共有システムにおける各ホストはそれぞれに格納されているホストリストに基づいて自動的にイベントサーバを選択し、イベント配信ができるため、定期的にネットワーク構成情報を送信しなくても、イベント共有を可能としつつ、ネットワーク形態の変更に柔軟に対応したネットワークを構築することができる。 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.
また、本実施形態でも、各ホストがイベントサーバと定期的に通信を行う必要が無いため、通信のトラフィックが減り、イベントサーバの負荷が減り、イベントサーバとの通信によってイベントサーバが常に情報を更新する必要が無いため、イベントサーバがダウンした際にもサーバを即座に切り替えることができ、ネットワークが複数に分断された場合にも、イベントサーバを複数にすることができる。 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.
(イベントサーバの障害によりネットワーク形態に変更が発生した場合)
次に、本実施形態のイベント共有システムにおいて、イベントサーバの障害によりネットワーク形態に変更が発生した場合について説明する。なお、以下に説明するイベントサーバの障害には、イベントサーバのイベント共有システムからの離脱も含む。
(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.
図9に示されるように、互いにイベントを共有していたシステムにおいて、イベントサーバであるホストA101に障害が発生したとする。図9は、前述の本発明に係るイベント共有システムの第1の実施形態を説明するための図であるが、本実施形態の説明にも用いることができる。 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.
この場合、イベント共有システムにおける他のホストは、イベントサーバであるホストA101と通信を行うことができない。以下、ホストE105の動作を例に本実施形態の動作の説明をする。また、前述の図6及び図12に示されるフローチャートも適宜参照して説明する。なお、ホストE105以外のホストの動作も以下の説明と同様である。
In this case, other hosts in the event sharing system cannot communicate with the
まず、ホストE105は、イベントサーバであるホストA101にイベントを送信する(S601)。 First, the host E105 transmits an event to the host A101, which is an event server (S601).
ホストA101に障害が発生しているため、ホストA101からの応答がないため(S602,No)、ホストE105は、ホストA101を、図11の(a)に示されるホストリストから削除する(S603,S1201)。 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).
次に、ホストE105は、図11の(a)に示されるホストリストの中からホストA101の次のホストであるホストBをイベントサーバとして、ホストリストの更新処理を行なう(S1202)。 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).
そして、ホスト105は、ホストB102にイベントを送信しようと試みる(S601)。そして、ホストE105は、ホストB102からの応答があったため、ホストB102をイベントサーバとする。
Then, the
そして、ホストE105は、以降、ホストB102をイベントサーバとして扱う(S602,Yes)。 Subsequently, the host E105 treats the host B102 as an event server (S602, Yes).
このように、イベントサーバであるホストA101に障害が発生した場合であっても、前述のネットワークに分断が発生した場合と同様の効果が得られ、各ホストは、自動的にイベントサーバを決定することができ、イベントの共有を実現できる。 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.
101 ホストA
102 ホストB
103 ホストC
104 ホストD
105 ホストE
106 ホストF
107 ネットワーク
201 サーバ部
202 クライアント部
203 サーバ情報
204 ホストリスト
205 イベント受信部
206 イベント送信部
207 ホストリスト更新部
208 イベント送信部
209 サーバ情報更新部
1004 ホストリスト
1009 サーバ情報更新部
101 Host A
102 Host B
103 Host C
104 Host D
105 Host E
106 Host F
DESCRIPTION OF
Claims (12)
前記ホストは、
イベントサーバに関する情報を格納するサーバ情報格納手段と、
複数のホストが順位付けられたホストリストを格納するホストリスト格納手段
と、
前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段とを備え、
前記イベント送信手段は、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信することを特徴とするイベント共有システム。 An event sharing system in which multiple hosts are connected by a network,
The host is
Server information storage means for storing information about the event server;
Host list storage means for storing a host list in which a plurality of hosts are ranked;
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 transmits an event for which the transmission is not successful to the new event server.
前記ホストは、
複数のホストが順位付けられ、そのうちの1つのホストをイベントサーバとするホストリストを格納するホストリスト格納手段と、
前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段とを備え、
前記イベント送信手段は、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信することを特徴とするイベント共有システム。 An event sharing system in which multiple hosts are connected by a network,
The host is
A host list storage means for storing a host list in which a plurality of hosts are ranked and one of them is 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 transmits an event for which the transmission is not successful to the new event server.
他のホストから送信されたイベントを受信するイベント受信手段と、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段とを備えることを特徴とする
請求項1又は2に記載のイベント共有システム。 The host is
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;
3. The event sharing system according to claim 1, further comprising: a host list update unit that deletes from the host list a host that has not been successfully transmitted by the reception event transmission unit.
イベントサーバに関する情報を格納するサーバ情報格納手段と、
複数のホストが順位付けられたホストリストを格納するホストリスト格納手段と、
前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段とを備え、
前記イベント送信手段は、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信することを特徴とするホスト。 The host in an event sharing system in which a plurality of hosts are connected by a network,
Server information storage means for storing information about the event server;
Host list storage means for storing a host list in which a plurality of hosts are ranked;
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 host, wherein the event transmission means transmits an event for which the transmission is not successful to the new event server.
複数のホストが順位付けられ、そのうちの1つのホストをイベントサーバとするホストリストを格納するホストリスト格納手段と、
前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段と、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段とを備え、
前記イベント送信手段は、前記送信が成功しなかったイベントを前記新たなイベントサーバに送信することを特徴とするホスト。 The host in an event sharing system in which a plurality of hosts are connected by a network,
A host list storage means for storing a host list in which a plurality of hosts are ranked and one of them is 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 host, wherein the event transmission means transmits an event for which the transmission is not successful to the new event server.
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段と、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段とを備えることを特徴とする請求項4又は5に記載のホスト。 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;
6. The host according to claim 4, further comprising: a host list update unit that deletes from the host list a host that has not been successfully transmitted by the reception event transmission unit.
前記ホストが、
イベントサーバに関する情報をサーバ情報格納手段に格納するサーバ情報格納工程と、
複数のホストが順位付けられたホストリストをホストリスト格納手段に格納するホストリスト格納工程と、
前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信工程と、
前記イベント送信工程による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新工程と、
前記送信が成功しなかったイベントを前記新たなイベントサーバに送信する送信工程とを備えることを特徴とするイベント共有方法。 An event sharing method applied to an event sharing system in which a plurality of hosts are connected by a network,
The host
A server information storage step of storing information about the event server in the server information storage means;
A host list storing step of storing a host list in which a plurality of hosts are ranked in the host list storing means;
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;
An event sharing method, comprising: a transmission step of transmitting an event for which the transmission was not successful to the new event server.
前記ホストが、
複数のホストが順位付けられ、そのうちの1つのホストをイベントサーバとするホストリストをホストリスト格納手段に格納するホストリスト格納工程と、
前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信工程と、
前記イベント送信工程による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新工程と、
前記送信が成功しなかったイベントを前記新たなイベントサーバに送信する送信工程とを備えることを特徴とするイベント共有方法。 An event sharing method applied to an event sharing system in which a plurality of hosts are connected by a network,
The host
A host list storage step in which a plurality of hosts are ranked, and a host list having one of the hosts as an event server is stored in the host list storage means;
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
An event sharing method, comprising: a transmission step of transmitting an event for which the transmission was not successful to the new event server.
他のホストから送信されたイベントを受信するイベント受信工程と、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信工程と、
前記受信イベント送信工程によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新工程とを備えることを特徴とする請求項7又は8に記載のイベント共有方法。 The host
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;
9. The event sharing method according to claim 7, further comprising: a host list updating step of deleting from the host list hosts for which event transmission by the reception event transmission step has not been successful.
前記ホストを、
イベントサーバに関する情報を格納するサーバ情報格納手段、
複数のホストが順位付けられたホストリストを格納するホストリスト格納手段、
前記サーバ情報格納手段に格納された情報に示されるイベントサーバに、発生したイベントを送信するイベント送信手段、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとして前記サーバ情報格納手段に格納されている情報を更新するサーバ情報更新手段、及び、
前記送信が成功しなかったイベントを前記新たなイベントサーバに送信する送信手段として機能させることを特徴とするイベント共有プログラム。 An event sharing program applied to the host in an event sharing system in which a plurality of hosts are connected by a network,
The host,
Server information storage means for storing information about the event server,
Host list storage means for storing a host list in which a plurality of hosts are ranked,
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
An event sharing program that functions as transmission means for transmitting an event for which the transmission was not successful to the new event server.
前記ホストを、
複数のホストが順位付けられ、そのうちの1つのホストをイベントサーバとするホストリストを格納するホストリスト格納手段、
前記ホストリストに示されるイベントサーバに、発生したイベントを送信するイベント送信手段、
前記イベント送信手段による前記イベントのイベントサーバへの送信が成功しなかった場合に、前記ホストリストにおいて前記イベントサーバの次に順位付けられているホストを新たなイベントサーバとする更新処理を前記ホストリストに対して行なうサーバ情報更新手段、及び、
前記送信が成功しなかったイベントを前記新たなイベントサーバに送信する送信手段として機能させることを特徴とするイベント共有プログラム。 An event sharing program applied to the host in an event sharing system in which a plurality of hosts are connected by a network,
The host,
A host list storage means for storing a host list in which a plurality of hosts are ranked and one of them is 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
An event sharing program that functions as transmission means for transmitting an event for which the transmission was not successful to the new event server.
他のホストから送信されたイベントを受信するイベント受信手段、
前記受信したイベントを前記ホストリストに基づいて各ホストに送信する受信イベント送信手段、及び、
前記受信イベント送信手段によるイベントの送信が成功しなかったホストを前記ホストリストから削除するホストリスト更新手段として機能させることを特徴とする請求項10又は11に記載のイベント共有プログラム。 The host,
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
12. The event sharing program according to claim 10, wherein the event sharing program functions as a host list update unit that deletes a host for which event transmission by the reception event transmission unit has not been successful from the host list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007122646A JP2007200361A (en) | 2007-05-07 | 2007-05-07 | Event sharing system, event sharing method and event sharing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007122646A JP2007200361A (en) | 2007-05-07 | 2007-05-07 | Event sharing system, event sharing method and event sharing program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002199202A Division JP4038406B2 (en) | 2002-07-08 | 2002-07-08 | Event sharing system, host, event sharing method, and event sharing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007200361A true JP2007200361A (en) | 2007-08-09 |
Family
ID=38454832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007122646A Pending JP2007200361A (en) | 2007-05-07 | 2007-05-07 | Event sharing system, event sharing method and event sharing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007200361A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08129536A (en) * | 1994-10-28 | 1996-05-21 | Oki Electric Ind Co Ltd | Event processing system |
JPH1040227A (en) * | 1996-04-30 | 1998-02-13 | Internatl Business Mach Corp <Ibm> | System for recovering group leader in distribution computing environment |
JPH1040226A (en) * | 1996-04-30 | 1998-02-13 | Internatl Business Mach Corp <Ibm> | Method for recovering group leader in distribution computing environment |
JPH1078943A (en) * | 1996-07-23 | 1998-03-24 | Internatl Business Mach Corp <Ibm> | Group event management method and device in distributed computer environment |
JPH11328136A (en) * | 1998-05-08 | 1999-11-30 | Mitsubishi Electric Corp | Computer network system |
JP2000215177A (en) * | 1999-01-26 | 2000-08-04 | Atr Ningen Joho Tsushin Kenkyusho:Kk | Client server system, server-client device and computer readable recording medium recording management program of server-client software |
JP2001034592A (en) * | 1999-05-14 | 2001-02-09 | Mitsubishi Electric Corp | System and method for network constitution management |
-
2007
- 2007-05-07 JP JP2007122646A patent/JP2007200361A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08129536A (en) * | 1994-10-28 | 1996-05-21 | Oki Electric Ind Co Ltd | Event processing system |
JPH1040227A (en) * | 1996-04-30 | 1998-02-13 | Internatl Business Mach Corp <Ibm> | System for recovering group leader in distribution computing environment |
JPH1040226A (en) * | 1996-04-30 | 1998-02-13 | Internatl Business Mach Corp <Ibm> | Method for recovering group leader in distribution computing environment |
JPH1078943A (en) * | 1996-07-23 | 1998-03-24 | Internatl Business Mach Corp <Ibm> | Group event management method and device in distributed computer environment |
JPH11328136A (en) * | 1998-05-08 | 1999-11-30 | Mitsubishi Electric Corp | Computer network system |
JP2000215177A (en) * | 1999-01-26 | 2000-08-04 | Atr Ningen Joho Tsushin Kenkyusho:Kk | Client server system, server-client device and computer readable recording medium recording management program of server-client software |
JP2001034592A (en) * | 1999-05-14 | 2001-02-09 | Mitsubishi Electric Corp | System and method for network constitution management |
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 | |
CN101370035B (en) | Method and system for dynamic client/server network management using proxy servers | |
JP4616159B2 (en) | Cluster system, load balancer, node transfer method, and node transfer program | |
KR101233263B1 (en) | System and method for providing push service using feedback information | |
TWI478533B (en) | A relay communication system and a first relay server | |
KR20080025689A (en) | Instant messaging with data sharing | |
CN102075369B (en) | Method and equipment for managing monitoring equipment | |
JP4410608B2 (en) | Web service providing method | |
CN111917838B (en) | Micro-service-based processing method and device, storage medium and electronic device | |
WO2017128713A1 (en) | Method and device for publishing subscription message | |
WO2010109767A1 (en) | Data synchronization system, data synchronization method, and synchronization control server | |
JP2006243985A (en) | Message notification system and method, and server used therefor | |
JP5109901B2 (en) | Session data sharing method | |
JP2008027202A (en) | Session management method, server used for the same, session management program, and recording medium with recorded program | |
JP2006227763A (en) | Data sharing system, data sharing method, and program | |
JP2007207013A (en) | Information processor and information sharing program | |
US7574525B2 (en) | System and method for managing communication between server nodes contained within a clustered environment | |
JP4038406B2 (en) | Event sharing system, host, event sharing method, and event sharing program | |
US10320663B2 (en) | Communication device, communication system, and computer program product for performing interactive communication via relay servers | |
JP2007200361A (en) | Event sharing system, event sharing method and event sharing program | |
JP2005321922A (en) | Information sharing system and information sharing program | |
WO2013036099A1 (en) | System and method for rich internet application session transfer | |
JP4042760B2 (en) | Communication management method and system | |
JP5206532B2 (en) | System, message relay server, and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070531 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070531 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090901 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091021 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100316 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100803 |