Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6364262B2 - Server, message processing system, message processing method and program - Google Patents
[go: Go Back, main page]

JP6364262B2 - Server, message processing system, message processing method and program - Google Patents

Server, message processing system, message processing method and program Download PDF

Info

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
Application number
JP2014139675A
Other languages
Japanese (ja)
Other versions
JP2016018316A (en
Inventor
小野寺 歩
歩 小野寺
渡邊 剛
剛 渡邊
正人 河野
正人 河野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Facilities Inc
Original Assignee
NTT Facilities Inc
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 NTT Facilities Inc filed Critical NTT Facilities Inc
Priority to JP2014139675A priority Critical patent/JP6364262B2/en
Publication of JP2016018316A publication Critical patent/JP2016018316A/en
Application granted granted Critical
Publication of JP6364262B2 publication Critical patent/JP6364262B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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.

特開2011−170459号公報JP 2011-170459 A

監視対象装置が全国各地に多数存在する場合もあるが、システムを構成する監視対象からの通知メッセージの送信、中央管理サーバでの通知メッセージの受信、受信した通知メッセージに基づく警報発信の各機能は一体化されており、導入する際に各所でカスタマイズすることは容易ではなかった。また、システム更改の際には例え監視対象装置が備えるセンサからの情報の受け付けを行う機能のみの更改であっても、全体の更改となっていた。さらに多種類の警報が存在する場合、ある箇所では必要の無い警報であってもシステム全体として対処しなければならず、機能拡張が容易ではなかった。   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.

本発明の実施形態のメッセージ処理システムの構成を示す構成図である。It is a block diagram which shows the structure of the message processing system of embodiment of this invention. 本実施形態の連携コンポーネントの構成例を示す構成図である。It is a block diagram which shows the structural example of the cooperation component of this embodiment. 本実施形態の宛先情報一覧表の構成例を示す構成図である。It is a block diagram which shows the structural example of the destination information list of this embodiment. 本実施形態の宛先情報対応付表の構成例を示す構成図である。It is a block diagram which shows the structural example of the destination information corresponding table | surface of this embodiment. 本実施形態の通知メッセージの構成例を示す構成図である。It is a block diagram which shows the structural example of the notification message of this embodiment. 本実施形態の転送メッセージの構成例を示す構成図である。It is a block diagram which shows the structural example of the transfer message of this embodiment. 本実施形態のメッセージ処理システムの処理の手順を示すシーケンス図である。It is a sequence diagram which shows the procedure of the process of the message processing system of this embodiment. 本実施形態のメッセージ処理システムの処理の手順を示す他のシーケンス図である。It is another sequence diagram which shows the procedure of the process of the message processing system of this embodiment. 本実施形態の宛先情報一覧表の登録例を示す説明図である。It is explanatory drawing which shows the example of registration of the destination information list of this embodiment. 本実施形態の宛先情報対応付表の登録例を示す説明図である。It is explanatory drawing which shows the example of registration of the destination information corresponding table | surface of this embodiment.

以下、図面を参照して本発明の実施の形態について説明する。   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 message processing system 1 shown in the figure includes a Web server 2 and an external server 3. The Web server 2 is a physical server or a virtual server that provides a message processing function. The external server 3 is a physical server or a virtual server that transmits and receives messages to and from the Web server 2. The Web server 2 and the external server 3 are connected via a wired or wireless network (not shown). A plurality of external servers 3 can be provided. Further, the Web server 2 and the external server 3 can be configured using a plurality of computers, for example, by cloud technology. Note that the Web server 2 and the external server 3 may be configured using a personal computer, a portable information terminal, a smartphone, or the like.

Webサーバ2は、通信コンポーネント21と、警報処理コンポーネント22と、ユーザ情報処理コンポーネント23と、連携コンポーネント24とを含んでいる。外部サーバ3は、警報通知コンポーネント31と、ユーザ情報通知コンポーネント32とを含んでいる。ここで、コンポーネントとは、部品化されたプログラムを意味する。また、本実施形態における各コンポーネントは、TCP/IPネットワークにおけるアプリケーション層において、メッセージを送受信する機能をそれぞれ有している。また、各コンポーネントは、例えば各サーバが実行するOS(Operating System)上で動作するプログラムとして構成したり、そのOS上で実行される所定のフレームワークの管理下で動作するプログラムとして構成したりすることができる。また、連携コンポーネント24は、OS又はフレームワークのカーネルに含まれていてもよい。また、各コンポーネントは、図示してない他のコンポーネントと連携して動作することができる。   The Web server 2 includes a communication component 21, an alarm processing component 22, a user information processing component 23, and a cooperation component 24. The external server 3 includes an alarm notification component 31 and a user information notification component 32. Here, the component means a partized program. In addition, each component in the present embodiment has a function of transmitting and receiving messages in the application layer in the TCP / IP network. Each component is configured as a program that operates on an OS (Operating System) executed by each server, for example, or is configured as a program that operates under the management of a predetermined framework executed on the OS. be able to. In addition, the cooperation component 24 may be included in the OS or framework kernel. Each component can operate in cooperation with other components not shown.

外部サーバ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 alarm notification component 31 included in the external server 3 generates, for example, a notification message 41 indicating that such an event has occurred when an event that requires an alarm notification such as a failure occurs in the monitoring target device, Transmit to the communication component 21. When the user information notification component 32 needs to notify any information set by the user, the user information notification component 32 generates a notification message 42 indicating the information and transmits it to the communication component 21.
The communication component 21 receives the notification message 41 transmitted by the alarm notification component 31 or receives the notification message 42 transmitted by the user information notification component 32. Further, the communication component 21 generates a transfer message 51 based on the notification message 41 or the notification message 42 and writes it in the cooperation component 24. At that time, the communication component 21 performs a predetermined authentication process when receiving the notification message 41 or 42, generates a transfer message 51 when the validity of the notification message 41 or 42 is confirmed, and generates a link component 24. Write to. In addition, the communication component 21 returns a result of authentication processing, information indicating success or failure of transfer of the transfer message 51 to the transfer destination, or information indicating a response content from the transfer destination to the alarm notification component 31 and the user information notification component 32. have. In this case, the authentication information held on the Web server 2 side used in the authentication process can be shared with the authentication information set for the processing components such as the alarm processing component 22 and the user information processing component 23, for example. Further, the communication component 21 can also restrict access based on the role of the notification component of the transmission source in the authentication process even if authentication is possible. Here, the role-based access restriction is a mechanism in which notification components are grouped by role, and access permission is given to a group unit or a specific member in the group based on a predetermined setting file.

また、通信コンポーネント21は、通知メッセージ41又は42が後述するようにHTTPリクエストメッセージとして構成されている場合、通知メッセージが含むメソッド又はヘッダの内容の少なくとも一方に基づき当該通知メッセージ41又は42の受け入れを制限する機能を有していてもよい。これは、CORS(Cross Origin Resource Sharing)による制約を意味する。すなわち、通知メッセージ41又は42に予め定めた正しいCORSの設定がなされている場合に、当該通知メッセージ41又は42の受け入れを許可する。これによって、例えば、リクエストの送信元、送信できるHTTPメソッド、HTTPヘッダ等が制限できる。   Further, when the notification message 41 or 42 is configured as an HTTP request message as will be described later, the communication component 21 accepts the notification message 41 or 42 based on at least one of the method or the header content included in the notification message. You may have the function to restrict | limit. This means a restriction by CORS (Cross Origin Resource Sharing). In other words, when the correct CORS is set in advance in the notification message 41 or 42, the notification message 41 or 42 is permitted to be accepted. Thereby, for example, the transmission source of the request, the HTTP method that can be transmitted, and the HTTP header can be restricted.

連携コンポーネント24は、通信コンポーネント21が書き込んだ転送メッセージ51を、転送メッセージ52や転送メッセージ53として警報処理コンポーネント22やユーザ情報処理コンポーネント23に対して送信する。その際、連携コンポーネント24は、警報処理コンポーネント22及びユーザ情報処理コンポーネント23が連携コンポーネント24に対して登録した「宛先情報」に基づいて転送先を選択する。このため、通信コンポーネント21は、転送メッセージ51を連携コンポーネント24に書き込む際に、宛先情報を送り先に指定して連携コンポーネント24への書き込みを行う。   The cooperation component 24 transmits the transfer message 51 written by the communication component 21 to the alarm processing component 22 and the user information processing component 23 as a transfer message 52 and a transfer message 53. At that time, the cooperation component 24 selects a transfer destination based on “destination information” registered in the cooperation component 24 by the alarm processing component 22 and the user information processing component 23. For this reason, when the communication component 21 writes the transfer message 51 in the cooperation component 24, the communication component 21 designates the destination information as a destination and performs writing in the cooperation component 24.

また、連携コンポーネント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 cooperation component 24 supports a plurality of types of transfer methods. That is, the cooperation component 24 corresponds to a method of transmitting one transfer message 51 to one component and a method of transmitting one transfer message 51 to a plurality of components. In addition, the cooperation component 24 corresponds to a method for requesting a reply to a transmission source such as the transfer messages 52 and 53 and a method for not requesting a transmission destination component such as the transfer messages 52 and 53. Here, the transmission source of the transfer messages 52, 53 and the like is the communication component 21 directly in communication via the cooperation component 24. However, the alarm notification component 31 and the user information notification component 32 are indirectly functioned as a transmission source by transmitting the reply content to the alarm notification component 31 and the user information notification component 32 via the communication component 21. Can do. Further, when the cooperation component 24 requests a reply to the transmission destination component, the cooperation component 24 has a method of waiting the transmission source component until the reply is made (referred to as a synchronous method) and a method of not waiting (referred to as an asynchronous method). It corresponds. These methods can be specified by the communication component 21 when the communication component 21 writes the transfer message 51 to the cooperation component 24, for example.

警報処理コンポーネント22は、連携コンポーネント24から転送メッセージ52を受信した場合に、当該転送メッセージ52を用いて所定の処理を行う。警報処理コンポーネント22は、例えば、図示していない監視者が監視するモニタ画面上に転送メッセージ52の内容に応じたポップアップ表示等を行ったり、通知された情報を蓄積し、履歴情報を更新したりする。   When receiving the transfer message 52 from the cooperation component 24, the alarm processing component 22 performs a predetermined process using the transfer message 52. For example, the alarm processing component 22 performs a pop-up display corresponding to the content of the transfer message 52 on a monitor screen monitored by a not-shown supervisor, accumulates notified information, and updates history information. To do.

ユーザ情報処理コンポーネント23は、連携コンポーネント24から転送メッセージ53を受信した場合に、当該転送メッセージ53を用いて所定の処理を行う。ユーザ情報処理コンポーネント23は、例えば、警報処理コンポーネント22と同様に、図示していない監視者が監視するモニタ画面上に転送メッセージ52の内容に応じたポップアップ表示等を行ったり、通知された情報を蓄積し、履歴情報を更新したりする。   When the user information processing component 23 receives the transfer message 53 from the cooperation component 24, the user information processing component 23 performs a predetermined process using the transfer message 53. The user information processing component 23 performs, for example, a pop-up display corresponding to the content of the transfer message 52 on a monitor screen monitored by an unillustrated supervisor, or the notified information, like the alarm processing component 22. Accumulate and update history information.

なお、図1に示した構成において、通信コンポーネント21に設定されたドメインは、警報通知コンポーネント31及びユーザ情報通知コンポーネント32に設定されたドメインと異ならせることができる。この場合、通信コンポーネント21は、ドメインが異なる例えば広域に配置された複数の警報通知コンポーネント31、ユーザ情報通知コンポーネント32、…等から通知メッセージ41、通知メッセージ42、…等を受信することができる。   In the configuration shown in FIG. 1, the domain set in the communication component 21 can be different from the domains set in the alarm notification component 31 and the user information notification component 32. In this case, the communication component 21 can receive a notification message 41, a notification message 42,... From a plurality of alarm notification components 31, user information notification components 32,.

次に、図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 cooperation component 24 will be described with reference to FIGS. FIG. 2 is a configuration diagram showing the functional configuration of the cooperation component 24 divided into blocks. FIG. 3 is a configuration diagram showing a configuration example of the destination information list 245 shown in FIG. FIG. 4 is a configuration diagram showing a configuration example of the destination information correspondence table 246 shown in FIG. As illustrated in FIG. 2, the cooperation component 24 includes a cooperation control unit 241, a message storage unit 242, a message transmission / reception unit 243, and a destination information storage unit 244. The destination information storage unit 244 includes a destination information list 245 and a destination information correspondence table 246.

連携制御部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 cooperation control unit 241 controls the message storage unit 242, the message transmission / reception unit 243, and the destination information storage unit 244. The message storage unit 242 stores the transfer message 51 written by the communication component 21 in association with the destination information specified by the communication component 21. The message transmission / reception unit 243 receives the transfer message 51 shown in FIG. 1 from the communication component 21, or the transfer message 51 stored in the message storage unit 242 as the transfer message 52 or 53, the alarm processing component 22 or the user information processing component 23. Or send to. When the transfer message 51 is written by the communication component 21, the cooperation controller 241 registers the alarm processing component 22 or the user information processing component 23 in which the destination information corresponding to the destination information specified as the destination of the transfer message 51 is registered, or For both of them, control is performed to deliver the transfer message 51 as the transfer message 52 or 53. At that time, the destination component is determined by the cooperation control unit 241 to refer to the registered contents of the destination information list 245 and the registered contents of the destination information correspondence table 246.

宛先情報一覧表245は、例えば図3に示したように、宛先情報とコンポーネント識別子との複数組の対応関係を一覧にして示すテーブルである。宛先情報は、連携コンポーネント24が転送メッセージ52又は転送メッセージ53を送信する際の送信先のコンポーネントを示す情報であり、例えば任意の文字や数字から構成することができる。コンポーネント識別子は、Webサーバ2において実行されている各コンポーネントを識別する情報であり、例えば数値で構成することができる。宛先情報は、警報処理コンポーネント22、ユーザ情報処理コンポーネント23等の各コンポーネントからの要求に応じて、宛先情報一覧表245に登録される。コンポーネント識別子は、例えば各コンポーネントの起動時にWebサーバ2で実行されているOSによって設定されたり、そのOS上で実行されているフレームワークのカーネル等によって設定されたりする。連携コンポーネント24では、警報処理コンポーネント22、ユーザ情報処理コンポーネント23等の各コンポーネントから宛先情報の登録を要求された場合、連携制御部241が、要求元の各コンポーネントのコンポーネント識別子をOSやフレームワークから取得し、宛先情報とコンポーネント識別子とを対応付けて宛先情報一覧表245に登録する。   The destination information list 245 is a table showing a list of correspondence relationships between a plurality of sets of destination information and component identifiers, for example, as shown in FIG. The destination information is information indicating the component of the transmission destination when the cooperation component 24 transmits the transfer message 52 or the transfer message 53, and can be composed of, for example, arbitrary characters or numbers. The component identifier is information for identifying each component being executed in the Web server 2 and can be constituted by a numerical value, for example. The destination information is registered in the destination information list 245 in response to a request from each component such as the alarm processing component 22 and the user information processing component 23. The component identifier is set by, for example, an OS executed on the Web server 2 when each component is started, or set by a framework kernel executed on the OS. In the cooperation component 24, when registration of destination information is requested from each component such as the alarm processing component 22 and the user information processing component 23, the cooperation control unit 241 obtains the component identifier of each request source component from the OS or the framework. The destination information and the component identifier are associated with each other and registered in the destination information list 245.

図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 alarm processing component 22 illustrated in FIG. 1, the component identifier of the alarm processing component 22 is, for example, “component The identifier X ”is registered in association with“ destination information A ”. Similarly, for example, if “destination information B” is the destination information requested to be registered by the user information processing component 23 shown in FIG. 1, the component identifier of the user information processing component 23 is used as shown in FIG. For example, “component identifier Y” is registered in association with “destination information B”.

なお、宛先情報一覧表245において、宛先情報に対応付けて登録される各コンポーネントを識別する情報は上述したように各コンポーネントの識別子に限らず、例えばIPアドレスとポート番号とを組み合わせたものとすることもできる。   In the destination information list 245, the information for identifying each component registered in association with the destination information is not limited to the identifier of each component as described above, and is, for example, a combination of an IP address and a port number. You can also

また、宛先情報対応付表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 “destination information 1”) and each destination information 1 as a destination. 10 is a table showing a list of correspondence relationships with additional destination information (this is referred to as “destination information 2”) when a transfer message is added to the destination information 1 and transferred. That is, a plurality of pieces of destination information are registered in the destination information correspondence table 246 so that they can be associated with each other. Each “destination information 2” can be not set, or two or more pieces of destination information can be set. Each “destination information 2” can be registered in response to a request from each component corresponding to “destination information 2”. In the example shown in FIG. 4, “destination information 2” is not registered for “destination information A”. On the other hand, “destination information A” is registered as “destination information 2” in “destination information B”. In this case, the “destination information A” “destination information” is stored in the destination information list 245 as its own destination information (in the example of FIG. 3, the component in which “component identifier X” is set). “Destination information A” is registered as “Destination information 2” in association with “Information B”. When registration is performed as illustrated in FIG. 3, a transfer message having “destination information A” as a transfer destination is transmitted to one component corresponding to “destination information A”. On the other hand, the transfer message having “destination information B” as the transfer destination is transmitted to the component corresponding to “destination information A” in addition to the component corresponding to “destination information B”.

次に、図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 notification messages 41 and 42 shown in FIG. 1 will be described with reference to FIG. The notification messages 41 and 42 (hereinafter, the notification message 41 will be described as a representative) shown in FIG. 5 have the same configuration and are configured as HTTP requests that are requests based on HTTP. The notification message 41 includes a request line 411, a message header 412, and a message body 413. The request line 411 includes a method 414 and a URI (Uniform Resource Identifier) 415. The method 414 is a method that is executed by the resource identified by the URI 415. In the notification message 41 of this embodiment, “POST (post)”, which is a method for transmitting data to the server, is set in the method 415. The URI 415 is set with the URI of the communication component 21 shown in FIG. In addition, the request line 411 can include an HTTP version and the like.

メッセージヘッダ412には、通信コンポーネント21に引き渡す追加の情報が含まれる。本実施形態の通知メッセージ41は、少なくとも認証情報416を含んでいる。認証情報416は、認証処理に使用される情報であり、例えばユーザ名とパスワードとを所定の方式でエンコードした情報である。認証情報416は、例えばHTTPで定義されたBasic認証(基本認証)に従って設定することができる。メッセージヘッダ412には、他に、アプリケーションのタイプ、文字セット、エンコード形式、アクセス先のドメイン、アクセス元のドメイン等の情報を含ませることができる。   The message header 412 includes additional information delivered to the communication component 21. The notification message 41 of this embodiment includes at least authentication information 416. The authentication information 416 is information used for authentication processing, for example, information obtained by encoding a user name and a password by a predetermined method. The authentication information 416 can be set according to, for example, basic authentication (basic authentication) defined by HTTP. In addition, the message header 412 can include information such as an application type, a character set, an encoding format, an access destination domain, and an access source domain.

