JP6364262B2 - Server, message processing system, message processing method and program - Google Patents
Server, message processing system, message processing method and program Download PDFInfo
- Publication number
- JP6364262B2 JP6364262B2 JP2014139675A JP2014139675A JP6364262B2 JP 6364262 B2 JP6364262 B2 JP 6364262B2 JP 2014139675 A JP2014139675 A JP 2014139675A JP 2014139675 A JP2014139675 A JP 2014139675A JP 6364262 B2 JP6364262 B2 JP 6364262B2
- Authority
- JP
- Japan
- Prior art keywords
- notification
- information
- message
- destination information
- component
- 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.)
- Active
Links
Images
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- Computer And Data Communications (AREA)
Description
本発明は、所定のメッセージを処理する際に用いて好適なサーバ、メッセージ処理システム、メッセージ処理方法及びプログラムに関する。 The present invention relates to a server, a message processing system, a message processing method, and a program suitable for use in processing a predetermined message.
監視対象装置に故障等の警報通知の必要のある事象が発生したことを示す監視システムが提案されている(例えば特許文献1)。システムは主に、監視対象からのメッセージの通知機能、中央管理サーバでの受信機能、警報発信の機能から構成されており、監視システムに加わるには既に構築され導入されている機能類を導入していた。 There has been proposed a monitoring system indicating that an event requiring alarm notification such as a failure has occurred in a monitoring target device (for example, Patent Document 1). The system mainly consists of a notification function for messages from the monitoring target, a reception function at the central management server, and an alarm transmission function. In order to participate in the monitoring system, the functions already built and introduced are introduced. It was.
なお、本願において「メッセージ」は、TCP/IP(Transmission Control Protocol/Internet Protocol)ネットワークにおけるアプリケーション層(すなわち、OSI(Open Systems Interconnection)参照モデルにおけるアプリケーション層、プレゼンテーション層又はセッション層)で扱われるデータ単位を意味するものとする。 In the present application, a “message” is a data unit handled in an application layer in a TCP / IP (Transmission Control Protocol / Internet Protocol) network (that is, an application layer, a presentation layer, or a session layer in an OSI (Open Systems Interconnection) reference model). Means.
監視対象装置が全国各地に多数存在する場合もあるが、システムを構成する監視対象からの通知メッセージの送信、中央管理サーバでの通知メッセージの受信、受信した通知メッセージに基づく警報発信の各機能は一体化されており、導入する際に各所でカスタマイズすることは容易ではなかった。また、システム更改の際には例え監視対象装置が備えるセンサからの情報の受け付けを行う機能のみの更改であっても、全体の更改となっていた。さらに多種類の警報が存在する場合、ある箇所では必要の無い警報であってもシステム全体として対処しなければならず、機能拡張が容易ではなかった。 There are cases where there are many monitored devices all over the country, but each function of sending notification messages from the monitoring targets that make up the system, receiving notification messages at the central management server, and issuing alerts based on the received notification messages It has been integrated and it has not been easy to customize at various points during installation. Further, when the system is renewed, even if it is a renewal of only the function of accepting information from the sensor included in the monitoring target device, it is a whole renewal. Furthermore, when there are many types of alarms, even an alarm that is not necessary at a certain point must be dealt with as a whole system, and the function expansion is not easy.
本発明は、上記の事情を考慮してなされたものであり、機能の更改や拡張を容易とすることができるサーバ、メッセージ処理システム、メッセージ処理方法及びプログラムを提供する。 The present invention has been made in view of the above circumstances, and provides a server, a message processing system, a message processing method, and a program that can easily update or expand functions.
本発明の一態様は、認証情報と第1宛先情報と通知情報とを含む通知メッセージを所定の通知部から受信した場合、前記認証情報に基づき前記通知メッセージの正当性が確認されたとき、前記通知情報に対応する情報を含む転送メッセージを生成し、前記第1宛先情報を送り先に指定して所定の連携部に書き込む通信部と、前記連携部に対し第2宛先情報をそれぞれ登録するとともに、前記連携部から前記転送メッセージを受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行う複数の処理部と、前記通信部によって前記転送メッセージが書き込まれた場合、当該転送メッセージの送り先として指定された前記第1宛先情報に対応する前記第2宛先情報を登録した1又は複数の前記処理部に対して当該転送メッセージを引き渡す連携部とを備えることを特徴とするサーバである。 In one aspect of the present invention, when a notification message including authentication information, first destination information, and notification information is received from a predetermined notification unit, when the validity of the notification message is confirmed based on the authentication information, A transfer message including information corresponding to the notification information is generated, the first destination information is designated as a destination and a communication unit that writes in a predetermined linkage unit, and second destination information is registered in the linkage unit. When the transfer message is received from the cooperation unit, a plurality of processing units each performing predetermined processing using the transfer message, and when the transfer message is written by the communication unit, designated as a destination of the transfer message The transfer message is delivered to one or a plurality of the processing units that have registered the second destination information corresponding to the first destination information. A server, characterized in that it comprises a linkage unit.
本発明の一態様は、上記サーバにおいて、前記連携部が、複数の前記第2宛先情報を相互に対応付け可能に登録することを特徴とする。 One aspect of the present invention is characterized in that, in the server, the cooperation unit registers a plurality of the second destination information so as to be associated with each other.
本発明の一態様は、上記サーバにおいて、前記通知部には、前記通信部に設定されたものとは異なるドメインが設定されていることを特徴とする。 One aspect of the present invention is characterized in that, in the server, a domain different from that set in the communication unit is set in the notification unit.
本発明の一態様は、上記サーバにおいて、前記通知メッセージが、HTTPメッセージであり、前記通信部が、前記通知メッセージが含むメソッド又はヘッダの内容の少なくとも一方に基づき当該通知メッセージの受け入れを制限することを特徴とする。 In one aspect of the present invention, in the server, the notification message is an HTTP message, and the communication unit restricts acceptance of the notification message based on at least one of a method and a header content included in the notification message. It is characterized by.
本発明の一態様は、認証情報と第1宛先情報と通知情報とを含む通知メッセージを所定の通知部から受信した場合、前記認証情報に基づき前記通知メッセージの正当性が確認されたとき、前記通知情報に対応する情報を含む転送メッセージを生成し、前記第1宛先情報を送り先に指定して所定の連携部に書き込む通信部と、前記連携部に対し第2宛先情報をそれぞれ登録するとともに、前記連携部から前記転送メッセージを受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行う複数の処理部と、前記通信部によって前記転送メッセージが書き込まれた場合、当該転送メッセージの送り先として指定された前記第1宛先情報に対応する前記第2宛先情報を登録した1又は複数の前記処理部に対して当該転送メッセージを引き渡す連携部とを備えるサーバと、前記通知部とを備えることを特徴とするメッセージ処理システムである。 In one aspect of the present invention, when a notification message including authentication information, first destination information, and notification information is received from a predetermined notification unit, when the validity of the notification message is confirmed based on the authentication information, A transfer message including information corresponding to the notification information is generated, the first destination information is designated as a destination and a communication unit that writes in a predetermined linkage unit, and second destination information is registered in the linkage unit. When the transfer message is received from the cooperation unit, a plurality of processing units each performing predetermined processing using the transfer message, and when the transfer message is written by the communication unit, designated as a destination of the transfer message The transfer message is delivered to one or a plurality of the processing units that have registered the second destination information corresponding to the first destination information. A server and a linkage unit, a message processing system characterized by comprising said notification unit.
本発明の一態様は、通信部が、認証情報と第1宛先情報と通知情報とを含む通知メッセージを所定の通知部から受信した場合に、前記認証情報に基づき前記通知メッセージの正当性が確認されたとき、前記通知情報に対応する情報を含む転送メッセージを生成し、前記第1宛先情報を送り先に指定して所定の連携部に書き込むステップと、複数の処理部が、前記連携部に対し第2宛先情報をそれぞれ登録するとともに、前記連携部から前記転送メッセージを受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行うステップと、前記連携部が、前記通信部によって前記転送メッセージが書き込まれた場合に、当該転送メッセージの送り先として指定された前記第1宛先情報に対応する前記第2宛先情報を登録した1又は複数の前記処理部に対して当該転送メッセージを引き渡すステップとを含むことを特徴とするメッセージ処理方法である。 In one aspect of the present invention, when the communication unit receives a notification message including authentication information, first destination information, and notification information from a predetermined notification unit, the validity of the notification message is confirmed based on the authentication information. A transfer message including information corresponding to the notification information is generated, the first destination information is designated as a destination and written to a predetermined linkage unit, and a plurality of processing units are provided to the linkage unit. Each of the second destination information is registered, and when the transfer message is received from the cooperation unit, a predetermined process is performed using the transfer message, and the cooperation unit sends the transfer message to the communication unit. If written, the one or more previous registrations of the second destination information corresponding to the first destination information designated as the destination of the transfer message A message processing method characterized by comprising the step of delivering the forwarding message to the processor.
本発明の一態様は、認証情報と第1宛先情報と通知情報とを含む通知メッセージを所定の通知部から受信した場合、前記認証情報に基づき前記通知メッセージの正当性が確認されたとき、前記通知情報に対応する情報を含む転送メッセージを生成し、前記第1宛先情報を送り先に指定して所定の連携部に書き込む通信部と、前記連携部に対し第2宛先情報をそれぞれ登録するとともに、前記連携部から前記転送メッセージを受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行う複数の処理部と、前記通信部によって前記転送メッセージが書き込まれた場合、当該転送メッセージの送り先として指定された前記第1宛先情報に対応する前記第2宛先情報を登録した1又は複数の前記処理部に対して当該転送メッセージを引き渡す連携部とを備えるサーバにおいて、前記通信部が、前記生成した転送メッセージを前記第1宛先情報を送り先に指定して前記連携部に書き込むステップを、コンピュータに実行させることを特徴とするプログラムである。 In one aspect of the present invention, when a notification message including authentication information, first destination information, and notification information is received from a predetermined notification unit, when the validity of the notification message is confirmed based on the authentication information, A transfer message including information corresponding to the notification information is generated, the first destination information is designated as a destination and a communication unit that writes in a predetermined linkage unit, and second destination information is registered in the linkage unit. When the transfer message is received from the cooperation unit, a plurality of processing units each performing predetermined processing using the transfer message, and when the transfer message is written by the communication unit, designated as a destination of the transfer message The transfer message is delivered to one or a plurality of the processing units that have registered the second destination information corresponding to the first destination information. In the server comprising the cooperation unit, the communication unit causes the computer to execute a step of designating the generated transfer message in the cooperation unit by designating the first destination information as the destination. .
本発明によれば、例えば警報発信等を行う処理部を変更したり増設したりした場合でも、第1宛先情報に対応するように当該処理部が第2宛先情報を連携部に登録することで、通知部が送信した通知メッセージを所望の処理部で処理することができる。よって、機能の更改や拡張を容易とすることができるサーバ、メッセージ処理システム、メッセージ処理方法及びプログラムを提供することができる。 According to the present invention, for example, even when a processing unit that performs alarm transmission or the like is changed or added, the processing unit registers the second destination information in the cooperation unit so as to correspond to the first destination information. The notification message transmitted by the notification unit can be processed by a desired processing unit. Therefore, it is possible to provide a server, a message processing system, a message processing method, and a program that can easily update or expand functions.
以下、図面を参照して本発明の実施の形態について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本実施形態のメッセージ処理システムの論理的な構成を示す構成図である。
同図に示されたメッセージ処理システム1は、Webサーバ2と、外部サーバ3とを備える。Webサーバ2は、メッセージ処理機能を提供する物理的なサーバ又は仮想的なサーバである。外部サーバ3は、Webサーバ2との間でメッセージを送受信する物理的なサーバ又は仮想的なサーバである。Webサーバ2と外部サーバ3とは、図示していない有線や無線のネットワークを介して接続されている。外部サーバ3は複数設けることができる。また、Webサーバ2や外部サーバ3は、例えばクラウド技術によって複数のコンピュータを用いて構成することができる。なお、Webサーバ2及び外部サーバ3は、パーソナルコンピュータ、携帯情報端末、スマートフォン等を用いて構成してもよい。
FIG. 1 is a configuration diagram showing a logical configuration of the message processing system according to the present embodiment.
The
Webサーバ2は、通信コンポーネント21と、警報処理コンポーネント22と、ユーザ情報処理コンポーネント23と、連携コンポーネント24とを含んでいる。外部サーバ3は、警報通知コンポーネント31と、ユーザ情報通知コンポーネント32とを含んでいる。ここで、コンポーネントとは、部品化されたプログラムを意味する。また、本実施形態における各コンポーネントは、TCP/IPネットワークにおけるアプリケーション層において、メッセージを送受信する機能をそれぞれ有している。また、各コンポーネントは、例えば各サーバが実行するOS(Operating System)上で動作するプログラムとして構成したり、そのOS上で実行される所定のフレームワークの管理下で動作するプログラムとして構成したりすることができる。また、連携コンポーネント24は、OS又はフレームワークのカーネルに含まれていてもよい。また、各コンポーネントは、図示してない他のコンポーネントと連携して動作することができる。
The Web server 2 includes a
外部サーバ3が含む警報通知コンポーネント31は、例えば、監視対象装置に故障などの警報通知の必要のある事象が発生した場合に、そのような事象が発生したことを示す通知メッセージ41を生成し、通信コンポーネント21に対して送信する。ユーザ情報通知コンポーネント32は、ユーザが設定した任意の情報の通知の必要が発生した場合に、その情報を示す通知メッセージ42を生成し、通信コンポーネント21に対して送信する。
通信コンポーネント21は、警報通知コンポーネント31が送信した通知メッセージ41を受信したり、ユーザ情報通知コンポーネント32が送信した通知メッセージ42を受信したりする。また、通信コンポーネント21は、通知メッセージ41や通知メッセージ42に基づいて転送メッセージ51を生成し、連携コンポーネント24に書き込む。その際、通信コンポーネント21は、通知メッセージ41又は42を受信した場合に所定の認証処理を行い、通知メッセージ41又は42の正当性が確認されたときに、転送メッセージ51を生成し、連携コンポーネント24に対して書き込みを実行する。また、通信コンポーネント21は、認証処理の結果や、転送メッセージ51の転送先への転送の成否又は転送先からの応答内容を示す情報を、警報通知コンポーネント31及びユーザ情報通知コンポーネント32に返信する機能を有している。この場合に認証処理で用いるWebサーバ2側で保持する認証情報は、例えば、警報処理コンポーネント22、ユーザ情報処理コンポーネント23等の処理コンポーネントに対して設定されている認証情報と共用することができる。また、通信コンポーネント21は、認証処理において、認証可能であっても送信元の通知コンポーネントのロールに基づくアクセス制限を掛けることもできる。ここで、ロールに基づくアクセス制限とは、通知コンポーネントを役割別にグループ化し、グループ単位あるいはグループ内の特定のメンバに対して、所定の設定ファイルに基づき、アクセス許可を付与する仕組みである。
The
The
また、通信コンポーネント21は、通知メッセージ41又は42が後述するようにHTTPリクエストメッセージとして構成されている場合、通知メッセージが含むメソッド又はヘッダの内容の少なくとも一方に基づき当該通知メッセージ41又は42の受け入れを制限する機能を有していてもよい。これは、CORS(Cross Origin Resource Sharing)による制約を意味する。すなわち、通知メッセージ41又は42に予め定めた正しいCORSの設定がなされている場合に、当該通知メッセージ41又は42の受け入れを許可する。これによって、例えば、リクエストの送信元、送信できるHTTPメソッド、HTTPヘッダ等が制限できる。
Further, when the
連携コンポーネント24は、通信コンポーネント21が書き込んだ転送メッセージ51を、転送メッセージ52や転送メッセージ53として警報処理コンポーネント22やユーザ情報処理コンポーネント23に対して送信する。その際、連携コンポーネント24は、警報処理コンポーネント22及びユーザ情報処理コンポーネント23が連携コンポーネント24に対して登録した「宛先情報」に基づいて転送先を選択する。このため、通信コンポーネント21は、転送メッセージ51を連携コンポーネント24に書き込む際に、宛先情報を送り先に指定して連携コンポーネント24への書き込みを行う。
The
また、連携コンポーネント24は、複数種類の転送方式に対応している。すなわち、連携コンポーネント24は、1つの転送メッセージ51を1つのコンポーネントに対して送信する方式と、1つの転送メッセージ51を複数のコンポーネントに対して送信する方式とに対応している。また、連携コンポーネント24は、転送メッセージ52、53等の送信先のコンポーネントに対して、転送メッセージ52、53等の送信元に対する返信を要求する方式と要求しない方式とに対応している。ここで、転送メッセージ52、53等の送信元とは、連携コンポーネント24を介した通信では、直接的には通信コンポーネント21である。ただし、通信コンポーネント21を介して警報通知コンポーネント31やユーザ情報通知コンポーネント32に対して返信内容を送信することで、警報通知コンポーネント31やユーザ情報通知コンポーネント32を間接的には送信元として機能させることができる。また、連携コンポーネント24は、送信先のコンポーネントに対して返信を要求する場合に、返信がなされるまで送信元のコンポーネントを待機させる方式(同期方式という)と待機させない方式(非同期方式という)とに対応している。これらの方式は、例えば、通信コンポーネント21が転送メッセージ51を連携コンポーネント24に書き込む際に、通信コンポーネント21によって指定することができる。
The
警報処理コンポーネント22は、連携コンポーネント24から転送メッセージ52を受信した場合に、当該転送メッセージ52を用いて所定の処理を行う。警報処理コンポーネント22は、例えば、図示していない監視者が監視するモニタ画面上に転送メッセージ52の内容に応じたポップアップ表示等を行ったり、通知された情報を蓄積し、履歴情報を更新したりする。
When receiving the
ユーザ情報処理コンポーネント23は、連携コンポーネント24から転送メッセージ53を受信した場合に、当該転送メッセージ53を用いて所定の処理を行う。ユーザ情報処理コンポーネント23は、例えば、警報処理コンポーネント22と同様に、図示していない監視者が監視するモニタ画面上に転送メッセージ52の内容に応じたポップアップ表示等を行ったり、通知された情報を蓄積し、履歴情報を更新したりする。
When the user
なお、図1に示した構成において、通信コンポーネント21に設定されたドメインは、警報通知コンポーネント31及びユーザ情報通知コンポーネント32に設定されたドメインと異ならせることができる。この場合、通信コンポーネント21は、ドメインが異なる例えば広域に配置された複数の警報通知コンポーネント31、ユーザ情報通知コンポーネント32、…等から通知メッセージ41、通知メッセージ42、…等を受信することができる。
In the configuration shown in FIG. 1, the domain set in the
次に、図2から図4を参照して連携コンポーネント24の構成例について説明する。図2は、連携コンポーネント24の機能的な構成をブロックに分けて示した構成図である。図3は、図2に示した宛先情報一覧表245の構成例を示した構成図である。図4は、図2に示した宛先情報対応付表246の構成例を示した構成図である。図2に示したように、連携コンポーネント24は、連携制御部241と、メッセージ記憶部242と、メッセージ送受信部243と、宛先情報記憶部244とを含んでいる。また、宛先情報記憶部244は、宛先情報一覧表245と、宛先情報対応付表246とを含んでいる。
Next, a configuration example of the
連携制御部241は、メッセージ記憶部242、メッセージ送受信部243及び宛先情報記憶部244を制御する。メッセージ記憶部242は、通信コンポーネント21が書き込んだ転送メッセージ51を、通信コンポーネント21が指定した宛先情報に対応付けて記憶する。メッセージ送受信部243は、図1に示した転送メッセージ51を通信コンポーネント21から受信したり、メッセージ記憶部242に記憶した転送メッセージ51を転送メッセージ52又は53として警報処理コンポーネント22又はユーザ情報処理コンポーネント23へ送信したりする。連携制御部241は、通信コンポーネント21によって転送メッセージ51が書き込まれた場合、当該転送メッセージ51の送り先として指定された宛先情報に対応する宛先情報を登録した警報処理コンポーネント22若しくはユーザ情報処理コンポーネント23又はその両方に対して、転送メッセージ51を転送メッセージ52又は53として引き渡すための制御を行う。その際、送信先のコンポーネントは、連携制御部241が宛先情報一覧表245の登録内容と宛先情報対応付表246の登録内容とを参照すること決定される。
The
宛先情報一覧表245は、例えば図3に示したように、宛先情報とコンポーネント識別子との複数組の対応関係を一覧にして示すテーブルである。宛先情報は、連携コンポーネント24が転送メッセージ52又は転送メッセージ53を送信する際の送信先のコンポーネントを示す情報であり、例えば任意の文字や数字から構成することができる。コンポーネント識別子は、Webサーバ2において実行されている各コンポーネントを識別する情報であり、例えば数値で構成することができる。宛先情報は、警報処理コンポーネント22、ユーザ情報処理コンポーネント23等の各コンポーネントからの要求に応じて、宛先情報一覧表245に登録される。コンポーネント識別子は、例えば各コンポーネントの起動時にWebサーバ2で実行されているOSによって設定されたり、そのOS上で実行されているフレームワークのカーネル等によって設定されたりする。連携コンポーネント24では、警報処理コンポーネント22、ユーザ情報処理コンポーネント23等の各コンポーネントから宛先情報の登録を要求された場合、連携制御部241が、要求元の各コンポーネントのコンポーネント識別子をOSやフレームワークから取得し、宛先情報とコンポーネント識別子とを対応付けて宛先情報一覧表245に登録する。
The
図3に示した例において、例えば、「宛先情報A」が図1に示した警報処理コンポーネント22によって登録が要求された宛先情報であるとすると、警報処理コンポーネント22のコンポーネント識別子である例えば「コンポーネント識別子X」が「宛先情報A」に対応付けて登録される。同様に、例えば、「宛先情報B」が図1に示したユーザ情報処理コンポーネント23によって登録が要求された宛先情報であるとすると、図3に示したようにユーザ情報処理コンポーネント23のコンポーネント識別子である例えば「コンポーネント識別子Y」が「宛先情報B」に対応付けて登録される。
In the example illustrated in FIG. 3, for example, if “destination information A” is the destination information requested to be registered by the
なお、宛先情報一覧表245において、宛先情報に対応付けて登録される各コンポーネントを識別する情報は上述したように各コンポーネントの識別子に限らず、例えばIPアドレスとポート番号とを組み合わせたものとすることもできる。
In the
また、宛先情報対応付表246は、図4に示したように、宛先情報一覧表245に登録された各宛先情報(これを「宛先情報1」とする)と、各宛先情報1を宛先とする転送メッセージを宛先情報1に追加して転送する際の追加の宛先情報(これを「宛先情報2」とする)との各対応関係を一覧にして示すテーブルである。すなわち、宛先情報対応付表246には、複数の宛先情報が相互に対応付けできるように登録される。各「宛先情報2」は、設定しないことも、2以上の複数の宛先情報を設定することもできる。各「宛先情報2」は、「宛先情報2」に対応する各コンポーネントからの要求に応じて登録することができる。図4に示した例では、「宛先情報A」に対しては「宛先情報2」は登録されていない。一方、「宛先情報B」には「宛先情報2」として「宛先情報A」が登録されている。この場合、「宛先情報A」を自己の宛先情報として宛先情報一覧表245に登録したコンポーネント(図3の例では「コンポーネント識別子X」が設定されたコンポーネント)によって、「宛先情報1」の「宛先情報B」に対応付けて「宛先情報2」として「宛先情報A」が登録される。また、図3に示したように登録がなされた場合、「宛先情報A」を転送先とする転送メッセージは、「宛先情報A」に対応する1つのコンポーネントに対して送信される。一方、「宛先情報B」を転送先とする転送メッセージは、「宛先情報B」に対応するコンポーネントに加え、「宛先情報A」に対応するコンポーネントに対しても送信される。
Further, as shown in FIG. 4, the destination information correspondence table 246 has each destination information registered in the destination information list 245 (referred to as “
次に、図5を参照して図1に示した通知メッセージ41及び42の構成例について説明する。図5に示した通知メッセージ41及び42(以下、代表して通知メッセージ41について説明する。)は同一構成であり、HTTPに基づくリクエストであるHTTPリクエストとして構成されている。通知メッセージ41は、リクエストライン411と、メッセージヘッダ412と、メッセージボディ413とを含む。リクエストライン411は、メソッド414と、URI(Uniform Resource Identifier)415とを含む。メソッド414は、URI415で識別されるリソースによって実行されるメソッドである。本実施形態の通知メッセージ41では、メソッド415に、サーバに対してデータを送信するメソッドである「POST(ポスト)」が設定される。また、URI415には、図1に示した通信コンポーネント21のURIが設定される。なお、リクエストライン411は他にHTTPのバージョン等を含むことができる。
Next, a configuration example of the
メッセージヘッダ412には、通信コンポーネント21に引き渡す追加の情報が含まれる。本実施形態の通知メッセージ41は、少なくとも認証情報416を含んでいる。認証情報416は、認証処理に使用される情報であり、例えばユーザ名とパスワードとを所定の方式でエンコードした情報である。認証情報416は、例えばHTTPで定義されたBasic認証(基本認証)に従って設定することができる。メッセージヘッダ412には、他に、アプリケーションのタイプ、文字セット、エンコード形式、アクセス先のドメイン、アクセス元のドメイン等の情報を含ませることができる。
The
メッセージボディ413には、図1に示した警報通知コンポーネント31が通信コンポーネント21及び連携コンポーネント24を介して、所定のコンポーネントに対して送信する情報の本体が含まれる。本実施形態の通知メッセージ41は、宛先情報417と、制御情報418と、通知情報419とを含む。通知情報419は、警報通知コンポーネント31が、例えば警報処理コンポーネント22に対して通知したい情報の内容を含む。通知情報419は、例えば、通知したい情報を示す1又は複数の引数名と引数の型と引数の値とを含む。宛先情報417は、通知メッセージ41の通知先のコンポーネントが連携コンポーネント24に対して登録した宛先情報を含む。例えば、警報通知コンポーネント31が通知情報419を警報処理コンポーネント22に対して通知する場合、警報処理コンポーネント22が連携コンポーネント24に対して登録した宛先情報(例えば図9に示した「宛先情報A」)を、宛先情報417に設定する。制御情報418は、連携コンポーネント24によるメッセージの転送方式を指定する情報が設定される。例えば、転送方式を上述した同期方式とするのか非同期方式とするのかを示す情報が設定される。
The
次に、図6を参照して図1に示した転送メッセージ51、52及び53の構成例について説明する。図6に示した転送メッセージ51、52及び53(以下、代表して転送メッセージ51について説明する。)は同一構成であり、例えばテキストメッセージとして構成されている。転送メッセージ51は、図5に示した通知メッセージ41が含む通知情報419に対応する情報である通知情報511を含んでいる。通知情報511は、通知情報419と同一であってもよいし、一部の情報を省略したものであってもよい。また、通知情報511は、通知情報419のフォーマット、エンコード形式等を所定のものに変換したものであってもよい。また、通知情報511は、図5に示した通知メッセージ41が含むメッセージヘッダ412の全部又は一部の情報を含んでいてもよい。
Next, configuration examples of the
次に、図7を参照して、本実施形態のメッセージ処理システム1の処理の手順について説明する。図7は、図1から図6を参照して説明した本実施形態のメッセージ処理システム1の処理の手順を示すシーケンス図である。なお、予め、警報処理コンポーネント22には「宛先情報A」が設定されている。また、警報処理コンポーネント22には「宛先情報A」に対応付ける宛先情報として「宛先情報B」が設定されている。また、ユーザ情報処理コンポーネント23には「宛先情報B」が設定されている。また、警報通知コンポーネント31には、通知メッセージ41の通知先のコンポーネントの宛先情報として「宛先情報A」が設定されている。また、ユーザ情報通知コンポーネント32には、通知メッセージ42の通知先のコンポーネントの宛先情報として「宛先情報B」が設定されている。
Next, a processing procedure of the
Webサーバ2において各コンポーネントが起動すると、警報処理コンポーネント22が連携コンポーネント24に対して、自己のコンポーネント(すなわち警報処理コンポーネント22)に対応付けて「宛先情報A」を登録するとともに、「宛先情報A」を「宛先情報B」に対応付けて登録する(ステップS101)。また、ユーザ情報処理コンポーネント23が連携コンポーネント24に対して、自己のコンポーネント(すなわちユーザ情報処理コンポーネント23)に対応付けて「宛先情報B」を登録する(ステップS102)。ここで、連携コンポーネント24が有する宛先情報一覧表245(図2及び図3)には、図3に示したように「宛先情報A」と「宛先情報B」とが登録される。また、連携コンポーネント24が有する宛先情報対応付表246には、図4に示したように「宛先情報B」に対して「宛先情報A」が対応付けて登録される。なお、この場合、警報処理コンポーネント22のコンポーネント識別子は「コンポーネント識別子X」であり、ユーザ情報処理コンポーネント23のコンポーネント識別子は「コンポーネント識別子Y」であるとする。
When each component is activated in the Web server 2, the
なお、図示していないが、通信コンポーネント21は、警報通知コンポーネント31、ユーザ情報通知コンポーネント32等の他のコンポーネントからの返信を連携コンポーネント24を介して受信できるように、所定の宛先情報を連携コンポーネント24に対して登録することができる。
Although not shown, the
次に、外部サーバ3において、警報通知コンポーネント31が所定の警報事象を検知したとすると、警報通知コンポーネント31は、宛先情報417(図5)に「宛先情報A」を設定した通知メッセージ41を生成し、通信コンポーネント21へ送信する(ステップS201)。通信コンポーネント21は、通知メッセージ41が含むメソッド414又はメッセージヘッダ412の内容の少なくとも一方に基づき当該通知メッセージ41を受け入れるか否かを判定するとともに、通知メッセージ41が含む認証情報416に基づき認証処理を行う(ステップS202)。ステップS202において、通信コンポーネント21は、例えば、通知メッセージ41が含むメソッド414が「POST」でない場合に通知メッセージ41を拒否したり、メッセージヘッダ412が含む送信元のドメインの情報が所定のドメイン以外である場合に通知メッセージ41を拒否したりする。また、通信コンポーネント21は、Webサーバ2内の所定のデータベースを参照し、認証情報416が正当であるか否かを判定する。
Next, in the external server 3, if the
次に、通信コンポーネント21は、ステップS202の認証処理で通知メッセージ41の正当性が確認されたとき、通知メッセージ41に含まれている通知情報419に対応する情報を含む転送メッセージ51を生成し、通知メッセージ41が宛先情報417として含む「宛先情報A」を送り先に指定して、連携コンポーネント24に対する転送メッセージ51の書き込み処理を行う(S203)。また、ステップS203で通信コンポーネント21は、通知メッセージ41が含む制御情報418を参照し、メッセージの転送方式を「同期方式」とするか「非同期方式」とするかの指定も連携コンポーネント24に対して行う。ここでは「非同期方式」とする指定を行ったこととする。
Next, the
連携コンポーネント24は、通信コンポーネット21によって転送メッセージ51が書き込まれた場合、当該転送メッセージの送り先として指定された「宛先情報A」に対応する宛先情報を登録したコンポーネントに対して当該転送メッセージ51を(この場合、転送メッセージ52として)送信し、引き渡す(ステップS204)。ステップS204で連携コンポーネント24は、宛先情報一覧表245(図3)を参照し、「宛先情報A」に対して警報処理コンポーネント22の「コンポーネント識別子X」が対応付けられて登録されていることを検知する。さらに、ステップS204で連携コンポーネント24は、宛先情報対応付表246(図4)を参照し、「宛先情報A」に対して他の宛先情報が対応付けられていないことを検知する。したがって、この場合、ステップS204において連携コンポーネント24は、転送メッセージ51の送り先として指定された「宛先情報A」に対応する宛先情報を登録したコンポーネントが、「コンポーネント識別子X」が設定された警報処理コンポーネント22のみであることを検知し、転送メッセージ51を転送メッセージ52として警報処理コンポーネント22に対して転送する。
When the
次に、ステップS204において転送メッセージ52を受信した場合、警報処理コンポーネント22は、当該転送メッセージ52を用いて所定の処理を行う(ステップS205)。
Next, when the
次に、外部サーバ3において、ユーザ情報通知コンポーネント32が所定の通知事象を検知したとすると、ユーザ情報通知コンポーネント32は、宛先情報417(図5)に「宛先情報B」を設定した通知メッセージ42を生成し、通信コンポーネント21へ送信する(ステップS301)。通信コンポーネント21は、ステップS202と同様に認証処理を行う(ステップS302)。
Next, in the external server 3, if the user
次に、通信コンポーネント21は、ステップS302の認証処理で通知メッセージ42の正当性が確認されたとき、通知メッセージ42に含まれている通知情報419に対応する情報を含む転送メッセージ51を生成し、通知メッセージ42が宛先情報417として含む「宛先情報B」を送り先に指定して、連携コンポーネント24に対する転送メッセージ51の書き込み処理を行う(S303)。また、ステップS303で通信コンポーネント21は、通知メッセージ42が含む制御情報418を参照し、メッセージの転送方式を「非同期方式」とする指定する。
Next, when the validity of the
次に、連携コンポーネント24は、通信コンポーネット21によって転送メッセージ51が書き込まれた場合、当該転送メッセージの送り先として指定された「宛先情報B」に対応する宛先情報を登録したコンポーネントに対して当該転送メッセージ51を(この場合、転送メッセージ52及び53として)送信し、引き渡す(ステップS304)。ステップS304で連携コンポーネント24は、宛先情報一覧表245(図3)を参照し、「宛先情報B」に対してユーザ情報処理コンポーネント23の「コンポーネント識別子Y」が対応付けられて登録されていることを検知する。さらに、ステップS304で連携コンポーネント24は、宛先情報対応付表246(図4)を参照し、「宛先情報B」に対して「宛先情報A」が対応付けられていることを検知する。したがって、この場合、ステップS304において連携コンポーネント24は、転送メッセージ51の送り先として指定された「宛先情報B」に対応する宛先情報を登録したコンポーネントが、「コンポーネント識別子Y」が設定されたユーザ情報処理コンポーネント23と、「宛先情報A」を登録した「コンポーネント識別子X」が設定された警報処理コンポーネント22とであることを検知する。したがって、ステップS304において連携コンポーネント24は、転送メッセージ51を、転送メッセージ53としてユーザ情報処理コンポーネント23に対して転送するとともに、転送メッセージ52として警報処理コンポーネント22に対して転送する。
Next, when the
次に、ステップS305において転送メッセージ52を受信した場合、警報処理コンポーネント22は、当該転送メッセージ52を用いて所定の処理を行う(ステップS305)。また、ステップS305において転送メッセージ53を受信した場合、ユーザ情報処理コンポーネント23は、当該転送メッセージ53を用いて所定の処理を行う(ステップS306)。
Next, when the
次に、図8を参照して、図1のWebサーバ2に対して図8に示した警報処理コンポーネント25を新たに追加した場合の処理の手順について説明する。なお、警報処理コンポーネント25には、「宛先情報C」が設定されていることとする。また、警報処理コンポーネント25には、「宛先情報A」に対応付けて「宛先情報C」を登録する旨の設定がなされていることとする。なお、図8において、図7に示した手順と同一のものには同一の符号を付けている。以下、主に図7を参照して説明したものと異なる手順について説明する。
Next, with reference to FIG. 8, the process procedure when the
図8に示した例では、Webサーバ2において各コンポーネントが起動すると、警報処理コンポーネント22が宛先情報を連携コンポーネント24に対して登録し(ステップS101)、ユーザ情報処理コンポーネント23が宛先情報を連携コンポーネント24に対して登録する(ステップS102)とともに、警報処理コンポーネント25が連携コンポーネント24に対して、自己のコンポーネント(すなわち警報処理コンポーネント25)に対応付けて「宛先情報C」を登録する(ステップS103)。
In the example shown in FIG. 8, when each component is activated in the Web server 2, the
ここで、連携コンポーネント24が有する宛先情報一覧表245には、図9に示したように「宛先情報A」と「宛先情報B」と「宛先情報C」とが登録される。また、連携コンポーネント24が有する宛先情報対応付表246には、図10に示したように「宛先情報B」に対して「宛先情報A」が対応付けて登録されるとともに、「宛先情報A」に対して「宛先情報C」が対応付けて登録される。なお、この場合、警報処理コンポーネント25のコンポーネント識別子は「コンポーネント識別子Z」であるとする。
Here, “destination information A”, “destination information B”, and “destination information C” are registered in the
次に、外部サーバ3において、警報通知コンポーネント31が所定の警報事象を検知したとすると、警報通知コンポーネント31は、宛先情報417(図5)に「宛先情報A」を設定した通知メッセージ41を生成し、通信コンポーネント21へ送信する(ステップS201)。次に、通信コンポーネント21は、ステップS202の認証処理と、ステップS203の書込処理とを実行する。
Next, in the external server 3, if the
連携コンポーネント24は、通信コンポーネット21によって転送メッセージ51が書き込まれた場合、当該転送メッセージの送り先として指定された「宛先情報A」に対応する宛先情報を登録したコンポーネントに対して当該転送メッセージ51を送信し、引き渡す(ステップS204a)。ステップS204aで連携コンポーネント24は、宛先情報一覧表245(図9)を参照し、「宛先情報A」に対して警報処理コンポーネント22の「コンポーネント識別子X」が対応付けられて登録されていることを検知する。さらに、ステップS204aで連携コンポーネント24は、宛先情報対応付表246(図10)を参照し、「宛先情報A」に対して「宛先情報C」が対応付けられていることを検知する。したがって、この場合、ステップS204aにおいて連携コンポーネント24は、転送メッセージ51の送り先として指定された「宛先情報A」に対応する宛先情報を登録したコンポーネントが、「コンポーネント識別子X」が設定された警報処理コンポーネント22と、「宛先情報C」を登録した「コンポーネント識別子Z」が設定された警報処理コンポーネント25とであることを検知する。したがって、ステップS204aにおいて連携コンポーネント24は、転送メッセージ51を、警報処理コンポーネント22に対して転送するとともに、警報処理コンポーネント25に対して転送する。
When the
次に、ステップS204aにおいて転送メッセージを受信した場合、警報処理コンポーネント22は、当該転送メッセージを用いて所定の処理を行う(ステップS205)。また、ステップS204aにおいて転送メッセージを受信した場合、警報処理コンポーネント25は、当該転送メッセージを用いて所定の処理を行う(ステップS206)。
Next, when the transfer message is received in step S204a, the
以上のように、本実施形態によれば、例えばWebサーバ2において、警報発信等を行う警報処理コンポーネント、ユーザ情報処理コンポーネントを変更したり増設したりした場合でも、次のように通知メッセージを所望の処理コンポーネントに引き渡し、所望の処理を行うことができる。すなわち、外部サーバ3において、警報通知コンポーネント、ユーザ情報通知コンポーネント等に、通知メッセージの通知先として予め設定されている宛先情報に対応するように、Webサーバ2の各コンポーネントが適切な宛先情報を連携コンポーネントに対して登録する。これによって、外部サーバ3において、警報通知コンポーネント、ユーザ情報通知コンポーネント等の通知コンポーネントの設定を変更しなくても、各通知コンポーネントが送信した通知メッセージをWebサーバ2内の新設した処理コンポーネント等を含む所望の処理コンポーネントに引き渡すことができ、所望の処理を行うことができる。よって、メッセージ処理システム1における機能の更改や拡張を容易とすることができる。
As described above, according to the present embodiment, for example, in the Web server 2, even when an alarm processing component that performs alarm transmission or the like or a user information processing component is changed or added, a notification message is desired as follows. The processing component can be handed over to perform desired processing. That is, in the external server 3, each component of the Web server 2 cooperates with appropriate destination information so as to correspond to the destination information preset as the notification destination of the notification message for the alarm notification component, the user information notification component, etc. Register for the component. As a result, the external server 3 includes the newly installed processing component in the Web server 2 for the notification message transmitted by each notification component without changing the settings of the notification component such as the alarm notification component and the user information notification component. It can be delivered to a desired processing component, and a desired process can be performed. Therefore, it is possible to easily update or expand functions in the
また、本実施形態では、警報通知コンポーネント、ユーザ情報通知コンポーネント等の通知コンポーネントと、警報処理コンポーネント、ユーザ情報処理コンポーネント等の処理コンポーネントと、通知コンポーネントが送信した通知メッセージを受信する通信コンポーネントとを、分離して構成しているので、これらを一体的に結合したプログラムと比較して機能拡張時に影響範囲を小さくできるため、拡張性が高い。また、独立性が高いため対向側サーバのシステム故障時にも影響が小さい。また、本実施形態では、コンポーネント間の通信が連携コンポーネントを介して行われるのでログ管理が比較的簡単に行える。 In the present embodiment, a notification component such as an alarm notification component and a user information notification component, a processing component such as an alarm processing component and a user information processing component, and a communication component that receives a notification message transmitted by the notification component, Since the configuration is separated, the range of influence can be reduced when the function is expanded compared to a program in which these are integrally combined, so that the expandability is high. Moreover, since the independence is high, the influence is small even when the system on the opposite server fails. Further, in the present embodiment, log management can be performed relatively easily because communication between the components is performed via the cooperation component.
なお、本発明の実施の形態は上記のものに限定されず、例えば次のような構成を備えることができる。例えば図7及び図8に示した各ステップは、各コンポーネント間での複数回のメッセージの送受信を含むものとすることができる。例えばステップS101等の宛先情報の登録処理は、警報処理コンポーネント22が連携コンポーネント24に対して宛先情報を登録するステップと、当該宛先情報をメッセージの受信側として登録するステップとに分けて構成することができる。また、通知メッセージ41及び42と、転送メッセージ51〜53は、例えば、JSON(JavaScript(登録商標) Object Notation)に従って記述してもよいし、XML(Extensible Markup Language)に従って記述してもよいし、あるいはそれらを混在させてもよい。
The embodiment of the present invention is not limited to the above-described embodiment, and for example, the following configuration can be provided. For example, each step shown in FIGS. 7 and 8 may include sending and receiving a plurality of messages between the components. For example, the destination information registration process in step S101 or the like is configured by dividing the
また、上記実施形態において、メッセージ処理システム1は、内部に1又は複数のコンピュータシステムを有している。そして、上述の各部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述の各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
In the above embodiment, the
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合に、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, “computer-readable recording medium” means a program that dynamically holds a program for a short time when the program is transmitted via a network such as the Internet or a communication line such as a telephone line. It also includes those that hold programs for a certain period of time, such as volatile memory inside computer systems that serve as servers and clients. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
[1]そして、上記実施形態において、Webサーバ2は、認証情報416と宛先情報417(第1宛先情報)と通知情報419とを含む通知メッセージ41を、警報通知コンポーネント31等の所定の通知コンポーネント(通知部)から受信した場合、認証情報416に基づき通知メッセージ41の正当性が確認されたとき、通知情報419に対応する情報を含む転送メッセージ51を生成し、宛先情報417(第1宛先情報)を送り先に指定して所定の連携コンポーネント24(連携部)に書き込む通信コンポーネント21(通信部)を備える。さらに、Webサーバ2は、連携コンポーネント24(連携部)に対し宛先情報(第2宛先情報)をそれぞれ登録するとともに、連携コンポーネント24(連携部)から転送メッセージ51(=転送メッセージ52又は53)を受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行う警報処理コンポーネント22、ユーザ情報処理コンポーネント23等の複数の処理コンポーネント(処理部)を備える。さらに、Webサーバ2は、通信コンポーネント21(通信部)によって転送メッセージ51が書き込まれた場合、当該転送メッセージの送り先として指定された宛先情報417(第1宛先情報)に対応する宛先情報(第2宛先情報)を登録した1又は複数の警報処理コンポーネント22、ユーザ情報処理コンポーネント23等の処理コンポーネント(処理部)に対して当該転送メッセージ51(=転送メッセージ52又は53)を引き渡す連携コンポーネント24(連携部)を備える。
これにより、例えば警報発信等を行う警報処理コンポーネント22等の処理コンポーネント(処理部)を変更したり増設したりした場合でも、宛先情報417(第1宛先情報)に対応するように当該処理コンポーネント(処理部)が宛先情報(第2宛先情報)を連携コンポーネント24(連携部)に登録することで、警報通知コンポーネント31等の所定の通知コンポーネント(通知部)が送信した通知メッセージ41、42等を所望の処理コンポーネント(処理部)で処理することができる。よって、複数の処理コンポーネント(処理部)やメッセージ処理システム1における機能の更改や拡張を容易とすることができる。
[1] In the above embodiment, the Web server 2 sends a
Thereby, for example, even when a processing component (processing unit) such as the
[2]そして、上記連携コンポーネント24(連携部)は、複数の処理コンポーネント(処理部)が登録した複数の宛先情報(第2宛先情報)を相互に対応付け可能に登録することができる。
これにより、処理コンポーネント(処理部)を新たに追加した場合でも、既存の通知コンポーネント(通知部)が送信した通知メッセージを、既存の通知コンポーネント(通知部)を変更することなく、新たな処理コンポーネント(処理部)で受信することができる。
[2] The cooperation component 24 (cooperation unit) can register a plurality of pieces of destination information (second destination information) registered by a plurality of processing components (processing units) so that they can be associated with each other.
As a result, even when a processing component (processing unit) is newly added, a notification message transmitted by the existing notification component (notification unit) can be changed to a new processing component without changing the existing notification component (notification unit). It can be received by the (processing unit).
[3]そして、上記警報通知コンポーネント31等の所定の通知コンポーネント(通知部)には、通信コンポーネント21(通信部)に設定されたドメインとは、異なるドメインが設定されていてもよい。
これにより、例えば通知コンポーネント(通知部)を広範囲に分散して配置することができる。
[3] A domain different from the domain set in the communication component 21 (communication unit) may be set in a predetermined notification component (notification unit) such as the
As a result, for example, notification components (notification units) can be distributed over a wide range.
[4]そして、通知メッセージ41等がHTTPメッセージである場合に、上記通信コンポーネント21(通信部)は、通知メッセージ41等が含むメソッド414又はメッセージヘッダ412(ヘッダ)の内容の少なくとも一方に基づき当該通知メッセージ41等の受け入れを制限することができる。
これにより、CORSによるアクセス制限等を実現することができる。
[4] Then, when the
Thereby, it is possible to realize access restriction by CORS.
以上、本発明の実施の形態について説明したが、本発明のメッセージ処理システム1は、上述の図示例にのみに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。
Although the embodiment of the present invention has been described above, the
1 メッセージ処理システム、
2 Webサーバ、
21 通信コンポーネント、22 警報処理コンポーネント、23 ユーザ情報処理コンポーネント、24 連携コンポーネント、25 警報処理コンポーネント、
242 メッセージ記憶部、243 メッセージ送受信部、244 宛先情報記憶部、
245 宛先情報一覧表、246 宛先情報対応付表
3 外部サーバ、
31 警報通知コンポーネント、32 ユーザ情報通知コンポーネント、
41〜42 通知メッセージ、
412 メッセージヘッダ、414 メソッド、416 認証情報、417 宛先情報、419 通知情報、
51〜53 転送メッセージ、
511 通知情報
1 message processing system,
2 Web server,
21 Communication component, 22 Alarm processing component, 23 User information processing component, 24 Cooperation component, 25 Alarm processing component,
242 message storage unit, 243 message transmission / reception unit, 244 destination information storage unit,
245
31 Alarm notification component, 32 User information notification component,
41-42 notification messages,
412 Message header, 414 method, 416 authentication information, 417 destination information, 419 notification information,
51-53 Transfer message,
511 Notification information
Claims (7)
前記連携部に対し第2宛先情報をそれぞれ登録するとともに、前記連携部から前記転送メッセージを受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行う複数の処理部と、
前記通信部によって前記転送メッセージが書き込まれた場合、当該転送メッセージの送り先として指定された前記第1宛先情報に対応する前記第2宛先情報を登録した1又は複数の前記処理部に対して当該転送メッセージを引き渡す連携部と
を備えることを特徴とするサーバ。 When a notification message including authentication information, first destination information, and notification information is received from a predetermined notification unit, when the validity of the notification message is confirmed based on the authentication information, information corresponding to the notification information is displayed. A communication unit that generates a transfer message including the first destination information as a destination and writes the first destination information in a predetermined cooperation unit;
A plurality of processing units that respectively register the second destination information with respect to the cooperation unit, and that perform predetermined processing using the transfer message when the transfer message is received from the cooperation unit;
When the transfer message is written by the communication unit, the transfer message is transferred to one or a plurality of processing units that have registered the second destination information corresponding to the first destination information specified as a destination of the transfer message. A server comprising a linkage unit that delivers a message.
ことを特徴とする請求項1に記載のサーバ。 The server according to claim 1, wherein the cooperation unit registers a plurality of the second destination information so as to be associated with each other.
ことを特徴とする請求項1又は2に記載のサーバ。 The server according to claim 1 or 2, wherein a domain different from that set in the communication unit is set in the notification unit.
前記通信部が、前記通知メッセージが含むメソッド又はヘッダの内容の少なくとも一方に基づき当該通知メッセージの受け入れを制限する
ことを特徴とする請求項1から3のいずれか1項に記載のサーバ。 The notification message is an HTTP message;
The server according to any one of claims 1 to 3, wherein the communication unit restricts acceptance of the notification message based on at least one of a method and a header content included in the notification message.
前記連携部に対し第2宛先情報をそれぞれ登録するとともに、前記連携部から前記転送メッセージを受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行う複数の処理部と、
前記通信部によって前記転送メッセージが書き込まれた場合、当該転送メッセージの送り先として指定された前記第1宛先情報に対応する前記第2宛先情報を登録した1又は複数の前記処理部に対して当該転送メッセージを引き渡す連携部と
を備えるサーバと、
前記通知部と
を備えることを特徴とするメッセージ処理システム。 When a notification message including authentication information, first destination information, and notification information is received from a predetermined notification unit, when the validity of the notification message is confirmed based on the authentication information, information corresponding to the notification information is displayed. A communication unit that generates a transfer message including the first destination information as a destination and writes the first destination information in a predetermined cooperation unit;
A plurality of processing units that respectively register the second destination information with respect to the cooperation unit, and that perform predetermined processing using the transfer message when the transfer message is received from the cooperation unit;
When the transfer message is written by the communication unit, the transfer message is transferred to one or a plurality of processing units that have registered the second destination information corresponding to the first destination information specified as a destination of the transfer message. A server comprising a linkage unit that delivers a message;
A message processing system comprising: the notification unit.
複数の処理部が、前記連携部に対し第2宛先情報をそれぞれ登録するとともに、前記連携部から前記転送メッセージを受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行うステップと、
前記連携部が、前記通信部によって前記転送メッセージが書き込まれた場合に、当該転送メッセージの送り先として指定された前記第1宛先情報に対応する前記第2宛先情報を登録した1又は複数の前記処理部に対して当該転送メッセージを引き渡すステップと
を含むことを特徴とするメッセージ処理方法。 When the communication unit receives a notification message including authentication information, first destination information, and notification information from a predetermined notification unit, when the validity of the notification message is confirmed based on the authentication information, the notification information Generating a transfer message including information corresponding to the first destination information and designating the first destination information as a destination and writing it in a predetermined linkage unit;
A plurality of processing units respectively registering the second destination information to the cooperation unit, and performing a predetermined process using the transfer message when the transfer message is received from the cooperation unit;
One or a plurality of the processes in which the cooperation unit registers the second destination information corresponding to the first destination information designated as a destination of the transfer message when the transfer message is written by the communication unit Delivering the transfer message to a section.
前記連携部に対し第2宛先情報をそれぞれ登録するとともに、前記連携部から前記転送メッセージを受信した場合に当該転送メッセージを用いて所定の処理をそれぞれ行う複数の処理部と、
前記通信部によって前記転送メッセージが書き込まれた場合、当該転送メッセージの送り先として指定された前記第1宛先情報に対応する前記第2宛先情報を登録した1又は複数の前記処理部に対して当該転送メッセージを引き渡す連携部と
を備えるサーバにおいて、
前記通信部が、前記生成した転送メッセージを前記第1宛先情報を送り先に指定して前記連携部に書き込むステップを、コンピュータに実行させる
ことを特徴とするプログラム。 When a notification message including authentication information, first destination information, and notification information is received from a predetermined notification unit, when the validity of the notification message is confirmed based on the authentication information, information corresponding to the notification information is displayed. A communication unit that generates a transfer message including the first destination information as a destination and writes the first destination information in a predetermined cooperation unit;
A plurality of processing units that respectively register the second destination information with respect to the cooperation unit, and that perform predetermined processing using the transfer message when the transfer message is received from the cooperation unit;
When the transfer message is written by the communication unit, the transfer message is transferred to one or a plurality of processing units that have registered the second destination information corresponding to the first destination information specified as a destination of the transfer message. In a server comprising a linkage unit that delivers a message,
A program that causes the computer to execute a step in which the communication unit designates the first destination information as a transmission destination and writes the generated transfer message in the cooperation unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014139675A JP6364262B2 (en) | 2014-07-07 | 2014-07-07 | Server, message processing system, message processing method and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014139675A JP6364262B2 (en) | 2014-07-07 | 2014-07-07 | Server, message processing system, message processing method and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2016018316A JP2016018316A (en) | 2016-02-01 |
| JP6364262B2 true JP6364262B2 (en) | 2018-07-25 |
Family
ID=55233515
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014139675A Active JP6364262B2 (en) | 2014-07-07 | 2014-07-07 | Server, message processing system, message processing method and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6364262B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3563584B2 (en) * | 1998-01-23 | 2004-09-08 | 株式会社東芝 | Network connection device |
| JP2001111551A (en) * | 1999-10-12 | 2001-04-20 | Nec Corp | Autonomous message selection method in network management system |
| JP4126645B2 (en) * | 2002-04-01 | 2008-07-30 | 日本電気株式会社 | Remote operation / monitoring system |
| JP4725955B2 (en) * | 2005-06-30 | 2011-07-13 | 株式会社リコー | Information processing apparatus, message management method, program, and storage medium |
-
2014
- 2014-07-07 JP JP2014139675A patent/JP6364262B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016018316A (en) | 2016-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5753947B2 (en) | Method, system, and apparatus for sharing application information | |
| JP5270697B2 (en) | publish / subscribe message broker | |
| CN110311983B (en) | Service request processing method, device and system, electronic equipment and storage medium | |
| US9160791B2 (en) | Managing connection failover in a load balancer | |
| CN110324184B (en) | Service expansion and migration method, apparatus, system, device and readable storage medium | |
| US9967412B2 (en) | Information processing apparatus, system, and control method for information processing apparatus | |
| US11917103B2 (en) | Cloud integration to desktop-based emergency service applications | |
| CN108702390B (en) | Transfer of control of the configuration source | |
| JP5626919B2 (en) | Network system, authentication cooperation apparatus, authentication cooperation method, and program | |
| JP2018055481A (en) | Log monitoring device, log monitoring method, and log monitoring program | |
| JP5678893B2 (en) | Attribute information linkage providing system, access information management device, access information proxy management device, method, and program | |
| JP5736346B2 (en) | Virtualization device, virtualization control method, virtualization device control program | |
| JP6034368B2 (en) | Authentication information processing | |
| WO2008010666A1 (en) | System and method for managing domain-state information | |
| JP6364262B2 (en) | Server, message processing system, message processing method and program | |
| US20170126593A1 (en) | Information processing system | |
| WO2017000256A1 (en) | Positioning method and corresponding apparatus | |
| JP6394620B2 (en) | Server management system, server, server management method, and service processor | |
| JP2014030118A (en) | Network system, session control server, and subscriber server | |
| JP6649527B2 (en) | Message management device and message management method | |
| JP2009153724A (en) | Network game system | |
| KR102058541B1 (en) | Server monitering method and server monitering apparatus using the method | |
| JP2017130028A (en) | Information processing apparatus, control method therefor, and program | |
| JP5194670B2 (en) | Web service system, web service providing apparatus and program | |
| JP2015115039A (en) | Session management system, session management apparatus, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170706 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180525 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180605 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180702 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6364262 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |