JP5672899B2 - Information processing apparatus, information processing system, message processing method, and message processing program - Google Patents

Information processing apparatus, information processing system, message processing method, and message processing program Download PDF

Info

Publication number
JP5672899B2
JP5672899B2 JP2010215255A JP2010215255A JP5672899B2 JP 5672899 B2 JP5672899 B2 JP 5672899B2 JP 2010215255 A JP2010215255 A JP 2010215255A JP 2010215255 A JP2010215255 A JP 2010215255A JP 5672899 B2 JP5672899 B2 JP 5672899B2
Authority
JP
Japan
Prior art keywords
message
application
information
unit
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010215255A
Other languages
Japanese (ja)
Other versions
JP2012069057A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2010215255A priority Critical patent/JP5672899B2/en
Publication of JP2012069057A publication Critical patent/JP2012069057A/en
Application granted granted Critical
Publication of JP5672899B2 publication Critical patent/JP5672899B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理装置、情報処理システム、メッセージ処理方法およびメッセージ処理プログラムに関し、特に、他の装置のアプリケーションからのメッセージを処理する情報処理装置、情報処理システム、メッセージ処理方法およびメッセージ処理プログラムに関する。   The present invention relates to an information processing device, an information processing system, a message processing method, and a message processing program, and particularly relates to an information processing device, an information processing system, a message processing method, and a message processing program for processing a message from an application of another device. .

クライアント・サーバーモデルにおいて、TCP/IP(Transmission Control Protocol/Internet Protocol)通信分野等のデータ転送に関する構成の一例が、特表2006−067831号公報(特許文献1)に開示されている。すなわち、ファイアウォールには、通過を許容する1または複数のポートを集約した集約ポートのみが許可設定されている。通信元クライアントは、内部ネットワークに接続する目的の接続要求先と接続する場合、目的の接続要求先が設定された接続要求情報を、集約ポートを宛先として発行する。中継機サーバーでは、接続要求情報取得手段は、ファイアウォールを通過し、集約ポートより入力された接続要求情報を読み出す。中継手段は、接続要求情報に基づいて宛先を目的の接続要求先に変更し、その接続要求情報を目的の接続要求先に送信して接続要求を行なうとともに、目的の接続要求先から取得した接続結果情報を通信元クライアントに送信する。   An example of a configuration relating to data transfer in the TCP / IP (Transmission Control Protocol / Internet Protocol) communication field or the like in the client / server model is disclosed in JP-T-2006-067831 (Patent Document 1). That is, in the firewall, only an aggregate port obtained by aggregating one or a plurality of ports that allow passage is permitted. When connecting to a target connection request destination connected to the internal network, the communication source client issues connection request information in which the target connection request destination is set, with the aggregation port as the destination. In the relay server, the connection request information acquisition unit reads the connection request information input from the aggregation port through the firewall. The relay means changes the destination to the target connection request destination based on the connection request information, transmits the connection request information to the target connection request destination, makes a connection request, and obtains the connection acquired from the target connection request destination. The result information is transmitted to the communication source client.

また、特表2000−016201号公報(特許文献2)には、以下のような技術が開示されている。すなわち、複数のクライアントのPCに組込まれたhttp(HyperText Transfer Protocol)によりWebサーバーと連動するアプリケーションプログラムと上記各クライアントPC(Personal Computer)と、インターネットおよび/又はイントラネットを介して接続されhttpの通信プログラムおよびアプリケーションを実行するためのCGI(Common Gateway Interface)インターフェイスを有すると共にWeb型チャットサーバーを有するWebサーバーとからなり、該Web型チャットサーバーがPCのアプリケーションを使って各クライアント同士がインターネットおよび/又はイントラネットを通して、擬似リアルタイムの状態で電子文のやり取りできるように構成されたhttpプロトコル連動のマルチメディアダイレクト通信システムである。   The following technique is disclosed in JP-T-2000-016201 (Patent Document 2). That is, an http communication program connected to an application program linked with a Web server by the HTTP (HyperText Transfer Protocol) incorporated in a plurality of client PCs and each client PC (Personal Computer) via the Internet and / or an intranet. And a Web server having a CGI (Common Gateway Interface) interface for executing the application and having a Web-type chat server. The Web-type chat server uses an application of a PC and each client communicates with the Internet and / or an intranet. The HTTP protocol-linked multimedia direct communication system configured to exchange electronic texts in a pseudo real-time state.

また、特開2007−142675号公報(特許文献3)には、以下のような技術が開示されている。すなわち、通信装置は、所定のプロトコルに含まれる第1のプロトコルで送信される第1のメッセージをサーバーに送信したときにネットワーク中継装置がアドレス変換した変換後ポート番号を含むポート番号情報メッセージをサーバーから受信する送受信部と、送信元ポート番号を変換後ポート番号と同一の値に設定した第2のメッセージを作成するUDP(User Datagram Protocol)処理部と、第2のメッセージを所定のプロトコルに含まれない第2のプロトコルでカプセル化した第3のメッセージを作成するESP(Encapsulated Security Payload)処理部と、第3のメッセージを所定のプロトコルに含まれる第3のプロトコルでカプセル化した第4のメッセージを作成するUDP処理部と、第4のメッセージを、ネットワーク中継装置を介してサーバーに送信する送受信部とを備える。   Japanese Unexamined Patent Application Publication No. 2007-142675 (Patent Document 3) discloses the following technique. That is, the communication apparatus transmits a port number information message including the converted port number, which is converted by the network relay apparatus when the first message transmitted by the first protocol included in the predetermined protocol is transmitted to the server. A predetermined protocol includes a transmission / reception unit that receives a message, a UDP (User Datagram Protocol) processing unit that creates a second message in which the source port number is set to the same value as the converted port number, and a second message An ESP (Encapsulated Security Payload) processing unit that creates a third message encapsulated by the second protocol that is not, and a fourth message that is encapsulated by the third protocol included in the predetermined protocol A UDP processing unit for creating a server and a fourth message via a network relay device It transmits to and a transceiver.

また、特開2010−093465号公報(特許文献4)には、以下のような技術が開示されている。すなわち、ヘッダー領域、ペイロード領域およびトレイラー領域で構成されるデータパケットを、データ送信元より経路選択装置を経由してデータ転送先に送信するデータ転送システムにおいて、上記データ送信元は、上記データパケットのトレイラー領域に次のデータパケットのヘッダー情報を付与する次データヘッダー付与部を備え、上記経路選択装置は、上記データ送信元より受信したデータパケットに付与された次データヘッダー情報に基づいて次データパケットの転送先ポートを決定するヘッダー解析部を備える。   Japanese Patent Laid-Open No. 2010-093465 (Patent Document 4) discloses the following technique. That is, in a data transfer system that transmits a data packet including a header area, a payload area, and a trailer area from a data transmission source to a data transfer destination via a route selection device, the data transmission source A next data header adding unit for adding header information of the next data packet to the trailer area, wherein the route selection device is configured to generate a next data packet based on the next data header information attached to the data packet received from the data transmission source; A header analysis unit for determining a transfer destination port of the network.

特表2006−067831号公報JP 2006-067831 A 特表2000−016201号公報Special table 2000-016201 特開2007−142675号公報JP 2007-142675 A 特開2010−093465号公報JP 2010-093465 A

図15は、関連技術の課題1を説明するための図である。   FIG. 15 is a diagram for explaining Problem 1 of the related art.

図15を参照して、TCP/IP通信を行なうアプリケーションでは、各アプリケーションのポート番号が重複していると通信が成立しない。具体的には、アプリケーション1および2に対応するポート番号が8500で競合していると、サーバー側のアプリケーション2は起動することができない(課題1)。   Referring to FIG. 15, in an application that performs TCP / IP communication, communication is not established if the port number of each application is duplicated. Specifically, if the port numbers corresponding to the applications 1 and 2 are in conflict with 8500, the server-side application 2 cannot be activated (Problem 1).

図16は、関連技術の課題2を説明するための図である。   FIG. 16 is a diagram for explaining Problem 2 of the related art.

図16を参照して、課題1を解決するために、ファイアウォールでは、TCP/IP通信を行なうアプリケーションのサービス数だけポートの穴開け処理すなわちアクセス制限の例外処理を行なう必要がある。具体的には、アプリケーション1に対応するポート番号8500、およびアプリケーション2に対応するポート番号8501の2つのポート番号の穴開け処理を行なう必要がある。しかしながら、このようなポートの穴空け処理は、ファイアウォールのセキュリティを弱める要因となってしまう(課題2)。   Referring to FIG. 16, in order to solve Problem 1, the firewall needs to perform port punching processing, that is, access restriction exception processing, for the number of services of the application that performs TCP / IP communication. Specifically, it is necessary to perform punching processing of two port numbers, port number 8500 corresponding to application 1 and port number 8501 corresponding to application 2. However, such a hole punching process becomes a factor that weakens the security of the firewall (Problem 2).

また、クライアント側に専用モジュールおよび専用サーバーを用意してファイアウォールの穴開け数を集約することは可能であるが、モジュールの設定工数およびサーバーの購入費がかかるという課題があった。   Although it is possible to prepare a dedicated module and a dedicated server on the client side and aggregate the number of holes in the firewall, there is a problem that a module setting man-hour and a server purchase cost are required.

そして、特許文献1〜特許文献4には、このような課題を解決するための構成は開示されていない。   Patent Documents 1 to 4 do not disclose a configuration for solving such a problem.

この発明は、上述の課題を解決するためになされたもので、その目的は、簡易な構成で、他の装置のアプリケーションからのメッセージを処理するとともに、セキュリティの向上を図ることが可能な情報処理装置、情報処理システム、メッセージ処理方法およびメッセージ処理プログラムを提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to process a message from an application of another device with a simple configuration and to improve security. An apparatus, an information processing system, a message processing method, and a message processing program are provided.

上記課題を解決するために、この発明のある局面に係わる情報処理装置は、他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置であって、複数の前記外部アプリケーション間で共通の集約ポート番号を含むように前記外部アプリケーションによって生成されたメッセージを1または複数の前記外部アプリケーションから受信するためのメッセージ受信部と、前記メッセージ受信部によって受信された前記メッセージに対応する前記内部アプリケーションを判別するための判別部と、前記判別部によって判別された前記内部アプリケーションへ対応の前記メッセージを転送するためのメッセージ転送部とを備える。 In order to solve the above problems, an information processing apparatus according to an aspect of the present invention is an information processing apparatus for processing a message from an external application in another apparatus by its own internal application, and a plurality of the external apparatuses Corresponding to the message received by the message receiver and a message receiver for receiving a message generated by the external application from one or more external applications so as to include a common aggregate port number among applications A determination unit for determining the internal application to be performed; and a message transfer unit for transferring the message corresponding to the internal application determined by the determination unit.

上記課題を解決するために、この発明のある局面に係わる情報処理システムは、クライアントと、サーバーとを備え、前記クライアントは、実行する各アプリケーションによって前記各アプリケーション間で共通の集約ポート番号を含むように生成されるメッセージを前記サーバーへ送信し、前記サーバーは、前記集約ポート番号を含むメッセージを1または複数の前記アプリケーションから受信し、受信した前記メッセージに対応する自己のアプリケーションを判別し、判別した前記アプリケーションへ対応の前記メッセージを転送する。 In order to solve the above-described problems, an information processing system according to an aspect of the present invention includes a client and a server, and the client includes a common aggregate port number among the applications depending on the applications to be executed. messages generated transmit Previous SL server, the server determines its own application the messages containing the aggregated port number received from one or more of the application, corresponding to the received message, determines The corresponding message is transferred to the application.

上記課題を解決するために、この発明のある局面に係わるメッセージ処理方法は、他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置におけるメッセージ処理方法であって、複数の前記外部アプリケーション間で共通の集約ポート番号を含むように前記外部アプリケーションによって生成されたメッセージを1または複数の前記外部アプリケーションから受信するステップと、受信した前記メッセージに対応する前記内部アプリケーションを判別するステップと、判別した前記内部アプリケーションへ対応の前記メッセージを転送するステップとを含む。 In order to solve the above problems, a message processing method according to an aspect of the present invention is a message processing method in an information processing apparatus for processing a message from an external application in another apparatus by its own internal application, Receiving from one or more external applications a message generated by the external application so as to include a common aggregate port number among the plurality of external applications, and determining the internal application corresponding to the received message And transferring the corresponding message to the determined internal application.

上記課題を解決するために、この発明のある局面に係わるメッセージ処理プログラムは、他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置におけるメッセージ処理プログラムであって、コンピュータに、複数の前記外部アプリケーション間で共通の集約ポート番号を含むように前記外部アプリケーションによって生成されたメッセージを1または複数の前記外部アプリケーションから受信するステップと、受信した前記メッセージに対応する前記内部アプリケーションを判別するステップと、判別した前記内部アプリケーションへ対応の前記メッセージを転送するステップとを実行させる。
In order to solve the above problems, a message processing program according to an aspect of the present invention is a message processing program in an information processing apparatus for processing a message from an external application in another apparatus by its own internal application, Receiving a message generated by the external application from one or more external applications so as to include a common aggregate port number among the plurality of external applications, and the internal corresponding to the received message A step of determining an application and a step of transferring the corresponding message to the determined internal application are executed.