メッセージボディ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 message body 413 includes a main body of information that the alarm notification component 31 illustrated in FIG. 1 transmits to a predetermined component via the communication component 21 and the cooperation component 24. The notification message 41 of the present embodiment includes destination information 417, control information 418, and notification information 419. The notification information 419 includes the content of information that the alarm notification component 31 wishes to notify the alarm processing component 22, for example. The notification information 419 includes, for example, one or more argument names indicating information to be notified, argument types, and argument values. The destination information 417 includes destination information registered in the cooperation component 24 by the notification destination component of the notification message 41. For example, when the alarm notification component 31 notifies the alarm processing component 22 of the notification information 419, the destination information registered by the alarm processing component 22 with respect to the cooperation component 24 (for example, “destination information A” illustrated in FIG. 9). Is set in the destination information 417. In the control information 418, information specifying a message transfer method by the cooperation component 24 is set. For example, information indicating whether the transfer method is the synchronous method or the asynchronous method is set.

次に、図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 transfer messages 51, 52, and 53 shown in FIG. 1 will be described with reference to FIG. Transfer messages 51, 52, and 53 shown in FIG. 6 (hereinafter, transfer message 51 will be described as a representative) have the same configuration, for example, a text message. The transfer message 51 includes notification information 511 that is information corresponding to the notification information 419 included in the notification message 41 illustrated in FIG. The notification information 511 may be the same as the notification information 419, or a part of the information may be omitted. The notification information 511 may be information obtained by converting the format, encoding format, and the like of the notification information 419 into a predetermined one. Further, the notification information 511 may include all or part of the message header 412 included in the notification message 41 illustrated in FIG.

次に、図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 message processing system 1 according to the present embodiment will be described with reference to FIG. FIG. 7 is a sequence diagram showing a processing procedure of the message processing system 1 according to the present embodiment described with reference to FIGS. 1 to 6. Note that “destination information A” is set in the alarm processing component 22 in advance. In the alarm processing component 22, “destination information B” is set as destination information associated with “destination information A”. Further, “destination information B” is set in the user information processing component 23. In the alarm notification component 31, “destination information A” is set as the destination information of the notification destination component of the notification message 41. In the user information notification component 32, “destination information B” is set as the destination information of the notification destination component of the notification message.

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 alarm processing component 22 registers “destination information A” in association with its own component (that is, the alarm processing component 22) with respect to the cooperation component 24, and “destination information A "Is registered in association with" destination information B "(step S101). Further, the user information processing component 23 registers “destination information B” in association with the component (that is, the user information processing component 23) in the cooperation component 24 (step S102). Here, “destination information A” and “destination information B” are registered in the destination information list 245 (FIGS. 2 and 3) of the linkage component 24 as shown in FIG. Further, as shown in FIG. 4, “destination information A” is registered in association with “destination information B” in the destination information correspondence table 246 of the linkage component 24. In this case, it is assumed that the component identifier of the alarm processing component 22 is “component identifier X”, and the component identifier of the user information processing component 23 is “component identifier Y”.

