JP2007335960A - Information providing apparatus and information providing method, and program - Google Patents

Information providing apparatus and information providing method, and program Download PDF

Info

Publication number
JP2007335960A
JP2007335960A JP2006162358A JP2006162358A JP2007335960A JP 2007335960 A JP2007335960 A JP 2007335960A JP 2006162358 A JP2006162358 A JP 2006162358A JP 2006162358 A JP2006162358 A JP 2006162358A JP 2007335960 A JP2007335960 A JP 2007335960A
Authority
JP
Japan
Prior art keywords
information
event
notification information
notification
reply
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
Application number
JP2006162358A
Other languages
Japanese (ja)
Inventor
Hitoshi Kamasaka
等 釜坂
Manabu Doge
学 道下
Yosuke Kaneko
洋介 金子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2006162358A priority Critical patent/JP2007335960A/en
Publication of JP2007335960A publication Critical patent/JP2007335960A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology of smoothly and efficiently executing an event notice from the Internet side to a LAN side without the need for changing the setting of a firewall or the like. <P>SOLUTION: An event relay server apparatus 2 receives event information from an event notice apparatus 3 and receives a request of the transmission of the event information from an event receiving apparatus 1. When receiving the request, the event relay server apparatus 2 determines whether or not the event relay server apparatus 2 receives the event information for the event receiving apparatus 1, and when the event relay server apparatus 2 receives notice information (event information) for the event receiving apparatus 1, the event relay server apparatus 2 generates a reply including the event information. When not receiving the event information but receiving the event information before a lapse of a prescribed period of time, the event relay server apparatus 2 responds to the reception of the event information and immediately generates the reply including the event information, and when the event relay server apparatus 2 does not receive the event information even after the lapse of the prescribed period of time, the event relay server apparatus 2 generates a reply denoting the absence of the event information, and transmits the generated reply to the event receiving apparatus 1 via a router apparatus 5. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ゲートウェイ装置を介してインターネットに接続しているLAN(Local Area Network)に接続した装置に対して、インターネットに接続している装置から情報を提供する技術に関する。   The present invention relates to a technique for providing information from a device connected to the Internet to a device connected to a LAN (Local Area Network) connected to the Internet via a gateway device.

ゲートウェイ装置を介して、LANに接続した装置(端末装置)に対して、インターネットに接続した装置(サーバ装置)からアクセスをするには様々な制限がある。   There are various restrictions on accessing a device (terminal device) connected to a LAN from a device (server device) connected to the Internet via a gateway device.

例えば、端末装置がグローバルIP(Internet Protocol)アドレスを持たず、ローカルIPアドレスしか持たない場合、ゲートウェイ装置(ルータ)が、NAT(Network Address Translation)機能やNAPT(Network Address Port Translation)機能を用いて、IPアドレスやポート番号の変換を行う技術がある。
NAT機能やNAPT機能により、端末装置のIPアドレスやポート番号の変換を行う場合、端末装置からのリクエストによって、サーバ装置は、端末装置のIPアドレスやポート番号を知る。したがって、サーバ装置側から、能動的に端末装置にアクセスすることは困難である。
また、NAPTテーブルを持つルータによってNAPT内のLANに接続された端末装置とNAPT外のインターネットに接続されたサーバ装置が通信する場合、インターネット側からLAN側へイベント通知するためには、明示的にNAPTテーブルをインターネット側からLAN側へのアクセス許可の設定をする必要がある。
このような設定をしなくても、上記のアクセスを可能とするための技術として、特許文献1に記載の方法がある。
特許文献1では、LAN側の端末側から定期的にインターネット側のサーバ装置にパケットを送信し、本通信において、自動的に、一定期間の間、設定されるルータのマッピングテーブルを利用することによって、インターネット側のサーバからLAN側へのアクセスを行う事によってイベントを通知する。
For example, when a terminal device does not have a global IP (Internet Protocol) address but has only a local IP address, the gateway device (router) uses a NAT (Network Address Translation) function or a NAPT (Network Address Port Translation) function. There are techniques for converting IP addresses and port numbers.
When converting the IP address and port number of the terminal device using the NAT function and NAPT function, the server device knows the IP address and port number of the terminal device according to a request from the terminal device. Therefore, it is difficult to actively access the terminal device from the server device side.
In addition, when a terminal device connected to a LAN in NAPT communicates with a server device connected to the Internet outside NAPT by a router having a NAPT table, in order to notify an event from the Internet side to the LAN side, it is necessary to explicitly It is necessary to set access permission for the NAPT table from the Internet side to the LAN side.
As a technique for enabling the above-described access without performing such settings, there is a method described in Patent Document 1.
In Patent Document 1, a packet is periodically transmitted from a terminal on the LAN side to a server device on the Internet side, and in this communication, a router mapping table set for a certain period is automatically used. The event is notified by accessing the LAN side from the server on the Internet side.

また、セキュリティ上の観点から、ゲートウェイ装置が、サーバ装置から端末装置へのアクセスを制限する技術(いわゆるファイアウォール)がある。
ファイアウォール技術には、様々なものがあるが、端末装置からサーバ装置へのアクセス及びそれに対するサーバ装置からの応答は許可し、それ以外のサーバ装置から端末装置へのアクセスは制限するという方式が、広く行われている。
特開2004−120547号公報
From the viewpoint of security, there is a technique (so-called firewall) in which the gateway device restricts access from the server device to the terminal device.
There are various firewall technologies, but a method of permitting access from the terminal device to the server device and a response from the server device to the server device, and restricting access from the other server devices to the terminal device, Widely done.
JP 2004-120547 A

特許文献1に記載の技術は、サーバ装置から端末装置へのアクセスにUDP(User
Datagram Protocol)を用いている。
しかし、UDPには、通信開始等の手続がないので、端末装置とサーバ装置とのどちらから通信を始めたのか判別することは難しい。
したがって、ファイアウォール技術において、UDPによる通信を一律に制限する場合があり、特許文献1の方法では、利用可能な環境が制限されるという問題点があった。例えば、企業などにおいては、HTTP(Hyper Text Transfer Protocol)、HTTPS(Hyper Text Transfer Protocol over Secure Sockets Layer)のみを認めるWebプロキシ経由でLAN側の端末からインターネット側のサーバへアクセスする環境では、本手法は利用できなという問題がある。
また、イベントのように、状況によっては通知先の変更や、複数の通知先へのイベント通知、さらには、状況に応じたイベント内容の変更などが必要になる場合に、本手法では対応出来ないという問題がある。
The technology described in Patent Document 1 uses UDP (User) for access from a server device to a terminal device.
Datagram Protocol).
However, since UDP does not have a procedure for starting communication or the like, it is difficult to determine which of the terminal device and the server device has started communication.
Therefore, in the firewall technology, there is a case where UDP communication is uniformly restricted, and the method disclosed in Patent Document 1 has a problem that an available environment is restricted. For example, in a company or the like, an HTTP (Hyper Text Transfer Protocol) or HTTPS (Hyper Text Transfer Protocol over Secure Sockets Layer) is allowed to access the server on the Internet side from a terminal on the LAN side via a Web proxy that allows access to the server on the Internet side. Has the problem of being unavailable.
In addition, this method cannot be used when it is necessary to change notification destinations, event notifications to multiple notification destinations, or change event contents according to the situation, such as events. There is a problem.

この発明は、上記のような問題点を解決することを主な目的とし、Webアクセスが可能な環境であれば、既に設定されているセキュリティを保持し、ルータの設定などの変更も不要でインターネット側のサーバからLAN側への即時のイベント通知を実現することを主な目的とする。また、イベントの内容によって、その送信先を変更することも主な目的とする。   The main object of the present invention is to solve the above-mentioned problems, and in an environment where Web access is possible, the security that has already been set is maintained, and there is no need to change router settings or the like. The main purpose is to realize immediate event notification from the local server to the LAN side. Also, the main purpose is to change the transmission destination according to the contents of the event.

本発明に係る情報提供装置は、
通知情報を発信する一つ以上の通知情報発信装置と、通知情報を取得する情報取得装置と通信を行う情報提供装置であって、
それぞれの通知情報発信装置から通知情報を受信する通知情報受信部と、
通知情報の送信を要求するリクエストを前記情報取得装置から受信するリクエスト受信部と、
前記リクエスト受信部が前記情報取得装置からのリクエストを受信した際に、前記情報取得装置に対する通知情報が受信されているか否かを判断し、前記情報取得装置に対する通知情報が受信されていない場合にいずれかの通知情報発信装置からの通知情報の受信を待ち、一定期間の経過前に前記情報取得装置に対する通知情報が受信された場合に当該通知情報の受信に応答して当該通知情報を含むリプライを生成し、一定時間を経過しても前記情報取得装置に対する通知情報が受信されない場合に、前記情報取得装置に対する通知情報が存在しない旨のリプライを生成するリプライ生成部と、
前記リプライ生成部により生成されたリプライを前記情報取得装置に対して送信するリプライ送信部とを有することを特徴とする。
An information providing apparatus according to the present invention includes:
One or more notification information transmission devices that transmit notification information, and an information provision device that communicates with an information acquisition device that acquires notification information,
A notification information receiving unit for receiving notification information from each notification information transmitting device;
A request receiving unit for receiving a request for requesting transmission of notification information from the information acquisition device;
When the request reception unit receives a request from the information acquisition device, it determines whether notification information for the information acquisition device is received, and when notification information for the information acquisition device is not received A reply including the notification information in response to reception of the notification information when the notification information for the information acquisition device is received before the elapse of a predetermined period after waiting for reception of the notification information from one of the notification information transmission devices. A reply generation unit that generates a reply that the notification information for the information acquisition device does not exist when the notification information for the information acquisition device is not received even after a predetermined time has passed,
It has a reply transmission part which transmits the reply produced | generated by the said reply production | generation part with respect to the said information acquisition apparatus.

本発明では、リクエストに対して、即座にリプライを返すのではなく、リクエストの受信後、通知情報の受信を待ち、一定期間の経過前に通知情報が受信された場合に当該通知情報の受信に応答して、直ちに、当該通知情報を含むリプライを送信するため、通知情報の受信後直ちに情報取得装置に通知情報を送信することができる。   In the present invention, instead of immediately returning a reply to the request, after receiving the request, it waits for the reception of the notification information, and when the notification information is received before the elapse of a certain period, the notification information is received. In response, a reply including the notification information is transmitted immediately, so that the notification information can be transmitted to the information acquisition device immediately after the notification information is received.

実施の形態1.
図1は、この実施の形態における通信システムの全体構成の一例を示すシステム構成図である。
本実施の形態に係る通信システムは、イベント受信装置1、ルータ装置5、イベント中継サーバ装置2、イベント通知装置3を有する。イベント受信装置1は、情報取得装置の例である。ルータ装置5は中継装置の例である。イベント中継サーバ装置2は情報提供装置の例である。イベント通知装置3は通知情報発信装置の例である。
Embodiment 1 FIG.
FIG. 1 is a system configuration diagram showing an example of the overall configuration of the communication system in this embodiment.
The communication system according to the present embodiment includes an event receiving device 1, a router device 5, an event relay server device 2, and an event notification device 3. The event receiver 1 is an example of an information acquisition device. The router device 5 is an example of a relay device. The event relay server device 2 is an example of an information providing device. The event notification device 3 is an example of a notification information transmission device.

ルータ装置5、イベント中継サーバ装置2、イベント通知装置3は、インターネット4に接続しており、相互に通信することができる。
イベント受信装置1は、LANを介してルータ装置5に接続しており、ルータ装置5を経由することにより、インターネット4に接続し、インターネット4に接続した装置(例えば、イベント中継サーバ装置2)と通信することができる。
The router device 5, the event relay server device 2, and the event notification device 3 are connected to the Internet 4 and can communicate with each other.
The event receiving device 1 is connected to the router device 5 via the LAN, connected to the Internet 4 via the router device 5, and a device (for example, the event relay server device 2) connected to the Internet 4. Can communicate.