本発明によれば、簡易な構成で、他の装置のアプリケーションからのメッセージを処理するとともに、セキュリティの向上を図ることができる。   According to the present invention, it is possible to process a message from an application of another device and improve security with a simple configuration.

本発明の第1の実施の形態に係る情報処理システムの構成を示す図である。It is a figure which shows the structure of the information processing system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るサーバーの概略構成図である。It is a schematic block diagram of the server which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る情報処理装置におけるアプリケーション判別データベースの内容の一例を示す図である。It is a figure which shows an example of the content of the application determination database in the information processing apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る情報処理装置におけるsrc/dst情報データベースの内容の一例を示す図である。It is a figure which shows an example of the content of the src / dst information database in the information processing apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る情報処理装置がメッセージ処理を行なう際の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure at the time of the information processing apparatus which concerns on the 1st Embodiment of this invention performing message processing. 本発明の第1の実施の形態に係る情報処理装置がメッセージ処理を行なう際の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure at the time of the information processing apparatus which concerns on the 1st Embodiment of this invention performing message processing. 本発明の第1の実施の形態に係る情報処理装置がメッセージ処理を行なう際の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure at the time of the information processing apparatus which concerns on the 1st Embodiment of this invention performing message processing. 本発明の第2の実施の形態に係る情報処理システムの構成を示す図である。It is a figure which shows the structure of the information processing system which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る情報処理装置におけるアプリケーションデータ蓄積データベースの内容の一例を示す図である。It is a figure which shows an example of the content of the application data storage database in the information processing apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る情報処理装置がメッセージ蓄積処理を行なう際の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure at the time of the information processing apparatus which concerns on the 2nd Embodiment of this invention performing a message storage process. 本発明の第2の実施の形態に係る情報処理システムの構成を示す図である。It is a figure which shows the structure of the information processing system which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る情報処理装置がメッセージ学習処理を行なう際の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure at the time of the information processing apparatus which concerns on the 2nd Embodiment of this invention performing a message learning process. 本発明の第2の実施の形態に係る情報処理システムの構成を示す図である。It is a figure which shows the structure of the information processing system which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る情報処理システムの構成を示す図である。It is a figure which shows the structure of the information processing system which concerns on the 2nd Embodiment of this invention. 関連技術の課題1を説明するための図である。It is a figure for demonstrating the subject 1 of related technology. 関連技術の課題2を説明するための図である。It is a figure for demonstrating the subject 2 of related technology.

以下、本発明の第1の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。   Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

<第1の実施の形態>
[構成および基本動作]
図1は、本発明の第1の実施の形態に係る情報処理システムの構成を示す図である。
<First Embodiment>
[Configuration and basic operation]
FIG. 1 is a diagram showing a configuration of an information processing system according to the first embodiment of the present invention.

図1を参照して、情報処理システム401は、情報処理装置であるサーバー30およびクライアント10,20を備える。図1では、情報処理システム401におけるクライアントを2つとしているが、情報処理システム401が1つまたは3つ以上のクライアントを備える構成であってもよい。   Referring to FIG. 1, the information processing system 401 includes a server 30 and clients 10 and 20 that are information processing apparatuses. In FIG. 1, the number of clients in the information processing system 401 is two, but the information processing system 401 may be configured to include one or three or more clients.

本発明の第1の実施の形態に係る情報処理装置は、典型的には、汎用的なアーキテクチャを有するコンピュータを基本構造としており、予めインストールされたプログラムを実行することで、後述するような各種機能を提供する。一般的に、このようなプログラムは、フレキシブルディスク(Flexible Disk)およびCD−ROM(Compact Disk Read Only Memory)などの記録媒体に格納されて、あるいはネットワークなどを介して流通する。   The information processing apparatus according to the first embodiment of the present invention typically has a basic structure of a computer having a general-purpose architecture, and executes various programs as will be described later by executing a preinstalled program. Provide functionality. In general, such a program is stored in a recording medium such as a flexible disk and a CD-ROM (Compact Disk Read Only Memory) or distributed via a network or the like.

本発明の第1の実施の形態に係るプログラムは、OS等の他のプログラムの一部に組み込まれて提供されるものであってもよい。この場合でも、本発明の第1の実施の形態に係るプログラム自体は、上記のような組み込み先の他のプログラムが有するモジュールを含んでおらず、当該他のプログラムと協働して処理が実行される。すなわち、本発明の第1の実施の形態に係るプログラムとしては、このような他のプログラムに組み込まれた形態であってもよい。   The program according to the first embodiment of the present invention may be provided by being incorporated in a part of another program such as an OS. Even in this case, the program itself according to the first embodiment of the present invention does not include a module included in another program as described above, and the process is executed in cooperation with the other program. Is done. In other words, the program according to the first embodiment of the present invention may be a form incorporated in such another program.

なお、代替的に、プログラムの実行により提供される機能の一部もしくは全部を専用のハードウェア回路として実装してもよい。   Alternatively, some or all of the functions provided by program execution may be implemented as a dedicated hardware circuit.

図2は、本発明の第1の実施の形態に係るサーバーの概略構成図である。クライアント10,20の構成は、たとえばサーバー30と同様である。   FIG. 2 is a schematic configuration diagram of a server according to the first embodiment of the present invention. The configuration of the clients 10 and 20 is the same as that of the server 30, for example.

図2を参照して、サーバー30は、演算処理部であるCPU(Central Processing Unit)101と、メインメモリ102と、ハードディスク103と、入力インターフェイス104と、表示コントローラ105と、データリーダ/ライタ106と、通信インターフェイス107とを備える。これらの各部は、バス121を介して、互いにデータ通信可能に接続される。   Referring to FIG. 2, the server 30 includes a central processing unit (CPU) 101 that is an arithmetic processing unit, a main memory 102, a hard disk 103, an input interface 104, a display controller 105, and a data reader / writer 106. And a communication interface 107. These units are connected to each other via a bus 121 so that data communication is possible.

CPU101は、ハードディスク103に格納されたプログラム(コード)をメインメモリ102に展開し、これらを所定順序で実行することにより、各種の演算を実施する。メインメモリ102は、典型的には、DRAM(Dynamic Random Access Memory)などの揮発性の記憶装置であり、ハードディスク103から読み出されたプログラムに加えて、各種の演算処理結果を示すデータなどを保持する。また、ハードディスク103は不揮発性の磁気記憶装置であり、CPU101で実行されるプログラムに加えて、各種設定値などが格納される。このハードディスク103にインストールされるプログラムは、後述するように、記録媒体111に格納された状態で流通する。なお、ハードディスク103に加えて、あるいはハードディスク103に代えて、フラッシュメモリなどの半導体記憶装置を採用してもよい。   The CPU 101 performs various operations by developing programs (codes) stored in the hard disk 103 in the main memory 102 and executing them in a predetermined order. The main memory 102 is typically a volatile storage device such as a DRAM (Dynamic Random Access Memory), and stores data indicating various arithmetic processing results in addition to programs read from the hard disk 103. To do. The hard disk 103 is a non-volatile magnetic storage device, and stores various setting values in addition to programs executed by the CPU 101. The program installed in the hard disk 103 is distributed in a state of being stored in the recording medium 111 as will be described later. In addition to the hard disk 103 or instead of the hard disk 103, a semiconductor storage device such as a flash memory may be employed.

入力インターフェイス104は、CPU101とキーボード108、マウス109および図示しないタッチパネルなどの入力部との間のデータ伝送を仲介する。すなわち、入力インターフェイス104は、ユーザが入力部を操作することで与えられる操作指令などの外部からの入力を受け付ける。   The input interface 104 mediates data transmission between the CPU 101 and an input unit such as a keyboard 108, a mouse 109, and a touch panel (not shown). That is, the input interface 104 receives an external input such as an operation command given by a user operating the input unit.

表示コントローラ105は、表示部の典型例であるディスプレイ110と接続され、ディスプレイ110での表示を制御する。すなわち、表示コントローラ105は、CPU101による画像処理の結果などをユーザに対して表示する。ディスプレイ110は、たとえばLCD(Liquid Crystal Display)またはCRT(Cathode Ray Tube)である。   The display controller 105 is connected to a display 110 that is a typical example of a display unit, and controls display on the display 110. That is, the display controller 105 displays the result of image processing by the CPU 101 to the user. The display 110 is, for example, an LCD (Liquid Crystal Display) or a CRT (Cathode Ray Tube).

データリーダ/ライタ106は、CPU101と記録媒体111の間のデータ伝送を仲介する。すなわち、記録媒体111は、サーバー30で実行されるプログラムなどが格納された状態で流通し、データリーダ/ライタ106は、この記録媒体111からプログラムを読み出す。また、データリーダ/ライタ106は、CPU101の内部指令に応答して、サーバー30における処理結果などを記録媒体111へ書き込む。なお、記録媒体111は、たとえば、CF(Compact Flash)およびSD(Secure Digital)などの汎用的な半導体記憶デバイス、フレキシブルディスク(Flexible Disk)などの磁気記憶媒体、またはCD−ROM(Compact Disk Read Only Memory)などの光学記憶媒体である。   The data reader / writer 106 mediates data transmission between the CPU 101 and the recording medium 111. That is, the recording medium 111 is distributed in a state where a program executed by the server 30 is stored, and the data reader / writer 106 reads the program from the recording medium 111. Further, the data reader / writer 106 writes the processing result in the server 30 to the recording medium 111 in response to the internal command of the CPU 101. The recording medium 111 is, for example, a general-purpose semiconductor storage device such as CF (Compact Flash) and SD (Secure Digital), a magnetic storage medium such as a flexible disk, or a CD-ROM (Compact Disk Read Only). Memory).

通信インターフェイス107は、CPU101と他のパーソナルコンピュータおよびサーバー装置などの間のデータ伝送を仲介する。通信インターフェイス107は、典型的には、イーサネット(登録商標)またはUSB(Universal Serial Bus)の通信機能を有する。なお、記録媒体111に格納されたプログラムをサーバー30にインストールする形態に代えて、通信インターフェイス107を介して配信サーバーなどからダウンロードしたプログラムをサーバー30にインストールしてもよい。   The communication interface 107 mediates data transmission between the CPU 101 and other personal computers and server devices. The communication interface 107 typically has an Ethernet (registered trademark) or USB (Universal Serial Bus) communication function. Instead of installing the program stored in the recording medium 111 in the server 30, a program downloaded from a distribution server or the like via the communication interface 107 may be installed in the server 30.

また、サーバー30には、必要に応じてプリンタなどの他の出力装置が接続されてもよい。   Further, other output devices such as a printer may be connected to the server 30 as necessary.

[制御構造]
次に、サーバー30におけるメッセージ処理機能を提供するための制御構造について説明する。
[Control structure]
Next, a control structure for providing a message processing function in the server 30 will be described.

図1は、本発明の第1の実施の形態に係る情報処理装置が提供する制御構造も示している。図1に示すサーバー30における各ブロックは、ハードディスク103に格納されたプログラム(コード)などをメインメモリ102に展開して、CPU101に実行させることで提供される。なお、図1に示す制御構造の一部もしくは全部を専用ハードウェアおよび/または配線回路によって実現してもよい。   FIG. 1 also shows a control structure provided by the information processing apparatus according to the first embodiment of the present invention. Each block in the server 30 shown in FIG. 1 is provided by developing a program (code) stored in the hard disk 103 in the main memory 102 and causing the CPU 101 to execute it. A part or all of the control structure shown in FIG. 1 may be realized by dedicated hardware and / or a wiring circuit.

図1を参照して、サーバー30は、その制御構造として、メッセージ送受部33と、メッセージ転送部35と、画面出力部39と、判別部41とを備える。また、サーバー30は、アプリケーション判別データベース(アプリケーション情報記憶部)38と、GUI(Graphical User Interface)40と、src/dst情報データベース(コネクション情報記憶部)42とを備える。判別部41は、データベース(DB)参照部41aと、整合判断部41bと、データベース(DB)書き換え部41cとを含む。アプリケーション判別データベース(DB)38およびsrc/dst情報データベース(DB)42は、図2に示すメインメモリ102またはハードディスク103に保存される。   Referring to FIG. 1, server 30 includes a message transmission / reception unit 33, a message transfer unit 35, a screen output unit 39, and a determination unit 41 as its control structure. The server 30 also includes an application determination database (application information storage unit) 38, a GUI (Graphical User Interface) 40, and an src / dst information database (connection information storage unit) 42. The determination unit 41 includes a database (DB) reference unit 41a, a consistency determination unit 41b, and a database (DB) rewriting unit 41c. The application determination database (DB) 38 and the src / dst information database (DB) 42 are stored in the main memory 102 or the hard disk 103 shown in FIG.

なお、GUI40はサーバー30に実装される構成に限らず、別の装置に実装されてもよい。   Note that the GUI 40 is not limited to the configuration mounted on the server 30 and may be mounted on another device.

サーバー30には、アプリケーション31と、アプリケーション32とが実装されている。クライアント10には、アプリケーション11と、アプリケーション12とが実装されている。クライアント20には、アプリケーション21と、アプリケーション22とが実装されている。アプリケーション31、アプリケーション11およびアプリケーション21は、同じ種類のアプリケーションAとして対応しており、アプリケーション32、アプリケーション12およびアプリケーション22は、同じ種類のアプリケーションBとして対応している。   An application 31 and an application 32 are installed on the server 30. An application 11 and an application 12 are mounted on the client 10. An application 21 and an application 22 are mounted on the client 20. The application 31, the application 11, and the application 21 correspond as the same type of application A, and the application 32, the application 12, and the application 22 correspond as the same type of application B.