なお、図示していないが、通信コンポーネント21は、警報通知コンポーネント31、ユーザ情報通知コンポーネント32等の他のコンポーネントからの返信を連携コンポーネント24を介して受信できるように、所定の宛先情報を連携コンポーネント24に対して登録することができる。   Although not shown, the communication component 21 sends predetermined destination information to the cooperation component so that a reply from another component such as the alarm notification component 31 and the user information notification component 32 can be received via the cooperation component 24. 24 can be registered.

次に、外部サーバ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 alarm notification component 31 detects a predetermined alarm event, the alarm notification component 31 generates a notification message 41 in which “destination information A” is set in the destination information 417 (FIG. 5). And transmitted to the communication component 21 (step S201). The communication component 21 determines whether to accept the notification message 41 based on at least one of the method 414 included in the notification message 41 or the content of the message header 412, and performs authentication processing based on the authentication information 416 included in the notification message 41. It performs (step S202). In step S202, for example, the communication component 21 rejects the notification message 41 when the method 414 included in the notification message 41 is not “POST”, or the transmission source domain information included in the message header 412 is other than a predetermined domain. In some cases, the notification message 41 is rejected. Further, the communication component 21 refers to a predetermined database in the Web server 2 and determines whether or not the authentication information 416 is valid.

次に、通信コンポーネント21は、ステップS202の認証処理で通知メッセージ41の正当性が確認されたとき、通知メッセージ41に含まれている通知情報419に対応する情報を含む転送メッセージ51を生成し、通知メッセージ41が宛先情報417として含む「宛先情報A」を送り先に指定して、連携コンポーネント24に対する転送メッセージ51の書き込み処理を行う(S203)。また、ステップS203で通信コンポーネント21は、通知メッセージ41が含む制御情報418を参照し、メッセージの転送方式を「同期方式」とするか「非同期方式」とするかの指定も連携コンポーネント24に対して行う。ここでは「非同期方式」とする指定を行ったこととする。   Next, the communication component 21 generates the transfer message 51 including information corresponding to the notification information 419 included in the notification message 41 when the validity of the notification message 41 is confirmed in the authentication processing in step S202. The “destination information A” included in the notification message 41 as the destination information 417 is designated as the destination, and the transfer message 51 is written to the cooperation component 24 (S203). In step S203, the communication component 21 refers to the control information 418 included in the notification message 41, and designates whether the message transfer method is “synchronous method” or “asynchronous method” to the cooperation component 24. Do. Here, it is assumed that “asynchronous method” is designated.

連携コンポーネント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 transfer message 51 is written by the communication component 21, the cooperation component 24 sends the transfer message 51 to the component in which the destination information corresponding to the “destination information A” designated as the destination of the transfer message is registered. Transmit (in this case, as transfer message 52) and deliver (step S204). In step S204, the linkage component 24 refers to the destination information list 245 (FIG. 3) and confirms that “component identifier X” of the alarm processing component 22 is registered in association with “destination information A”. Detect. Further, in step S204, the linkage component 24 refers to the destination information correspondence table 246 (FIG. 4), and detects that no other destination information is associated with “destination information A”. Therefore, in this case, in step S204, the linking component 24 uses the alarm processing component in which the component that registered the destination information corresponding to the “destination information A” designated as the destination of the transfer message 51 is set to “component identifier X”. 22 is detected, and the transfer message 51 is transferred to the alarm processing component 22 as the transfer message 52.

次に、ステップS204において転送メッセージ52を受信した場合、警報処理コンポーネント22は、当該転送メッセージ52を用いて所定の処理を行う(ステップS205)。   Next, when the transfer message 52 is received in step S204, the alarm processing component 22 performs a predetermined process using the transfer message 52 (step S205).

次に、外部サーバ3において、ユーザ情報通知コンポーネント32が所定の通知事象を検知したとすると、ユーザ情報通知コンポーネント32は、宛先情報417(図5)に「宛先情報B」を設定した通知メッセージ42を生成し、通信コンポーネント21へ送信する(ステップS301)。通信コンポーネント21は、ステップS202と同様に認証処理を行う(ステップS302)。   Next, in the external server 3, if the user information notification component 32 detects a predetermined notification event, the user information notification component 32 sets the notification message 42 in which “destination information B” is set in the destination information 417 (FIG. 5). Is transmitted to the communication component 21 (step S301). The communication component 21 performs authentication processing in the same manner as in step S202 (step S302).

次に、通信コンポーネント21は、ステップS302の認証処理で通知メッセージ42の正当性が確認されたとき、通知メッセージ42に含まれている通知情報419に対応する情報を含む転送メッセージ51を生成し、通知メッセージ42が宛先情報417として含む「宛先情報B」を送り先に指定して、連携コンポーネント24に対する転送メッセージ51の書き込み処理を行う(S303)。また、ステップS303で通信コンポーネント21は、通知メッセージ42が含む制御情報418を参照し、メッセージの転送方式を「非同期方式」とする指定する。   Next, when the validity of the notification message 42 is confirmed in the authentication process in step S302, the communication component 21 generates a transfer message 51 including information corresponding to the notification information 419 included in the notification message 42, The “destination information B” included in the notification message 42 as the destination information 417 is designated as the destination, and the transfer message 51 is written to the cooperation component 24 (S303). In step S303, the communication component 21 refers to the control information 418 included in the notification message 42, and designates the message transfer method as “asynchronous method”.

次に、連携コンポーネント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 transfer message 51 is written by the communication component 21, the cooperation component 24 transfers the transfer to the component in which the destination information corresponding to “destination information B” designated as the destination of the transfer message is registered. The message 51 is transmitted (in this case, as transfer messages 52 and 53) and delivered (step S304). In step S304, the linkage component 24 refers to the destination information list 245 (FIG. 3), and “destination information B” is registered in association with “component identifier Y” of the user information processing component 23. Is detected. Further, in step S304, the cooperation component 24 refers to the destination information correspondence table 246 (FIG. 4), and detects that “destination information A” is associated with “destination information B”. Therefore, in this case, in step S304, the cooperation component 24 determines that the component in which the destination information corresponding to the “destination information B” designated as the destination of the transfer message 51 is registered is the user information processing in which the “component identifier Y” is set. It is detected that the component 23 is an alarm processing component 22 in which “component identifier X” in which “destination information A” is registered is set. Therefore, in step S <b> 304, the cooperation component 24 transfers the transfer message 51 as the transfer message 53 to the user information processing component 23 and transfers it as the transfer message 52 to the alarm processing component 22.