ルータ装置5は、ファイアウォール機能を有している。
ルータ装置5は、イベント受信装置1からインターネット側の装置(例えば、イベント中継サーバ装置2)に対する通信を許可する。また、それに対する応答として、インターネット側の装置からイベント受信装置1への通信も許可する。しかし、イベント受信装置1からの通信に対する応答でない通信は、禁止する。
したがって、イベント受信装置1からイベント中継サーバ装置2へのアクセスは可能であるが、イベント中継サーバ装置2からイベント受信装置1へのアクセスは許可しない。
The router device 5 has a firewall function.
The router device 5 permits communication from the event receiving device 1 to a device on the Internet side (for example, the event relay server device 2). As a response to this, communication from the Internet side device to the event receiving device 1 is also permitted. However, communication that is not a response to communication from the event receiver 1 is prohibited.
Therefore, although it is possible to access the event relay server device 2 from the event receiving device 1, access from the event relay server device 2 to the event receiving device 1 is not permitted.

また、ルータ装置5は、NAPT機能を有している。
ルータ装置5は、LAN内でのみ有効なイベント受信装置1のローカルIPアドレスを、NAPT機能によって変換し、インターネット側の装置と接続する。
The router device 5 has a NAPT function.
The router device 5 converts the local IP address of the event receiving device 1 that is valid only within the LAN using the NAPT function, and connects to the Internet side device.

イベント通知装置3は、図1では1台しか表示されていないが、複数台存在するものとする。
イベント通知装置3は、各種イベントを通知するイベント通知情報(以下、イベント情報という)をイベント中継サーバ装置2に送信する。イベント通知装置3は、別途、イベントを発生する機器とLANや独自のネットワーク等で接続した形式でもよい。
例えば、冷熱機器システムにおいては、イベント通知機能は、冷熱機器(例えば、エアコンの室内機や室外機)そのものに内在していてもよいし、冷熱機器を統合的に管理制御する冷熱機器コントローラに内在していてもよい。後者の場合は、異常などのイベントは冷熱機器そのものが発生させるか、あるいは冷熱機器コントローラが冷熱機器の状態を監視してイベントを発生させる場合がある。なお、この場合、冷熱機器コントローラは独自のネットワークで各冷熱機器と接続し、冷熱機器コントローラは、LAN等にてルータ装置を経由してインターネット上のイベント中継サーバ装置2に接続する事になる。また、1つのイベント通知装置(例えば、冷熱機器コントローラなど)に複数のイベント発生装置(例えば、冷熱機器)が接続した形態であってもよい。
同様に、給湯器システム、床暖房システム、照明システム、エレベータシステム、オール電化システム、セキュリティシステム、監視カメラシステムあるいはFAシステムなどの各機器と各制御コントローラも同関係であってもよい。
Although only one event notification device 3 is displayed in FIG. 1, it is assumed that there are a plurality of event notification devices 3.
The event notification device 3 transmits event notification information (hereinafter referred to as event information) for notifying various events to the event relay server device 2. The event notification device 3 may be separately connected to a device that generates an event via a LAN or a unique network.
For example, in a refrigeration equipment system, the event notification function may be included in the refrigeration equipment (for example, an indoor unit or an outdoor unit of an air conditioner) itself, or in a refrigeration equipment controller that performs integrated management control of the refrigeration equipment. You may do it. In the latter case, an event such as an abnormality may be generated by the cooling / heating device itself, or the cooling / heating device controller may monitor the state of the cooling / heating device and generate an event. In this case, the cooling / heating device controller is connected to each cooling / heating device through a unique network, and the cooling / heating device controller is connected to the event relay server device 2 on the Internet via a router device via a LAN or the like. Further, a form in which a plurality of event generation devices (for example, cooling / heating devices) are connected to one event notification device (for example, a cooling / heating device controller) may be employed.
Similarly, each controller and each controller such as a water heater system, a floor heating system, a lighting system, an elevator system, an all-electric system, a security system, a surveillance camera system, or an FA system may have the same relationship.

イベント中継サーバ装置2は、イベント通知装置3からのイベント情報をルータ装置5を介して、イベント受信装置1に送信する。   The event relay server device 2 transmits the event information from the event notification device 3 to the event reception device 1 via the router device 5.

イベント受信装置1は、その受信したイベント情報を表示する装置と接続されていてもよいし、別途、メールシステムなどと連携して、受信したイベントを別途設定するあて先にメールを送信してもよい。また、イベント受信装置1は、イベント情報を蓄積し、Webサーバ機能などと連携し、たくわえたイベント内容をWebクライアントなどから確認できるように構成してもよい。   The event receiving device 1 may be connected to a device that displays the received event information, or may separately send a mail to a destination that separately sets the received event in cooperation with a mail system or the like. . In addition, the event receiving device 1 may be configured to accumulate event information, cooperate with a Web server function, and the like so that the stored event content can be confirmed from a Web client or the like.

次に、図3を用いて、本実施の形態に係る通信システムの動作を概説する。
本実施の形態では、イベント中継サーバ装置2(情報提供装置)が、イベント情報(通知情報)を発信する一つ以上のイベント通知装置3(通知情報発信装置)と接続され、また、イベント情報を取得するイベント受信装置1(情報取得装置)とルータ装置5を介して接続される。
そして、イベント中継サーバ装置2は、それぞれのイベント通知装置3からイベント情報を受信し、また、イベント受信装置1からは、イベント情報の送信を要求するリクエストを受信する。図3に示すように、イベント受信装置1は、イベント中継サーバ装置2からのリプライを受信する度にリクエストを送信し、イベント中継サーバ装置2に対して連続的にリクエストを送信する。
イベント中継サーバ装置2は、イベント受信装置1からのリクエストを受信した際に、イベント受信装置1に対するイベント情報を受信しているか否かを判断し、イベント受信装置1に対する通知情報を受信している場合に当該イベント情報を含むリプライを生成し、生成したリプライをルータ装置5を介してイベント受信装置1に送信する。
他方、イベント受信装置1に対するイベント情報を受信していない場合にいずれかのイベント通知装置3からのイベント情報の受信を待ち、一定期間の経過前にイベント受信装置1に対するイベント情報が受信された場合に当該イベント情報の受信に応答して直ちに当該イベント情報を含むリプライを生成し、生成したリプライをルータ装置5を介してイベント受信装置1に送信する。
また、一定時間を経過してもイベント受信装置1に対するイベント情報が受信されない場合に、イベント受信装置1に対するイベント情報が存在しない旨のリプライを生成し、生成したリプライをルータ装置5を介してイベント受信装置1に送信する。
イベント受信装置1では、イベント情報を受信した場合は、イベント情報に対する所定の処理を行う。
図3の例では、リクエスト(1)、(2)、(n)及び(n+2)に対する応答であるリプライ(1)、(2)、(n)及び(n+2)はイベント情報なしとのリプライであり、リクエスト(n+1)に対する応答であるリプライ(n+1)は、イベント情報が含まれるリプライである。
なお、イベント中継サーバ装置2の構成要素である端末アクセス受信部10及びイベント受信中継部13については後述する。
Next, the operation of the communication system according to the present embodiment will be outlined with reference to FIG.
In the present embodiment, the event relay server device 2 (information providing device) is connected to one or more event notification devices 3 (notification information transmission devices) that transmit event information (notification information), The event receiving device 1 (information acquisition device) to be acquired is connected to the router device 5 through the router 5.
Then, the event relay server device 2 receives event information from each event notification device 3, and receives a request for requesting transmission of event information from the event reception device 1. As illustrated in FIG. 3, the event reception device 1 transmits a request every time a reply is received from the event relay server device 2, and continuously transmits requests to the event relay server device 2.
When the event relay server device 2 receives a request from the event reception device 1, the event relay server device 2 determines whether or not event information for the event reception device 1 is received, and receives notification information for the event reception device 1. In this case, a reply including the event information is generated, and the generated reply is transmitted to the event receiving apparatus 1 via the router apparatus 5.
On the other hand, when event information for the event receiving device 1 is not received, waiting for reception of the event information from one of the event notification devices 3, and when event information for the event receiving device 1 is received before a certain period of time elapses In response to the reception of the event information, a reply including the event information is immediately generated, and the generated reply is transmitted to the event receiving device 1 via the router device 5.
Further, if event information for the event receiving device 1 is not received even after a predetermined time has elapsed, a reply indicating that there is no event information for the event receiving device 1 is generated, and the generated reply is sent to the event via the router device 5. Transmit to the receiver 1.
When receiving event information, the event receiving device 1 performs predetermined processing on the event information.
In the example of FIG. 3, replies (1), (2), (n) and (n + 2) which are responses to the requests (1), (2), (n) and (n + 2) are replies with no event information. Yes, reply (n + 1) which is a response to request (n + 1) is a reply including event information.
The terminal access receiving unit 10 and the event receiving relay unit 13 that are components of the event relay server device 2 will be described later.

図2は、実施の形態におけるイベント受信装置1、イベント中継サーバ装置2、イベント通知装置3の機能ブロックの構成の一例を示すブロック構成図である。
なお、図2では、ルータ装置5、LAN、インターネット4は省略されている。
FIG. 2 is a block configuration diagram illustrating an example of functional block configurations of the event reception device 1, the event relay server device 2, and the event notification device 3 according to the embodiment.
In FIG. 2, the router device 5, the LAN, and the Internet 4 are omitted.

イベント受信装置1は、サーバアクセス部6、イベント受信制御部7、イベント情報解析部8、イベント受信部9を有する。   The event reception device 1 includes a server access unit 6, an event reception control unit 7, an event information analysis unit 8, and an event reception unit 9.

サーバアクセス部6は、イベント中継サーバ装置2と通信する。通信のプロトコルには、HTTP又はHTTPSを用いるが、通常のゲートウェイ装置、ファイアウォールやプロキシで通過が許可されているプロトコルであれば、他のプロトコルを用いてもよい。
イベント受信制御部7は、イベント中継サーバ装置2に対してイベント情報の送信を要求するリクエストを生成する。
イベント情報解析部8は、サーバアクセス部6により受信されたイベント中継サーバ装置2からのリプライを解析し、リプライにイベント情報が含まれているかを判断する。
イベント受信部9は、イベント情報解析部8によりリプライにイベント情報が含まれていると判断された場合に、イベント情報解析部8からイベント情報を受信し、イベント情報に対する処理を行う。例えば、上述したように、イベント情報の表示や、所定の宛先へのメール送信等を行う。
The server access unit 6 communicates with the event relay server device 2. HTTP or HTTPS is used as the communication protocol, but other protocols may be used as long as the protocol is permitted to pass by a normal gateway device, firewall, or proxy.
The event reception control unit 7 generates a request for requesting the event relay server device 2 to transmit event information.
The event information analysis unit 8 analyzes the reply from the event relay server device 2 received by the server access unit 6 and determines whether event information is included in the reply.
When the event information analysis unit 8 determines that event information is included in the reply, the event reception unit 9 receives the event information from the event information analysis unit 8 and performs processing on the event information. For example, as described above, event information is displayed, mail is sent to a predetermined destination, and the like.

イベント中継サーバ装置2は、端末アクセス受信部10、イベント確認部11、イベント受信中継部13を有する。
端末アクセス受信部10は、イベント受信装置1から、イベント情報の送信を要求するリクエストを受信する。
イベント受信中継部13は、複数のイベント通知装置3のそれぞれからイベント情報を受信する。
イベント確認部11は、端末アクセス受信部10が、イベント受信装置1からのリクエストを受信した際に、イベント受信中継部13が、イベント受信装置1に対するイベント情報を受信しているか否かを判断する。イベント受信装置1に対するイベント情報を受信している場合に当該イベント情報を含むリプライを生成する。他方、イベント受信装置1に対するイベント情報を受信していない場合にいずれかのイベント通知装置3からのイベント情報の受信を待ち、一定期間の経過前にイベント受信装置1に対するイベント情報が受信された場合に当該イベント情報の受信に応答して直ちに当該イベント情報を含むリプライを生成し、一定時間を経過してもイベント受信装置1に対するイベント情報が受信されない場合に、イベント受信装置1に対するイベント情報が存在しない旨のリプライを生成する。
また、端末アクセス受信部10は、イベント確認部11により生成されたリプライをルータ装置5を介してイベント受信装置1に送信する。
端末アクセス受信部10は、リクエスト受信部及びリプライ送信部の例である。イベント確認部11は、リプライ生成部の例である。イベント受信中継部13は、通知情報受信部の例である。
The event relay server device 2 includes a terminal access reception unit 10, an event confirmation unit 11, and an event reception relay unit 13.
The terminal access receiving unit 10 receives a request for requesting transmission of event information from the event receiving device 1.
The event reception relay unit 13 receives event information from each of the plurality of event notification devices 3.
The event confirmation unit 11 determines whether or not the event reception relay unit 13 has received event information for the event reception device 1 when the terminal access reception unit 10 receives a request from the event reception device 1. . When event information for the event receiving device 1 is received, a reply including the event information is generated. On the other hand, when event information for the event receiving device 1 is not received, waiting for reception of the event information from one of the event notification devices 3, and when event information for the event receiving device 1 is received before a certain period of time elapses In response to the reception of the event information, a reply including the event information is generated immediately, and the event information for the event reception device 1 exists when the event information for the event reception device 1 is not received even after a predetermined time has elapsed. Generate a reply to the effect.
Further, the terminal access receiving unit 10 transmits the reply generated by the event confirming unit 11 to the event receiving device 1 via the router device 5.
The terminal access receiving unit 10 is an example of a request receiving unit and a reply transmitting unit. The event confirmation unit 11 is an example of a reply generation unit. The event reception relay unit 13 is an example of a notification information reception unit.

イベント通知装置3は、イベント通知部14を有する。
イベント通知部14は、イベント通知装置3で発生したイベント及びイベント通知装置3が管理する機器(例えば、上述の冷熱機器等)で発生したイベントの少なくともいずれかを通知するイベント情報をイベント中継サーバ装置2に送信する。
The event notification device 3 includes an event notification unit 14.
The event notification unit 14 displays event information that notifies at least one of an event that has occurred in the event notification device 3 and an event that has occurred in a device (for example, the above-described cooling device) managed by the event notification device 3. 2 to send.

ここで、本実施の形態に係るイベント受信装置1、イベント中継サーバ装置2、イベント通知装置3及びルータ装置5のハードウェア構成例について説明する。
図15は、本実施の形態及び以下に述べる実施の形態に示すイベント受信装置1、イベント中継サーバ装置2、イベント通知装置3及びルータ装置5のハードウェア資源の一例を示す図である。
図15において、イベント受信装置1、イベント中継サーバ装置2、イベント通知装置3及びルータ装置5は、プログラムを実行するCPU911(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサともいう)を備えている。CPU911は、バス912を介して、例えば、ROM(Read Only Memory)913、RAM(Random Access Memory)914、通信ボード915、表示装置901、キーボード902、マウス903、磁気ディスク装置920と接続され、これらのハードウェアデバイスを制御する。更に、CPU911は、FDD904(Flexible Disk Drive)、コンパクトディスク装置905(CDD)、プリンタ装置906、スキャナ装置907と接続していてもよい。また、磁気ディスク装置920の代わりに、光ディスク装置、メモリカード読み書き装置などの記憶装置でもよい。
RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、磁気ディスク装置920の記憶媒体は、不揮発性メモリの一例である。これらは、記憶装置あるいは記憶部の一例である。
通信ボード915、キーボード902、スキャナ装置907、FDD904などは、入力部、入力装置の一例である。
また、通信ボード915、表示装置901、プリンタ装置906などは、出力部、出力装置の一例である。
Here, a hardware configuration example of the event reception device 1, the event relay server device 2, the event notification device 3, and the router device 5 according to the present embodiment will be described.
FIG. 15 is a diagram illustrating an example of hardware resources of the event reception device 1, the event relay server device 2, the event notification device 3, and the router device 5 according to the present embodiment and the embodiments described below.
In FIG. 15, an event receiving device 1, an event relay server device 2, an event notification device 3, and a router device 5 are a CPU 911 (Central Processing Unit, a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer that executes a program. , Also referred to as a processor). The CPU 911 is connected to, for example, a ROM (Read Only Memory) 913, a RAM (Random Access Memory) 914, a communication board 915, a display device 901, a keyboard 902, a mouse 903, and a magnetic disk device 920 via a bus 912. Control hardware devices. Further, the CPU 911 may be connected to an FDD 904 (Flexible Disk Drive), a compact disk device 905 (CDD), a printer device 906, and a scanner device 907. Further, instead of the magnetic disk device 920, a storage device such as an optical disk device or a memory card read / write device may be used.
The RAM 914 is an example of a volatile memory. The storage media of the ROM 913, the FDD 904, the CDD 905, and the magnetic disk device 920 are an example of a nonvolatile memory. These are examples of a storage device or a storage unit.
The communication board 915, the keyboard 902, the scanner device 907, the FDD 904, and the like are examples of an input unit and an input device.
Further, the communication board 915, the display device 901, the printer device 906, and the like are examples of an output unit and an output device.

通信ボード915は、図1に示すように、インターネット又はLANに接続されている。
磁気ディスク装置920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。プログラム群923のプログラムは、CPU911、オペレーティングシステム921、ウィンドウシステム922により実行される。
The communication board 915 is connected to the Internet or a LAN as shown in FIG.
The magnetic disk device 920 stores an operating system 921 (OS), a window system 922, a program group 923, and a file group 924. The programs in the program group 923 are executed by the CPU 911, the operating system 921, and the window system 922.

上記プログラム群923には、本実施の形態及び以下に述べる実施の形態の説明において「〜部」として説明している機能を実行するプログラムが記憶されている。プログラムは、CPU911により読み出され実行される。
ファイル群924には、以下に述べる説明において、「〜の判定結果」、「〜の計算結果」、「〜の処理結果」、「〜の評価結果」等として説明している情報やデータや信号値や変数値やパラメータが、「〜ファイル」や「〜データベース」の各項目として記憶されている。「〜ファイル」や「〜データベース」は、ディスクやメモリなどの記録媒体に記憶される。ディスクやメモリになどの記憶媒体に記憶された情報やデータや信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出され、抽出・検索・参照・比較・演算・計算・処理・編集・出力・印刷・表示などのCPUの動作に用いられる。抽出・検索・参照・比較・演算・計算・処理・編集・出力・印刷・表示のCPUの動作の間、情報やデータや信号値や変数値やパラメータは、メインメモリ、レジスタ、キャッシュメモリ、バッファメモリ等に一時的に記憶される。
また、以下で説明するフローチャートの矢印の部分は主としてデータや信号の入出力を示し、データや信号値は、RAM914のメモリ、FDD904のフレキシブルディスク、CDD905のコンパクトディスク、磁気ディスク装置920の磁気ディスク、その他光ディスク、ミニディスク、DVD等の記録媒体に記録される。また、データや信号は、バス912や信号線やケーブルその他の伝送媒体によりオンライン伝送される。
The program group 923 stores programs that execute the functions described as “units” in the present embodiment and the following description of the embodiments. The program is read and executed by the CPU 911.
In the file group 924, information, data, and signals described as “determination result of”, “calculation result of”, “processing result of”, “evaluation result of”, etc. in the following description Values, variable values, and parameters are stored as items of “˜file” and “˜database”. The “˜file” and “˜database” are stored in a recording medium such as a disk or a memory. Information, data, signal values, variable values, and parameters stored in a storage medium such as a disk or memory are read out to the main memory or cache memory by the CPU 911 via a read / write circuit, and extracted, searched, referenced, compared, Used for CPU operations such as calculation, calculation, processing, editing, output, printing, and display. Information, data, signal values, variable values, and parameters are stored in the main memory, registers, cache memory, and buffers during the CPU operations of extraction, search, reference, comparison, calculation, processing, editing, output, printing, and display. It is temporarily stored in a memory or the like.
The arrows in the flowchart described below mainly indicate input / output of data and signals. The data and signal values are the RAM 914 memory, FDD 904 flexible disk, CDD 905 compact disk, magnetic disk device 920 magnetic disk, In addition, it is recorded on a recording medium such as an optical disc, a mini disc, or a DVD. Data and signals are transmitted online via a bus 912, signal lines, cables, or other transmission media.

また、本実施の形態及び以下に述べる実施の形態の説明において「〜部」として説明しているものは、「〜回路」、「〜装置」、「〜機器」、「手段」であってもよく、また、「〜ステップ」、「〜手順」、「〜処理」であってもよい。すなわち、「〜部」として説明しているものは、ROM913に記憶されたファームウェアで実現されていても構わない。或いは、ソフトウェアのみ、或いは、素子・デバイス・基板・配線などのハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。ファームウェアとソフトウェアは、プログラムとして、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD等の記録媒体に記憶される。プログラムはCPU911により読み出され、CPU911により実行される。すなわち、プログラムは、本実施の形態及び以下に述べる実施の形態の「〜部」としてコンピュータを機能させるものである。あるいは、本実施の形態及び以下に述べる実施の形態の「〜部」の手順や方法をコンピュータに実行させるものである。   In addition, what is described as “to part” in this embodiment and the following description of the embodiment may be “to circuit”, “to device”, “to device”, and “means”. It may also be “˜step”, “˜procedure”, “˜processing”. That is, what is described as “˜unit” may be realized by firmware stored in the ROM 913. Alternatively, it may be implemented only by software, or only by hardware such as elements, devices, substrates, and wirings, by a combination of software and hardware, or by a combination of firmware. Firmware and software are stored as programs in a recording medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, and a DVD. The program is read by the CPU 911 and executed by the CPU 911. That is, the program causes the computer to function as “to part” of the present embodiment and the embodiments described below. Alternatively, it causes a computer to execute the procedures and methods of “to part” of the present embodiment and the embodiments described below.

このように、本実施の形態及び以下に述べる実施の形態に示すイベント受信装置1、イベント中継サーバ装置2、イベント通知装置3及びルータ装置5は、処理装置たるCPU、記憶装置たるメモリ、磁気ディスク等、入力装置たるキーボード、マウス、通信ボード等、出力装置たる表示装置、通信ボード等を備えるコンピュータであり、上記したように「〜部」として示された機能をこれら処理装置、記憶装置、入力装置、出力装置を用いて実現するものである。   As described above, the event reception device 1, the event relay server device 2, the event notification device 3, and the router device 5 shown in the present embodiment and the embodiments described below are a CPU as a processing device, a memory as a storage device, and a magnetic disk. A computer including an input device such as a keyboard, a mouse, and a communication board, an output device such as a display device, a communication board, and the like. This is realized by using a device and an output device.

次に、イベント受信装置1の動作について、図4のフローチャート図を用いて説明する。
S401で、サーバアクセス部6は、イベント中継サーバ装置2に対してHTTPあるいはHTTPアクセスして、リクエストに対するリプライを得る。
S402で、イベント情報解析部8がこのリプライのデータを解析し、イベント情報が含まれているかどうかを判断する。イベント情報が含まれていない場合は、イベント受信制御部7により再度S1に戻る。イベント情報があれば、イベント情報解析部8はイベント受信部9にイベント情報を渡す。
次に、S403で、イベント受信部9は得たイベント情報を処理する。その後再度、S1に戻る。
Next, the operation of the event receiver 1 will be described with reference to the flowchart of FIG.
In S401, the server access unit 6 makes an HTTP or HTTP access to the event relay server device 2 and obtains a reply to the request.
In step S402, the event information analysis unit 8 analyzes the reply data to determine whether event information is included. If event information is not included, the event reception control unit 7 returns to S1 again. If there is event information, the event information analysis unit 8 passes the event information to the event reception unit 9.
In step S403, the event reception unit 9 processes the obtained event information. Thereafter, the process returns to S1 again.

次に、イベント中継サーバ装置2の動作例(情報提供方法)を図5及び図6を参照して説明する。   Next, an operation example (information providing method) of the event relay server device 2 will be described with reference to FIGS.

先ずは、イベント中継サーバ装置2のイベント受信中継部13の動作例を図5のフローチャートを用いて説明する。
先ず、S501において、イベント受信中継部13は、イベント通知装置3からイベント情報を受信する(通知情報受信ステップ)。
次に、S502において、イベント受信中継部13は、イベント確認部11にイベント情報の受信を通知し、受信したイベント情報をイベント確認部11に渡す。イベント確認部11では、イベント受信中継部13から受け取ったイベント情報を所定のバッファメモリに記憶する。
First, an operation example of the event reception relay unit 13 of the event relay server device 2 will be described with reference to the flowchart of FIG.
First, in S501, the event reception relay unit 13 receives event information from the event notification device 3 (notification information reception step).
In step S <b> 502, the event reception relay unit 13 notifies the event confirmation unit 11 of reception of the event information, and passes the received event information to the event confirmation unit 11. The event confirmation unit 11 stores the event information received from the event reception relay unit 13 in a predetermined buffer memory.

次に、イベント中継サーバ装置2の端末アクセス受信部10及びイベント確認部11の動作例について、図6のフローチャートを用いて説明する。
S601で、イベント中継サーバ装置2では、端末アクセス受信部10がイベント受信装置1からのアクセス(HTTPリクエスト、HTTPSリクエスト)を受ける(リクエスト受信ステップ)。
次に、S602で、イベント確認部11は、既に、イベント受信中継部13から、当該イベント受信装置1宛のイベント情報を受け取っているか否か、すなわち当該イベント受信装置1宛のイベント情報がバッファメモリに記憶されているか否かを判断し(リプライ生成ステップ)、既にイベント情報を受け取っている場合は、イベント確認部11は、ステップS606に進み、該当するイベント情報を付加してリプライを生成し(リプライ生成ステップ)、端末アクセス受信部10が当該リプライをルータ装置5を介してイベント受信装置1に送信する(リプライ送信ステップ)。
一方、S602において、イベント受信装置1宛のイベント情報が未受信と判断された場合は、S603で、イベント確認部11が、S601のリクエストの受信から一定時間が経過するか、あるいはイベント受信中継部13からイベント情報の受信の通知があるまで待つ(リプライ生成ステップ)。
ここで、イベント確認部11が、イベント受信中継部13からイベント情報を受け取っていない場合、つまり、一定時間たった場合(S604でNoの場合)は、S605に進み、イベント確認部11は、イベント情報なしのリプライを生成し端末アクセス受信部10が当該リプライをルータ装置5を介してイベント受信装置1に送信する(リプライ送信ステップ)。その後、処理は、S601に戻る。
他方、一定期間内にイベント確認部11がイベント受信中継部13からイベント情報を受け取った場合(S604でNoの場合)は、S606に進み、直ちに、該当するイベント情報を付加してリプライを生成し(リプライ生成ステップ)、端末アクセス受信部10が当該リプライをルータ装置5を介してイベント受信装置1に送信する(リプライ送信ステップ)。
Next, operation examples of the terminal access receiving unit 10 and the event confirmation unit 11 of the event relay server device 2 will be described with reference to the flowchart of FIG.
In S601, in the event relay server device 2, the terminal access receiving unit 10 receives access (HTTP request, HTTPS request) from the event receiving device 1 (request receiving step).
Next, in S602, the event confirmation unit 11 determines whether or not the event information addressed to the event reception device 1 has already been received from the event reception relay unit 13, that is, the event information addressed to the event reception device 1 is stored in the buffer memory. (Reply generation step), and if the event information has already been received, the event confirmation unit 11 proceeds to Step S606 and adds the corresponding event information to generate a reply ( (Reply generating step), the terminal access receiving unit 10 transmits the reply to the event receiving device 1 via the router device 5 (reply transmitting step).
On the other hand, if it is determined in S602 that the event information addressed to the event receiving apparatus 1 has not been received, in S603, the event confirmation unit 11 has passed a predetermined time from the reception of the request in S601, or the event reception relay unit Wait until there is a notification of reception of event information from 13 (reply generation step).
Here, when the event confirmation unit 11 has not received event information from the event reception relay unit 13, that is, when a predetermined time has elapsed (No in S604), the process proceeds to S605, where the event confirmation unit 11 The terminal access reception unit 10 transmits the reply to the event reception device 1 via the router device 5 (reply transmission step). Thereafter, the process returns to S601.
On the other hand, if the event confirmation unit 11 receives event information from the event reception relay unit 13 within a certain period (No in S604), the process proceeds to S606, and immediately adds the corresponding event information and generates a reply. (Reply generation step), the terminal access reception unit 10 transmits the reply to the event reception device 1 via the router device 5 (reply transmission step).

このように、本実施の形態では、イベント中継サーバ装置2の端末アクセス受信部10及びイベント確認部11は、イベント受信装置1に対するイベント情報を受信していない場合に、リクエストに対して、即座にリプライを返すのではなく、一定時間の間、イベント受信中継部13がイベント情報を受信するかどうかを待ち、イベント受信中継部13がイベント情報を受信したら、直ちに、イベント情報が含まれるリプライを返すので、イベントの即時通知が可能となる。
通常のポーリング方式と呼ばれる、リクエストを受けてレスポンスを即返し、イベント受信装置側で一定時間まって、リクエストを送信する方法では、この即時通知ができない。
As described above, in the present embodiment, the terminal access reception unit 10 and the event confirmation unit 11 of the event relay server device 2 immediately respond to a request when event information for the event reception device 1 is not received. Instead of returning a reply, it waits for a certain time whether the event reception relay unit 13 receives event information. When the event reception relay unit 13 receives the event information, it immediately returns a reply including the event information. Therefore, immediate notification of the event becomes possible.
This method, which is called a normal polling method, receives a request and immediately returns a response and waits for a certain time on the event receiving device side to transmit the request, so that this immediate notification cannot be made.

また、イベント受信装置は、NAPTルータあるいはWebプロキシを越えてイベント中継サーバ装置2と通信を行うが、イベント中継サーバ装置2からは、リクエスト・リプライのリプライでしかイベント情報の送信をしないので、イベント情報はNAPTルータあるいはWebプロキシを通過できる。
つまり、イベント受信装置1とイベント中継サーバ装置2間の通信はすべて、イベント受信装置1からイベント中継サーバ装置2へのHTTPあるいはHTTPSのアクセスおよびそのリプライで実現しているため、NAPTルータやWebプロキシ経由でのアクセスであっても端末とサーバ間の通信は可能である。
また、この通信により、イベント情報は、イベント中継サーバ装置からイベント受信装置へ渡す事ができる。
なお、本実施の形態では、イベント受信装置1からHTTPプロトコル又はHTTPSプロトコルに従ったリクエストを送信する例を説明したが、ルータ装置5がリプライとしてならば外部からのデータの通過を許可する通信プロトコルの形式で生成されたリクエストならば他の形式でもよい。そして、イベント中継サーバ装置2は、当該通信プロトコルの形式でリプライを生成する。
The event receiving device communicates with the event relay server device 2 across the NAPT router or the Web proxy. However, since the event relay server device 2 transmits event information only by request / reply reply, Information can pass through a NAPT router or a Web proxy.
That is, all communication between the event receiving device 1 and the event relay server device 2 is realized by HTTP or HTTPS access from the event receiving device 1 to the event relay server device 2 and its reply, so that a NAPT router or Web proxy is used. Communication between the terminal and the server is possible even when accessing via the Internet.
Also, through this communication, event information can be passed from the event relay server device to the event receiving device.
In the present embodiment, an example in which a request according to the HTTP protocol or the HTTPS protocol is transmitted from the event receiving apparatus 1 has been described. However, if the router apparatus 5 is a reply, a communication protocol that permits the passage of data from the outside. Any other format can be used as long as the request is generated in the format. Then, the event relay server device 2 generates a reply in the communication protocol format.

また、イベント受信装置からイベント中継サーバ装置へは、常時接続しているように見えるため、即時のイベント通知が可能である。これは、イベント受信装置からイベント中継サーバ装置にHTTPあるいはHTTPSアクセスし、一定期間の間接続した状態にしておき、一旦リプライを返す。その後、即座にイベント受信装置からイベント中継サーバ装置にアクセスすることを行う事により、常時接続しているのと同じ効果をもたらしている。そのため、本当に常時接続した場合には、途中のルータ装置5等が無通信状態と判断して自動的にTCPセッションを切断する場合があるが、この実施の形態では、そのような事態は発生しない。また、その無通信時の自動セッション断を防ぐための定期的な通信(KeepAlive)も不要である。   Further, since it seems that the event receiving device is always connected to the event relay server device, immediate event notification is possible. In this case, an HTTP or HTTPS access is made from the event receiving device to the event relay server device, the state is kept connected for a certain period, and a reply is once returned. Thereafter, by immediately accessing the event relay server device from the event receiving device, the same effect as that of the constant connection is brought about. For this reason, if the router device 5 or the like on the way is determined to be in a no-communication state when it is always connected, the TCP session may be automatically disconnected. However, in this embodiment, such a situation does not occur. . Further, periodic communication (KeepAlive) for preventing automatic session disconnection during no communication is also unnecessary.

以上、本実施の形態では、以下の手段を備えたイベント受信装置について説明した。
(a)イベント中継サーバ装置に対して、HTTPあるいはHTTPSプロトコルにより、イベント受信装置識別情報を送信し、そのリプライとしてデータを受信し、そのデータをイベント情報解析手段に渡すサーバアクセス手段、
(b)サーバアクセス手段から渡されたデータを解析し、イベント情報の有無を判断し、イベント情報を含む場合、イベント受信手段にそのイベント情報を渡すイベント情報解析手段、また、イベント情報を含まない場合は何もしないイベント情報解析手段、
(c)上記処理を繰り返し行うように制御するイベント受信制御手段、
(d)イベントを受けて処理するイベント受信手段。
As described above, in the present embodiment, the event receiving apparatus including the following means has been described.
(A) Server access means for transmitting event reception apparatus identification information to the event relay server apparatus by HTTP or HTTPS protocol, receiving data as a reply, and passing the data to the event information analysis means;
(B) Analyzing the data passed from the server access means, determining the presence or absence of event information, and including the event information, the event information analyzing means for passing the event information to the event receiving means, or not including the event information If the event information analysis means, do nothing
(C) event reception control means for controlling to repeat the above processing;
(D) Event receiving means for receiving and processing events.

また、本実施の形態では、以下の手段を備えたイベント中継サーバ装置について説明した。
(a)イベント受信装置から、HTTPあるいはHTTPSプロトコルにより、イベント受信装置識別情報を受信したあと、イベント確認手段からのイベント情報を受け、そのイベント情報を、同受信データのリプライとして、イベント受信装置に返す端末アクセス受信手段、
(a−2)上記で、イベント確認手段からのイベント通知が、別途定めた時間の間なかった場合は、そのイベント情報を載せずに、同受信データのリプライとして、イベント受信装置に返す端末アクセス受信手段。
In the present embodiment, the event relay server apparatus including the following means has been described.
(A) After receiving the event receiving device identification information from the event receiving device using the HTTP or HTTPS protocol, the event receiving device receives event information from the event confirming means, and the event information is sent to the event receiving device as a reply of the received data. Terminal access receiving means to return,
(A-2) In the above, if there is no event notification from the event confirmation means for a predetermined time, the terminal access is returned to the event receiving apparatus as a reply of the received data without putting the event information Receiving means.

また、本実施の形態に係る中継サーバ装置は、更に、以下の手段を備えていることを説明した。
(a)イベント受信中継手段から、イベント送信先のイベント受信装置識別情報とイベント情報を受け、当該イベント受信装置識別情報で示されるイベント受信装置からのアクセスを受けている端末アクセス受信手段に対して、イベント情報を通知する、イベント確認手段、
(b)イベント通知装置のイベント通知手段、イベント送信先のイベント受信装置識別情報とイベント情報を受け取り、イベント確認手段に渡すイベント受信中継手段。
Further, it has been described that the relay server device according to the present embodiment further includes the following means.
(A) From the event reception relay means, to the terminal access receiving means receiving the event receiving apparatus identification information and event information of the event transmission destination and receiving access from the event receiving apparatus indicated by the event receiving apparatus identification information , Event confirmation means to notify event information,
(B) Event notification means of the event notification device, event reception relay means for receiving event receiving device identification information and event information of the event transmission destination and passing them to the event confirmation means.

また、本実施の形態では、以下の手段を備えたイベント通知装置について説明した。
(a)イベント送信先のイベント受信装置識別情報とイベント情報を、イベント中継サーバ装置のイベント中継手段に送信するイベント通知手段。
Further, in the present embodiment, the event notification device including the following means has been described.
(A) Event notification means for transmitting the event receiving device identification information and event information of the event transmission destination to the event relay means of the event relay server device.

実施の形態2.
以上の実施の形態1では、イベント通知装置3が指定したイベント送信先のイベント受信装置1に、指定されたイベント内容をそのままイベント通知したものであるが、イベント通知先の変更や、イベント通知のドロップあるいは、複数先へのイベントの同時通知、あるいはイベント内容を変更したイベント通知を行う実施の形態を示す。
Embodiment 2. FIG.
In the first embodiment described above, the event notification device 3 specified by the event notification device 3 notifies the event receiving device 1 of the event transmission destination of the specified event content as it is. An embodiment in which a drop, simultaneous notification of events to a plurality of destinations, or event notification with changed event contents is performed will be described.

図7は、本実施の形態に係るシステム構成例を示している。
図7では、図1と異なり、イベント受信装置1が複数存在する。これ以外の点は、図1と同様である。各イベント受信装置1のtermxxとは、イベント受信装置1の識別番号である。
FIG. 7 shows a system configuration example according to the present embodiment.
In FIG. 7, unlike FIG. 1, there are a plurality of event receiving apparatuses 1. Other points are the same as in FIG. The termxx of each event receiving device 1 is an identification number of the event receiving device 1.

図2は、実施の形態におけるイベント受信装置1、イベント中継サーバ装置2、イベント通知装置3の機能ブロックの構成の一例を示すブロック構成図である。
なお、図5では、ルータ装置5、LAN、インターネット4は省略されている。
図8では、図2と比較して、イベント通知先決定部12とイベント通知ルールテーブル15が追加されている。これ以外の点は、図2と同様である。
なお、イベント通知先決定部12は送信先決定部の例である。
FIG. 2 is a block configuration diagram illustrating an example of functional block configurations of the event reception device 1, the event relay server device 2, and the event notification device 3 according to the embodiment.
In FIG. 5, the router device 5, the LAN, and the Internet 4 are omitted.
In FIG. 8, an event notification destination determination unit 12 and an event notification rule table 15 are added as compared with FIG. Other points are the same as in FIG.
The event notification destination determination unit 12 is an example of a transmission destination determination unit.

図8において、図2との違いは、イベント確認部11が、イベント受信中継部13から得たイベント送信先のイベント受信装置識別情報とイベント情報から、そのまま、該当するイベント受信装置向けのリプライを生成するのではなく、一旦、これらの情報を、イベント通知先決定部12に渡して、その、結果から得られる、0個以上のイベント送信先に対して、かつ、結果から得たイベント情報を含むリプライを生成する点である。
したがって、イベント送信先が0の場合は、当該イベント情報はドロップ、つまりはどのイベント受信装置1にもイベント通知されない。
イベント送信先が1個の場合は、イベント情報がその送信先に通知される。
また、イベント送信先が2個以上の場合は、イベント情報は、それぞれの送信先に複製されて同報される。
In FIG. 8, the difference from FIG. 2 is that the event confirmation unit 11 makes a reply for the corresponding event reception device as it is from the event reception device identification information and event information of the event transmission destination obtained from the event reception relay unit 13. Instead of generating the information, the information is once passed to the event notification destination determination unit 12, and the event information obtained from the result is obtained for the zero or more event transmission destinations obtained from the result. It is a point to generate a reply including.
Therefore, when the event transmission destination is 0, the event information is dropped, that is, no event is notified to any event receiving device 1.
When there is one event transmission destination, event information is notified to the transmission destination.
When there are two or more event destinations, the event information is duplicated and broadcast to each destination.

本実施の形態では、イベント受信中継部13(通知情報受信部)は、複数のイベント通知装置3(通知情報発信装置)のそれぞれから、イベント情報の仮の送信先を示す仮イベント通知先情報(仮送信先識別情報)が付加されたイベント情報を受信する。
そして、イベント通知先決定部12(送信先決定部)は、イベント情報に付加された仮イベント通知先情報を解析し、当該イベント情報の送信先を決定する。イベント通知先決定部12は、例えば、仮イベント通知先情報を解析した結果、仮イベント通知先情報に送信先として示されたイベント受信装置1以外のイベント受信装置1にも当該イベント情報を同報送信するか否かを決定する。
そして、イベント確認部11(リプライ生成部)は、イベント通知先決定部12によりイベント情報を二以上のイベント受信装置1に対して同報送信すると決定された場合に、同報送信の対象となる二以上のイベント受信装置1からのリクエストに対して当該イベント情報を含むリプライを生成する。
In the present embodiment, the event reception relay unit 13 (notification information reception unit) receives temporary event notification destination information (temporary event notification destination information) indicating a temporary transmission destination of event information from each of the plurality of event notification devices 3 (notification information transmission devices). Event information to which (temporary transmission destination identification information) is added is received.
Then, the event notification destination determination unit 12 (transmission destination determination unit) analyzes the temporary event notification destination information added to the event information, and determines the transmission destination of the event information. For example, as a result of analyzing the temporary event notification destination information, the event notification destination determination unit 12 broadcasts the event information to the event reception devices 1 other than the event reception device 1 indicated as the transmission destination in the temporary event notification destination information. Decide whether to send.
The event confirmation unit 11 (reply generation unit) becomes a target of broadcast transmission when the event notification destination determination unit 12 determines to broadcast the event information to two or more event reception devices 1. In response to requests from two or more event receiving apparatuses 1, a reply including the event information is generated.

また、イベント受信中継部13は、複数のイベント通知装置3のそれぞれから、複数種類のイベント情報を受信し、イベント通知先決定部12は、イベント情報の種類を解析し、当該イベント情報の送信先を決定する。イベント通知先決定部12は、例えば、イベント情報の種類を解析した結果、当該イベント情報を二以上のイベント受信装置1に対して同報送信するか否かを決定する。
そして、イベント確認部11は、イベント通知先決定部12によりイベント情報を二以上のイベント受信装置1に対して同報送信すると決定された場合に、同報送信の対象となる二以上のイベント受信装置1からのリクエストに対して当該イベント情報を含むリプライを生成する。
Further, the event reception relay unit 13 receives a plurality of types of event information from each of the plurality of event notification devices 3, and the event notification destination determination unit 12 analyzes the type of the event information and transmits the transmission destination of the event information To decide. For example, as a result of analyzing the type of event information, the event notification destination determination unit 12 determines whether or not to broadcast the event information to two or more event reception devices 1.
The event confirmation unit 11 receives two or more events to be broadcast when the event notification destination determination unit 12 determines to broadcast the event information to the two or more event reception devices 1. In response to a request from the device 1, a reply including the event information is generated.

また、イベント通知先決定部12は、イベント情報に付加された仮イベント通知先情報と当該イベント情報の種類とを解析し、当該イベント情報の送信先を決定する場合もある。   In addition, the event notification destination determination unit 12 may analyze the temporary event notification destination information added to the event information and the type of the event information to determine the transmission destination of the event information.

更に、イベント通知先決定部12は、イベント情報の送信先を決定するとともに、当該イベント情報のデータ変換を行うか否かを決定し、イベント確認部11は、イベント通知先決定部12によりいずれかのイベント情報のデータ変換を行うと決定された場合に、当該イベント情報のデータ変換を行ってデータ変換後のイベント情報を含むリプライを生成する。   Further, the event notification destination determination unit 12 determines a transmission destination of the event information and determines whether or not to perform data conversion of the event information, and the event confirmation unit 11 is selected by the event notification destination determination unit 12. When it is determined that the event information data conversion is performed, the event information data conversion is performed to generate a reply including the event information after the data conversion.

本実施の形態では、イベント通知先決定部12は、イベント情報を解析し、図9〜図11のイベント通知ルールテーブルに従って、イベント情報の送信先を決定する。   In the present embodiment, the event notification destination determination unit 12 analyzes the event information and determines the transmission destination of the event information according to the event notification rule tables of FIGS.

図9は、イベント通知先決定部12がイベント情報の送信先を決定する際に、参照するイベント通知ルールテーブルの例を示す。図9では、仮イベント通知先情報に基づいてイベント情報の送信先を決定する場合のイベント通知ルールテーブルの例を示す。
図9において、仮イベント送信先とは、仮イベント通知先情報であり、イベント情報の仮の送信先を示している。そして、実イベント送信先とは、イベント通知先決定部12が、実際にイベント情報を送信する送信先として決定するイベント受信装置1を示す。なお、termxxは、イベント受信装置1の識別番号であり、図7に示すようにイベント受信装置1には各々識別番号が設定されている。
例えば、仮イベント送信先としてterm1が指定された場合は実イベント送信先情報群としてterm1を返し、仮イベント送信先としてterm1xと指定された場合は、term10,term11,..term1nを返し、仮イベント送信先がterm0の場合は、このイベント情報を送信しない。
FIG. 9 shows an example of an event notification rule table to be referred to when the event notification destination determination unit 12 determines a transmission destination of event information. FIG. 9 shows an example of an event notification rule table in the case where the transmission destination of event information is determined based on temporary event notification destination information.
In FIG. 9, provisional event transmission destination is provisional event notification destination information and indicates a provisional transmission destination of event information. The actual event transmission destination indicates the event reception device 1 that the event notification destination determination unit 12 determines as a transmission destination that actually transmits event information. Here, termxx is an identification number of the event receiving device 1, and an identification number is set for each event receiving device 1 as shown in FIG.
For example, when term1 is specified as the temporary event transmission destination, term1 is returned as the actual event transmission destination information group, and when term1x is specified as the temporary event transmission destination, term10, term11,. . If term1n is returned and the temporary event transmission destination is term0, this event information is not transmitted.

図10は、イベント情報の種類に基づいてイベント情報の送信先を決定する場合のイベント通知ルールテーブルの例を示す。
図10では、INFO、ERROR、FATAL、DEBUG等のイベント情報の種類が示され、それぞれの種類に対して実イベント送信先が指定されている。
例えば、イベント情報がINFOあるいはINFOに該当する情報の場合は、実イベント送信先情報群としてterm1を返し、ERRORに該当する情報の場合は、term10,term11を返し、FATALの場合は、term10,term11...term1nを返し、DEBUGの場合は、このイベントを送信しない。
FIG. 10 shows an example of an event notification rule table when the event information transmission destination is determined based on the type of event information.
FIG. 10 shows types of event information such as INFO, ERROR, FATAL, DEBUG, and the actual event transmission destination is designated for each type.
For example, if the event information is information corresponding to INFO or INFO, term1 is returned as the real event transmission destination information group, term10, term11 is returned for information corresponding to ERROR, and term10, term11 is returned for FATAL. . . . term1n is returned, and in the case of DEBUG, this event is not transmitted.

図11は、仮イベント通知先情報とイベント情報の種類の組み合わせに基づいてイベント情報の送信先を決定する場合のイベント通知ルールテーブルの例を示す。
また、図11では、イベント情報に対して日本語変換、コード変換、データ圧縮等のデータ変換を行うか否かも示されている。
例えば、イベント情報がINFOに該当する情報の場合で、仮イベント送信先がterm1の場合は、実イベント送信先情報群としてterm1,term2を返し、当該イベント情報を日本語変換して送信する。また、イベント情報がINFOに該当する情報の場合で、仮イベント送信先がterm0の場合は、実イベント送信先情報群としてterm1を返し、当該イベント情報のデータのコード変換をして送信する。また、DEBUGの場合は、イベント情報を圧縮して送信する。
FIG. 11 shows an example of an event notification rule table when the event information transmission destination is determined based on the combination of the temporary event notification destination information and the type of event information.
FIG. 11 also shows whether or not to perform data conversion such as Japanese conversion, code conversion, and data compression on the event information.
For example, when the event information is information corresponding to INFO and the temporary event transmission destination is term1, term1 and term2 are returned as the actual event transmission destination information group, and the event information is converted into Japanese and transmitted. When the event information is information corresponding to INFO and the temporary event transmission destination is term0, term1 is returned as the actual event transmission destination information group, and the data of the event information is converted and transmitted. In the case of DEBUG, event information is compressed and transmitted.

次に、本実施の形態に係る動作(1:1のイベント通知)を図12を参照して説明する。
イベント受信装置1(term1,term10,term11,..term1n)は、イベント中継サーバ装置2の端末アクセス受信部10に対して、各々、リクエストを送信する。なお、図12では、作図上の都合から、イベント受信装置1(term1)とイベント中継サーバ装置2との間のリクエスト及びリプライしか示されていないが、各イベント受信装置1とイベント中継サーバ装置2との間でも同様にリクエスト及びリプライの送受信が行われているものとする。
イベント中継サーバ装置2の端末アクセス受信部10は、実施の形態1と同様に、イベント情報を受信していない場合は、イベント受信装置1からのリクエストを一定時間保持してから、そのリプライを返す。
リプライを受けたイベント受信装置1は、再度リクエストを送信する。これを、繰り返す。
上記状態で、イベント通知装置3(termX)から、イベント情報(仮イベント送信先=term1)を、イベント中継サーバ装置2のイベント受信中継部13が受信したとする。
イベント受信中継部13は、実施の形態1と同様に、イベント確認部11にイベント情報の受信を通知するとともに、当該イベント情報をイベント確認部11に渡す。イベント確認部11では、このイベント情報をイベント通知先決定部12に渡す。
イベント通知先決定部12は、イベント通知ルールテーブルを参照して、仮イベント送信先term1に該当するイベント受信装置term1を実イベント送信先として決定する(図12では、図9のイベント通知ルールテーブルを利用する例を示している)。
イベント確認部11は、イベント通知先決定部12により決定されたイベント情報の送信先であるイベント受信装置1(term1)に対するリプライ(イベント情報を含むリプライ)を生成する。
次に、端末アクセス受信部10は、即時に(通常は一定時間接続を保持するが)、対応するイベント受信装置1(term1)からのリクエストに対するリプライを送信する。これによって、イベント情報は、イベント通知装置(termX)からイベント受信装置1(term1)に渡される。
Next, the operation (1: 1 event notification) according to the present embodiment will be described with reference to FIG.
Each of the event receiving devices 1 (term1, term10, term11,... Term1n) transmits a request to the terminal access receiving unit 10 of the event relay server device 2. In FIG. 12, only requests and replies between the event receiving device 1 (term 1) and the event relay server device 2 are shown for convenience of drawing, but each event receiving device 1 and the event relay server device 2 are shown. Similarly, it is assumed that requests and replies are also transmitted and received between and.
As in the first embodiment, the terminal access receiving unit 10 of the event relay server device 2 holds a request from the event receiving device 1 for a certain period of time and returns a reply when no event information is received. .
The event receiving device 1 that has received the reply transmits the request again. This is repeated.
Assume that the event reception relay unit 13 of the event relay server device 2 receives event information (temporary event transmission destination = term1) from the event notification device 3 (termX) in the above state.
As in the first embodiment, the event reception relay unit 13 notifies the event confirmation unit 11 of reception of the event information and passes the event information to the event confirmation unit 11. The event confirmation unit 11 passes this event information to the event notification destination determination unit 12.
The event notification destination determination unit 12 refers to the event notification rule table and determines the event reception device term1 corresponding to the temporary event transmission destination term1 as the actual event transmission destination (in FIG. 12, the event notification rule table of FIG. Shows an example of use).
The event confirmation unit 11 generates a reply (reply including event information) for the event reception device 1 (term 1) that is the transmission destination of the event information determined by the event notification destination determination unit 12.
Next, the terminal access receiving unit 10 immediately sends a reply to the request from the corresponding event receiving device 1 (term1) (although normally maintaining the connection for a certain period of time). As a result, the event information is passed from the event notification device (termX) to the event reception device 1 (term1).

次に、本実施の形態に係る動作(1:Nのイベント通知)を図13を参照して説明する。
イベント受信装置1(term1,term10,term11,..term1n)は、イベント中継サーバ装置2の端末アクセス受信部10に対して、各々、リクエストを送信する。なお、図13では、作図上の都合から、一部のリクエスト及びリプライの送受信の状況しか示されていないが、各イベント受信装置1とイベント中継サーバ装置2との間で、図12に示したように、連続してリクエスト及びリプライの送受信が行われているものとする。
ここで、イベント通知装置3(termX)から、イベント情報(仮イベント送信先=term1x)を、イベント中継サーバ装置2のイベント受信中継部13が受信したとする。
イベント受信中継部13は、実施の形態1と同様に、イベント確認部11にイベント情報の受信を通知するとともに、当該イベント情報をイベント確認部11に渡す。イベント確認部11では、このイベント情報をイベント通知先決定部12に渡す。
イベント通知先決定部12は、イベント通知ルールテーブルを参照して、仮イベント送信先term1に該当するイベント受信装置1(term10.term11,..term1n)を実イベント送信先として決定する(図12では、図9のイベント通知ルールテーブルを利用する例を示している)。
イベント確認部11は、イベント通知先決定部12により決定されたイベント情報の送信先であるイベント受信装置1(term10.term11,..term1n)に対するリプライ(イベント情報を含むリプライ)を生成する。
次に、端末アクセス受信部10は、即時に(通常は一定時間接続を保持するが)、対応するイベント受信装置1(term10.term11,..term1n)からのリクエストに対するリプライを同報送信する。これによって、イベント情報は、イベント通知装置(termX)からイベント受信装置1(term10.term11,..term1n)に渡される。
Next, the operation (1: N event notification) according to the present embodiment will be described with reference to FIG.
Each of the event receiving devices 1 (term1, term10, term11,... Term1n) transmits a request to the terminal access receiving unit 10 of the event relay server device 2. In FIG. 13, only a part of request and reply transmission / reception states are shown for the convenience of drawing. However, FIG. 12 shows between each event receiving device 1 and the event relay server device 2. As described above, it is assumed that requests and replies are continuously transmitted and received.
Here, it is assumed that the event reception relay unit 13 of the event relay server device 2 receives event information (temporary event transmission destination = term1x) from the event notification device 3 (termX).
As in the first embodiment, the event reception relay unit 13 notifies the event confirmation unit 11 of reception of the event information and passes the event information to the event confirmation unit 11. The event confirmation unit 11 passes this event information to the event notification destination determination unit 12.
The event notification destination determination unit 12 refers to the event notification rule table and determines the event reception device 1 (term10.term11,... Term1n) corresponding to the temporary event transmission destination term1 as the actual event transmission destination (in FIG. 12, FIG. 9 shows an example of using the event notification rule table of FIG.
The event confirmation unit 11 generates a reply (reply including event information) for the event reception device 1 (term10.term11,... Term1n) that is the transmission destination of the event information determined by the event notification destination determination unit 12.
Next, the terminal access receiving unit 10 broadcasts a reply to a request from the corresponding event receiving device 1 (term10.term11,... Term1n) immediately (although normally maintaining a connection for a certain period of time). As a result, the event information is transferred from the event notification device (termX) to the event reception device 1 (term10.term11,... Term1n).

なお、図12、図13では、図9のイベント通知ルールテーブルを利用する例を説明したが、図10及び図11のイベント通知ルールテーブルを利用する場合も同様の処理である。   12 and 13, the example using the event notification rule table of FIG. 9 has been described, but the same processing is performed when the event notification rule table of FIGS. 10 and 11 is used.

次に、本実施の形態に係るイベント中継サーバ装置2の動作例を図14のフローチャートを用いて説明する。
図14において、S1401〜S1405は、図6のS601〜S605と同じなので、説明を省略する。
S1406では、イベント情報に示された仮イベント通知先情報、イベント情報の種類に基づき、図9〜図11のイベント通知ルールテーブルに従って、イベント通知先決定部12がイベント情報の送信先を決定する。
そして、S1407において、イベント確認部11が、イベント通知先決定部12によりイベント情報の送信先として決定されたイベント受信装置1からのリクエストに対してイベント情報を含むリプライを生成し、端末アクセス受信部10がイベント情報を含むリプライを送信する。
Next, an operation example of the event relay server device 2 according to the present embodiment will be described with reference to the flowchart of FIG.
In FIG. 14, S1401 to S1405 are the same as S601 to S605 of FIG.
In S1406, based on the temporary event notification destination information and the type of event information indicated in the event information, the event notification destination determination unit 12 determines the transmission destination of the event information according to the event notification rule table of FIGS.
In step S1407, the event confirmation unit 11 generates a reply including event information in response to the request from the event reception device 1 determined as the event information transmission destination by the event notification destination determination unit 12, and the terminal access reception unit 10 sends a reply containing event information.

このように、本実施の形態によれば、イベント通知先の変更や、イベント通知のドロップあるいは、複数先へのイベントの同時通知、あるいはイベント内容(データ形式)を変更したイベント通知が可能となる。   As described above, according to the present embodiment, it is possible to change an event notification destination, drop an event notification, simultaneously notify an event to a plurality of destinations, or to change an event content (data format). .

以上、本実施の形態では、以下の手段を持つイベント中継サーバ装置について説明した。
(a)イベント受信中継手段から得た、イベント送信先のイベント受信装置識別情報を、イベント通知先決定手段に渡して、新たなイベント送信先のイベント受信装置識別情報を得るイベント確認手段、
(b)イベント確認手段から得たイベント送信先のイベント受信装置識別情報から、イベント通知ルールテーブルを検索し、新たな0個以上のイベント送信先のイベント受信装置識別情報を返すイベント通知先決定手段、
(c)キーとなるイベント通知先情報(仮イベント通知先情報と呼ぶ)と、0個以上の新たなイベント通知先情報(実イベント通知先情報群と呼ぶ)の対応表を持つイベント通知ルールテーブル。
As described above, in the present embodiment, the event relay server apparatus having the following means has been described.
(A) Event confirmation means for obtaining event reception apparatus identification information of a new event transmission destination by passing event reception apparatus identification information of the event transmission destination obtained from the event reception relay means to the event notification destination determination means;
(B) Event notification destination determining means for searching the event notification rule table from event receiving apparatus identification information of the event transmission destination obtained from the event confirmation means, and returning event receiving apparatus identification information of new zero or more event transmission destinations. ,
(C) Event notification rule table having a correspondence table of event notification destination information (referred to as temporary event notification destination information) as a key and zero or more new event notification destination information (referred to as real event notification destination information group) .

また、本実施の形態では、以下の手段を持つイベント中継サーバ装置について説明した。
(a)イベント受信中継手段から得た、イベント情報を、イベント通知先決定手段に渡して、新たなイベント送信先のイベント受信装置識別情報を得るイベント確認手段、
(b)イベント確認手段から得たイベント情報から、イベント通知ルールテーブルを検索し、新たな0個以上のイベント送信先のイベント受信装置識別情報を返すイベント通知先決定手段、
(c)キーとなるイベント情報と、0個以上の新たなイベント通知先情報(実イベント通知先情報群と呼ぶ)の対応表を持つイベント通知ルールテーブル。
In the present embodiment, the event relay server apparatus having the following means has been described.
(A) Event confirmation means for passing the event information obtained from the event reception relay means to the event notification destination determination means and obtaining event reception device identification information of a new event transmission destination;
(B) an event notification destination determination unit that searches the event notification rule table from event information obtained from the event confirmation unit and returns event reception device identification information of new zero or more event transmission destinations;
(C) An event notification rule table having a correspondence table of event information as a key and zero or more new event notification destination information (referred to as a real event notification destination information group).

また、以下の手段を持つイベント中継サーバ装置についても説明した。
(a)イベント受信中継手段から得た、イベント情報及び、あるいはイベント送信先のイベント受信装置識別情報を、イベント通知先決定手段に渡して、新たなイベント内容とイベント送信先のイベント受信装置識別情報を得るイベント確認手段、
(b)イベント確認手段から得たイベント情報及び、あるいはイベント送信先のイベント受信装置識別情報から、イベント通知ルールテーブルを検索し、新たなイベント情報を返すイベント通知先決定手段、
(c)キーとなるイベント情報及び、あるいはイベント送信先のイベント受信装置識別情報と、新イベント情報の対応表あるいはイベント置き換えルールを持つイベント通知ルールテーブル。
The event relay server apparatus having the following means has also been described.
(A) The event information obtained from the event reception relay means and / or event transmission destination event reception device identification information is passed to the event notification destination determination means, and the new event content and event transmission destination event reception device identification information Event confirmation means,
(B) an event notification destination determination unit that searches the event notification rule table from the event information obtained from the event confirmation unit and / or the event reception device identification information of the event transmission destination and returns new event information;
(C) An event notification rule table having a correspondence table or event replacement rule between event information as a key and / or event receiving device identification information of an event transmission destination and new event information.

実施の形態1に係るシステム構成例を示す図。FIG. 3 is a diagram illustrating an example of a system configuration according to the first embodiment. 実施の形態1に係るイベント受信装置、イベント中継サーバ装置、イベント通知装置の構成例を示すブロック図。FIG. 3 is a block diagram illustrating a configuration example of an event reception device, an event relay server device, and an event notification device according to the first embodiment. 実施の形態1に係るイベント受信装置、イベント中継サーバ装置、イベント通知装置の動作の概要を示す図。FIG. 3 is a diagram illustrating an outline of operations of the event reception device, the event relay server device, and the event notification device according to the first embodiment. 実施の形態1に係るイベント受信装置の動作例を示すフローチャート図。FIG. 3 is a flowchart showing an operation example of the event receiving apparatus according to the first embodiment. 実施の形態1に係るイベント中継サーバ装置の動作例を示すフローチャート図。FIG. 3 is a flowchart showing an operation example of the event relay server apparatus according to the first embodiment. 実施の形態1に係るイベント中継サーバ装置の動作例を示すフローチャート図。FIG. 3 is a flowchart showing an operation example of the event relay server apparatus according to the first embodiment. 実施の形態2に係るシステム構成例を示す図。FIG. 4 is a diagram illustrating an example of a system configuration according to a second embodiment. 実施の形態2に係るイベント受信装置、イベント中継サーバ装置、イベント通知装置の構成例を示すブロック図。FIG. 4 is a block diagram illustrating a configuration example of an event reception device, an event relay server device, and an event notification device according to the second embodiment. 実施の形態2に係るイベント通知ルールテーブルの例を示す図。The figure which shows the example of the event notification rule table which concerns on Embodiment 2. FIG. 実施の形態2に係るイベント通知ルールテーブルの例を示す図。The figure which shows the example of the event notification rule table which concerns on Embodiment 2. FIG. 実施の形態2に係るイベント通知ルールテーブルの例を示す図。The figure which shows the example of the event notification rule table which concerns on Embodiment 2. FIG. 実施の形態2に係るイベント受信装置、イベント中継サーバ装置、イベント通知装置の動作の概要を示す図。The figure which shows the outline | summary of operation | movement of the event receiver which concerns on Embodiment 2, an event relay server apparatus, and an event notification apparatus. 実施の形態2に係るイベント受信装置、イベント中継サーバ装置、イベント通知装置の動作の概要を示す図。The figure which shows the outline | summary of operation | movement of the event receiver which concerns on Embodiment 2, an event relay server apparatus, and an event notification apparatus. 実施の形態2に係るイベント中継サーバ装置の動作例を示すフローチャート図。FIG. 6 is a flowchart showing an operation example of the event relay server apparatus according to the second embodiment. 実施の形態1、2に係るイベント受信装置、イベント中継サーバ装置、イベント通知装置、ルータ装置のハードウェア構成例を示す図。The figure which shows the hardware structural example of the event receiver which concerns on Embodiment 1, 2, an event relay server apparatus, an event notification apparatus, and a router apparatus.

符号の説明Explanation of symbols

1 イベント受信装置、2 イベント中継サーバ装置、3 イベント通知装置、4 インターネット、5 ルータ装置、6 サーバアクセス部、7 イベント受信制御部、8 イベント情報解析部、9 イベント受信部、10 端末アクセス受信部、11 イベント確認部、12 イベント通知先決定部、13 イベント受信中継部、14 イベント通知部、15 イベント通知ルールテーブル。   1 event receiving device, 2 event relay server device, 3 event notification device, 4 Internet, 5 router device, 6 server access unit, 7 event reception control unit, 8 event information analysis unit, 9 event reception unit, 10 terminal access reception unit , 11 Event confirmation unit, 12 Event notification destination determination unit, 13 Event reception relay unit, 14 Event notification unit, 15 Event notification rule table.

Claims (12)

通知情報を発信する一つ以上の通知情報発信装置と、通知情報を取得する情報取得装置と通信を行う情報提供装置であって、
それぞれの通知情報発信装置から通知情報を受信する通知情報受信部と、
通知情報の送信を要求するリクエストを前記情報取得装置から受信するリクエスト受信部と、
前記リクエスト受信部が前記情報取得装置からのリクエストを受信した際に、前記情報取得装置に対する通知情報が受信されているか否かを判断し、前記情報取得装置に対する通知情報が受信されていない場合にいずれかの通知情報発信装置からの通知情報の受信を待ち、一定期間の経過前に前記情報取得装置に対する通知情報が受信された場合に当該通知情報の受信に応答して当該通知情報を含むリプライを生成し、一定時間を経過しても前記情報取得装置に対する通知情報が受信されない場合に、前記情報取得装置に対する通知情報が存在しない旨のリプライを生成するリプライ生成部と、
前記リプライ生成部により生成されたリプライを前記情報取得装置に対して送信するリプライ送信部とを有することを特徴とする情報提供装置。
One or more notification information transmission devices that transmit notification information, and an information provision device that communicates with an information acquisition device that acquires notification information,
A notification information receiving unit for receiving notification information from each notification information transmitting device;
A request receiving unit for receiving a request for requesting transmission of notification information from the information acquisition device;
When the request reception unit receives a request from the information acquisition device, it determines whether notification information for the information acquisition device is received, and when notification information for the information acquisition device is not received A reply including the notification information in response to reception of the notification information when the notification information for the information acquisition device is received before the elapse of a predetermined period after waiting for reception of the notification information from one of the notification information transmission devices. A reply generation unit that generates a reply that the notification information for the information acquisition device does not exist when the notification information for the information acquisition device is not received even after a predetermined time has passed,
An information providing apparatus comprising: a reply transmission unit configured to transmit a reply generated by the reply generation unit to the information acquisition apparatus.
前記情報提供装置は、
外部からの情報取得装置へのアクセスを遮断する中継装置の外部に配置され、前記中継装置を介して前記情報取得装置と通信を行い、
前記リクエスト受信部は、
前記中継装置がリプライとしてならば外部からのデータの通過を許可する通信プロトコルの形式で生成されたリクエストを前記中継装置を介して前記情報取得装置から受信し、
前記リプライ生成部は、
前記通信プロトコルの形式でリプライを生成することを特徴とする請求項1に記載の情報提供装置。
The information providing apparatus includes:
Arranged outside the relay device that blocks access to the information acquisition device from outside, communicate with the information acquisition device via the relay device,
The request receiver
If the relay device is a reply, a request generated in the form of a communication protocol that permits the passage of data from outside is received from the information acquisition device via the relay device,
The reply generation unit
The information providing apparatus according to claim 1, wherein a reply is generated in the format of the communication protocol.
前記リクエスト受信部は、
HTTP(HyperText Transfer Protocol)プロトコル及びHTTPS(Hyper Text Transfer Protocol over Secure Sockets Layer)プロトコルのいずれかの形式で生成されたリクエストを受信し、
前記リプライ生成部は、
HTTPプロトコル及びHTTPSプロトコルのいずれかの形式でリプライを生成することを特徴とする請求項2に記載に情報提供装置。
The request receiver
Receives a request generated in either of the HTTP (Hyper Text Transfer Protocol) protocol and the HTTPS (Hyper Text Transfer Protocol over Secure Sockets Layer) protocol,
The reply generation unit
The information providing apparatus according to claim 2, wherein the reply is generated in any one of an HTTP protocol and an HTTPS protocol.
前記通知情報受信部は、
通知情報発信装置で発生したイベント及び通知情報発信装置が管理する機器で発生したイベントの少なくともいずれかを通知するイベント通知情報をそれぞれの通知情報発信装置から受信し、
前記リプライ生成部は、
前記通知情報受信部で受信されたイベント通知情報を含むリプライを生成することを特徴とする請求項1に記載の情報提供装置。
The notification information receiving unit
Receiving event notification information from each notification information transmitting device for notifying at least one of an event occurring in the notification information transmitting device and an event occurring in a device managed by the notification information transmitting device,
The reply generation unit
The information providing apparatus according to claim 1, wherein a reply including event notification information received by the notification information receiving unit is generated.
前記リクエスト受信部は、
複数の情報取得装置からリクエストを受信し、
前記通知情報受信部は、
それぞれの通知情報発信装置から、通知情報の仮の送信先を示す仮送信先識別情報が付加された通知情報を受信し、
前記情報提供装置は、更に、
前記通知情報受信部により受信された通知情報に付加された仮送信先識別情報を解析し、当該通知情報の送信先を決定する送信先決定部を有し、
前記リプライ生成部は、
前記送信先決定部により送信先として決定された情報取得装置からのリクエストに対して当該通知情報を含むリプライを生成することを特徴とする請求項1に記載の情報提供装置。
The request receiver
Receive requests from multiple information acquisition devices,
The notification information receiving unit
From each notification information transmitting device, receive notification information to which temporary transmission destination identification information indicating a temporary transmission destination of notification information is added,
The information providing apparatus further includes:
Analyzing the temporary transmission destination identification information added to the notification information received by the notification information receiving unit, and having a transmission destination determination unit for determining the transmission destination of the notification information;
The reply generation unit
The information providing apparatus according to claim 1, wherein a reply including the notification information is generated for a request from an information acquisition apparatus determined as a transmission destination by the transmission destination determination unit.
前記リクエスト受信部は、
複数の情報取得装置からリクエストを受信し、
前記通知情報受信部は、
それぞれの通知情報発信装置から、複数種類の通知情報を受信し、
前記情報提供装置は、更に、
前記通知情報受信部により受信された通知情報の種類を解析し、当該通知情報の送信先を決定する送信先決定部を有し、
前記リプライ生成部は、
前記送信先決定部により送信先として決定された情報取得装置からのリクエストに対して当該通知情報を含むリプライを生成することを特徴とする請求項1に記載の情報提供装置。
The request receiver
Receive requests from multiple information acquisition devices,
The notification information receiving unit
Receive multiple types of notification information from each notification information transmission device,
The information providing apparatus further includes:
Analyzing the type of notification information received by the notification information receiving unit, and having a transmission destination determination unit that determines a transmission destination of the notification information,
The reply generation unit
The information providing apparatus according to claim 1, wherein a reply including the notification information is generated for a request from an information acquisition apparatus determined as a transmission destination by the transmission destination determination unit.
前記通知情報受信部は、
それぞれの通知情報発信装置から、複数種類の通知情報を受信し、
前記送信先決定部は、
前記通知情報受信部により受信された通知情報に付加された仮送信先識別情報と当該通知情報の種類とを解析し、当該通知情報の送信先を決定することを特徴とする請求項5に記載の情報提供装置。
The notification information receiving unit
Receive multiple types of notification information from each notification information transmission device,
The transmission destination determination unit
6. The temporary transmission destination identification information added to the notification information received by the notification information receiving unit and the type of the notification information are analyzed, and the transmission destination of the notification information is determined. Information provision device.
前記送信先決定部は、
通知情報の送信先を決定するとともに、当該通知情報のデータ変換を行うか否かを決定し、
前記リプライ生成部は、
前記送信先決定部によりいずれかの通知情報のデータ変換を行うと決定された場合に、当該通知情報のデータ変換を行ってデータ変換後の通知情報を含むリプライを生成することを特徴とする請求項5〜7のいずれかに記載の情報提供装置。
The transmission destination determination unit
Determine the destination of the notification information, determine whether to perform data conversion of the notification information,
The reply generation unit
When it is determined by the transmission destination determination unit to perform data conversion on any of the notification information, a reply including the notification information after the data conversion is generated by performing data conversion on the notification information. Item 8. The information providing device according to any one of Items 5 to 7.
前記送信先決定部は、
仮送信先識別情報を解析した結果、仮送信先識別情報に送信先として示された情報取得装置以外の情報取得装置にも当該通知情報を同報送信するか否かを決定し、
前記リプライ生成部は、
前記送信先決定部により通知情報を二以上の情報取得装置に対して同報送信すると決定された場合に、同報送信の対象となる二以上の情報取得装置からのリクエストに対して当該通知情報を含むリプライを生成することを特徴とする請求項5に記載の情報提供装置。
The transmission destination determination unit
As a result of analyzing the temporary transmission destination identification information, it is determined whether or not to broadcast the notification information to an information acquisition device other than the information acquisition device indicated as the transmission destination in the temporary transmission destination identification information,
The reply generation unit
When the transmission destination determination unit determines to broadcast the notification information to two or more information acquisition devices, the notification information in response to a request from two or more information acquisition devices to be broadcasted The information providing apparatus according to claim 5, wherein a reply including the message is generated.
前記送信先決定部は、
通知情報の種類を解析した結果、当該通知情報を二以上の情報取得装置に対して同報送信するか否かを決定し、
前記リプライ生成部は、
前記送信先決定部により通知情報を二以上の情報取得装置に対して同報送信すると決定された場合に、同報送信の対象となる二以上の情報取得装置からのリクエストに対して当該通知情報を含むリプライを生成することを特徴とする請求項6に記載の情報提供装置。
The transmission destination determination unit
As a result of analyzing the type of notification information, determine whether to broadcast the notification information to two or more information acquisition devices,
The reply generation unit
When the transmission destination determination unit determines to broadcast the notification information to two or more information acquisition devices, the notification information in response to a request from two or more information acquisition devices to be broadcasted The information providing apparatus according to claim 6, wherein a reply including the message is generated.
通知情報を発信する一つ以上の通知情報発信装置と、通知情報を取得する情報取得装置と通信を行う情報提供方法であって、
それぞれの通知情報発信装置から通知情報を受信する通知情報受信ステップと、
通知情報の送信を要求するリクエストを前記情報取得装置から受信するリクエスト受信ステップと、
前記リクエスト受信ステップが前記情報取得装置からのリクエストを受信した際に、前記情報取得装置に対する通知情報が受信されているか否かを判断し、前記情報取得装置に対する通知情報が受信されていない場合にいずれかの通知情報発信装置からの通知情報の受信を待ち、一定期間の経過前に前記情報取得装置に対する通知情報が受信された場合に当該通知情報の受信に応答して当該通知情報を含むリプライを生成し、一定時間を経過しても前記情報取得装置に対する通知情報が受信されない場合に、前記情報取得装置に対する通知情報が存在しない旨のリプライを生成するリプライ生成ステップと、
前記リプライ生成ステップにより生成されたリプライを前記情報取得装置に対して送信するリプライ送信ステップとを有することを特徴とする情報提供方法。
An information providing method for communicating with one or more notification information transmission devices for transmitting notification information and an information acquisition device for acquiring notification information,
A notification information receiving step for receiving notification information from each notification information transmitting device;
A request reception step for receiving a request for requesting transmission of notification information from the information acquisition device;
When the request reception step receives a request from the information acquisition device, it is determined whether notification information for the information acquisition device is received, and when the notification information for the information acquisition device is not received A reply including the notification information in response to reception of the notification information when the notification information for the information acquisition device is received before the elapse of a predetermined period after waiting for reception of the notification information from one of the notification information transmission devices. A reply generation step of generating a reply that the notification information for the information acquisition device does not exist when the notification information for the information acquisition device is not received even after a predetermined time has passed,
A reply transmission step of transmitting the reply generated by the reply generation step to the information acquisition device.
通知情報を発信する一つ以上の通知情報発信装置と、通知情報を取得する情報取得装置と通信を行うコンピュータに、
それぞれの通知情報発信装置から通知情報を受信する通知情報受信処理と、
通知情報の送信を要求するリクエストを前記情報取得装置から受信するリクエスト受信処理と、
前記リクエスト受信処理が前記情報取得装置からのリクエストを受信した際に、前記情報取得装置に対する通知情報が受信されているか否かを判断し、前記情報取得装置に対する通知情報が受信されていない場合にいずれかの通知情報発信装置からの通知情報の受信を待ち、一定期間の経過前に前記情報取得装置に対する通知情報が受信された場合に当該通知情報の受信に応答して当該通知情報を含むリプライを生成し、一定時間を経過しても前記情報取得装置に対する通知情報が受信されない場合に、前記情報取得装置に対する通知情報が存在しない旨のリプライを生成するリプライ生成処理と、
前記リプライ生成処理により生成されたリプライを前記情報取得装置に対して送信するリプライ送信処理とを実行させることを特徴とするプログラム。
One or more notification information transmission devices that transmit notification information, and a computer that communicates with an information acquisition device that acquires notification information,
Notification information reception processing for receiving notification information from each notification information transmitting device;
A request reception process for receiving a request for transmission of notification information from the information acquisition device;
When the request reception process receives a request from the information acquisition device, it determines whether notification information for the information acquisition device is received, and when the notification information for the information acquisition device is not received A reply including the notification information in response to reception of the notification information when the notification information for the information acquisition device is received before the elapse of a predetermined period after waiting for reception of the notification information from one of the notification information transmission devices. A reply generation process for generating a reply indicating that there is no notification information for the information acquisition device when notification information for the information acquisition device is not received even after a predetermined time has passed,
A program for executing a reply transmission process for transmitting a reply generated by the reply generation process to the information acquisition apparatus.
JP2006162358A 2006-06-12 2006-06-12 Information providing apparatus and information providing method, and program Pending JP2007335960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006162358A JP2007335960A (en) 2006-06-12 2006-06-12 Information providing apparatus and information providing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006162358A JP2007335960A (en) 2006-06-12 2006-06-12 Information providing apparatus and information providing method, and program

Publications (1)

Publication Number Publication Date
JP2007335960A true JP2007335960A (en) 2007-12-27

Family

ID=38935055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006162358A Pending JP2007335960A (en) 2006-06-12 2006-06-12 Information providing apparatus and information providing method, and program

Country Status (1)

Country Link
JP (1) JP2007335960A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009088048A1 (en) * 2008-01-10 2009-07-16 Hiroshi Nishino Event notification intermediating system, event notification intermediating method, and program
JP2014059715A (en) * 2012-09-18 2014-04-03 Ricoh Co Ltd Request transmission device, apparatus, request transmission system, request transmission method, and program
CN106379785A (en) * 2016-11-10 2017-02-08 深圳益强信息科技有限公司 Big data and internet of things combined alarm system and method
CN106429688A (en) * 2016-11-08 2017-02-22 深圳企管加企业服务有限公司 Elevator alarm system and method for city
CN106516930A (en) * 2016-11-08 2017-03-22 深圳企管加企业服务有限公司 Building display screen and internet of things combined information display system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002099975A (en) * 2000-09-21 2002-04-05 Yamatake Building Systems Co Ltd Remote monitoring system
JP2003223689A (en) * 2002-01-29 2003-08-08 Yokogawa Electric Corp Monitoring system
JP2003273932A (en) * 2002-03-19 2003-09-26 Nsi Co Ltd Log collection server
JP2004118325A (en) * 2002-09-24 2004-04-15 Sega Corp Data communication method and data communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002099975A (en) * 2000-09-21 2002-04-05 Yamatake Building Systems Co Ltd Remote monitoring system
JP2003223689A (en) * 2002-01-29 2003-08-08 Yokogawa Electric Corp Monitoring system
JP2003273932A (en) * 2002-03-19 2003-09-26 Nsi Co Ltd Log collection server
JP2004118325A (en) * 2002-09-24 2004-04-15 Sega Corp Data communication method and data communication system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009088048A1 (en) * 2008-01-10 2009-07-16 Hiroshi Nishino Event notification intermediating system, event notification intermediating method, and program
JP2014059715A (en) * 2012-09-18 2014-04-03 Ricoh Co Ltd Request transmission device, apparatus, request transmission system, request transmission method, and program
CN106429688A (en) * 2016-11-08 2017-02-22 深圳企管加企业服务有限公司 Elevator alarm system and method for city
CN106516930A (en) * 2016-11-08 2017-03-22 深圳企管加企业服务有限公司 Building display screen and internet of things combined information display system and method
CN106379785A (en) * 2016-11-10 2017-02-08 深圳益强信息科技有限公司 Big data and internet of things combined alarm system and method

Similar Documents

Publication Publication Date Title
US7936743B2 (en) Method and system for determining a path between two points of an IP network over which datagrams are transmitted
US20120140021A1 (en) Apparatus, system, and method of communication, and recording medium storing communication control program
JP6881949B2 (en) Management system and control method
JP2005311773A (en) Notifying method, connecting device, communicating method, and program
US9967412B2 (en) Information processing apparatus, system, and control method for information processing apparatus
JP2005267303A (en) Information processing apparatus, network system and method for controlling network system
JP2006011888A (en) Remote management system
JP2008015616A (en) Shared gateway computer
JP2007335960A (en) Information providing apparatus and information providing method, and program
JP2010245710A (en) Network management device, communication system, network management method, and program
CN103218188A (en) Information processing apparatus, method for controlling an information processing apparatus, and image forming system
KR100852198B1 (en) Discovery apparatus and method therefor
JP2004355634A (en) Remote control method and device of network electronic apparatus
US8135742B2 (en) Proxy service providing apparatus, service providing method, and network system
JP2006203731A (en) Network repeating device, network connection information browsing system and network connection information notification method
JP5084782B2 (en) Apparatus, method, and program for detecting a repeater
KR20170034219A (en) Method for providing service trough solution server under secure environment, apparatus and system for performing the same
JP6336377B2 (en) Network system and image forming apparatus
US10791179B2 (en) Remote management system for specifying a protocol to be used between an intermediary device and a device in a remote system
US11824942B2 (en) Communication system, information processing apparatus, and information processing method
JPWO2011117959A1 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2008181519A (en) System and method for finding document processor on network
JP5014040B2 (en) Gateway device, gateway method of gateway device, and gateway program
JP2007150936A (en) Switching hub apparatus and duplicate ip address automatic conversion method
US9467501B2 (en) Relay server system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110412

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110802