また、クライアント上アプリケーション(外部アプリケーション)11,12,21,22の受け付けポートはそれぞれ1111,2222,3333,4444番ポートである。クライアント上アプリケーション11,12,21,22のサーバー30への送信先ポートは8500番ポートであり、サーバー上アプリケーション(内部アプリケーション)31,32の受け付けポートはそれぞれ8501,8502番ポートである。   Also, the reception ports of the on-client applications (external applications) 11, 12, 21, 22 are 1111, 2222, 3333, 4444, respectively. The transmission destination ports of the applications 11, 12, 21, and 22 on the client to the server 30 are the port 8500, and the reception ports of the applications (internal applications) 31 and 32 on the server are the ports 8501 and 8502, respectively.

サーバー30は、クライアント10,20におけるクライアント上アプリケーションからのメッセージを自己のサーバー上アプリケーション31,32によって処理する。   The server 30 processes the message from the client application on the clients 10 and 20 by the application 31 and 32 on its own server.

クライアント10,20は、実行する各アプリケーションによって生成されるメッセージに集約ポート番号を含めてサーバー30へ送信する。   The clients 10 and 20 transmit the message generated by each application to be executed to the server 30 including the aggregated port number.

サーバー30は、集約ポート番号を含むメッセージを各アプリケーションから受信し、受信したメッセージに対応する自己のアプリケーションを判別し、判別したアプリケーションへ対応のメッセージを転送する。   The server 30 receives a message including the aggregate port number from each application, determines its own application corresponding to the received message, and transfers the corresponding message to the determined application.

より詳細には、サーバー30において、メッセージ送受部33は、集約ポート番号を含むメッセージを各クライアント上アプリケーションから受信する。   More specifically, in the server 30, the message sending / receiving unit 33 receives a message including the aggregate port number from each client application.

判別部41は、メッセージ送受部33によって受信されたメッセージに対応するサーバー上アプリケーションを判別する。   The determination unit 41 determines an application on the server corresponding to the message received by the message transmission / reception unit 33.

メッセージ転送部35は、判別部41によって判別されたサーバー上アプリケーションへ対応のメッセージを転送する。   The message transfer unit 35 transfers a corresponding message to the server application determined by the determination unit 41.

たとえば、判別部41は、メッセージ送受部33によって受信されたメッセージに基づいて、メッセージに対応するサーバー上アプリケーションの個別ポート番号を判別する。   For example, the determination unit 41 determines the individual port number of the application on the server corresponding to the message based on the message received by the message transmission / reception unit 33.

メッセージ転送部35は、メッセージ送受部33によって受信されたメッセージの集約ポート番号を、判別部41によって判別された個別ポート番号に置き換えたメッセージを生成して転送する。   The message transfer unit 35 generates and transfers a message in which the aggregate port number of the message received by the message transmission / reception unit 33 is replaced with the individual port number determined by the determination unit 41.

図3は、本発明の第1の実施の形態に係る情報処理装置におけるアプリケーション判別データベースの内容の一例を示す図である。   FIG. 3 is a diagram showing an example of the contents of the application determination database in the information processing apparatus according to the first embodiment of the present invention.

図3を参照して、アプリケーション判別データベース38は、判別ルール、すなわちサーバー上アプリケーションとメッセージに含まれる所定の文字列との対応関係を示すアプリケーション情報を記憶する。アプリケーション判別DB38は、判別部41における整合判断部41bがメッセージの転送先情報を得るために利用される。   Referring to FIG. 3, application determination database 38 stores application information indicating a determination rule, that is, a correspondence relationship between an application on the server and a predetermined character string included in a message. The application determination DB 38 is used by the consistency determination unit 41b in the determination unit 41 to obtain message transfer destination information.

判別部41は、メッセージ送受部33によって受信されたメッセージの文字列とアプリケーション情報における所定の文字列とを照合することにより、メッセージに対応するサーバー上アプリケーションを判別する。   The determination unit 41 determines the application on the server corresponding to the message by collating the character string of the message received by the message transmission / reception unit 33 with a predetermined character string in the application information.

たとえば、アプリケーション判別DB38には、アプリケーション名、メッセージ方向、サーバー上アプリケーションへの転送先ポート、比較箇所、および比較文字列が格納される。   For example, the application determination DB 38 stores an application name, a message direction, a transfer destination port to the application on the server, a comparison part, and a comparison character string.

本発明の第1の実施の形態に係る情報処理システムでは、管理者により与えられた判別ルールを用いる。   In the information processing system according to the first embodiment of the present invention, a discrimination rule given by an administrator is used.

まず、一般にプロトコルの仕様が公開されているため事前に判別ルールを用意しておけるメッセージに対して、テンプレートを作成しておきアプリケーション判別DB38に格納しておく。   First, since a protocol specification is generally disclosed, a template is created for a message for which a discrimination rule can be prepared in advance and stored in the application discrimination DB 38.