次に、ステップS305において転送メッセージ52を受信した場合、警報処理コンポーネント22は、当該転送メッセージ52を用いて所定の処理を行う(ステップS305)。また、ステップS305において転送メッセージ53を受信した場合、ユーザ情報処理コンポーネント23は、当該転送メッセージ53を用いて所定の処理を行う(ステップS306)。   Next, when the transfer message 52 is received in step S305, the alarm processing component 22 performs a predetermined process using the transfer message 52 (step S305). When the transfer message 53 is received in step S305, the user information processing component 23 performs a predetermined process using the transfer message 53 (step S306).

次に、図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 alarm processing component 25 shown in FIG. 8 is newly added to the Web server 2 of FIG. 1 will be described. It is assumed that “destination information C” is set in the alarm processing component 25. The alarm processing component 25 is set to register “destination information C” in association with “destination information A”. In FIG. 8, the same steps as those shown in FIG. 7 are denoted by the same reference numerals. Hereinafter, a procedure different from that described mainly with reference to FIG. 7 will be described.

図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 alarm processing component 22 registers the destination information with the linkage component 24 (step S <b> 101), and the user information processing component 23 sends the destination information to the linkage component. 24 (step S102), the alarm processing component 25 registers “destination information C” in association with the component (that is, the alarm processing component 25) in the cooperation component 24 (step S103). .

ここで、連携コンポーネント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 destination information list 245 of the linkage component 24 as shown in FIG. Further, in the destination information correspondence table 246 included in the linkage component 24, “destination information A” is registered in association with “destination information B” as shown in FIG. On the other hand, “destination information C” is registered in association with each other. In this case, it is assumed that the component identifier of the alarm processing component 25 is “component identifier Z”.

次に、外部サーバ3において、警報通知コンポーネント31が所定の警報事象を検知したとすると、警報通知コンポーネント31は、宛先情報417(図5)に「宛先情報A」を設定した通知メッセージ41を生成し、通信コンポーネント21へ送信する(ステップS201)。次に、通信コンポーネント21は、ステップS202の認証処理と、ステップS203の書込処理とを実行する。   Next, in the external server 3, if the alarm notification component 31 detects a predetermined alarm event, the alarm notification component 31 generates a notification message 41 in which “destination information A” is set in the destination information 417 (FIG. 5). And transmitted to the communication component 21 (step S201). Next, the communication component 21 executes the authentication process in step S202 and the write process in step S203.

連携コンポーネント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 transfer message 51 is written by the communication component 21, the cooperation component 24 sends the transfer message 51 to the component in which the destination information corresponding to the “destination information A” designated as the destination of the transfer message is registered. Transmit and deliver (step S204a). In step S204a, the linking component 24 refers to the destination information list 245 (FIG. 9) and confirms that “component identifier X” of the alarm processing component 22 is registered in association with “destination information A”. Detect. Further, in step S204a, the linkage component 24 refers to the destination information correspondence table 246 (FIG. 10) and detects that “destination information C” is associated with “destination information A”. Therefore, in this case, in step S204a, the cooperation component 24 determines that the component that registered the destination information corresponding to the “destination information A” designated as the destination of the transfer message 51 is the alarm processing component in which the “component identifier X” is set. 22 and the alarm processing component 25 in which “component identifier Z” in which “destination information C” is registered is detected. Accordingly, in step S <b> 204 a, the cooperation component 24 transfers the transfer message 51 to the alarm processing component 22 and also to the alarm processing component 25.

次に、ステップS204aにおいて転送メッセージを受信した場合、警報処理コンポーネント22は、当該転送メッセージを用いて所定の処理を行う(ステップS205)。また、ステップS204aにおいて転送メッセージを受信した場合、警報処理コンポーネント25は、当該転送メッセージを用いて所定の処理を行う(ステップS206)。   Next, when the transfer message is received in step S204a, the alarm processing component 22 performs a predetermined process using the transfer message (step S205). When the transfer message is received in step S204a, the alarm processing component 25 performs a predetermined process using the transfer message (step S206).

以上のように、本実施形態によれば、例えば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 message processing system 1.

また、本実施形態では、警報通知コンポーネント、ユーザ情報通知コンポーネント等の通知コンポーネントと、警報処理コンポーネント、ユーザ情報処理コンポーネント等の処理コンポーネントと、通知コンポーネントが送信した通知メッセージを受信する通信コンポーネントとを、分離して構成しているので、これらを一体的に結合したプログラムと比較して機能拡張時に影響範囲を小さくできるため、拡張性が高い。また、独立性が高いため対向側サーバのシステム故障時にも影響が小さい。また、本実施形態では、コンポーネント間の通信が連携コンポーネントを介して行われるのでログ管理が比較的簡単に行える。   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 alarm processing component 22 into a step of registering the destination information with the cooperation component 24 and a step of registering the destination information as a message receiving side. Can do. The notification messages 41 and 42 and the transfer messages 51 to 53 may be described according to, for example, JSON (JavaScript (registered trademark) Object Notation), or may be described according to XML (Extensible Markup Language), Or they may be mixed.

また、上記実施形態において、メッセージ処理システム1は、内部に1又は複数のコンピュータシステムを有している。そして、上述の各部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述の各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。   In the above embodiment, the message processing system 1 includes one or more computer systems. Then, a program for realizing the functions of the above-described units is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system and executed, thereby executing the processing of each unit described above. You may go. Here, the “computer system” includes an OS and hardware such as peripheral devices.

また、「コンピュータシステム」は、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 notification message 41 including authentication information 416, destination information 417 (first destination information), and notification information 419 to a predetermined notification component such as the alarm notification component 31. When received from the (notification unit), when the validity of the notification message 41 is confirmed based on the authentication information 416, the transfer message 51 including information corresponding to the notification information 419 is generated and the destination information 417 (first destination information) ) Is designated as a destination, and the communication component 21 (communication unit) is written to the predetermined cooperation component 24 (cooperation unit). Further, the Web server 2 registers the destination information (second destination information) with respect to the cooperation component 24 (cooperation unit), and sends a transfer message 51 (= transfer message 52 or 53) from the cooperation component 24 (cooperation unit). A plurality of processing components (processing units) such as an alarm processing component 22 and a user information processing component 23 that respectively perform predetermined processing using the transfer message when received. Further, when the transfer message 51 is written by the communication component 21 (communication unit), the Web server 2 receives the destination information (second destination information) corresponding to the destination information 417 (first destination information) specified as the destination of the transfer message. Cooperation component 24 (cooperation) that delivers the transfer message 51 (= transfer message 52 or 53) to one or a plurality of alarm processing components 22 and user information processing components 23 that have registered the destination information) Part).
Thereby, for example, even when a processing component (processing unit) such as the alarm processing component 22 that performs alarm transmission or the like is changed or added, the processing component (first destination information) is processed so as to correspond to the destination information 417 (first destination information). The processing unit) registers the destination information (second destination information) in the cooperation component 24 (cooperation unit), so that the notification messages 41, 42 and the like transmitted by a predetermined notification component (notification unit) such as the alarm notification component 31 are transmitted. Processing can be performed by a desired processing component (processing unit). Therefore, it is possible to facilitate renewal and expansion of functions in a plurality of processing components (processing units) and the message processing system 1.

[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 alarm notification component 31.
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 notification message 41 or the like is an HTTP message, the communication component 21 (communication unit) performs the processing based on at least one of the contents of the method 414 or the message header 412 (header) included in the notification message 41 or the like. Acceptance of the notification message 41 or the like can be restricted.
Thereby, it is possible to realize access restriction by CORS.

以上、本発明の実施の形態について説明したが、本発明のメッセージ処理システム1は、上述の図示例にのみに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。   Although the embodiment of the present invention has been described above, the message processing system 1 of the present invention is not limited to the above illustrated example, and various modifications are made without departing from the gist of the present invention. Of course you get.

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 Destination information list 246 Destination information correspondence table 3 External server
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)

認証情報と第1宛先情報と通知情報とを含む通知メッセージを所定の通知部から受信した場合、前記認証情報に基づき前記通知メッセージの正当性が確認されたとき、前記通知情報に対応する情報を含む転送メッセージを生成し、前記第1宛先情報を送り先に指定して所定の連携部に書き込む通信部と、
前記連携部に対し第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.
前記連携部が、複数の前記第2宛先情報を相互に対応付け可能に登録する
ことを特徴とする請求項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.
前記通知メッセージが、HTTPメッセージであり、
前記通信部が、前記通知メッセージが含むメソッド又はヘッダの内容の少なくとも一方に基づき当該通知メッセージの受け入れを制限する
ことを特徴とする請求項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.
認証情報と第1宛先情報と通知情報とを含む通知メッセージを所定の通知部から受信した場合、前記認証情報に基づき前記通知メッセージの正当性が確認されたとき、前記通知情報に対応する情報を含む転送メッセージを生成し、前記第1宛先情報を送り先に指定して所定の連携部に書き込む通信部と、
前記連携部に対し第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.
通信部が、認証情報と第1宛先情報と通知情報とを含む通知メッセージを所定の通知部から受信した場合に、前記認証情報に基づき前記通知メッセージの正当性が確認されたとき、前記通知情報に対応する情報を含む転送メッセージを生成し、前記第1宛先情報を送り先に指定して所定の連携部に書き込むステップと、
複数の処理部が、前記連携部に対し第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.
認証情報と第1宛先情報と通知情報とを含む通知メッセージを所定の通知部から受信した場合、前記認証情報に基づき前記通知メッセージの正当性が確認されたとき、前記通知情報に対応する情報を含む転送メッセージを生成し、前記第1宛先情報を送り先に指定して所定の連携部に書き込む通信部と、
前記連携部に対し第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.
JP2014139675A 2014-07-07 2014-07-07 Server, message processing system, message processing method and program Active JP6364262B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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