たとえば、アプリケーションBとして、RFC(Request for Comments)で公開されているHTTP(HyperText Transfer Protocol)のメッセージであって、メッセージ方向がClient→Serverのメッセージは「GET **** HTTP/****」というプロトコルヘッダーを有する。ここで、「****」は固定で無い文字列である。このため、「GET 」という固定文字列を判別ルールとしてテンプレート化しておくことが可能である。   For example, an HTTP (HyperText Transfer Protocol) message published by RFC (Request for Comments) as the application B and the message direction is Client → Server is “GET ****** HTTP / ******”. Protocol header. Here, “***” is a non-fixed character string. Therefore, a fixed character string “GET” can be templated as a discrimination rule.

また、メッセージ方向がServer→Clientのメッセージは「HTTP/**** 200 OK」というプロトコルヘッダーを有するため、「HTTP/」という固定文字列を判別ルールとしてテンプレート化しておくことが可能である。   Further, since a message whose message direction is Server → Client has a protocol header “HTTP / *** 200 OK”, a fixed character string “HTTP /” can be templated as a determination rule.

なお、判別ルール作成のアルゴリズムを追加することにより、これらの他にも判別ルールを用意することが可能である。たとえば、SMTP(Simple Mail Transfer Protocol)については「HELO」といった固定文字列を判別ルールとしてテンプレート化しておくことが可能である。   In addition, it is possible to prepare discrimination rules in addition to these by adding an algorithm for creating discrimination rules. For example, for Simple Mail Transfer Protocol (SMTP), a fixed character string such as “HELO” can be templated as a determination rule.

図4は、本発明の第1の実施の形態に係る情報処理装置におけるsrc/dst情報データベースの内容の一例を示す図である。   FIG. 4 is a diagram showing an example of the contents of the src / dst information database in the information processing apparatus according to the first embodiment of the present invention.

図4を参照して、src/dst情報データベース42は、サーバー上アプリケーション、およびサーバー上アプリケーションとコネクション確立済みのクライアント上アプリケーションを実行するクライアントの識別情報を示すコネクション情報を記憶する。   Referring to FIG. 4, src / dst information database 42 stores connection information indicating identification information of an application on the server and a client executing a client application that has already established a connection with the application on the server.

判別部41は、メッセージ送受部33によって受信されたメッセージの送信元の識別情報とコネクション情報における識別情報とを照合することにより、メッセージに対応するサーバー上アプリケーションを判別する。   The determination unit 41 determines the application on the server corresponding to the message by collating the identification information of the transmission source of the message received by the message transmission / reception unit 33 with the identification information in the connection information.

たとえば、src/dst情報DB42には、判別部41におけるDB書き換え部41cによりアプリケーション名、クライアント情報(送信元情報)たとえばIPアドレスおよびクライアント上アプリケーションの受け付けポート、およびサーバー上アプリケーションへの転送先ポート(送信先情報)が格納される。src/dst情報DB42は、一度コネクション確立したクライアント上アプリケーションからのメッセージをアプリケーション判別DB38における判別ルールと照合せずにサーバー上アプリケーションに転送するために利用される。   For example, the src / dst information DB 42 includes an application name, client information (source information) such as an IP address and a reception port for an application on the client, and a transfer destination port to the application on the server (by the DB rewriting unit 41 c in the determination unit 41. Destination information) is stored. The src / dst information DB 42 is used to transfer a message from the client application that has once established a connection to the application on the server without matching the determination rule in the application determination DB 38.

[動作]
次に、本発明の第1の実施の形態に係る情報処理装置の動作について図面を用いて説明する。本発明の第1の実施の形態では、サーバー30を動作させることによって、本発明の第1の実施の形態に係るメッセージ処理方法が実施される。よって、本発明の第1の実施の形態に係るメッセージ処理方法の説明は、以下のサーバー30の動作説明に代える。なお、以下の説明においては、適宜図1を参照する。
[Operation]
Next, the operation of the information processing apparatus according to the first embodiment of the present invention will be described with reference to the drawings. In the first embodiment of the present invention, the message processing method according to the first embodiment of the present invention is performed by operating the server 30. Therefore, the description of the message processing method according to the first embodiment of the present invention is replaced with the following description of the operation of the server 30. In the following description, FIG. 1 is referred to as appropriate.

図5および図6は、本発明の第1の実施の形態に係る情報処理装置がメッセージ処理を行なう際の動作手順を示すフローチャートである。   5 and 6 are flowcharts showing an operation procedure when the information processing apparatus according to the first embodiment of the present invention performs message processing.

図5および図6を参照して、まず、クライアント10におけるアプリケーション11から送信されたメッセージ(ステップS303)は、サーバー30におけるメッセージ送受部33で受信され、整合判断部41bに送られる(ステップS215)。   5 and 6, first, a message (step S303) transmitted from the application 11 in the client 10 is received by the message transmission / reception unit 33 in the server 30 and sent to the matching determination unit 41b (step S215). .

次に、整合判断部41bは、DB参照部41a経由でアプリケーション判別DB38を参照する(ステップS216)。   Next, the matching determination unit 41b refers to the application determination DB 38 via the DB reference unit 41a (step S216).

次に、整合判断部41bは、DB参照部41a経由でアプリケーション判別DB38に格納されている判別ルールを呼び出し、当該メッセージに該当する判別ルールがあるか照らし合わせ(ステップS217)、該当判別ルールの有無により場合分けされた処理を行なう。   Next, the consistency determination unit 41b calls a determination rule stored in the application determination DB 38 via the DB reference unit 41a, checks whether there is a determination rule corresponding to the message (step S217), and whether there is a corresponding determination rule. The processing divided according to the case is performed.

すなわち、整合判断部41bは、該当判別ルールが存在しない場合には(ステップS218でNO)、当該メッセージを廃棄する(ステップS219)。   In other words, when there is no corresponding determination rule (NO in step S218), the consistency determination unit 41b discards the message (step S219).

次に、整合判断部41bは、画面出力部39からGUI40に結果を表示させて処理を終了する。GUI40は、エラー情報として「未登録のメッセージが廃棄されました。」を表示する(ステップS220,S221)。   Next, the matching determination unit 41b displays the result on the GUI 40 from the screen output unit 39 and ends the process. The GUI 40 displays “unregistered message has been discarded” as error information (steps S220 and S221).

一方、整合判断部41bは、該当判別ルールが存在する場合には(ステップS218でYES)、DB書き換え部41cを経由してsrc/dst情報DB42に当該メッセージの送信元情報および送信先情報が格納されているかを確認する(ステップS222)。   On the other hand, if there is a corresponding determination rule (YES in step S218), the consistency determining unit 41b stores the source information and destination information of the message in the src / dst information DB 42 via the DB rewriting unit 41c. It is confirmed whether it is done (step S222).

整合判断部41bは、src/dst情報DB42に該当情報が格納されていない場合には、DB書き換え部41cにて該当情報をsrc/dst情報DB42に格納する(ステップS223)。すなわち、整合判断部41bは、メッセージ送受部33によって受信されたメッセージに対応するサーバー上アプリケーションを判別した後(ステップS218でYES)、判別したメッセージに対応するコネクション情報が存在しない場合には(ステップS222でNO)、判別したメッセージに対応するサーバー上アプリケーションおよびメッセージを送信してきたクライアント上アプリケーションを実行するクライアントの識別情報をsrc/dst情報DB42におけるコネクション情報に追加する。   When the corresponding information is not stored in the src / dst information DB 42, the matching determination unit 41b stores the corresponding information in the src / dst information DB 42 in the DB rewrite unit 41c (step S223). That is, after determining the application on the server corresponding to the message received by the message transmission / reception unit 33 (YES in step S218), the consistency determination unit 41b determines that there is no connection information corresponding to the determined message (step S218). In S222, the server identification information of the client executing the application on the server corresponding to the determined message and the client application that has transmitted the message is added to the connection information in the src / dst information DB.

そして、整合判断部41bは、当該メッセージをメッセージ転送部35からサーバー上アプリケーションに転送する(ステップS224)。   Then, the matching determination unit 41b transfers the message from the message transfer unit 35 to the application on the server (step S224).

一方、整合判断部41bは、src/dst情報DB42に該当情報が格納されている場合には、単に当該メッセージをメッセージ転送部35からサーバー上アプリケーションに転送する(ステップS224)。   On the other hand, when the corresponding information is stored in the src / dst information DB 42, the matching determination unit 41b simply transfers the message from the message transfer unit 35 to the application on the server (step S224).

次に、サーバー上アプリケーションは、メッセージ転送部35からメッセージを受信して(ステップS103)、応答メッセージを送信する(ステップS104)。   Next, the application on the server receives a message from the message transfer unit 35 (step S103) and transmits a response message (step S104).

次に、整合判断部41bは、サーバー上アプリケーションから応答メッセージを受信して(ステップS225)、DB参照部41a経由でアプリケーション判別DB38を参照する(ステップS226)。   Next, the matching determination unit 41b receives a response message from the application on the server (step S225), and refers to the application determination DB 38 via the DB reference unit 41a (step S226).

次に、整合判断部41bは、DB参照部41a経由でアプリケーション判別DB38に格納されている判別ルールを呼び出し、サーバー上アプリケーションからの応答メッセージについても該当する判別ルールがあるか照らし合わせ(ステップS227)、該当判別ルールの有無により場合分けされた処理を行なう。   Next, the matching determination unit 41b calls the determination rule stored in the application determination DB 38 via the DB reference unit 41a, and checks whether there is a corresponding determination rule for the response message from the application on the server (step S227). Depending on the presence / absence of a corresponding determination rule, processing is performed according to the case.

すなわち、整合判断部41bは、該当判別ルールが存在しない場合には(ステップS228でNO)、当該メッセージを廃棄する(ステップS229)。   In other words, when there is no corresponding determination rule (NO in step S228), the consistency determination unit 41b discards the message (step S229).

次に、整合判断部41bは、画面出力部39からGUI40に結果を表示させて処理を終了する。GUI40は、エラー情報として「未登録のメッセージが廃棄されました。」を表示する(ステップS230,S231)。   Next, the matching determination unit 41b displays the result on the GUI 40 from the screen output unit 39 and ends the process. The GUI 40 displays “unregistered message has been discarded” as error information (steps S230 and S231).

一方、整合判断部41bは、該当判別ルールが存在する場合には(ステップS228でYES)、単に当該メッセージをメッセージ送受部33からクライアント上アプリケーションに送信する(ステップS232)。   On the other hand, if there is a corresponding determination rule (YES in step S228), the consistency determining unit 41b simply transmits the message from the message sending / receiving unit 33 to the client application (step S232).

次に、クライアント上アプリケーションは、整合判断部41bから当該メッセージを受信する(ステップS304)。   Next, the application on the client receives the message from the matching determination unit 41b (step S304).

図7は、本発明の第1の実施の形態に係る情報処理装置がメッセージ処理を行なう際の動作手順を示すフローチャートである。   FIG. 7 is a flowchart showing an operation procedure when the information processing apparatus according to the first embodiment of the present invention performs message processing.

図7は、図5および図6に示す処理が行われ、クライアント上アプリケーションおよびサーバー上アプリケーション間のコネクションが確立している状態における動作を示している。   FIG. 7 shows an operation in a state where the processing shown in FIGS. 5 and 6 is performed and a connection between the client application and the server application is established.

まず、クライアント上アプリケーションおよびサーバー上アプリケーション間のコネクションが確立されている状態において、クライアント10におけるアプリケーション11からメッセージが送信される(ステップS305)。   First, in a state where the connection between the client application and the server application is established, a message is transmitted from the application 11 in the client 10 (step S305).

次に、サーバー30におけるメッセージ送受部33は、当該メッセージを受信し、整合判断部41bに送る(ステップS233)。   Next, the message sending / receiving unit 33 in the server 30 receives the message and sends it to the matching determination unit 41b (step S233).

次に、整合判断部41bは、DB書き換え部41c経由でsrc/dst情報DB42を参照し、当該メッセージに含まれる送信元情報すなわちクライアントのIPアドレスおよびクライアント上アプリケーションの受け付けポートに基づいて、src/dst情報DB42に格納されている送信先情報すなわち転送先ポートを呼び出す(ステップS234)。そして、整合判断部41bは、当該メッセージに送信先情報を含めて、メッセージ転送部35から該当アプリケーション宛にメッセージを転送する(ステップS235)。   Next, the matching determination unit 41b refers to the src / dst information DB 42 via the DB rewriting unit 41c, and based on the transmission source information included in the message, that is, the client IP address and the reception port of the application on the client, The destination information stored in the dst information DB 42, that is, the transfer destination port is called (step S234). Then, the matching determination unit 41b includes the destination information in the message and transfers the message from the message transfer unit 35 to the application (step S235).

次に、アプリケーション31は、メッセージ転送部35からメッセージを受信して(ステップS105)、応答メッセージを送信する(ステップS106)。   Next, the application 31 receives a message from the message transfer unit 35 (step S105) and transmits a response message (step S106).

次に、メッセージ送受部33は、当該応答メッセージを受信して(ステップS236)、単に当該応答メッセージをクライアント10におけるアプリケーション11へ送信する(ステップS237)。   Next, the message transmitting / receiving unit 33 receives the response message (step S236), and simply transmits the response message to the application 11 in the client 10 (step S237).

次に、アプリケーション11は、メッセージ送受部33から当該応答メッセージを受信する(ステップS306)。   Next, the application 11 receives the response message from the message sending / receiving unit 33 (step S306).

次に、アプリケーション11は、アプリケーション31とのコネクションを切断しない場合には(ステップS307でNO)、処理を終了する。   Next, when the application 11 does not disconnect the connection with the application 31 (NO in step S307), the process ends.

一方、アプリケーション11は、アプリケーション31とのコネクションを切断する場合には(ステップS307でYES)、サーバー30に対してFINパケットを送信する(ステップS308)。   On the other hand, when the application 11 disconnects the connection with the application 31 (YES in step S307), the application 11 transmits a FIN packet to the server 30 (step S308).

次に、整合判断部41bは、FINパケットを受信すると(ステップS238)、FINパケットをメッセージ転送部35からアプリケーション31に転送する(ステップS241)。   Next, when receiving the FIN packet (step S238), the matching determination unit 41b transfers the FIN packet from the message transfer unit 35 to the application 31 (step S241).

ここで、整合判断部41bは、FINパケットの送信元に関する情報がsrc/dst情報DB42に存在する場合には(ステップS239でYES)、DB書き換え部41cを制御して、該当情報をsrc/dst情報DB42から削除する(ステップS240)。   Here, when the information regarding the source of the FIN packet exists in the src / dst information DB 42 (YES in step S239), the matching determination unit 41b controls the DB rewriting unit 41c to set the corresponding information to src / dst. It deletes from information DB42 (step S240).

次に、アプリケーション31は、FINパケットを受信して(ステップS107)、ACKパケットを送信する(ステップS108)。   Next, the application 31 receives the FIN packet (step S107) and transmits an ACK packet (step S108).

次に、メッセージ送受部33は、アプリケーション31からACKパケットを受信して(ステップS242)、ACKパケットをクライアント10におけるアプリケーション11へ送信する(ステップS243)。   Next, the message transmission / reception unit 33 receives an ACK packet from the application 31 (step S242), and transmits the ACK packet to the application 11 in the client 10 (step S243).

次に、クライアント10におけるアプリケーション11がACKパケットを受信して、処理を終了する(ステップS309)。   Next, the application 11 in the client 10 receives the ACK packet and ends the processing (step S309).

ところで、TCP/IP通信を行なうアプリケーションでは、各アプリケーションのポート番号が重複していると通信が成立しない。また、TCP/IP通信を行なうアプリケーションのサービス数だけポートの穴開け処理を行なうと、ファイアウォールのセキュリティを弱める要因となってしまう。   By the way, in an application that performs TCP / IP communication, communication is not established if the port number of each application is duplicated. Further, if the hole punching process is performed for the number of services of the application that performs TCP / IP communication, the firewall security is weakened.

また、クライアント側に専用モジュールおよび専用サーバーを用意してファイアウォールの穴開け数を集約することは可能であるが、モジュールの設定工数およびサーバーの購入費がかかってしまう。具体的には、ファイアウォールの穴開けを最小に留める構成であっても、クライアント・サーバーモデルに複数アプリケーションをインストールする場合、専用モジュールおよび専用サーバーを用意したり、アプリケーションの設定変更およびメッセージの判別ルールを事前設定したりする必要があり、人手の工数およびハードウェア費用がかかってしまう。   In addition, it is possible to prepare a dedicated module and dedicated server on the client side and aggregate the number of firewall holes, but it takes module setting man-hours and server purchase costs. Specifically, even if the configuration is to minimize the perforation of the firewall, when installing multiple applications on the client / server model, a dedicated module and dedicated server are prepared, application setting changes and message determination rules. Need to be set in advance, which requires man-hours and hardware costs.

たとえば、特許文献1に記載の構成は、通信元クライアントにおいて目的の接続要求先をパケットに含めておく構成であるため、通信元クライアントにおいて専用モジュール等が必要となってしまう。   For example, since the configuration described in Patent Document 1 is a configuration in which a target connection request destination is included in a packet in the communication source client, a dedicated module or the like is required in the communication source client.

これに対して、本発明の第1の実施の形態に係る情報処理装置では、メッセージ送受部33は、集約ポート番号を含むメッセージを1または複数のクライアント上アプリケーションから受信する。判別部41は、メッセージ送受部33によって受信されたメッセージに対応するサーバー上アプリケーションを判別する。そして、メッセージ転送部35は、判別部41によって判別されたサーバー上アプリケーションへ対応のメッセージを転送する。   On the other hand, in the information processing apparatus according to the first embodiment of the present invention, the message transmission / reception unit 33 receives a message including the aggregation port number from one or more applications on the client. The determination unit 41 determines an application on the server corresponding to the message received by the message transmission / reception unit 33. Then, the message transfer unit 35 transfers a corresponding message to the server application determined by the determination unit 41.

具体的には、「パターンマッチングによりアプリケーションを判別するための判別ルール」を用意し、アプリケーション判別DBに格納する。この判別ルールは、管理者により与えられてもよいし、自動的な蓄積および学習により得られてもよいし、あるいはその他の何らかの方法で得ることができる。   Specifically, a “discrimination rule for discriminating an application by pattern matching” is prepared and stored in the application discrimination DB. This determination rule may be given by an administrator, may be obtained by automatic accumulation and learning, or may be obtained by some other method.

そして、集約ポート宛にメッセージを送信するようにクライアント上アプリケーションを設定しておく。そして、サーバーが、該当ポートを経由するメッセージを、アプリケーション判別DB内の判別ルールとを照合して整合性を判断し、サーバー上にある本来の送信先であるアプリケーションの受け付けポートに対して転送する。   Then, an application on the client is set to transmit a message to the aggregation port. Then, the server compares the message passing through the port with the determination rule in the application determination DB to determine consistency, and forwards the message to the reception port of the application that is the original transmission destination on the server. .

このように、本発明の第1の実施の形態に係る情報処理装置では、複数サービスの使用ポートを集約し、各サービスのクライアントからの接続を同一ポートで受け付ける。これにより、ファイアウォールの設定変更をなくし、セキュリティ強度を高めることができる。言い換えれば、複数アプリケーションが共存する環境で、クライアント側に専用モジュールおよび専用サーバーを設けることなく、ファイアウォールの穴開けを集約する、すなわちクライアントからサーバー宛に送信されるメッセージのサーバー側受け付けポートを集約することが可能となり、セキュリティを強固に保つことができる。   As described above, in the information processing apparatus according to the first exemplary embodiment of the present invention, the used ports of a plurality of services are aggregated, and connections from clients of each service are received by the same port. As a result, it is possible to eliminate the firewall setting change and increase the security strength. In other words, in an environment where multiple applications coexist, without providing a dedicated module and dedicated server on the client side, aggregate the holes in the firewall, that is, aggregate the server-side acceptance ports for messages sent from the client to the server. And security can be maintained.

また、クライアント側において専用モジュールおよび専用サーバーを用意する必要がないことから、大規模環境であるほど、クライアント側における設定のための工数およびハードウェア費用を削減する効果を顕著に得ることができる。   Further, since it is not necessary to prepare a dedicated module and a dedicated server on the client side, the effect of reducing the man-hours for setting on the client side and the hardware cost can be significantly obtained as the environment becomes larger.

すなわち、本発明の第1の実施の形態に係る情報処理装置における各構成要素のうち、メッセージ送受部33と、メッセージ転送部35と、判別部41とからなる最小構成により、簡易な構成で、他の装置のアプリケーションからのメッセージを処理するとともに、セキュリティの向上を図るという本発明の目的を達成することが可能となる。   That is, among the constituent elements in the information processing apparatus according to the first embodiment of the present invention, the minimum configuration including the message transmission / reception unit 33, the message transfer unit 35, and the determination unit 41 has a simple configuration, It is possible to achieve the object of the present invention of processing messages from applications of other devices and improving security.

また、本発明の第1の実施の形態に係る情報処理装置では、判別部41は、メッセージ送受部33によって受信されたメッセージに基づいて、メッセージに対応するサーバー上アプリケーションの個別ポート番号を判別する。そして、メッセージ転送部35は、メッセージの集約ポート番号を、判別部41によって判別された個別ポート番号に置き換えたメッセージを生成して転送する。   In the information processing apparatus according to the first embodiment of the present invention, the determination unit 41 determines the individual port number of the application on the server corresponding to the message based on the message received by the message transmission / reception unit 33. . Then, the message transfer unit 35 generates and transfers a message in which the aggregate port number of the message is replaced with the individual port number determined by the determination unit 41.

このような構成により、クライアント上アプリケーションからサーバー上アプリケーションへのメッセージ転送を、サーバー側における簡易な処理で行なうことが可能となる。   With such a configuration, message transfer from the client application to the server application can be performed by simple processing on the server side.

また、本発明の第1の実施の形態に係る情報処理装置では、アプリケーション判別データベース38は、サーバー上アプリケーションとメッセージに含まれる所定の文字列との対応関係を示すアプリケーション情報を記憶する。そして、判別部41は、メッセージ送受部33によって受信されたメッセージの文字列とアプリケーション情報における所定の文字列とを照合することにより、メッセージに対応するサーバー上アプリケーションを判別する。   In the information processing apparatus according to the first embodiment of the present invention, the application determination database 38 stores application information indicating the correspondence between the application on the server and a predetermined character string included in the message. Then, the determination unit 41 determines the application on the server corresponding to the message by collating the character string of the message received by the message transmission / reception unit 33 with a predetermined character string in the application information.

このような構成により、クライアント上アプリケーションから受信したメッセージに対応するサーバー上アプリケーションの判別を、サーバー側における簡易な構成および処理で行なうことが可能となる。   With this configuration, it is possible to determine the server application corresponding to the message received from the client application with a simple configuration and processing on the server side.

また、本発明の第1の実施の形態に係る情報処理装置では、src/dst情報データベース42は、サーバー上アプリケーション、およびサーバー上アプリケーションとコネクション確立済みのクライアント上アプリケーションを実行するクライアントの識別情報を示すコネクション情報を記憶する。そして、判別部41は、メッセージ送受部33によって受信されたメッセージの送信元の識別情報とコネクション情報における識別情報とを照合することにより、メッセージに対応するサーバー上アプリケーションを判別する。   In the information processing apparatus according to the first embodiment of the present invention, the src / dst information database 42 includes identification information of a client that executes an application on the server and an application on the client that has established a connection with the application on the server. The connection information shown is stored. Then, the determination unit 41 determines the application on the server corresponding to the message by collating the identification information of the transmission source of the message received by the message transmission / reception unit 33 with the identification information in the connection information.

このような構成により、コネクションを確立したクライアント上アプリケーションからのメッセージを、判別ルールとの照合処理を行なうことなく、簡易な処理でサーバー上アプリケーションへ転送することができる。   With such a configuration, a message from the application on the client that has established the connection can be transferred to the application on the server by a simple process without performing a matching process with the determination rule.

また、本発明の第1の実施の形態に係る情報処理装置では、判別部41は、メッセージ送受部33によって受信されたメッセージに対応するサーバー上アプリケーションを判別した後、判別したメッセージに対応するコネクション情報が存在しない場合には、判別したメッセージに対応するサーバー上アプリケーションおよびメッセージを送信してきたクライアント上アプリケーションを実行するクライアントの識別情報をコネクション情報に追加する。   In the information processing apparatus according to the first embodiment of the present invention, the determination unit 41 determines the application on the server corresponding to the message received by the message transmission / reception unit 33, and then the connection corresponding to the determined message. If the information does not exist, identification information of the client executing the application on the server corresponding to the determined message and the client application that has transmitted the message is added to the connection information.

このような構成により、コネクション情報すなわちsrc/dst情報データベース42に、必要な情報を適切に追加することができる。   With such a configuration, necessary information can be appropriately added to the connection information, that is, the src / dst information database 42.

また、本発明の第1の実施の形態に係る情報処理装置では、判別部41は、サーバー上アプリケーションとクライアント上アプリケーションとのコネクションが切断される場合には、クライアント上アプリケーションに対応する情報をコネクション情報から削除する。   In the information processing apparatus according to the first embodiment of the present invention, when the connection between the application on the server and the application on the client is disconnected, the determination unit 41 connects information corresponding to the application on the client. Remove from information.

このような構成により、コネクション情報すなわちsrc/dst情報データベース42から、不要となった情報を適切に削除することができる。   With such a configuration, unnecessary information can be appropriately deleted from the connection information, that is, the src / dst information database 42.

また、本発明の第1の実施の形態に係る情報処理装置では、メッセージ送受部33は、メッセージをサーバー上アプリケーションから受信する。判別部41は、サーバー上アプリケーションからのメッセージに対応するクライアント上アプリケーションを判別し、判別できなかった場合にはメッセージを廃棄する。そして、メッセージ転送部35は、判別部41がメッセージに対応するクライアント上アプリケーションを判別できた場合には、メッセージをクライアント上アプリケーションに転送する。   In the information processing apparatus according to the first embodiment of the present invention, the message sending / receiving unit 33 receives a message from the application on the server. The determination unit 41 determines an application on the client corresponding to the message from the application on the server, and discards the message if it cannot be determined. Then, when the determination unit 41 can determine the client application corresponding to the message, the message transfer unit 35 transfers the message to the client application.

このような構成により、サーバー上アプリケーションからクライアント上アプリケーションへのメッセージについて、誤った転送処理を防ぐことが可能となる。   With such a configuration, it is possible to prevent an erroneous transfer process for a message from the application on the server to the application on the client.

また、本発明の第1の実施の形態に係る情報処理装置では、判別部41は、メッセージ送受部33によって受信されたメッセージに対応するアプリケーションを判別できない場合には、エラー情報を出力する。   In the information processing apparatus according to the first embodiment of the present invention, the determination unit 41 outputs error information when the application corresponding to the message received by the message transmission / reception unit 33 cannot be determined.

このような構成により、メッセージ転送処理における異常をユーザに適切に通知することが可能となる。   With such a configuration, it is possible to appropriately notify the user of an abnormality in the message transfer process.

なお、メッセージ転送部35は、メッセージ送受部33によって受信されたメッセージの集約ポート番号を、判別部41によって判別された個別ポート番号に置き換えたメッセージを生成して転送する構成であるとしたが、これに限定するものではない。メッセージ転送部35は、当該メッセージに個別ポート番号を追加してサーバー上アプリケーションに転送する構成であってもよいし、個別ポート番号を用いずに何らかの方法で当該メッセージを対応のサーバー上アプリケーションに転送する構成であってもよい。   The message transfer unit 35 is configured to generate and transfer a message in which the aggregated port number of the message received by the message sending / receiving unit 33 is replaced with the individual port number determined by the determination unit 41. However, the present invention is not limited to this. The message transfer unit 35 may be configured to add an individual port number to the message and transfer it to the application on the server, or transfer the message to the corresponding application on the server by some method without using the individual port number. It may be configured to.

次に、本発明の他の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。   Next, another embodiment of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

<第2の実施の形態>
本実施の形態は、判別ルールを自動的な蓄積および学習により構築する情報処理装置に関する。以下で説明する内容以外は第1の実施の形態に係る情報処理装置と同様である。
<Second Embodiment>
The present embodiment relates to an information processing apparatus that constructs discrimination rules through automatic accumulation and learning. The contents other than those described below are the same as those of the information processing apparatus according to the first embodiment.

図8は、本発明の第2の実施の形態に係る情報処理システムの構成を示す図である。図8は、サーバー30によるメッセージの蓄積段階を示している。   FIG. 8 is a diagram showing a configuration of an information processing system according to the second embodiment of the present invention. FIG. 8 shows a message accumulation stage by the server 30.

図8を参照して、情報処理システム402は、情報処理装置であるサーバー30およびクライアント10,20を備える。図8では、情報処理システム402におけるクライアントを2つとしているが、情報処理システム402が1つまたは3つ以上のクライアントを備える構成であってもよい。   Referring to FIG. 8, the information processing system 402 includes a server 30 and clients 10 and 20 that are information processing apparatuses. In FIG. 8, the number of clients in the information processing system 402 is two, but the information processing system 402 may be configured to include one or three or more clients.

サーバー30は、その制御構造として、本発明の第1の実施の形態に係るサーバー30と比べて、さらに、蓄積部34と、学習部36とを備える。蓄積部34は、メッセージ格納部34aを含む。学習部36は、メッセージ呼出部36aと、パターン分析部36bと、パターン格納部36cとを含む。   As compared with the server 30 according to the first embodiment of the present invention, the server 30 further includes a storage unit 34 and a learning unit 36 as its control structure. The accumulation unit 34 includes a message storage unit 34a. The learning unit 36 includes a message calling unit 36a, a pattern analysis unit 36b, and a pattern storage unit 36c.

また、サーバー30は、本発明の第1の実施の形態に係るサーバーと比べて、さらに、アプリケーションデータ蓄積データベース(メッセージ蓄積部)37を備える。アプリケーションデータ蓄積データベース(DB)37は、図2に示すメインメモリ102またはハードディスク103に保存される。   The server 30 further includes an application data storage database (message storage unit) 37 as compared with the server according to the first embodiment of the present invention. An application data storage database (DB) 37 is stored in the main memory 102 or the hard disk 103 shown in FIG.

図9は、本発明の第2の実施の形態に係る情報処理装置におけるアプリケーションデータ蓄積データベースの内容の一例を示す図である。   FIG. 9 is a diagram showing an example of the contents of the application data storage database in the information processing apparatus according to the second embodiment of the present invention.

図9を参照して、アプリケーションデータ蓄積データベース37は、メッセージ送受部33によって受信された複数のメッセージを蓄積する。   Referring to FIG. 9, application data storage database 37 stores a plurality of messages received by message transmission / reception unit 33.

たとえば、アプリケーションデータ蓄積DB37には、蓄積部34におけるメッセージ格納部34aにより、アプリケーション名、クライアント情報、メッセージ方向、およびメッセージ全文が蓄積される。アプリケーションデータ蓄積DB37は、学習部36におけるパターン分析部36bがメッセージの判別ルールを作成するために利用される。   For example, in the application data storage DB 37, the application name, client information, message direction, and the full message are stored by the message storage unit 34a in the storage unit 34. The application data storage DB 37 is used by the pattern analysis unit 36b in the learning unit 36 to create a message discrimination rule.

すなわち、パターン分析部36bは、アプリケーションデータ蓄積データベース37によって蓄積された複数のメッセージに対してパターンマッチングを行なうことにより、所定の文字列を抽出し、サーバー上アプリケーションおよび抽出した所定の文字列の対応関係を示すアプリケーション情報を生成する。   That is, the pattern analysis unit 36b extracts a predetermined character string by performing pattern matching on a plurality of messages stored in the application data storage database 37, and the correspondence between the application on the server and the extracted predetermined character string. Generate application information showing the relationship.

ここでは、前提条件として、蓄積段階および学習段階は個々のアプリケーション毎に行われるため、複数アプリケーションによる通信が同時に行われていない必要がある。たとえば、アプリケーション11に対して蓄積および学習を行った後に、アプリケーション21に関する蓄積および学習を行なう、といったように推移させる。   Here, as a precondition, since the accumulation stage and the learning stage are performed for each application, it is necessary that communication by a plurality of applications is not performed simultaneously. For example, after accumulation and learning are performed on the application 11, the accumulation and learning related to the application 21 are performed.

まず、蓄積段階について、図8の構成図および図10のフローチャートを用いて説明する。   First, the accumulation stage will be described with reference to the configuration diagram of FIG. 8 and the flowchart of FIG.

図10は、本発明の第2の実施の形態に係る情報処理装置がメッセージ蓄積処理を行なう際の動作手順を示すフローチャートである。   FIG. 10 is a flowchart showing an operation procedure when the information processing apparatus according to the second embodiment of the present invention performs message accumulation processing.

図10を参照して、クライアント10におけるアプリケーション11から送信されたメッセージ(ステップS301)は、サーバー30のメッセージ送受部33において受信される(ステップS201)。   Referring to FIG. 10, the message (step S301) transmitted from application 11 in client 10 is received by message transmission / reception unit 33 of server 30 (step S201).

次に、メッセージ格納部34aは、当該メッセージに基づいて該当データをアプリケーションデータ蓄積DB37に格納する(ステップS202)。   Next, the message storage unit 34a stores the corresponding data in the application data storage DB 37 based on the message (step S202).

次に、アプリケーションデータ蓄積DB37への該当データの格納が終了すると、メッセージ転送部35は、当該メッセージをアプリケーション31に転送する(ステップS203)。ここで、クライアント上アプリケーションの送信先ポート、およびサーバー上アプリケーションの受け付けポートは事前に設定される。ここでは、クライアント上アプリケーションの送信先ポートは8500番ポートであり、サーバー上アプリケーションの受け付けポートは8501または8502番ポートである。   Next, when the storage of the corresponding data in the application data storage DB 37 is completed, the message transfer unit 35 transfers the message to the application 31 (step S203). Here, the transmission destination port of the application on the client and the reception port of the application on the server are set in advance. Here, the destination port of the application on the client is the port 8500, and the reception port of the application on the server is the port 8501 or 8502.

次に、アプリケーション31は、メッセージ転送部35からメッセージを受信して(ステップS101)、応答メッセージを送信する(ステップS102)。   Next, the application 31 receives a message from the message transfer unit 35 (step S101) and transmits a response message (step S102).

次に、メッセージ格納部34aは、アプリケーション31から応答メッセージを受信して(ステップS204)、当該応答メッセージに基づいて該当データをアプリケーションデータ蓄積DB37に格納する(ステップS205)。   Next, the message storage unit 34a receives a response message from the application 31 (step S204), and stores the corresponding data in the application data storage DB 37 based on the response message (step S205).

なお、アプリケーションの仕様として応答メッセージを送信しない場合には、サーバー上アプリケーションからクライアント上アプリケーションへの応答メッセージは蓄積されないものとする。   Note that when a response message is not transmitted as an application specification, a response message from the application on the server to the application on the client is not accumulated.

次に、メッセージ送受部33は、応答メッセージをクライアント10におけるアプリケーション11に送信する(ステップS206)。   Next, the message transmission / reception unit 33 transmits a response message to the application 11 in the client 10 (step S206).

次に、アプリケーション11は、メッセージ送受部33から応答メッセージを受信する(ステップS302)。   Next, the application 11 receives a response message from the message sending / receiving unit 33 (step S302).

サーバー30は、上記の処理を繰り返すことにより、アプリケーションデータ蓄積DB37にメッセージを蓄積していく。   The server 30 accumulates messages in the application data accumulation DB 37 by repeating the above processing.

続いて、学習段階について、図11の構成図および図12のフローチャートを用いて説明する。   Next, the learning stage will be described using the configuration diagram of FIG. 11 and the flowchart of FIG.

図11は、本発明の第2の実施の形態に係る情報処理システムの構成を示す図である。図11は、サーバー30によるメッセージの学習段階を示している。図12は、本発明の第2の実施の形態に係る情報処理装置がメッセージ学習処理を行なう際の動作手順を示すフローチャートである。   FIG. 11 is a diagram showing a configuration of an information processing system according to the second embodiment of the present invention. FIG. 11 shows a message learning stage by the server 30. FIG. 12 is a flowchart showing an operation procedure when the information processing apparatus according to the second embodiment of the present invention performs a message learning process.

図11および図12を参照して、まず、メッセージ呼出部36aは、アプリケーションデータ蓄積DB37から蓄積されたメッセージを呼び出す(ステップS207)。   Referring to FIGS. 11 and 12, first, message calling unit 36a calls a message stored from application data storage DB 37 (step S207).

次に、パターン分析部36bは、メッセージのパターンマッチングを行なう(ステップS208)。   Next, the pattern analysis unit 36b performs message pattern matching (step S208).

ここで、図9に示すアプリケーションデータ蓄積DB37を参照して、パターンマッチングのアルゴリズムについて説明する。メッセージ方向がClient→Serverのメッセージ「APP11 ******」に対して、蓄積されている全メッセージの先頭から文字列を走査し、同一文字列を抽出する。「******」は固定で無い文字列である。   Here, a pattern matching algorithm will be described with reference to the application data storage DB 37 shown in FIG. For the message “APP11 *****” whose message direction is Client → Server, a character string is scanned from the head of all accumulated messages, and the same character string is extracted. “****” is a non-fixed character string.

このメッセージ例では1Byte目〜5Byte目までは順当に同一文字として抽出するが、6Byte目移行はメッセージ毎に異なる文字列となっている。このため、「APP11」が全てのメッセージで1Byte〜5Byte目に記載されている、という情報を抽出する。   In this message example, the 1st to 5th bytes are extracted as the same character, but the 6th byte shift is a different character string for each message. For this reason, the information that “APP11” is described in the 1st to 5th bytes in all messages is extracted.

同様に、メッセージ方向がServer→Clientのメッセージ「RETURN APP11」に対して、「RETURN APP11」が全ての応答メッセージで1Byte〜12Byte目に記載されている、という情報を抽出する。   Similarly, for the message “RETURN APP11” whose message direction is Server → Client, information that “RETURN APP11” is described in the 1st to 12th bytes in all response messages is extracted.

再び図12を参照して、判別ルールが作成できるパターンであるかどうかにより以降の処理が場合分けされる。   Referring to FIG. 12 again, the subsequent processing is divided depending on whether the determination rule is a pattern that can be created.

すなわち、パターン分析部36bは、判別ルールが作成できない場合には(ステップS209でNO)、画面出力部39からGUI40に結果を表示させて処理を終了する。GUI40は、分析結果として「特定パターンの無いメッセージです。」を表示する(ステップS210,211)。   That is, when the discrimination rule cannot be created (NO in step S209), the pattern analysis unit 36b displays the result on the GUI 40 from the screen output unit 39 and ends the process. The GUI 40 displays “A message without a specific pattern” as an analysis result (steps S210 and S211).

この例では、パターン分析部36bが判別ルールを作成することができたため(ステップS209でYES)、パターン格納部36cは、作成された判別ルールをアプリケーション判別DB38に格納する(ステップS212)。アプリケーション判別DB38の内容は、たとえば図3に示すようになる。   In this example, since the pattern analysis unit 36b was able to create a discrimination rule (YES in step S209), the pattern storage unit 36c stores the created discrimination rule in the application discrimination DB 38 (step S212). The contents of the application determination DB 38 are as shown in FIG. 3, for example.

次に、パターン格納部36cは、画面出力部39からGUI40に結果を表示させて処理を終了する。GUI40は、分析結果として「パターン分析完了しました。」を表示する(ステップS213,214)。   Next, the pattern storage unit 36 c displays the result on the GUI 40 from the screen output unit 39 and ends the process. The GUI 40 displays “Pattern analysis completed” as the analysis result (steps S213 and 214).

図13および図14は、本発明の第2の実施の形態に係る情報処理システムの構成を示す図である。図13は、クライアント上アプリケーションおよびサーバー上アプリケーション間のコネクションが未確立の状態におけるメッセージ転送処理を示している。図14は、クライアント上アプリケーションおよびサーバー上アプリケーション間のコネクションが確立している状態におけるメッセージ転送処理を示している。   13 and 14 are diagrams showing the configuration of the information processing system according to the second embodiment of the present invention. FIG. 13 shows message transfer processing in a state where the connection between the application on the client and the application on the server has not been established. FIG. 14 shows message transfer processing in a state where a connection between the application on the client and the application on the server is established.

図13および図14に示すメッセージ転送処理は、本発明の第1の実施の形態に係る情報処理システムと同様である。   The message transfer process shown in FIGS. 13 and 14 is the same as the information processing system according to the first embodiment of the present invention.

このように、本発明の第2の実施の形態に係る情報処理装置では、アプリケーションデータ蓄積データベース37は、メッセージ送受部33によって受信された複数のメッセージを蓄積する。そして、パターン分析部36bは、アプリケーションデータ蓄積データベース37によって蓄積された複数のメッセージに対してパターンマッチングを行なうことにより、所定の文字列を抽出し、サーバー上アプリケーションおよび抽出した所定の文字列の対応関係を示すアプリケーション情報を生成する。   As described above, in the information processing apparatus according to the second embodiment of the present invention, the application data storage database 37 stores a plurality of messages received by the message transmission / reception unit 33. Then, the pattern analysis unit 36b extracts a predetermined character string by performing pattern matching on a plurality of messages stored in the application data storage database 37, and the correspondence between the application on the server and the extracted predetermined character string. Generate application information showing the relationship.

このような構成により、適切な判別ルールを自動的に生成することが可能となる。   With such a configuration, it is possible to automatically generate an appropriate discrimination rule.

その他の構成および動作は第1の実施の形態に係る情報処理装置と同様であるため、ここでは詳細な説明を繰り返さない。   Since other configurations and operations are the same as those of the information processing apparatus according to the first embodiment, detailed description thereof will not be repeated here.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The above embodiment should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明は、クライアント・サーバーモデルにおけるTCP/IP通信分野に適用できる。したがって、本発明は、産業上の利用可能性を有している。   The present invention can be applied to the TCP / IP communication field in the client / server model. Therefore, the present invention has industrial applicability.

上記実施の形態の一部または全部は以下の付記のようにも記載されうるが、本発明の範囲は、以下の付記に限定されるものではない。   Although a part or all of the above embodiments can be described as the following supplementary notes, the scope of the present invention is not limited to the following supplementary notes.

[付記1]
他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置であって、
集約ポート番号を含むメッセージを1または複数の前記外部アプリケーションから受信するためのメッセージ受信部と、
前記メッセージ受信部によって受信された前記メッセージに対応する前記内部アプリケーションを判別するための判別部と、
前記判別部によって判別された前記内部アプリケーションへ対応の前記メッセージを転送するためのメッセージ転送部とを備える、情報処理装置。
[Appendix 1]
An information processing apparatus for processing a message from an external application in another apparatus by its own internal application,
A message receiver for receiving a message including an aggregated port number from one or more of the external applications;
A determination unit for determining the internal application corresponding to the message received by the message reception unit;
An information processing apparatus comprising: a message transfer unit configured to transfer the message corresponding to the internal application determined by the determination unit.

[付記2]
前記判別部は、前記メッセージ受信部によって受信された前記メッセージに基づいて、前記メッセージに対応する前記内部アプリケーションの個別ポート番号を判別し、
前記メッセージ転送部は、前記メッセージの集約ポート番号を前記個別ポート番号に置き換えた前記メッセージを生成して転送する、付記1に記載の情報処理装置。
[Appendix 2]
The determining unit determines an individual port number of the internal application corresponding to the message based on the message received by the message receiving unit,
The information processing apparatus according to claim 1, wherein the message transfer unit generates and transfers the message in which the aggregated port number of the message is replaced with the individual port number.

[付記3]
前記情報処理装置は、さらに、
前記内部アプリケーションと前記メッセージに含まれる所定の文字列との対応関係を示すアプリケーション情報を記憶するためのアプリケーション情報記憶部を備え、
前記判別部は、前記メッセージ受信部によって受信された前記メッセージの文字列と前記アプリケーション情報における前記所定の文字列とを照合することにより、前記メッセージに対応する前記内部アプリケーションを判別する、付記1または2に記載の情報処理装置。
[Appendix 3]
The information processing apparatus further includes:
An application information storage unit for storing application information indicating a correspondence relationship between the internal application and a predetermined character string included in the message;
The discriminating unit discriminates the internal application corresponding to the message by collating the character string of the message received by the message receiving unit with the predetermined character string in the application information. 2. The information processing apparatus according to 2.

[付記4]
前記情報処理装置は、さらに、
前記内部アプリケーション、および前記内部アプリケーションとコネクション確立済みの前記外部アプリケーションを実行する他の装置の識別情報を示すコネクション情報を記憶するためのコネクション情報記憶部を備え、
前記判別部は、前記メッセージ受信部によって受信された前記メッセージの送信元の識別情報と前記コネクション情報における前記識別情報とを照合することにより、前記メッセージに対応する前記内部アプリケーションを判別する、付記1から3のいずれかに記載の情報処理装置。
[Appendix 4]
The information processing apparatus further includes:
A connection information storage unit for storing connection information indicating identification information of the internal application and other devices that execute the external application that has already established a connection with the internal application;
The discriminating unit discriminates the internal application corresponding to the message by collating the identification information of the transmission source of the message received by the message receiving unit with the identification information in the connection information. To 4. The information processing apparatus according to any one of 3 to 4.

[付記5]
前記判別部は、前記メッセージ受信部によって受信された前記メッセージに対応する前記内部アプリケーションを判別した後、判別した前記メッセージに対応する前記コネクション情報が存在しない場合には、判別した前記メッセージに対応する前記内部アプリケーションおよび前記メッセージを送信してきた前記外部アプリケーションを実行する他の装置の識別情報を前記コネクション情報に追加する、付記4に記載の情報処理装置。
[Appendix 5]
After determining the internal application corresponding to the message received by the message receiving unit, the determining unit corresponds to the determined message when the connection information corresponding to the determined message does not exist The information processing apparatus according to appendix 4, wherein identification information of another apparatus that executes the internal application and the external application that has transmitted the message is added to the connection information.

[付記6]
前記判別部は、前記内部アプリケーションと前記外部アプリケーションとのコネクションが切断される場合には、前記外部アプリケーションに対応する情報を前記コネクション情報から削除する、付記4または5に記載の情報処理装置。
[Appendix 6]
The information processing apparatus according to appendix 4 or 5, wherein the determination unit deletes information corresponding to the external application from the connection information when the connection between the internal application and the external application is disconnected.

[付記7]
前記メッセージ受信部は、メッセージを前記内部アプリケーションから受信し、
前記判別部は、前記内部アプリケーションからの前記メッセージに対応する前記外部アプリケーションを判別し、判別できなかった場合には前記メッセージを廃棄し、
前記メッセージ転送部は、前記判別部が前記メッセージに対応する前記外部アプリケーションを判別できた場合には、前記メッセージを前記外部アプリケーションに転送する、付記1から6のいずれかに記載の情報処理装置。
[Appendix 7]
The message receiving unit receives a message from the internal application,
The determination unit determines the external application corresponding to the message from the internal application, and discards the message if it cannot be determined,
The information processing apparatus according to any one of appendices 1 to 6, wherein the message transfer unit transfers the message to the external application when the determination unit can determine the external application corresponding to the message.

[付記8]
前記判別部は、前記メッセージ受信部によって受信された前記メッセージに対応するアプリケーションを判別できない場合には、エラー情報を出力する、付記1から7のいずれかに記載の情報処理装置。
[Appendix 8]
The information processing apparatus according to any one of appendices 1 to 7, wherein the determination unit outputs error information when the application corresponding to the message received by the message reception unit cannot be determined.

[付記9]
前記情報処理装置は、さらに、
前記メッセージ受信部によって受信された複数の前記メッセージを蓄積するためのメッセージ蓄積部と、
前記メッセージ蓄積部によって蓄積された複数の前記メッセージに対してパターンマッチングを行なうことにより、前記所定の文字列を抽出し、前記内部アプリケーションおよび抽出した前記所定の文字列の対応関係を示すアプリケーション情報を生成するためのパターン分析部とを備える、付記3に記載の情報処理装置。
[Appendix 9]
The information processing apparatus further includes:
A message accumulating unit for accumulating a plurality of the messages received by the message receiving unit;
By performing pattern matching on the plurality of messages stored by the message storage unit, the predetermined character string is extracted, and application information indicating the correspondence between the internal application and the extracted predetermined character string is obtained. The information processing apparatus according to attachment 3, further comprising: a pattern analysis unit for generating.

[付記10]
クライアントと、
サーバーとを備え、
前記クライアントは、実行する各アプリケーションによって生成されるメッセージに集約ポート番号を含めて前記サーバーへ送信し、
前記サーバーは、
前記集約ポート番号を含むメッセージを1または複数の前記アプリケーションから受信し、受信した前記メッセージに対応する自己のアプリケーションを判別し、判別した前記アプリケーションへ対応の前記メッセージを転送する、情報処理システム。
[Appendix 10]
With the client,
With a server,
The client sends an aggregate port number in a message generated by each application to be executed to the server,
The server
An information processing system that receives a message including the aggregated port number from one or more of the applications, determines its own application corresponding to the received message, and transfers the message corresponding to the determined application.

[付記11]
他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置におけるメッセージ処理方法であって、
集約ポート番号を含むメッセージを1または複数の前記外部アプリケーションから受信するステップと、
受信した前記メッセージに対応する前記内部アプリケーションを判別するステップと、
判別した前記内部アプリケーションへ対応の前記メッセージを転送するステップとを含む、メッセージ処理方法。
[Appendix 11]
A message processing method in an information processing apparatus for processing a message from an external application in another apparatus by its own internal application,
Receiving a message including an aggregate port number from one or more of the external applications;
Determining the internal application corresponding to the received message;
Transferring the corresponding message to the determined internal application.

[付記12]
前記内部アプリケーションを判別するステップにおいては、受信した前記メッセージに基づいて、前記メッセージに対応する前記内部アプリケーションの個別ポート番号を判別し、
前記メッセージを転送するステップにおいては、前記メッセージの集約ポート番号を前記個別ポート番号に置き換えた前記メッセージを生成して転送する、付記11に記載のメッセージ処理方法。
[Appendix 12]
In the step of determining the internal application, based on the received message, the individual port number of the internal application corresponding to the message is determined,
12. The message processing method according to claim 11, wherein in the step of transferring the message, the message in which the aggregated port number of the message is replaced with the individual port number is generated and transferred.

[付記13]
前記メッセージ処理方法は、さらに、
前記内部アプリケーションと前記メッセージに含まれる所定の文字列との対応関係を示すアプリケーション情報を記憶するステップを含み、
前記内部アプリケーションを判別するステップにおいては、受信した前記メッセージの文字列と前記アプリケーション情報における前記所定の文字列とを照合することにより、前記メッセージに対応する前記内部アプリケーションを判別する、付記11または12に記載のメッセージ処理方法。
[Appendix 13]
The message processing method further includes:
Storing application information indicating a correspondence relationship between the internal application and a predetermined character string included in the message,
In the step of determining the internal application, the internal application corresponding to the message is determined by collating the received character string of the message with the predetermined character string in the application information. The message processing method described in 1.

[付記14]
前記メッセージ処理方法は、さらに、
前記内部アプリケーション、および前記内部アプリケーションとコネクション確立済みの前記外部アプリケーションを実行する他の装置の識別情報を示すコネクション情報を記憶するステップを含み、
前記内部アプリケーションを判別するステップにおいては、受信した前記メッセージの送信元の識別情報と前記コネクション情報における前記識別情報とを照合することにより、前記メッセージに対応する前記内部アプリケーションを判別する、付記11から13のいずれかに記載のメッセージ処理方法。
[Appendix 14]
The message processing method further includes:
Storing connection information indicating identification information of the internal application and another device that executes the external application that has already established a connection with the internal application,
In the step of determining the internal application, the internal application corresponding to the message is determined by collating the identification information of the transmission source of the received message with the identification information in the connection information. The message processing method according to claim 13.

[付記15]
前記内部アプリケーションを判別するステップにおいては、受信した前記メッセージに対応する前記内部アプリケーションを判別した後、判別した前記メッセージに対応する前記コネクション情報が存在しない場合には、判別した前記メッセージに対応する前記内部アプリケーションおよび前記メッセージを送信してきた前記外部アプリケーションを実行する他の装置の識別情報を前記コネクション情報に追加する、付記14に記載のメッセージ処理方法。
[Appendix 15]
In the step of determining the internal application, after determining the internal application corresponding to the received message, if the connection information corresponding to the determined message does not exist, the corresponding to the determined message 15. The message processing method according to appendix 14, wherein identification information of an internal application and another device that executes the external application that has transmitted the message is added to the connection information.

[付記16]
前記内部アプリケーションを判別するステップにおいては、前記内部アプリケーションと前記外部アプリケーションとのコネクションが切断される場合には、前記外部アプリケーションに対応する情報を前記コネクション情報から削除する、付記14または15に記載のメッセージ処理方法。
[Appendix 16]
In the step of determining the internal application, when the connection between the internal application and the external application is disconnected, information corresponding to the external application is deleted from the connection information. Message processing method.

[付記17]
前記メッセージ処理方法は、さらに、
メッセージを前記内部アプリケーションから受信するステップと、
前記内部アプリケーションからの前記メッセージに対応する前記外部アプリケーションを判別し、判別できなかった場合には前記メッセージを廃棄するステップと、
前記メッセージに対応する前記外部アプリケーションを判別できた場合には、前記メッセージを前記外部アプリケーションに転送するステップとを含む、付記11から16のいずれかに記載のメッセージ処理方法。
[Appendix 17]
The message processing method further includes:
Receiving a message from the internal application;
Determining the external application corresponding to the message from the internal application, and discarding the message if it cannot be determined;
The message processing method according to any one of appendices 11 to 16, further comprising a step of transferring the message to the external application when the external application corresponding to the message can be determined.

[付記18]
前記内部アプリケーションまたは前記外部アプリケーションを判別するステップにおいては、受信した前記メッセージに対応するアプリケーションを判別できない場合には、エラー情報を出力する、付記11から17のいずれかに記載のメッセージ処理方法。
[Appendix 18]
18. The message processing method according to any one of appendices 11 to 17, wherein in the step of determining the internal application or the external application, error information is output when an application corresponding to the received message cannot be determined.

[付記19]
前記メッセージ処理方法は、さらに、
受信した複数の前記メッセージを蓄積するステップと、
蓄積した複数の前記メッセージに対してパターンマッチングを行なうことにより、前記所定の文字列を抽出し、前記内部アプリケーションおよび抽出した前記所定の文字列の対応関係を示すアプリケーション情報を生成するステップとを含む、付記13に記載のメッセージ処理方法。
[Appendix 19]
The message processing method further includes:
Accumulating a plurality of received messages;
Performing pattern matching on the plurality of accumulated messages to extract the predetermined character string, and generating application information indicating a correspondence relationship between the internal application and the extracted predetermined character string. The message processing method according to attachment 13.

[付記20]
他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置におけるメッセージ処理プログラムであって、コンピュータに、
集約ポート番号を含むメッセージを1または複数の前記外部アプリケーションから受信するステップと、
受信した前記メッセージに対応する前記内部アプリケーションを判別するステップと、
判別した前記内部アプリケーションへ対応の前記メッセージを転送するステップとを実行させる、メッセージ処理プログラム。
[Appendix 20]
A message processing program in an information processing apparatus for processing a message from an external application in another apparatus by its own internal application,
Receiving a message including an aggregate port number from one or more of the external applications;
Determining the internal application corresponding to the received message;
And a step of transferring the corresponding message to the determined internal application.

[付記21]
前記内部アプリケーションを判別するステップにおいては、受信した前記メッセージに基づいて、前記メッセージに対応する前記内部アプリケーションの個別ポート番号を判別し、
前記メッセージを転送するステップにおいては、前記メッセージの集約ポート番号を前記個別ポート番号に置き換えた前記メッセージを生成して転送する、付記20に記載のメッセージ処理プログラム。
[Appendix 21]
In the step of determining the internal application, based on the received message, the individual port number of the internal application corresponding to the message is determined,
The message processing program according to appendix 20, wherein in the step of transferring the message, the message in which the aggregated port number of the message is replaced with the individual port number is generated and transferred.

[付記22]
前記メッセージ処理プログラムは、さらに、コンピュータに、
前記内部アプリケーションと前記メッセージに含まれる所定の文字列との対応関係を示すアプリケーション情報を記憶するステップを実行させ、
前記内部アプリケーションを判別するステップにおいては、受信した前記メッセージの文字列と前記アプリケーション情報における前記所定の文字列とを照合することにより、前記メッセージに対応する前記内部アプリケーションを判別する、付記20または21に記載のメッセージ処理プログラム。
[Appendix 22]
The message processing program is further stored in a computer.
Storing application information indicating a correspondence relationship between the internal application and a predetermined character string included in the message;
In the step of determining the internal application, the internal application corresponding to the message is determined by collating the received character string of the message with the predetermined character string in the application information. Message processing program described in 1.

[付記23]
前記メッセージ処理プログラムは、さらに、コンピュータに、
前記内部アプリケーション、および前記内部アプリケーションとコネクション確立済みの前記外部アプリケーションを実行する他の装置の識別情報を示すコネクション情報を記憶するステップを実行させ、
前記内部アプリケーションを判別するステップにおいては、受信した前記メッセージの送信元の識別情報と前記コネクション情報における前記識別情報とを照合することにより、前記メッセージに対応する前記内部アプリケーションを判別する、付記20から22のいずれかに記載のメッセージ処理プログラム。
[Appendix 23]
The message processing program is further stored in a computer.
Storing the connection information indicating the identification information of the internal application and other devices that execute the external application that has already established a connection with the internal application; and
In the step of determining the internal application, the internal application corresponding to the message is determined by collating the identification information of the transmission source of the received message with the identification information in the connection information. 22. The message processing program according to any one of 22.

[付記24]
前記内部アプリケーションを判別するステップにおいては、受信した前記メッセージに対応する前記内部アプリケーションを判別した後、判別した前記メッセージに対応する前記コネクション情報が存在しない場合には、判別した前記メッセージに対応する前記内部アプリケーションおよび前記メッセージを送信してきた前記外部アプリケーションを実行する他の装置の識別情報を前記コネクション情報に追加する、付記23に記載のメッセージ処理プログラム。
[Appendix 24]
In the step of determining the internal application, after determining the internal application corresponding to the received message, if the connection information corresponding to the determined message does not exist, the corresponding to the determined message The message processing program according to appendix 23, wherein identification information of an internal application and another device that executes the external application that has transmitted the message is added to the connection information.

[付記25]
前記内部アプリケーションを判別するステップにおいては、前記内部アプリケーションと前記外部アプリケーションとのコネクションが切断される場合には、前記外部アプリケーションに対応する情報を前記コネクション情報から削除する、付記23または24に記載のメッセージ処理プログラム。
[Appendix 25]
25. In the step of determining the internal application, when the connection between the internal application and the external application is disconnected, information corresponding to the external application is deleted from the connection information. Message processing program.

[付記26]
前記メッセージ処理プログラムは、さらに、コンピュータに、
メッセージを前記内部アプリケーションから受信するステップと、
前記内部アプリケーションからの前記メッセージに対応する前記外部アプリケーションを判別し、判別できなかった場合には前記メッセージを廃棄するステップと、
前記メッセージに対応する前記外部アプリケーションを判別できた場合には、前記メッセージを前記外部アプリケーションに転送するステップとを実行させる、付記20から25のいずれかに記載のメッセージ処理プログラム。
[Appendix 26]
The message processing program is further stored in a computer.
Receiving a message from the internal application;
Determining the external application corresponding to the message from the internal application, and discarding the message if it cannot be determined;
The message processing program according to any one of appendices 20 to 25, wherein when the external application corresponding to the message can be determined, a step of transferring the message to the external application is executed.

[付記27]
前記内部アプリケーションまたは前記外部アプリケーションを判別するステップにおいては、受信した前記メッセージに対応するアプリケーションを判別できない場合には、エラー情報を出力する、付記20から26のいずれかに記載のメッセージ処理プログラム。
[Appendix 27]
27. The message processing program according to any one of appendices 20 to 26, wherein in the step of determining the internal application or the external application, error information is output when an application corresponding to the received message cannot be determined.

[付記28]
前記メッセージ処理プログラムは、さらに、コンピュータに、
受信した複数の前記メッセージを蓄積するステップと、
蓄積した複数の前記メッセージに対してパターンマッチングを行なうことにより、前記所定の文字列を抽出し、前記内部アプリケーションおよび抽出した前記所定の文字列の対応関係を示すアプリケーション情報を生成するステップとを実行させる、付記22に記載のメッセージ処理プログラム。
[Appendix 28]
The message processing program is further stored in a computer.
Accumulating a plurality of received messages;
Performing pattern matching on the plurality of stored messages to extract the predetermined character string, and generating the application information indicating the correspondence between the internal application and the extracted predetermined character string The message processing program according to attachment 22, wherein

10,20 クライアント
11,12,21,22,31,32 アプリケーション
30 サーバー
33 メッセージ送受部
34 蓄積部
34a メッセージ格納部
35 メッセージ転送部
36 学習部
36a メッセージ呼出部
36b パターン分析部
36c パターン格納部
37 、アプリケーションデータ蓄積データベース(メッセージ蓄積部)
38 アプリケーション判別データベース(アプリケーション情報記憶部)
39 画面出力部
40 GUI
41 判別部
41a データベース参照部
41b 整合判断部
41c データベース書き換え部
42 src/dst情報データベース
101 CPU
102 メインメモリ
103 ハードディスク
104 入力インターフェイス
105 表示コントローラ
106 データリーダ/ライタ
107 通信インターフェイス
108 キーボード
109 マウス
110 ディスプレイ
111 記録媒体
121 バス
201 情報処理装置
401,402 情報処理システム
10, 20 Client 11, 12, 21, 22, 31, 32 Application 30 Server 33 Message transmission / reception unit 34 Storage unit 34a Message storage unit 35 Message transfer unit 36 Learning unit 36a Message call unit 36b Pattern analysis unit 36c Pattern storage unit 37 Application data storage database (message storage unit)
38 Application discrimination database (application information storage unit)
39 Screen output unit 40 GUI
41 Discrimination Unit 41a Database Reference Unit 41b Consistency Determination Unit 41c Database Rewrite Unit 42 src / dst Information Database 101 CPU
DESCRIPTION OF SYMBOLS 102 Main memory 103 Hard disk 104 Input interface 105 Display controller 106 Data reader / writer 107 Communication interface 108 Keyboard 109 Mouse 110 Display 111 Recording medium 121 Bus 201 Information processing apparatus 401, 402 Information processing system

Claims (10)

他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置であって、
複数の前記外部アプリケーション間で共通の集約ポート番号を含むように前記外部アプリケーションによって生成されたメッセージを1または複数の前記外部アプリケーションから受信するためのメッセージ受信部と、
前記メッセージ受信部によって受信された前記メッセージに対応する前記内部アプリケーションを判別するための判別部と、
前記判別部によって判別された前記内部アプリケーションへ対応の前記メッセージを転送するためのメッセージ転送部とを備える、情報処理装置。
An information processing apparatus for processing a message from an external application in another apparatus by its own internal application,
A message receiving unit for receiving a message generated by the external application so as to include a common aggregate port number among the plurality of external applications from one or more of the external applications;
A determination unit for determining the internal application corresponding to the message received by the message reception unit;
An information processing apparatus comprising: a message transfer unit configured to transfer the message corresponding to the internal application determined by the determination unit.
前記判別部は、前記メッセージ受信部によって受信された前記メッセージに基づいて、前記メッセージに対応する前記内部アプリケーションの個別ポート番号を判別し、
前記メッセージ転送部は、前記メッセージの集約ポート番号を前記個別ポート番号に置き換えた前記メッセージを生成して転送する、請求項1に記載の情報処理装置。
The determining unit determines an individual port number of the internal application corresponding to the message based on the message received by the message receiving unit,
The information processing apparatus according to claim 1, wherein the message transfer unit generates and transfers the message in which the aggregate port number of the message is replaced with the individual port number.
前記情報処理装置は、さらに、
前記内部アプリケーションと前記メッセージに含まれる所定の文字列との対応関係を示すアプリケーション情報を記憶するためのアプリケーション情報記憶部を備え、
前記判別部は、前記メッセージ受信部によって受信された前記メッセージの文字列と前記アプリケーション情報における前記所定の文字列とを照合することにより、前記メッセージに対応する前記内部アプリケーションを判別する、請求項1または2に記載の情報処理装置。
The information processing apparatus further includes:
An application information storage unit for storing application information indicating a correspondence relationship between the internal application and a predetermined character string included in the message;
The said determination part discriminate | determines the said internal application corresponding to the said message by collating the character string of the said message received by the said message receiving part, and the said predetermined character string in the said application information. Or the information processing apparatus according to 2;
前記情報処理装置は、さらに、
前記内部アプリケーション、および前記内部アプリケーションとコネクション確立済みの前記外部アプリケーションを実行する他の装置の識別情報を示すコネクション情報を記憶するためのコネクション情報記憶部を備え、
前記判別部は、前記メッセージ受信部によって受信された前記メッセージの送信元の識別情報と前記コネクション情報における前記識別情報とを照合することにより、前記メッセージに対応する前記内部アプリケーションを判別する、請求項1から3のいずれかに記載の情報処理装置。
The information processing apparatus further includes:
A connection information storage unit for storing connection information indicating identification information of the internal application and other devices that execute the external application that has already established a connection with the internal application;
The determination unit determines the internal application corresponding to the message by comparing the identification information of the transmission source of the message received by the message reception unit with the identification information in the connection information. The information processing apparatus according to any one of 1 to 3.
前記判別部は、前記メッセージ受信部によって受信された前記メッセージに対応する前記内部アプリケーションを判別した後、判別した前記メッセージに対応する前記コネクション情報が存在しない場合には、判別した前記メッセージに対応する前記内部アプリケーションおよび前記メッセージを送信してきた前記外部アプリケーションを実行する他の装置の識別情報を前記コネクション情報に追加する、請求項4に記載の情報処理装置。   After determining the internal application corresponding to the message received by the message receiving unit, the determining unit corresponds to the determined message when the connection information corresponding to the determined message does not exist The information processing apparatus according to claim 4, wherein identification information of another apparatus that executes the internal application and the external application that has transmitted the message is added to the connection information. 前記メッセージ受信部は、メッセージを前記内部アプリケーションから受信し、
前記判別部は、前記内部アプリケーションからの前記メッセージに対応する前記外部アプリケーションを判別し、判別できなかった場合には前記メッセージを廃棄し、
前記メッセージ転送部は、前記判別部が前記メッセージに対応する前記外部アプリケーションを判別できた場合には、前記メッセージを前記外部アプリケーションに転送する、請求項1から5のいずれかに記載の情報処理装置。
The message receiving unit receives a message from the internal application,
The determination unit determines the external application corresponding to the message from the internal application, and discards the message if it cannot be determined,
The information processing apparatus according to claim 1, wherein the message transfer unit transfers the message to the external application when the determination unit can determine the external application corresponding to the message. .
前記情報処理装置は、さらに、
前記メッセージ受信部によって受信された複数の前記メッセージを蓄積するためのメッセージ蓄積部と、
前記メッセージ蓄積部によって蓄積された複数の前記メッセージに対してパターンマッチングを行なうことにより、前記所定の文字列を抽出し、前記内部アプリケーションおよび抽出した前記所定の文字列の対応関係を示すアプリケーション情報を生成するためのパターン分析部とを備える、請求項3に記載の情報処理装置。
The information processing apparatus further includes:
A message accumulating unit for accumulating a plurality of the messages received by the message receiving unit;
By performing pattern matching on the plurality of messages stored by the message storage unit, the predetermined character string is extracted, and application information indicating the correspondence between the internal application and the extracted predetermined character string is obtained. The information processing apparatus according to claim 3, further comprising: a pattern analysis unit for generating.
クライアントと、
サーバーとを備え、
前記クライアントは、実行する各アプリケーションによって前記各アプリケーション間で共通の集約ポート番号を含むように生成されるメッセージを前記サーバーへ送信し、
前記サーバーは、
前記集約ポート番号を含むメッセージを1または複数の前記アプリケーションから受信し、受信した前記メッセージに対応する自己のアプリケーションを判別し、判別した前記アプリケーションへ対応の前記メッセージを転送する、情報処理システム。
With the client,
With a server,
The client sends a message that is generated to include a common aggregate port numbers among the respective application by each application running Previous Stories server,
The server
An information processing system that receives a message including the aggregated port number from one or more of the applications, determines its own application corresponding to the received message, and transfers the message corresponding to the determined application.
他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置におけるメッセージ処理方法であって、
複数の前記外部アプリケーション間で共通の集約ポート番号を含むように前記外部アプリケーションによって生成されたメッセージを1または複数の前記外部アプリケーションから受信するステップと、
受信した前記メッセージに対応する前記内部アプリケーションを判別するステップと、
判別した前記内部アプリケーションへ対応の前記メッセージを転送するステップとを含む、メッセージ処理方法。
A message processing method in an information processing apparatus for processing a message from an external application in another apparatus by its own internal application,
Receiving from one or more external applications a message generated by the external application to include a common aggregate port number among the plurality of external applications;
Determining the internal application corresponding to the received message;
Transferring the corresponding message to the determined internal application.
他の装置における外部アプリケーションからのメッセージを自己の内部アプリケーションによって処理するための情報処理装置におけるメッセージ処理プログラムであって、コンピュータに、
複数の前記外部アプリケーション間で共通の集約ポート番号を含むように前記外部アプリケーションによって生成されたメッセージを1または複数の前記外部アプリケーションから受信するステップと、
受信した前記メッセージに対応する前記内部アプリケーションを判別するステップと、
判別した前記内部アプリケーションへ対応の前記メッセージを転送するステップとを実行させる、メッセージ処理プログラム。
A message processing program in an information processing apparatus for processing a message from an external application in another apparatus by its own internal application,
Receiving from one or more external applications a message generated by the external application to include a common aggregate port number among the plurality of external applications;
Determining the internal application corresponding to the received message;
And a step of transferring the corresponding message to the determined internal application.
JP2010215255A 2010-09-27 2010-09-27 Information processing apparatus, information processing system, message processing method, and message processing program Expired - Fee Related JP5672899B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010215255A JP5672899B2 (en) 2010-09-27 2010-09-27 Information processing apparatus, information processing system, message processing method, and message processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010215255A JP5672899B2 (en) 2010-09-27 2010-09-27 Information processing apparatus, information processing system, message processing method, and message processing program

Publications (2)

Publication Number Publication Date
JP2012069057A JP2012069057A (en) 2012-04-05
JP5672899B2 true JP5672899B2 (en) 2015-02-18

Family

ID=46166211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010215255A Expired - Fee Related JP5672899B2 (en) 2010-09-27 2010-09-27 Information processing apparatus, information processing system, message processing method, and message processing program

Country Status (1)

Country Link
JP (1) JP5672899B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2860653A4 (en) * 2012-06-07 2016-01-27 Toshiba Kk Security adapter program and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3077607B2 (en) * 1996-10-28 2000-08-14 日本電気株式会社 IP address multiplexing method in server computer
JP2000163346A (en) * 1998-11-27 2000-06-16 Nippon Telegr & Teleph Corp <Ntt> Session identifying method, session managing method, information provision system for providing the same and storage medium recording program therefor
JP3973357B2 (en) * 2000-10-27 2007-09-12 株式会社日立製作所 Port number convergence, deployment method and gateway server thereof
JP3487430B2 (en) * 2001-07-16 2004-01-19 日本電気株式会社 Server application multiplex communication system
JP5213474B2 (en) * 2008-02-12 2013-06-19 キヤノン株式会社 Network device, control method thereof, and program
JP5123800B2 (en) * 2008-09-16 2013-01-23 株式会社リコー Information processing apparatus, information processing method, and program

Also Published As

Publication number Publication date
JP2012069057A (en) 2012-04-05

Similar Documents

Publication Publication Date Title
US8634320B2 (en) Method and apparatus for simply configuring a subscriber appliance for performing a service controlled by a separate service provider
US9037745B2 (en) Methods and devices for processing incomplete data packets
Mankin et al. IETF criteria for evaluating reliable multicast transport and application protocols
US9178705B2 (en) Method and system for stateless validation
KR101159364B1 (en) Mapping between object oriented and service oriented representations of a distributed application
JP2007512585A (en) Method and system for preventing abuse of email messages
US7472398B2 (en) Method and system for hosting an application with a facade server
US8576861B2 (en) Method and apparatus for processing packets
JP4714173B2 (en) IT resource configuration change detection method and configuration management apparatus
US7631350B2 (en) Transmitting data across firewalls
US10554723B2 (en) HTTP server, method for controlling the same, and image forming apparatus
JP2004355634A (en) Remote control method and device of network electronic apparatus
JP5672899B2 (en) Information processing apparatus, information processing system, message processing method, and message processing program
JP2010287189A (en) Information processing apparatus, control method for the same, and program
JP4404007B2 (en) COMMUNICATION METHOD, NETWORK, AND INFORMATION PROCESSING DEVICE
EP2369512A1 (en) Computer assisted method and apparatus fo information technology infrastructure architecture design
JP4541994B2 (en) Control device, control method and program
CN113179317A (en) Test system and method for content rewriting device
JP5618745B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP4845661B2 (en) Network monitoring apparatus, network monitoring method and program
Vanit-Anunchai Validating DCCP simultaneous feature negotiation procedure
JP2008040740A (en) Client terminal equipment and method for limiting utilization of servers of other companies
JP2006172192A (en) System and method for inter-enterprise data exchange, and its program
JP2007213226A (en) Information processor, information processing method, and information processing program
US20020169879A1 (en) Method and apparatus for firewall-evading stealth protocol

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140625

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: 20141202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141215

R150 Certificate of patent or registration of utility model

Ref document number: 5672899

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees