JP2017054341A - Packet search apparatus, packet search system, and packet search method - Google Patents

Packet search apparatus, packet search system, and packet search method Download PDF

Info

Publication number
JP2017054341A
JP2017054341A JP2015178350A JP2015178350A JP2017054341A JP 2017054341 A JP2017054341 A JP 2017054341A JP 2015178350 A JP2015178350 A JP 2015178350A JP 2015178350 A JP2015178350 A JP 2015178350A JP 2017054341 A JP2017054341 A JP 2017054341A
Authority
JP
Japan
Prior art keywords
packet
attribute
unit
index
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015178350A
Other languages
Japanese (ja)
Inventor
高瀬 正明
Masaaki Takase
正明 高瀬
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2015178350A priority Critical patent/JP2017054341A/en
Publication of JP2017054341A publication Critical patent/JP2017054341A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a packet search apparatus configured to reduce processing time of a processor.SOLUTION: A packet search apparatus includes a file storage unit, an index unit, a determination unit, an addition unit, and a search unit. The file storage unit stores a packet to be transferred, as a file. The index unit stores correspondence between an attribute of a packet and a packet having the attribute. On receipt of a search request including an attribute of a packet, the determination unit determines whether the attribute included in the search request is stored in the index unit or not. When the attribute of the packet included in the search request is not stored in the index unit, the addition unit searches for a packet stored in the file regarding the attribute not stored in the index unit, and adds correspondence between the attribute not stored in the index unit and a corresponding packet, to the index unit. The search unit searches for a packet associated with the attribute included in the search request, in reference to the index unit.SELECTED DRAWING: Figure 13

Description

本発明は、パケット検索装置、パケット検索システムおよびパケット検索方法に関する。   The present invention relates to a packet search device, a packet search system, and a packet search method.

近年、複数の企業のネットワークを接続して顧客にサービスを提供する協業モデルが出現している。移動体通信事業者(Mobile Network Operator、MNO)のネットワークを
利用して顧客にサービスを提供する仮想移動体通信事業者(Mobile Virtual Network Operator、MVNO)は、協業モデルの一例である。協業モデルの各々の企業は、自社のネ
ットワークを監視できるものの、自社のネットワークに接続される他社のネットワークの監視を行う事は困難である。そのため、協業モデルのネットワークにおいて障害等が発生すると、当該障害の原因を把握する事は難しい。そこで、協業モデルの各々の企業は、自社のネットワークを流れるパケットをキャプチャし、キャプチャしたパケットを蓄積する。協業モデルの各々の企業は、蓄積したパケットを解析することで、ネットワークで発生した障害の調査を行う。
In recent years, a collaborative model that provides services to customers by connecting networks of a plurality of companies has appeared. A virtual mobile communication operator (Mobile Virtual Network Operator, MVNO) that provides a service to a customer using a network of a mobile communication operator (Mobile Network Operator, MNO) is an example of a collaboration model. Each company in the collaboration model can monitor its own network, but it is difficult to monitor the networks of other companies connected to its network. Therefore, when a failure or the like occurs in the collaboration model network, it is difficult to grasp the cause of the failure. Therefore, each company in the collaboration model captures the packets flowing through its network and accumulates the captured packets. Each company in the collaborative model analyzes the accumulated packets to investigate failures that occurred in the network.

特開平9−167167号公報JP-A-9-167167 特開平10−55302号公報JP-A-10-55302

ここで、蓄積したパケットの中から障害等に関連するパケットを検索するのに多くの時間と作業量がかかる。そこで、検索のキーとなるインデックス情報を蓄積されたパケットに付加する対応が考えられる。インデックス情報が付加されることにより、パケットの検索が容易になる。しかしながら、蓄積されたパケットのうち、参照されるパケットは障害等に関連する一部のパケットである。そのため、参照されないパケットも含む蓄積された全てのパケットに対するインデックス情報を付加する処理に用いられるプロセッサの処理時間が許容されない虞がある。   Here, it takes a lot of time and work to search for a packet related to a failure or the like from the accumulated packets. Therefore, it is conceivable to add index information as a search key to the accumulated packet. By adding the index information, it becomes easy to search for packets. However, of the accumulated packets, the referenced packets are some of the packets related to failures and the like. Therefore, there is a possibility that the processing time of the processor used for the process of adding index information for all the accumulated packets including the unreferenced packet may not be allowed.

そこで、開示の技術の1つの側面は、プロセッサの処理時間を低減できるパケット検索装置を提供することを課題とする。   Therefore, an object of one aspect of the disclosed technology is to provide a packet search device that can reduce the processing time of a processor.

開示の技術の1つの側面は、次のようなパケット検索装置によって例示される。本パケット検索装置は、ファイル格納部と、インデックス部と、判定部と、追記部と、検索部と、を備える。ファイル格納部は、転送されるパケットをファイルとして保存する。インデックス部は、パケットの属性と当該属性を有するパケットとの対応を記憶する。判定部は、パケットの属性を含む検索要求を受けると、検索要求に含まれる属性がインデックス部に記憶されているか否かを判定する。追記部は、検索要求に含まれるパケットの属性がインデックス部に記憶されていない場合、インデックス部に記憶されていない属性についてファイルに保存されたパケットを検索し、インデックス部に記憶されていない属性と該当したパケットとの対応をインデックス部に追記する。検索部は、インデックス部を参照して検索要求に含まれる属性に対応付けられたパケットを検索する。   One aspect of the disclosed technique is exemplified by a packet search device as follows. The packet search device includes a file storage unit, an index unit, a determination unit, an additional recording unit, and a search unit. The file storage unit stores the transferred packet as a file. The index part stores a correspondence between a packet attribute and a packet having the attribute. When receiving a search request including a packet attribute, the determination unit determines whether the attribute included in the search request is stored in the index unit. When the attribute of the packet included in the search request is not stored in the index part, the appending part searches the packet stored in the file for the attribute that is not stored in the index part, and the attribute that is not stored in the index part The correspondence with the corresponding packet is added to the index part. The search unit searches the packet associated with the attribute included in the search request with reference to the index unit.

本パケット検索装置は、プロセッサの処理時間を低減することができる。   This packet search apparatus can reduce the processing time of the processor.

図1は、MNOとMVNOによるネットワークの一例を示す図である。FIG. 1 is a diagram illustrating an example of a network using MNO and MVNO. 図2は、DIAMETERのメッセージ構造の一例を示す図である。FIG. 2 is a diagram illustrating an example of a DIAMETER message structure. 図3は、情報処理装置のハードウェア構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a hardware configuration of the information processing apparatus. 図4は、キャプチャファイル格納装置の処理ブロックの一例を示す図である。FIG. 4 is a diagram illustrating an example of processing blocks of the capture file storage device. 図5は、キャプチャファイル管理部のテーブルの一例を示す図である。FIG. 5 is a diagram illustrating an example of a table of the capture file management unit. 図6は、メッセージ検索装置の処理ブロックの一例を示す図である。FIG. 6 is a diagram illustrating an example of processing blocks of the message search apparatus. 図7は、インデックス管理部によって管理されるテーブルの一例を示す図である。FIG. 7 is a diagram illustrating an example of a table managed by the index management unit. 図8は、AVP属性管理部によって管理されるテーブルの一例を示す図である。FIG. 8 is a diagram illustrating an example of a table managed by the AVP attribute management unit. 図9は、AVP属性管理部によって管理されるテーブルの一例を示す図である。FIG. 9 is a diagram illustrating an example of a table managed by the AVP attribute management unit. 図10は、パケットをキャプチャする処理の流れの一例を示す図である。FIG. 10 is a diagram illustrating an example of a flow of processing for capturing a packet. 図11は、インデックスが付加されていないキャプチャファイルに対する検索要求の処理の流れの一例を示す図である。FIG. 11 is a diagram illustrating an example of the flow of a search request process for a capture file to which no index is added. 図12は、インデックスが付加されているキャプチャファイルに対する検索要求の処理の流れの一例を示す図である。FIG. 12 is a diagram illustrating an example of a processing flow of a search request for a capture file to which an index is added. 図13は、検索要求を受け付けたメッセージ検索装置の処理フローの一例を示す図である。FIG. 13 is a diagram illustrating an example of a processing flow of the message search apparatus that receives a search request.

以下、図面を参照して、一実施形態に係るメッセージ検索システムについて説明する。以下に示す実施形態の構成は例示であり、開示の技術は実施形態の構成に限定されない。   Hereinafter, a message search system according to an embodiment will be described with reference to the drawings. The configuration of the embodiment described below is an exemplification, and the disclosed technology is not limited to the configuration of the embodiment.

<第1実施形態>
図1は、MNOとMVNOによるネットワーク500の一例を示す図である。ネットワーク500では、MNOによるMNOネットワーク300とMVNOによるMVNOネットワーク200とがPacket Data Network Gateway(PGW)210を介して接続されて
いる。ユーザー端末310は、無線通信によってMNOネットワーク300に接続されている。
<First Embodiment>
FIG. 1 is a diagram illustrating an example of a network 500 based on MNO and MVNO. In the network 500, an MNO MNO network 300 and an MVNO MVNO network 200 are connected via a Packet Data Network Gateway (PGW) 210. The user terminal 310 is connected to the MNO network 300 by wireless communication.

MNOネットワーク300は、移動体通信事業者であるMNOによって管理される。MNOネットワーク300は、例えば、携帯電話またはPersonal Handy-phone System(P
HS)に例示される移動体回線網である。MNOは、携帯電話またはPHS等の移動体回線網を自社で保有し、通信サービスを提供する。
The MNO network 300 is managed by an MNO that is a mobile communication carrier. The MNO network 300 is, for example, a mobile phone or a personal handy-phone system (P
This is a mobile network exemplified by HS). The MNO owns a mobile network such as a mobile phone or PHS and provides a communication service.

ユーザー端末310は、無線通信可能な情報処理装置である。ユーザー端末310は、無線通信によってMNOネットワーク300に接続され、MVNOネットワーク200を介して、例えば、インターネット400に接続される。ユーザー端末310は、例えば、スマートフォン、タブレット端末、スマートウオッチ等に例示されるスマートデバイスである。また、ユーザ端末310は、例えば、携帯電話、PHS、ノートパソコン、デスクトップパソコンまたはモバイルルータである。   The user terminal 310 is an information processing apparatus capable of wireless communication. The user terminal 310 is connected to the MNO network 300 by wireless communication, and is connected to, for example, the Internet 400 via the MVNO network 200. The user terminal 310 is a smart device exemplified by a smartphone, a tablet terminal, a smart watch, and the like. The user terminal 310 is, for example, a mobile phone, a PHS, a notebook personal computer, a desktop personal computer, or a mobile router.

MVNOネットワーク200は、仮想移動体通信事業者であるMVNOによって管理される。MVNOは、MNOによって提供されるMNOネットワーク300を利用して通信サービスを提供する。MVNOは、例えば、MNOネットワーク300からの通信をMN
Oネットワーク200を介してインターネット400等の外部ネットワークに接続するサービスを提供する。MVNOネットワーク200は、MNOネットワーク300を介してMVNOのサービスを利用するユーザー端末310の通信に対して、様々な制限を付加できる。
The MVNO network 200 is managed by an MVNO that is a virtual mobile communication carrier. The MVNO provides a communication service using the MNO network 300 provided by the MNO. MVNO, for example, communicates from MNO network 300 to MN
A service for connecting to an external network such as the Internet 400 via the O network 200 is provided. The MVNO network 200 can add various restrictions to the communication of the user terminal 310 that uses the MVNO service via the MNO network 300.

MVNOネットワーク200は、PGW210、Policy and Charging Rules Function(PCRF)220、メッセージ検索システム201およびクライアント250を含む。メッセージ検索システム201は、キャプチャファイル格納装置230およびメッセージ検索装置240を含む。キャプチャファイル格納装置230、メッセージ検索装置240およびクライアント250は、コンピュータネットワークによって相互に接続されている。PGW210、PCRF220およびキャプチャファイル格納装置230は、コンピュータネットワークによって相互に接続されている。メッセージ検索システム201は、「パケット検索システム」の一例である。   The MVNO network 200 includes a PGW 210, a Policy and Charging Rules Function (PCRF) 220, a message search system 201, and a client 250. The message search system 201 includes a capture file storage device 230 and a message search device 240. The capture file storage device 230, the message search device 240, and the client 250 are connected to each other via a computer network. The PGW 210, the PCRF 220, and the capture file storage device 230 are connected to each other by a computer network. The message search system 201 is an example of a “packet search system”.

PGW210は、MNOネットワーク300およびインターネット400をMVNOネットワーク200と接続する情報処理装置である。すなわち、PGW210は、MNOネットワーク300のゲートウェイである。また、PGW210は、自身を経由する通信のパケットをパケットキャプチャポイント260に送出する。パケットキャプチャポイント260への送出は、例えば、ポートミラーリングまたはネットワークタップによって実現される。   The PGW 210 is an information processing apparatus that connects the MNO network 300 and the Internet 400 to the MVNO network 200. That is, the PGW 210 is a gateway of the MNO network 300. In addition, the PGW 210 sends a packet for communication via the PGW 210 to the packet capture point 260. Transmission to the packet capture point 260 is realized by, for example, port mirroring or a network tap.

PCRF220は、MNOネットワーク300からMVNOネットワーク200を介してインターネット400に接続する通信に対する通信品質の制御を行う情報処理装置である。PCRF220は、ユーザー端末310からPGW210を経由して行われる通信に対して通信速度の制限を含む様々な制御を行う。PCRF220は、例えば、ユーザー認証および通信速度制限を含む通信制御に用いられるプロトコルであるDIAMETERを利用してユーザー端末310からの通信の制御を行う。   The PCRF 220 is an information processing apparatus that controls communication quality for communication connecting from the MNO network 300 to the Internet 400 via the MVNO network 200. The PCRF 220 performs various controls including communication speed limitation for communication performed from the user terminal 310 via the PGW 210. For example, the PCRF 220 controls communication from the user terminal 310 using DIAMETER, which is a protocol used for communication control including user authentication and communication speed limitation.

図2は、DIAMETERのメッセージ構造の一例を示す図である。メッセージは、1または複数のパケットを含む。DIAMETERのメッセージでは、属性値ペア(Attribute Value Pair、AVP)と称される属性と属性値のペアが1または複数含まれる。属性は、パケットが通知する情報の種別を示し、属性値は当該属性に設定される値である。DIAMETERでは、この属性値ペアの組合わせによって通信の制御が行われる。DIAMETERでは、例えば、複数の属性値ペアの組合わせによって特定のユーザの通信速度の制限等が実行される。   FIG. 2 is a diagram illustrating an example of a DIAMETER message structure. The message includes one or more packets. The DIAMETER message includes one or more attribute / attribute value pairs called attribute value pairs (AVP). The attribute indicates the type of information notified by the packet, and the attribute value is a value set in the attribute. In DIAMETER, communication is controlled by a combination of attribute value pairs. In DIAMETER, for example, a communication speed of a specific user is limited by a combination of a plurality of attribute value pairs.

メッセージ検索システム201は、キャプチャポイント260上のパケットをキャプチャし、キャプチャしたパケットを蓄積する。メッセージ検索システム201は、クライアント250からの検索要求に応じて、要求されたパケットを検索する。   The message search system 201 captures packets on the capture point 260 and accumulates the captured packets. The message search system 201 searches for a requested packet in response to a search request from the client 250.

キャプチャファイル格納装置230は、メッセージ検索システム201において、コンピュータネットワーク上のパケットをキャプチャし、キャプチャしたパケットをキャプチャファイルとして格納する情報処理装置である。キャプチャファイル格納装置230は、例えば、図1のパケットキャプチャポイント260上のパケットをキャプチャする。キャプチャファイル格納装置230は、「ファイル格納部」の一例である。キャプチャファイルは、「ファイル」の一例である。   The capture file storage device 230 is an information processing device that captures a packet on a computer network in the message search system 201 and stores the captured packet as a capture file. For example, the capture file storage device 230 captures a packet on the packet capture point 260 of FIG. The capture file storage device 230 is an example of a “file storage unit”. A capture file is an example of a “file”.

メッセージ検索装置240は、メッセージ検索システム201において、クライアント250からの要求に応じて、キャプチャファイル格納装置230に格納されたパケットを検索する情報処理装置である。さらに、メッセージ検索装置240は、検索のキーとなる
インデックス情報が検索対象となるパケットに付加されていない場合、当該パケットおよび当該パケットと所定関係を有するパケットにインデックス情報を付加する。メッセージ検索装置240は、「パケット検索装置」の一例である。
The message search device 240 is an information processing device that searches for a packet stored in the capture file storage device 230 in response to a request from the client 250 in the message search system 201. Furthermore, when the index information that is the search key is not added to the search target packet, the message search device 240 adds the index information to the packet and a packet having a predetermined relationship with the packet. The message search device 240 is an example of a “packet search device”.

クライアント250は、例えば、MVNOネットワーク200の管理者によって利用される情報処理装置である。クライアント250は、例えば、メッセージ検索装置240に対して、パケットの検索を指示する。   The client 250 is an information processing apparatus that is used by an administrator of the MVNO network 200, for example. For example, the client 250 instructs the message search device 240 to search for a packet.

図3は、情報処理装置100のハードウェア構成の一例を示す図である。情報処理装置100は、CPU101、メモリ102、記憶装置103、回線インターフェース104および接続バスB1を含む。CPU101、メモリ102、記憶装置103および回線インターフェース104は、接続バスB1によって相互に接続されている。情報処理装置100は、例えば、PGW210、PCRF220、キャプチャファイル格納装置230、メッセージ検索装置240、クライアント250およびユーザー端末310として利用できる。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the information processing apparatus 100. The information processing apparatus 100 includes a CPU 101, a memory 102, a storage device 103, a line interface 104, and a connection bus B1. The CPU 101, the memory 102, the storage device 103, and the line interface 104 are connected to each other via a connection bus B1. The information processing apparatus 100 can be used as, for example, the PGW 210, the PCRF 220, the capture file storage apparatus 230, the message search apparatus 240, the client 250, and the user terminal 310.

情報処理装置100では、CPU101が記憶装置103に記憶されたプログラムをメモリ102の作業領域に展開し、プログラムの実行を通じて周辺装置の制御を行う。これにより、情報処理装置100は、所定の目的に合致した処理を実行することができる。メモリ102および記憶装置103は、情報処理装置100が読み取り可能な記録媒体である。   In the information processing apparatus 100, the CPU 101 expands the program stored in the storage device 103 in the work area of the memory 102, and controls peripheral devices through execution of the program. Thereby, the information processing apparatus 100 can execute a process that matches a predetermined purpose. The memory 102 and the storage device 103 are recording media that can be read by the information processing apparatus 100.

メモリ102は、CPU101から直接アクセスされる記憶部として例示される。メモリ102は、Random Access Memory(RAM)およびRead Only Memory(ROM)を含む。   The memory 102 is exemplified as a storage unit that is directly accessed from the CPU 101. The memory 102 includes a random access memory (RAM) and a read only memory (ROM).

記憶装置103は、各種のプログラムおよび各種のデータを読み書き自在に記録媒体に格納する。記憶装置103は外部記憶装置とも呼ばれる。記憶装置103には、オペレーティングシステム(Operating System、OS)、各種プログラム、各種テーブル等が格納される。OSは、回線インターフェース104を介して接続される外部装置等とのデータの受け渡しを行う通信インターフェースプログラムを含む。外部装置等には、例えば、コンピュータネットワーク等で接続された、他の情報処理装置および外部記憶装置が含まれる。なお、記憶装置103は、例えば、ネットワーク上のコンピュータ群であるクラウドシステムの一部であってもよい。   The storage device 103 stores various programs and various data in a recording medium in a readable and writable manner. The storage device 103 is also called an external storage device. The storage device 103 stores an operating system (OS), various programs, various tables, and the like. The OS includes a communication interface program that exchanges data with an external device or the like connected via the line interface 104. Examples of the external device include other information processing devices and external storage devices connected via a computer network or the like. The storage device 103 may be a part of a cloud system that is a group of computers on a network, for example.

記憶装置103は、例えば、Erasable Programmable ROM(EPROM)、ソリッドス
テートドライブ(Solid State Drive、SSD)、ハードディスクドライブ(Hard Disk Drive、HDD)等である。また、記憶装置103は、例えば、Compact Disc(CD)ドライブ装置、Digital Versatile Disc(DVD)ドライブ装置、Blu-ray(登録商標) Disc(BD)ドライブ装置等である。また、記憶装置103は、Network Attached Storage(NAS)あるいはStorage Area Network(SAN)によって提供されてもよい。
The storage device 103 is, for example, an Erasable Programmable ROM (EPROM), a solid state drive (SSD), a hard disk drive (Hard Disk Drive, HDD), or the like. The storage device 103 is, for example, a Compact Disc (CD) drive device, a Digital Versatile Disc (DVD) drive device, a Blu-ray (registered trademark) Disc (BD) drive device, or the like. Further, the storage device 103 may be provided by Network Attached Storage (NAS) or Storage Area Network (SAN).

情報処理装置100が読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、情報処理装置100から読み取ることができる記録媒体をいう。このような記録媒体のうち情報処理装置100から取り外し可能なものとしては、例えばフレキシブルディスク、光磁気ディスク、CD−ROM、CD−R/W、DVD、ブルーレイディスク、DAT、8mmテープ、フラッシュメモリなどのメモリカード等がある。また、情報処理装置100に固定された記録媒体としてハードディスク、SSDあるいはROM等がある。   A recording medium that can be read by the information processing apparatus 100 is a recording medium that stores information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from the information processing apparatus 100. Say medium. Examples of such a recording medium that can be removed from the information processing apparatus 100 include a flexible disk, a magneto-optical disk, a CD-ROM, a CD-R / W, a DVD, a Blu-ray disk, a DAT, an 8 mm tape, a flash memory, and the like. There are memory cards. In addition, as a recording medium fixed to the information processing apparatus 100, there are a hard disk, an SSD, a ROM, and the like.

回線インターフェース104は、例えば、コンピュータネットワークとのインターフェースである。回線インターフェース104は、コンピュータネットワークを介して外部の装置と通信を行う。   The line interface 104 is an interface with a computer network, for example. The line interface 104 communicates with an external device via a computer network.

情報処理装置100は、例えば、ユーザ等からの操作指示等を受け付ける入力部をさらに備えてもよい。このような入力部として、キーボード、ポインティングデバイス、タッチパネル、加速度センサーあるいは音声入力装置といった入力デバイスを例示できる。   The information processing apparatus 100 may further include, for example, an input unit that receives an operation instruction from a user or the like. Examples of such an input unit include an input device such as a keyboard, a pointing device, a touch panel, an acceleration sensor, or a voice input device.

情報処理装置100は、例えば、CPU101で処理されるデータやメモリ102に記憶されるデータを出力する出力部を備えるものとしてもよい。このような、出力部として、Cathode Ray Tube(CRT)ディスプレイ、Liquid Crystal Display(LCD)、Plasma Display Panel(PDP)、Electroluminescence(EL)パネル、有機ELパネルあ
るいはプリンタといった出力デバイスを例示できる。
The information processing apparatus 100 may include an output unit that outputs data processed by the CPU 101 or data stored in the memory 102, for example. Examples of such an output unit include output devices such as a Cathode Ray Tube (CRT) display, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), an Electroluminescence (EL) panel, an organic EL panel, or a printer.

<処理ブロック>
図4および図6は、それぞれキャプチャファイル格納装置230およびメッセージ検索装置240の処理ブロックの一例を示す図である。例えば、図3のCPU101が図4および図6の各ブロックとしてメモリ102に展開されたコンピュータプログラムを実行する。ただし、図4および図6のいずれかのブロックの少なくとも一部はハードウェア回路、専用のプロセッサまたはデジタルシグナルプロセッサ(Digital Signal Processor、DSP)を含んでもよい。以下、図4及び図6を参照して、キャプチャファイル格納装置230およびメッセージ検索装置240の処理ブロックについて説明する。
<Processing block>
4 and 6 are diagrams illustrating examples of processing blocks of the capture file storage device 230 and the message search device 240, respectively. For example, the CPU 101 in FIG. 3 executes a computer program loaded in the memory 102 as each block in FIGS. 4 and 6. However, at least a part of any of the blocks in FIGS. 4 and 6 may include a hardware circuit, a dedicated processor, or a digital signal processor (DSP). Hereinafter, processing blocks of the capture file storage device 230 and the message search device 240 will be described with reference to FIGS. 4 and 6.

<キャプチャファイル格納装置230の処理ブロック>
図4は、キャプチャファイル格納装置230の処理ブロックの一例を示す図である。図4では、キャプチャファイル格納装置230の処理ブロックの一例として、キャプチャ部231が示されている。また、図4では、キャプチャファイル格納装置230の記憶部の一例として、キャプチャファイル管理部232が示されている。さらに、キャプチャファイル格納装置230が外部との通信に用いる回線インターフェース104の一例として、通信インターフェース233が示されている。図4に記載の他の装置は、通信インターフェース233を介してキャプチャファイル格納装置230と通信を行う装置であり、例えば、メッセージ検索装置240またはクライアント250である。
<Processing Block of Capture File Storage Device 230>
FIG. 4 is a diagram illustrating an example of processing blocks of the capture file storage device 230. In FIG. 4, a capture unit 231 is shown as an example of a processing block of the capture file storage device 230. In FIG. 4, a capture file management unit 232 is illustrated as an example of a storage unit of the capture file storage device 230. Further, a communication interface 233 is shown as an example of the line interface 104 used by the capture file storage device 230 for communication with the outside. The other device described in FIG. 4 is a device that communicates with the capture file storage device 230 via the communication interface 233, and is, for example, the message search device 240 or the client 250.

キャプチャファイル格納装置230のCPU101はキャプチャ部231として、パケットキャプチャポイント260を流れるパケットを受信し、受信したパケットをキャプチャする。キャプチャ部231は、キャプチャしたパケットをキャプチャファイルとして記憶装置103に記憶させる。キャプチャ部231は、例えば、キャプチャしたパケットをタイムスタンプの所定時間範囲ごとにキャプチャファイルに格納し、当該キャプチャファイルを記憶部103に記憶させる。すなわち、キャプチャファイルには所定時間範囲内にキャプチャされた複数のパケットが含まれ得る。キャプチャ部231は、タイムスタンプの所定時間範囲においてキャプチャされたパケットのデータサイズの合計値が所定サイズを超える場合、所定サイズに収まるようにキャプチャファイルを分割して記憶装置103に記憶させてもよい。さらに、キャプチャ部231は、キャプチャファイルのファイル名とキャプチャファイルに格納されたパケットのタイムスタンプとの対応をキャプチャファイル管理部232に記憶させる。   The CPU 101 of the capture file storage device 230 receives the packet flowing through the packet capture point 260 as the capture unit 231 and captures the received packet. The capture unit 231 stores the captured packet in the storage device 103 as a capture file. For example, the capture unit 231 stores the captured packet in a capture file for each predetermined time range of the time stamp, and causes the storage unit 103 to store the capture file. That is, the capture file can include a plurality of packets captured within a predetermined time range. When the total value of the data size of the packets captured in the predetermined time range of the time stamp exceeds the predetermined size, the capture unit 231 may divide the captured file so as to fit within the predetermined size and store the divided capture file in the storage device 103. . Further, the capture unit 231 stores the correspondence between the file name of the capture file and the time stamp of the packet stored in the capture file in the capture file management unit 232.

キャプチャファイル管理部232は、記憶装置103に記憶されたキャプチャファイルと当該キャプチャファイルに格納されたパケットのタイムスタンプとの対応を管理するテーブルである。図5は、キャプチャファイル管理部232のテーブルの一例を示す図である。図5の一行目は、記録される情報の種別を例示する。すなわち、図5の一列目にはタ
イムスタンプが記録され、2列目にはキャプチャファイルのファイル名が記録される。タイムスタンプは、例えば、年4桁、月2桁、日2桁、時2桁、分2桁および秒2桁で表記される。例えば、ファイル名「packet1.cap」のキャプチャファイルには、2015年8
月1日20時00分00秒から2015年8月1日20時9分59秒の範囲のパケットが記録されている。キャプチャファイル管理部232は、例えば、キャプチャファイル格納装置230のメモリ102または記憶装置103上に構築される。
The capture file management unit 232 is a table for managing the correspondence between the capture file stored in the storage device 103 and the time stamp of the packet stored in the capture file. FIG. 5 is a diagram illustrating an example of a table of the capture file management unit 232. The first line of FIG. 5 illustrates the type of information to be recorded. That is, the time stamp is recorded in the first column of FIG. 5, and the file name of the capture file is recorded in the second column. The time stamp is expressed by, for example, four digits for the year, two digits for the month, two digits for the day, two digits for the hour, two digits for the minute, and two digits for the second. For example, the capture file with the file name “packet1.cap”
Packets in the range from 20:00:00 on month 1 to 20: 9: 59 on August 1, 2015 are recorded. The capture file management unit 232 is constructed on the memory 102 or the storage device 103 of the capture file storage device 230, for example.

図4に戻り、通信インターフェース233は、コンピュータネットワークを通じてキャプチャファイル格納装置230と他の装置とを接続する。通信インターフェース233は、図3の回線インターフェース104の一例である。他の装置は、メッセージ検索装置240、クライアント250、PCRF220およびPGW210を含む。また、キャプチャファイル格納装置230は、通信インターフェース233を介して、パケットキャプチャポイント260を流れるパケットをキャプチャする。   Returning to FIG. 4, the communication interface 233 connects the capture file storage device 230 to another device through a computer network. The communication interface 233 is an example of the line interface 104 in FIG. Other devices include message search device 240, client 250, PCRF 220 and PGW 210. Further, the capture file storage device 230 captures a packet flowing through the packet capture point 260 via the communication interface 233.

<メッセージ検索装置240の処理ブロック>
図6は、メッセージ検索装置240の処理ブロックの一例を示す図である。図6では、メッセージ検索部241、インデックス付加部242およびキャプチャファイル読み込み部243の各処理ブロックが例示されている。また、図6では、インデックス管理部244およびAVP属性管理部245の各記憶部が例示されている。さらに、メッセージ検索装置240が外部との通信に用いる回線インターフェース104の一例として、通信インターフェース246が示されている。図6に記載の他の装置は、通信インターフェース246を介してメッセージ検索装置240と通信を行う装置であり、例えば、キャプチャファイル格納装置230またはクライアント250である。
<Processing Block of Message Search Device 240>
FIG. 6 is a diagram illustrating an example of processing blocks of the message search device 240. FIG. 6 illustrates processing blocks of the message search unit 241, the index addition unit 242, and the capture file reading unit 243. Further, in FIG. 6, the storage units of the index management unit 244 and the AVP attribute management unit 245 are illustrated. Further, a communication interface 246 is shown as an example of the line interface 104 used by the message search device 240 for communication with the outside. The other device described in FIG. 6 is a device that communicates with the message search device 240 via the communication interface 246, for example, the capture file storage device 230 or the client 250.

メッセージ検索装置240のCPU101は、キャプチャファイル読み込み部243として、クライアント250からの検索要求に応じて、キャプチャファイル格納装置230の記憶装置103に記憶されたキャプチャファイルを読み込む。キャプチャファイル読み込み部243は、例えば、検索要求に含まれるタイムスタンプを基にキャプチャファイルを特定し、特定したキャプチャファイルを読み込む。キャプチャファイル読み込み部243は、「読み込み部」の一例である。   The CPU 101 of the message search device 240 reads a capture file stored in the storage device 103 of the capture file storage device 230 as a capture file reading unit 243 in response to a search request from the client 250. For example, the capture file reading unit 243 specifies a capture file based on a time stamp included in the search request, and reads the specified capture file. The capture file reading unit 243 is an example of a “reading unit”.

メッセージ検索装置240のCPU101は、メッセージ検索部241として、クライアント250からの検索要求に応じてキャプチャファイルの検索を行う。メッセージ検索部241は、検索要求に含まれる属性値ペアを検索キーとして、キャプチャファイル読み込み部243によって読み込まれたキャプチャファイルから検索要求の対象となるパケットを検索する。メッセージ検索部241は、キャプチャファイルにインデックスが付加されていない場合、インデックス付加部242に対して、当該キャプチャファイルにインデックスを付加するよう指示する。メッセージ検索部241は、「判定部」、「特定部」、「追記部」および「検索部」の一例である。   The CPU 101 of the message search device 240 searches the capture file in response to a search request from the client 250 as the message search unit 241. The message search unit 241 searches for the packet that is the target of the search request from the capture file read by the capture file reading unit 243 using the attribute value pair included in the search request as a search key. When an index is not added to the capture file, the message search unit 241 instructs the index addition unit 242 to add an index to the capture file. The message search unit 241 is an example of a “determination unit”, “specification unit”, “additional writing unit”, and “search unit”.

メッセージ検索装置240のCPU101は、インデックス付加部242として、キャプチャファイルにインデックスを付加する。インデックス付加部242は、メッセージ検索部241からの指示を契機としてインデックスの付加を実行する。インデックス付加部242は、クライアント250からの指示を契機としてインデックスの付加を行ってもよい。   The CPU 101 of the message search device 240 adds an index to the capture file as the index adding unit 242. The index addition unit 242 executes index addition in response to an instruction from the message search unit 241. The index adding unit 242 may add an index in response to an instruction from the client 250.

インデックス管理部244は、キャプチャファイルに付加されたインデックスを管理するテーブルである。図7は、インデックス管理部244によって管理されるテーブルの一例を示す図である。インデックス管理部244は、図7に例示されるように、キャプチャファイルに含まれる属性の一覧を管理する属性一覧テーブル244aと、属性値と当該属
性値が記録されているパケットを特定するパケット番号の対応を管理する対応管理テーブル244bとを含む。パケット番号は、キャプチャファイルに記憶された各パケットを一意に識別する番号である。パケット番号は、例えば、キャプチャファイル内の各パケットに連番で割り当てられる。すなわち、パケット番号によって、キャプチャファイル内の何番目のパケットであるかが特定される。図7の例では、属性「Imsi」の値として「A」が
設定されているパケットは、パケット番号1、4、7および50によって特定されるパケットである。すなわち、メッセージ検索装置240のメッセージ検索部241は、インデックス管理部244を参照することで、検索要求時に指定された属性値ペアを有するパケットを特定できる。属性一覧テーブル244aと対応管理テーブル244bとは、キャプチャファイル毎に作成される。なお、インデックス一覧テーブル244aおよび対応管理テーブル244bとは、メッセージ管理検索装置240の初期状態では空となっている。
The index management unit 244 is a table that manages an index added to the capture file. FIG. 7 is a diagram illustrating an example of a table managed by the index management unit 244. As illustrated in FIG. 7, the index management unit 244 includes an attribute list table 244a that manages a list of attributes included in the capture file, and an attribute value and a packet number that identifies the packet in which the attribute value is recorded. And a correspondence management table 244b for managing correspondence. The packet number is a number that uniquely identifies each packet stored in the capture file. For example, the packet number is assigned to each packet in the capture file by a serial number. That is, the number of the packet in the capture file is specified by the packet number. In the example of FIG. 7, a packet in which “A” is set as the value of the attribute “Imsi” is a packet specified by the packet numbers 1, 4, 7, and 50. That is, the message search unit 241 of the message search device 240 can identify a packet having the attribute value pair specified at the time of the search request by referring to the index management unit 244. The attribute list table 244a and the correspondence management table 244b are created for each capture file. The index list table 244a and the correspondence management table 244b are empty in the initial state of the message management search device 240.

AVP属性管理部245は、属性値ペアを管理するテーブルである。図8および図9は、AVP属性管理部245によって管理されるテーブルの一例を示す図である。図8は、第1実施形態で用いられるDIAMETERの属性(図では、Index keyと表記)とAV
Pコード(図では、AVP Codeと記載)の対応を示すAVPコードテーブル245aの一例である。AVPコードテーブル245aでは、DIAMETERで用いられる各種属性が一覧として記憶される。また、AVPコードテーブル245aでは、DIAMETERで用いられる属性と当該属性を識別するコードであるAVPコードとが対応付けられる。すなわち、図2に例示されるDIAMETERのパケットにおいてはAVPコードが属性として記述され、AVPコードによってどのような属性が指定されているか識別される。AVPコードテーブル245aは、例えば、工場出荷時または初期設定時に決定される。
The AVP attribute management unit 245 is a table that manages attribute value pairs. 8 and 9 are diagrams illustrating an example of a table managed by the AVP attribute management unit 245. FIG. 8 shows the attribute of DIAMETER (denoted as Index key in the figure) and AV used in the first embodiment.
It is an example of an AVP code table 245a indicating correspondence of P codes (denoted as AVP Code in the figure). In the AVP code table 245a, various attributes used in DIAMETER are stored as a list. In the AVP code table 245a, an attribute used in DIAMETER is associated with an AVP code that is a code for identifying the attribute. That is, in the DIAMETER packet illustrated in FIG. 2, the AVP code is described as an attribute, and what attribute is specified by the AVP code is identified. The AVP code table 245a is determined at the time of factory shipment or initial setting, for example.

図9は、属性間の包含関係を管理する包含関係テーブル245bの一例を示す図である。第1実施形態で利用されるDIAMETERでは、属性間に包含関係が存在する。DIAMETERでは、例えば、同一の用途に用いられる属性が複数存在することがある。これらの属性は、包含関係において互いに「等しい」と称する。また、例えば、DIAMETERでは、ある属性をより具体的にした他の属性が存在することがある。この場合、ある属性は、包含関係において他の属性を「含む」と称する。以下、本明細書では、包含関係において「ある属性と他の属性が等しい」または「ある属性が他の属性を含む」関係を、「ある属性が他の属性を包含する」と称する。包含関係テーブル245bでは、属性の包含関係が例示される。包含関係テーブル245bの1行目は、包含関係テーブル245bによって管理される情報の種別が例示される。すなわち、包含関係テーブル245bの1列目と2列目には属性が例示され、3列目には1列目と2列目の属性の包含関係が例示される。例えば、包含関係テーブル245bの2行目では、属性「Imsi」と属性「MSISDN」の関係は、「等しい(=)」となる。また、包含関係テーブル245bの3行目と4行
目を参照すると、属性「Imsi」には、属性「Call ID」および「Session ID」が「含まれ
る」ことがわかる。包含関係テーブル245bは、例えば、工場出荷時または初期設定時に決定される。AVP属性管理部245は、「関係記憶部」の一例である。
FIG. 9 is a diagram illustrating an example of the inclusion relationship table 245b that manages the inclusion relationship between attributes. In DIAMETER used in the first embodiment, an inclusion relationship exists between attributes. In DIAMETER, for example, there may be a plurality of attributes used for the same application. These attributes are referred to as “equal” to each other in an inclusive relationship. For example, in DIAMETER, there may be other attributes that make a certain attribute more specific. In this case, an attribute is referred to as “includes” another attribute in the inclusion relationship. Hereinafter, in the present specification, a relationship in which “a certain attribute is equal to another attribute” or “a certain attribute includes another attribute” is referred to as “a certain attribute includes another attribute”. In the inclusion relationship table 245b, the inclusion relationship of attributes is exemplified. The first line of the inclusion relationship table 245b illustrates the type of information managed by the inclusion relationship table 245b. That is, the attributes are exemplified in the first and second columns of the inclusion relationship table 245b, and the inclusion relationship between the attributes in the first and second columns is exemplified in the third column. For example, in the second line of the inclusion relationship table 245b, the relationship between the attribute “Imsi” and the attribute “MSISDN” is “equal (=)”. Further, referring to the third and fourth lines of the inclusion relationship table 245b, it can be seen that the attributes “Imsi” “include” the attributes “Call ID” and “Session ID”. The inclusion relation table 245b is determined, for example, at the time of factory shipment or initial setting. The AVP attribute management unit 245 is an example of a “relation storage unit”.

通信インターフェース246は、コンピュータネットワークを通じてメッセージ検索装置240と他の装置とを接続する。通信インターフェース246は、図3の回線インターフェース104の一例である。他の装置は、キャプチャファイル格納装置230、クライアント250、PCRF220およびPGW210を含む。   The communication interface 246 connects the message search device 240 and other devices through a computer network. The communication interface 246 is an example of the line interface 104 in FIG. Other devices include a capture file storage device 230, a client 250, a PCRF 220 and a PGW 210.

<処理フロー>
図10は、パケットをキャプチャする処理の流れの一例を示す図である。図10の処理は、例えば、キャプチャファイル格納装置230の起動と同時に開始される。以下、図10を参照して、パケットをキャプチャする処理の流れについて説明する。
<Processing flow>
FIG. 10 is a diagram illustrating an example of a flow of processing for capturing a packet. The process of FIG. 10 is started simultaneously with the activation of the capture file storage device 230, for example. Hereinafter, the flow of processing for capturing a packet will be described with reference to FIG.

T1では、キャプチャファイル格納装置230の通信インターフェース233は、パケットキャプチャポイント260を流れるパケットを受信する。キャプチャファイル格納装置230のキャプチャ部231は、受信したパケットをキャプチャする。   At T <b> 1, the communication interface 233 of the capture file storage device 230 receives a packet flowing through the packet capture point 260. The capture unit 231 of the capture file storage device 230 captures the received packet.

T2では、キャプチャ部231は、上述の通り、キャプチャしたパケットをタイムスタンプの所定時間範囲ごとにキャプチャファイルに格納する。また、キャプチャ部231は、キャプチャファイルのサイズが所定サイズを超える場合、所定サイズに収まるようにキャプチャファイルを分割する。キャプチャファイルはキャプチャファイル格納装置230の記憶装置103に記憶される。キャプチャ部231は、図5に例示されるように、キャプチャファイルのファイル名とキャプチャファイルに格納されたパケットのタイムスタンプの対応をキャプチャファイル管理部232に記憶させる。キャプチャファイル格納装置230は、T1およびT2の処理を繰り返し実行することで、パケットキャプチャポイント260を流れるパケットをキャプチャファイルとして格納する。   At T2, the capture unit 231 stores the captured packet in the capture file for each predetermined time range of the time stamp as described above. In addition, when the size of the capture file exceeds a predetermined size, the capture unit 231 divides the capture file so as to fit within the predetermined size. The capture file is stored in the storage device 103 of the capture file storage device 230. As illustrated in FIG. 5, the capture unit 231 causes the capture file management unit 232 to store the correspondence between the file name of the capture file and the time stamp of the packet stored in the capture file. The capture file storage device 230 stores the packet flowing through the packet capture point 260 as a capture file by repeatedly executing the processing of T1 and T2.

図11は、インデックスが付加されていないキャプチャファイルに対する検索要求の処理の流れの一例を示す図である。以下、図11を参照して、インデックスが付加されていないキャプチャファイルに対する検索要求に対する処理の流れについて説明する。   FIG. 11 is a diagram illustrating an example of the flow of a search request process for a capture file to which no index is added. Hereinafter, the flow of processing for a search request for a capture file to which no index is added will be described with reference to FIG.

T11では、クライアント250からメッセージ検索装置240へパケットの検索要求が行われる。検索要求には、検索対象となるパケットを特定する情報が含まれる。パケットを特定する情報は、例えば、タイムスタンプ、属性および属性に設定される属性値である。ここでは、検索要求として、タイムスタンプ「2015年8月1日20時3分0秒から2015年8月1日20時5分3秒」、属性値ペアとして「Imsi=990001111111111」が指定されたものとする。すなわち、当該検索要求では、属性として「Imsi」、属性値として「990001111111111」が指定される。   At T11, a packet search request is made from the client 250 to the message search device 240. The search request includes information for specifying a packet to be searched. The information specifying the packet is, for example, a time stamp, an attribute, and an attribute value set in the attribute. Here, the time stamp “August 1, 2015 20: 3: 0” to August 1, 2015 20: 5: 3 is designated as the search request, and “Imsi = 990001111111111” is designated as the attribute value pair. Shall. That is, in the search request, “Imsi” is specified as the attribute and “990001111111111” is specified as the attribute value.

T12では、パケットの検索要求を受信したメッセージ検索装置240のメッセージ検索部241は、キャプチャファイル管理部232を参照して、検索要求で指定されたタイムスタンプのパケットを含むキャプチャファイルを特定する。さらに、メッセージ検索部241は、インデックス管理部244を参照して、特定したキャプチャファイルに対し、インデックスが付加されているか否かを判定する。図11に例示される処理では、上述の通り、キャプチャファイルにインデックスは付加されていない。   In T12, the message search unit 241 of the message search device 240 that has received the packet search request refers to the capture file management unit 232, and identifies a capture file that includes a packet with the time stamp specified in the search request. Further, the message search unit 241 refers to the index management unit 244 to determine whether or not an index is added to the identified capture file. In the process illustrated in FIG. 11, as described above, no index is added to the capture file.

T13では、メッセージ検索装置240のキャプチャファイル読み込み部243は、通信インターフェース246を介して、キャプチャファイル格納装置230からキャプチャファイルを取得する。この際、キャプチャファイル読み込み部243は、クライアント250からの検索要求に含まれるタイムスタンプをキャプチャファイル格納装置230に通知する。キャプチャファイル格納装置230のキャプチャ部231は、キャプチャファイル管理部232を参照し、通知されたタイムスタンプのパケットを含むキャプチャファイルを特定する。キャプチャ部231は、特定したキャプチャファイルを記憶装置103から読み出し、メッセージ検索装置240へ送信する。メッセージ検索装置240のキャプチャファイル読み込み部243は、キャプチャファイル格納装置230のキャプチャ部231から送信されたキャプチャファイルを受信する。   At T <b> 13, the capture file reading unit 243 of the message search device 240 acquires a capture file from the capture file storage device 230 via the communication interface 246. At this time, the capture file reading unit 243 notifies the capture file storage device 230 of the time stamp included in the search request from the client 250. The capture unit 231 of the capture file storage device 230 refers to the capture file management unit 232 and identifies a capture file including the notified packet with the time stamp. The capture unit 231 reads the identified capture file from the storage device 103 and transmits it to the message search device 240. The capture file reading unit 243 of the message search device 240 receives the capture file transmitted from the capture unit 231 of the capture file storage device 230.

T14では、メッセージ検索装置240のインデックス付加部242は、取得したキャプチャファイルにインデックスを付加する。まず、インデックス付加部242は、検索要求された属性を取得したキャプチャファイル用のインデックス一覧テーブル244aに追加する。さらに、インデックス付加部242は、取得したキャプチャファイルを解析し、検索対象の属性を含むパケットを検索する。検索したパケットに設定されている属性値を取得し、当該パケットのパケット番号と属性値の組を取得したキャプチャファイル用の対
応管理テーブル244bに追加する。さらに、インデックス付加部242は、検索要求された属性と包含される属性についても同様の処理を行う。インデックス付加部242は、この検索の際、検索要求された属性および検索要求された属性に包含される属性以外の属性については解析対象としない。そのため、インデックス付加部242は、キャプチャファイルに含まれる全ての属性値ペアを解析対象とする場合と比較して、インデックス作成に用いられるCPU101の処理時間を短縮できる。このような処理の結果、インデックス一覧テーブル244aおよび対応管理テーブル244bは、例えば、図7に例示される状態となる。図7を参照すると、属性「Imsi」の値として「A」が設定されているパケッ
トは、パケット番号1、4、7および50のパケットであることがわかる。
At T14, the index adding unit 242 of the message search device 240 adds an index to the acquired capture file. First, the index adding unit 242 adds the search-requested attribute to the captured file index list table 244a. Further, the index adding unit 242 analyzes the acquired capture file and searches for a packet including the attribute to be searched. The attribute value set in the retrieved packet is acquired, and the packet number and attribute value pair of the packet is added to the acquired capture file correspondence management table 244b. Further, the index adding unit 242 performs the same processing for the attribute requested for search and the included attribute. In this search, the index adding unit 242 does not consider attributes other than the attribute requested for the search and the attribute included in the attribute requested for the search. Therefore, the index adding unit 242 can shorten the processing time of the CPU 101 used for creating an index, compared to a case where all attribute value pairs included in the capture file are analyzed. As a result of such processing, the index list table 244a and the correspondence management table 244b are in the state illustrated in FIG. 7, for example. Referring to FIG. 7, it can be seen that packets having “A” as the value of the attribute “Imsi” are packets having packet numbers 1, 4, 7, and 50.

T15では、メッセージ検索装置240のメッセージ検索部241は、検索結果をクライアント250に応答する。検索結果は、検索したパケットでも検索したパケットを特定するパケット番号でもよい。   At T <b> 15, the message search unit 241 of the message search device 240 returns the search result to the client 250. The search result may be a searched packet or a packet number that identifies the searched packet.

図12は、インデックスが付加されているキャプチャファイルに対する検索要求の処理の流れの一例を示す図である。以下、図12を参照して、インデックスが付加されているキャプチャファイルに対する検索要求に対する処理の流れについて説明する。なお、図11と同様の処理については同一の符号を付し、その詳細な説明を省略する。   FIG. 12 is a diagram illustrating an example of a processing flow of a search request for a capture file to which an index is added. Hereinafter, the flow of processing for a search request for a capture file to which an index is added will be described with reference to FIG. In addition, the same code | symbol is attached | subjected about the process similar to FIG. 11, and the detailed description is abbreviate | omitted.

T11の処理は図11のT11の処理と同様である。そのため、その説明を省略する。T21では、パケットの検索要求を受信したメッセージ検索装置240のメッセージ検索部241は、キャプチャファイル管理部232を参照して、検索要求で指定されたタイムスタンプのパケットを含むキャプチャファイルを特定する。さらに、メッセージ検索部241は、インデックス管理部244を参照して、特定したタイムスタンプのパケットを含むキャプチャファイルに対し、インデックスが付加されているか否かを判定する。図12に例示される処理では、上述の通り、キャプチャファイルにインデックスが付加されている。そのため、メッセージ検索部241は、インデックス管理部244を参照して、検索要求に対応するパケットを特定するパケット番号を取得する。   The process at T11 is the same as the process at T11 in FIG. Therefore, the description is omitted. In T21, the message search unit 241 of the message search device 240 that has received the packet search request refers to the capture file management unit 232, and specifies a capture file including a packet with the time stamp specified in the search request. Further, the message search unit 241 refers to the index management unit 244 to determine whether or not an index is added to the capture file including the packet with the specified time stamp. In the process illustrated in FIG. 12, as described above, an index is added to the capture file. Therefore, the message search unit 241 refers to the index management unit 244 and acquires a packet number that identifies a packet corresponding to the search request.

T22では、メッセージ検索部241は、T21で取得したパケット番号をクライアント250に送信する。メッセージ検索部241は、この際、キャプチャファイル読み込み部243によってキャプチャファイル格納装置230からキャプチャファイルを取得し、取得したキャプチャファイルからパケット番号によって特定したパケットを送信してもよい。   At T22, the message search unit 241 transmits the packet number acquired at T21 to the client 250. At this time, the message search unit 241 may acquire the capture file from the capture file storage device 230 by the capture file reading unit 243 and transmit the packet specified by the packet number from the acquired capture file.

図13は、検索要求を受け付けたメッセージ検索装置240の処理フローの一例を示す図である。以下、図13を参照して、検索要求を受け付けたメッセージ検索装置240の処理フローについて説明する。   FIG. 13 is a diagram illustrating an example of a processing flow of the message search apparatus 240 that has received a search request. Hereinafter, the processing flow of the message search apparatus 240 that has received a search request will be described with reference to FIG.

T31では、クライアント250は、メッセージ検索装置240に検索要求を送信する。T31の検索要求では、図11のT11と同一の内容の検索要求が送信されたものとする。クライアント250からの検索要求を受信したメッセージ検索装置240のメッセージ検索部241は、図11のT12または図12のT22に例示される処理により、検索要求に含まれる属性と属性値のペアをキーとしてインデックス管理部244を検索する。検索要求に含まれる属性と属性値のペアがインデックス管理部244に含まれている場合(T32でY)、処理は、T33に進められる。検索要求に含まれる属性と属性値のペアがインデックス管理部244に含まれていない場合(T32でN)、処理は、T35に進められる。T32の処理を実行するメッセージ検索部241は、「判定部」の一例である。   At T <b> 31, the client 250 transmits a search request to the message search device 240. In the search request at T31, it is assumed that a search request having the same contents as T11 in FIG. 11 is transmitted. The message search unit 241 of the message search device 240 that has received the search request from the client 250 uses the attribute-attribute value pair included in the search request as a key by the process illustrated in T12 of FIG. 11 or T22 of FIG. The index management unit 244 is searched. When the attribute management unit 244 includes an attribute / attribute value pair included in the search request (Y in T32), the process proceeds to T33. If the attribute and attribute value pair included in the search request is not included in the index management unit 244 (N in T32), the process proceeds to T35. The message search unit 241 that executes the process of T32 is an example of a “determination unit”.

T33では、メッセージ検索部241は、インデックス管理部244を参照して、検索要求に含まれる属性と属性値のペアを含むパケットを特定するパケット番号を取得する。さらに、メッセージ検索部241は、当該パケット番号によって特定されるパケットを含むキャプチャファイルをキャプチャファイル読み込み部243によって取得してもよい。   In T33, the message search unit 241 refers to the index management unit 244, and acquires a packet number that identifies a packet including an attribute-attribute value pair included in the search request. Further, the message search unit 241 may acquire a capture file including a packet specified by the packet number by the capture file reading unit 243.

T34では、メッセージ検索部241は、クライアント250に対して、検索結果のパケットを特定するパケット番号を送信する。メッセージ検索部241は、キャプチャファイル読み込み部243によって取得したキャプチャファイルからパケット番号によって特定したパケットをクライアント250に送信してもよい。T33およびT34の処理を実行するメッセージ検索部241は、「検索部」の一例である。   At T <b> 34, the message search unit 241 transmits a packet number for specifying a search result packet to the client 250. The message search unit 241 may transmit the packet specified by the packet number from the capture file acquired by the capture file reading unit 243 to the client 250. The message search unit 241 that executes the processes of T33 and T34 is an example of a “search unit”.

T35からT310では、検索要求に含まれる属性と属性値のペアがインデックス管理部244に含まれていない場合の処理が説明される。T35の処理は、図11のT14の処理と同様である。そのため、その説明を省略する。T36では、インデックス付加部242は、AVP属性管理部245を参照して、属性の包含関係をチェックする。図9を参照すると、検索要求された属性「Imsi」と属性「MSISDN」は包含関係において等しい。また、属性「Call ID」および「Session ID」は、包含関係において属性「Imsi」に含まれ
ている。そのため、包含関係が有りと判定され(T37でY)、処理は、T38に進められる。T36の処理を実行するインデックス付加部242は、「特定部」の一例である。
In T35 to T310, processing in the case where the attribute management unit 244 does not include the attribute-attribute value pair included in the search request will be described. The process at T35 is the same as the process at T14 in FIG. Therefore, the description is omitted. In T36, the index adding unit 242 refers to the AVP attribute management unit 245 to check the attribute inclusion relationship. Referring to FIG. 9, the search requested attribute “Imsi” and the attribute “MSISDN” are equal in inclusion relation. The attributes “Call ID” and “Session ID” are included in the attribute “Imsi” in the inclusion relationship. Therefore, it is determined that there is an inclusion relationship (Y in T37), and the process proceeds to T38. The index adding unit 242 that executes the process of T36 is an example of a “specifying unit”.

T38では、メッセージ検索部241は、検索要求された属性および検索要求された属性に包含される属性についてインデックスを作成する。メッセージ検索部241は、包含関係テーブル245bを参照して、検索要求された属性に包含される属性を特定する。ここでは、図9を参照すると、属性「Imsi」に包含される属性として、「MSISDN」、「Call
ID」および「Session ID」が特定される。メッセージ検索部241は、検索要求された
属性「Imsi」および属性「Imsi」に包含される属性「MSISDN」、「Call ID」および「Session ID」についてもインデックスの作成を行う。まず、キャプチャファイル読み込み部
243は、検索要求によって指定されたタイムスタンプのパケットを含むキャプチャファイルをキャプチャファイル格納装置230から読み込む。続いて、メッセージ検索部241は、属性「Imsi」、属性「Imsi」、「MSISDN」、「Call ID」および「Session ID」が
読み込んだキャプチャファイルに含まれるか否かを判定する。続いて、メッセージ検索部241は、キャプチャファイルに含まれると判定された属性について、T35の処理を実行することで、インデックスを作成する。T38の処理を実行するメッセージ検索部241は、「追記部」の一例である。
In T38, the message search unit 241 creates an index for the attribute requested for the search and the attribute included in the attribute requested for the search. The message search unit 241 refers to the inclusion relation table 245b and identifies an attribute included in the attribute requested to be searched. Here, referring to FIG. 9, as attributes included in the attribute “Imsi”, “MSISDN”, “Call”
“ID” and “Session ID” are specified. The message search unit 241 also creates an index for the attribute “Imsi” requested for the search and the attributes “MSISDN”, “Call ID”, and “Session ID” included in the attribute “Imsi”. First, the capture file reading unit 243 reads from the capture file storage device 230 a capture file including a packet with a time stamp designated by the search request. Next, the message search unit 241 determines whether the attribute “Imsi”, the attributes “Imsi”, “MSISDN”, “Call ID”, and “Session ID” are included in the read capture file. Subsequently, the message search unit 241 creates an index by executing the process of T35 for the attribute determined to be included in the capture file. The message search unit 241 that executes the process of T38 is an example of an “additional writing unit”.

T310では、検索要求された属性が包含関係を有さない場合の処理が説明される。この場合、メッセージ検索部241は、キャプチャファイルに含まれる全てのパケットについて当該パケットに含まれる属性を抽出し、抽出された属性について、T35の処理が実行される。   In T310, a process when the attribute requested for search does not have an inclusion relationship is described. In this case, the message search unit 241 extracts the attributes included in the packets for all the packets included in the capture file, and the process of T35 is performed on the extracted attributes.

T39では、メッセージ検索部241は、T33に例示される処理によって検索要求されたパケットを特定する。T39の処理を実行するメッセージ検索部241は、「検索部」の一例である。   In T39, the message search unit 241 specifies the packet requested to be searched by the process exemplified in T33. The message search unit 241 that executes the process of T39 is an example of a “search unit”.

<第1実施形態の効果>
第1実施形態のメッセージ検索システム201は、パケットキャプチャの段階ではインデックスを作成せず、検索要求があった場合にインデックスを作成する。そのため、メッセージ検索システム201は、パケットの検索が発生しない場合のインデックス作成処理を省略できる。
<Effects of First Embodiment>
The message search system 201 of the first embodiment does not create an index at the stage of packet capture, but creates an index when a search request is made. Therefore, the message search system 201 can omit the index creation process when no packet search occurs.

第1実施形態では、キャプチャファイルのインデックスを作成する際に、検索要求された属性のみならず、当該属性に包含される属性についてもインデックスを作成した。そのため、第1実施形態のメッセージ検索システム201は、ある属性で検索が実行された後、当該ある属性に包含される他の属性による検索要求に対して、インデックスを参照することで高速に検索結果を応答できる。   In the first embodiment, when creating an index of a capture file, an index is created not only for an attribute requested for search but also for an attribute included in the attribute. For this reason, the message search system 201 according to the first embodiment performs a search result at high speed by referring to an index for a search request by another attribute included in the certain attribute after the search is performed with the certain attribute. Can respond.

第1実施形態では、キャプチャファイルを所定時間範囲によって分割した。そのため、分割されたキャプチャファイルに対して、新たにキャプチャされたデータが追加されることが無い。その結果、第1実施形態によれば、キャプチャファイルが変更されることによるインデックスの再作成処理を抑制できる。また、キャプチャファイルを所定時間範囲で分割したことにより、時間を指定して検索対象のパケットを含むキャプチャファイルを特定する事が容易である。そのため、例えば、障害発生時の前後におけるパケットを含むキャプチャファイルを容易に特定できる。さらに、メッセージ検索システム201は、検索要求で指定される時間によって特定されるキャプチャファイルについてインデックスを作成する。そのため、全てのキャプチャファイルにインデックスを作成する場合と比較して、インデックス作成に用いられるCPU101の処理時間を短縮できる。   In the first embodiment, the capture file is divided according to a predetermined time range. Therefore, newly captured data is not added to the divided capture file. As a result, according to the first embodiment, it is possible to suppress index re-creation processing due to a change in the capture file. Further, by dividing the capture file in a predetermined time range, it is easy to specify the capture file including the search target packet by specifying the time. Therefore, for example, a capture file including packets before and after the occurrence of a failure can be easily specified. Further, the message search system 201 creates an index for the capture file specified by the time specified in the search request. Therefore, the processing time of the CPU 101 used for index creation can be shortened compared to the case of creating indexes for all capture files.

第1実施形態では、属性の包含関係を利用して、キャプチャファイルのインデックス作成対象とする属性を制限した。そのため、第1実施形態によれば、キャプチャファイルに含まれるパケットの全ての属性についてインデックスを作成する場合と比較して、インデックス作成に用いられるCPU101の処理時間を短縮できる。   In the first embodiment, the attributes to be indexed for the capture file are limited by using the inclusion relation of attributes. Therefore, according to the first embodiment, the processing time of the CPU 101 used for index creation can be shortened as compared with the case where indexes are created for all attributes of packets included in a capture file.

<第1実施形態の変形例>
第1実施形態のメッセージ検索システム201では、パケットキャプチャの対象となるプロトコルとしてDIAMETERが例示された。しかしながら、メッセージ検索システム201がキャプチャし、検索する対象となるプロトコルがDIAMETERに限定されるわけではない。メッセージ検索システム201は、属性間に包含関係を有する様々なプロトコルに対して適用可能である。メッセージ検索システム201は、例えば、RADIUS、General packet radio service. Tunneling Protocol(GTP)、GPRS Tunneling. Protocol version 2(GTPv2)、Proxy Mobile IP(PMIP)およびSession Initiation Protocol(SIP)に対しても適用可能である。
<Modification of First Embodiment>
In the message search system 201 of the first embodiment, DIAMETER is exemplified as a protocol to be a packet capture target. However, the protocol to be captured and searched by the message search system 201 is not limited to DIAMETER. The message search system 201 can be applied to various protocols having an inclusion relationship between attributes. The message search system 201 can be applied to, for example, RADIUS, General packet radio service. Tunneling Protocol (GTP), GPRS Tunneling. Protocol version 2 (GTPv2), Proxy Mobile IP (PMIP), and Session Initiation Protocol (SIP). It is.

第1実施形態では、包含関係テーブル245bにおいて属性間の包含関係として、ある属性と他の属性が「等しい」関係とある属性が他の属性を「含む」関係が例示された。しかしながら、包含関係テーブル245bに記憶される情報はこれらに限定されない。包含関係テーブル245bは、例えば、ある属性と他の属性との包含関係の有無を記憶してもよい。この場合、包含関係テーブル245bは、例えば、ある属性と他の属性との間に包含関係が有る場合「1」を記憶し、ある属性と他の属性との間に包含関係が無い場合に「0」を記憶する事が出来る。   In the first embodiment, as an inclusion relationship between attributes in the inclusion relationship table 245b, a relationship in which an attribute and another attribute are “equal” and a certain attribute “includes” another attribute is exemplified. However, the information stored in the inclusion relationship table 245b is not limited to these. For example, the inclusion relationship table 245b may store the presence or absence of an inclusion relationship between a certain attribute and another attribute. In this case, for example, the inclusion relationship table 245b stores “1” when there is an inclusion relationship between a certain attribute and another attribute, and “no” when there is no inclusion relationship between a certain attribute and another attribute. "0" can be memorized.

第1実施形態のメッセージ検索システム201は、キャプチャファイル格納装置230とメッセージ検索装置240の2台の情報処理装置によって実現された。しかしながら、メッセージ検索システム201は、1台の情報処理装置によって実現されてもよい。   The message search system 201 of the first embodiment is realized by two information processing devices, a capture file storage device 230 and a message search device 240. However, the message search system 201 may be realized by a single information processing apparatus.

第1実施形態では、メッセージ検索システム201は、パケットキャプチャポイント260においてパケットのキャプチャを行った。しかしながら、メッセージ検索システム201がパケットをキャプチャする箇所は、パケットキャプチャポイント260に限定されない。メッセージ検索システム201は、例えば、PGW210とMNOネットワーク300との間でパケットをキャプチャしてもよい。この場合、メッセージ検索システム201は、例えば、PGW210とMNOネットワーク300との間のセッションを確立する
パケットもキャプチャできる。
In the first embodiment, the message search system 201 captures a packet at the packet capture point 260. However, the location where the message search system 201 captures a packet is not limited to the packet capture point 260. For example, the message search system 201 may capture a packet between the PGW 210 and the MNO network 300. In this case, the message search system 201 can also capture a packet that establishes a session between the PGW 210 and the MNO network 300, for example.

<その他>
以上の変形例を含む実施形態に関し、更に以下の付記を開示する。
(付記1)
転送されるパケットをファイルとして保存するファイル格納部と、
パケットの属性と前記属性を有するパケットとの対応を記憶するインデックス部と、
パケットの属性を含む検索要求を受けると、前記検索要求に含まれる前記属性が前記インデックス部に記憶されているか否かを判定する判定部と、
前記検索要求に含まれる前記パケットの属性が前記インデックス部に記憶されていない場合、前記インデックス部に記憶されていない前記属性について前記ファイルに保存された前記パケットを検索し、前記インデックス部に記憶されていない前記属性と該当したパケットとの対応を前記インデックス部に追記する追記部と、
前記インデックス部を参照して前記検索要求に含まれる前記属性に対応付けられたパケットを検索する検索部と、を備える、
パケット検索装置。
(付記2)
前記属性間の所定関係の有無を記憶する関係記憶部と、
前記検索要求に含まれる前記属性が前記インデックス部に記憶されていない場合、前記関係記憶部を参照して前記検索要求に含まれる前記属性と前記所定関係にある前記属性を特定する特定部と、をさらに備え、
前記追記部は、前記特定部によって特定された前記属性について前記ファイルに保存された前記パケットを検索し、特定された前記属性と該当したパケットとの対応を前記インデックス部に追記する処理をさらに実行する、
請求項1に記載のパケット検索装置。
(付記3)
前記所定関係は、前記属性間の包含関係であり、
前記検索要求に含まれる前記属性の前記属性と前記所定関係を有する前記属性は、前記検索要求で指定される前記属性に前記包含関係において含まれる属性である、
請求項2に記載のパケット検索装置。
(付記4)
前記ファイルは所定時間範囲ごとに作成され、
前記検索要求は、検索対象のパケットがファイルとして保存された時間を指定する指定時間をさらに含み、
前記指定時間によって特定される前記ファイルを読み込む読み込み部をさらに備える、
請求項1から3のいずれか一項に記載のパケット検索装置。
(付記5)
キャプチャファイル格納装置とパケット検索装置とを備えるパケット検索システムであって、
前記キャプチャファイル格納装置は、
転送されるパケットをファイルとして保存する保存部を備え、
前記パケット検索装置は、
パケットの属性と前記属性を有するパケットとの対応を記憶するインデックス部と、
パケットの属性を含む検索要求を受けると、前記検索要求に含まれる前記属性が前記インデックス部に記憶されているか否かを判定する判定部と、
前記検索要求に含まれる前記属性が前記インデックス部に記憶されていない場合、前記インデックス部に記憶されていない前記属性について前記ファイルに保存された前記パケットを検索し、前記インデックス部に記憶されていない前記属性と該当したパケットとの対応を前記インデックス部に追記する追記部と、
前記インデックス部を参照して前記検索要求に含まれる前記属性に対応付けられたパ
ケットを検索する検索部と、を備える、
パケット検索システム。
(付記6)
前記パケット検索装置は、
前記属性間の所定関係の有無を記憶する関係記憶部と、
前記検索要求に含まれる前記属性が前記インデックス部に記憶されていない場合、前記関係記憶部を参照して前記検索要求に含まれる前記属性と前記所定関係にある前記属性を特定する特定部と、をさらに備え、
前記追記部は、前記特定部によって特定された前記属性について前記ファイルに保存された前記パケットを検索し、特定された前記属性と該当したパケットとの対応を前記インデックス部に追記する処理をさらに実行する、
付記5に記載のパケット検索装置。
(付記7)
前記所定関係は、前記属性間の包含関係であり、
前記検索要求に含まれる前記属性の前記属性と前記所定関係を有する前記属性は、前記検索要求で指定される前記属性に前記包含関係において含まれる属性である、
付記6に記載のパケット検索システム。
(付記8)
前記ファイルは所定時間範囲ごとに作成され、
前記検索要求は、検索対象のパケットがファイルとして保存された時間を指定する指定時間をさらに含み、
前記パケット検索装置は、前記指定時間によって特定される前記ファイルを読み込む読み込み部をさらに備える、
付記5から7のいずれか一項に記載のパケット検索装置。
(付記9)
コンピュータが、
転送されるパケットをファイルとして保存し、
パケットの属性と前記属性を有するパケットとの対応であるインデックスを記憶し、
パケットの属性を含む検索要求を受けると、前記検索要求に含まれる前記属性が前記インデックスに記憶されているか否かを判定し、
前記検索要求に含まれる前記パケットの属性が前記インデックスに記憶されていない場合、前記インデックスに記憶されていない前記属性について前記ファイルに保存された前記パケットを検索し、前記インデックスに記憶されていない前記属性と該当したパケットとの対応を前記インデックスに追記し、
前記インデックスを参照して前記検索要求に含まれる前記属性に対応付けられたパケットを検索する、
パケット検索方法。
(付記10)
前記コンピュータは、
前記属性間の所定関係の有無を記憶し、
前記検索要求に含まれる前記属性が前記インデックスに記憶されていない場合、記憶された前記所定関係を参照して前記検索要求に含まれる前記属性と前記所定関係にある前記属性を特定し、
前記追記は、特定された前記属性について前記ファイルに保存された前記パケットを検索し、特定された前記属性と該当したパケットとの対応を前記インデックスに追記する処理をさらに実行する、
請求項9に記載のパケット検索方法。
(付記11)
前記所定関係は、前記属性間の包含関係であり、
前記検索要求に含まれる前記属性の前記属性と前記所定関係を有する前記属性は、前記
検索要求で指定される前記属性に前記包含関係において含まれる属性である、
付記10に記載のパケット検索方法。
(付記12)
前記ファイルは所定時間範囲ごとに作成され、
前記検索要求は、検索対象のパケットがファイルとして保存された時間を指定する指定時間をさらに含み、
前記指定時間によって特定される前記ファイルを読み込む処理をさらに実行する、
付記9から11のいずれか一項に記載のパケット検索方法。
<Others>
The following additional notes are further disclosed with respect to the embodiment including the above modification.
(Appendix 1)
A file storage unit for storing the transferred packet as a file;
An index part for storing the correspondence between the attribute of the packet and the packet having the attribute;
When receiving a search request including an attribute of a packet, a determination unit that determines whether or not the attribute included in the search request is stored in the index unit;
When the attribute of the packet included in the search request is not stored in the index part, the packet stored in the file is searched for the attribute not stored in the index part, and stored in the index part. An appending unit that appends a correspondence between the attribute and the corresponding packet that is not added to the index unit;
A search unit that searches for a packet associated with the attribute included in the search request with reference to the index unit,
Packet search device.
(Appendix 2)
A relationship storage unit for storing presence or absence of a predetermined relationship between the attributes;
When the attribute included in the search request is not stored in the index unit, a specifying unit that identifies the attribute that is in the predetermined relationship with the attribute included in the search request with reference to the relationship storage unit; Further comprising
The additional recording unit searches the packet stored in the file for the attribute specified by the specifying unit, and further executes a process of adding a correspondence between the specified attribute and the corresponding packet to the index unit To
The packet search apparatus according to claim 1.
(Appendix 3)
The predetermined relationship is an inclusion relationship between the attributes,
The attribute having the predetermined relationship with the attribute of the attribute included in the search request is an attribute included in the inclusion relationship in the attribute specified in the search request.
The packet search device according to claim 2.
(Appendix 4)
The file is created every predetermined time range,
The search request further includes a designated time for designating a time when the packet to be searched is stored as a file,
A reading unit that reads the file specified by the specified time.
The packet search device according to any one of claims 1 to 3.
(Appendix 5)
A packet search system comprising a capture file storage device and a packet search device,
The capture file storage device
A storage unit that stores the transferred packet as a file,
The packet search device includes:
An index part for storing the correspondence between the attribute of the packet and the packet having the attribute;
When receiving a search request including an attribute of a packet, a determination unit that determines whether or not the attribute included in the search request is stored in the index unit;
When the attribute included in the search request is not stored in the index part, the packet stored in the file is searched for the attribute not stored in the index part, and is not stored in the index part. An appending unit that appends a correspondence between the attribute and the corresponding packet to the index unit;
A search unit that searches for a packet associated with the attribute included in the search request with reference to the index unit,
Packet search system.
(Appendix 6)
The packet search device includes:
A relationship storage unit for storing presence or absence of a predetermined relationship between the attributes;
When the attribute included in the search request is not stored in the index unit, a specifying unit that identifies the attribute that is in the predetermined relationship with the attribute included in the search request with reference to the relationship storage unit; Further comprising
The additional recording unit searches the packet stored in the file for the attribute specified by the specifying unit, and further executes a process of adding a correspondence between the specified attribute and the corresponding packet to the index unit To
The packet search device according to appendix 5.
(Appendix 7)
The predetermined relationship is an inclusion relationship between the attributes,
The attribute having the predetermined relationship with the attribute of the attribute included in the search request is an attribute included in the inclusion relationship in the attribute specified in the search request.
The packet search system according to appendix 6.
(Appendix 8)
The file is created every predetermined time range,
The search request further includes a designated time for designating a time when the packet to be searched is stored as a file,
The packet search device further includes a reading unit that reads the file specified by the specified time.
The packet search device according to any one of appendices 5 to 7.
(Appendix 9)
Computer
Save the forwarded packet as a file,
Storing an index that is a correspondence between a packet attribute and a packet having the attribute;
When receiving a search request including a packet attribute, it is determined whether or not the attribute included in the search request is stored in the index;
If the attribute of the packet included in the search request is not stored in the index, the packet stored in the file is searched for the attribute not stored in the index, and the packet is not stored in the index Add the correspondence between the attribute and the corresponding packet in the index,
Searching for a packet associated with the attribute included in the search request with reference to the index;
Packet search method.
(Appendix 10)
The computer
Storing the presence or absence of a predetermined relationship between the attributes;
If the attribute included in the search request is not stored in the index, the attribute that is in the predetermined relationship with the attribute included in the search request is identified with reference to the stored predetermined relationship;
The appending further searches the packet stored in the file for the identified attribute, and further executes a process of appending the correspondence between the identified attribute and the corresponding packet to the index.
The packet search method according to claim 9.
(Appendix 11)
The predetermined relationship is an inclusion relationship between the attributes,
The attribute having the predetermined relationship with the attribute of the attribute included in the search request is an attribute included in the inclusion relationship in the attribute specified in the search request.
The packet search method according to attachment 10.
(Appendix 12)
The file is created every predetermined time range,
The search request further includes a designated time for designating a time when the packet to be searched is stored as a file,
Further executing a process of reading the file specified by the specified time;
The packet search method according to any one of appendices 9 to 11.

100・・・情報処理装置
101・・・CPU
102・・・メモリ
103・・・記憶装置
200・・・MVNOネットワーク
201・・・メッセージ検索システム
210・・・PGW
220・・・PCRF
230・・・キャプチャファイル格納装置
231・・・キャプチャ部
232・・・キャプチャファイル管理部
233・・・通信インターフェース
240・・・メッセージ検索装置
241・・・メッセージ検索部
242・・・インデックス付加部
243・・・キャプチャファイル読み込み部
244・・・インデックス管理部
245・・・AVP属性管理部
246・・・通信インターフェース
250・・・クライアント
260・・・パケットキャプチャポイント
300・・・MNOネットワーク
310・・・ユーザー端末
400・・・インターネット
DESCRIPTION OF SYMBOLS 100 ... Information processing apparatus 101 ... CPU
DESCRIPTION OF SYMBOLS 102 ... Memory 103 ... Memory | storage device 200 ... MVNO network 201 ... Message search system 210 ... PGW
220 ... PCRF
230 ... Capture file storage device 231 ... Capture unit 232 ... Capture file management unit 233 ... Communication interface 240 ... Message search device 241 ... Message search unit 242 ... Index addition unit 243 ... Capture file reading unit 244 ... Index management unit 245 ... AVP attribute management unit 246 ... Communication interface 250 ... Client 260 ... Packet capture point 300 ... MNO network 310 ... User terminal 400 ... Internet

Claims (6)

転送されるパケットをファイルとして保存するファイル格納部と、
パケットの属性と前記属性を有するパケットとの対応を記憶するインデックス部と、
パケットの属性を含む検索要求を受けると、前記検索要求に含まれる前記属性が前記インデックス部に記憶されているか否かを判定する判定部と、
前記検索要求に含まれる前記パケットの属性が前記インデックス部に記憶されていない場合、前記インデックス部に記憶されていない前記属性について前記ファイルに保存された前記パケットを検索し、前記インデックス部に記憶されていない前記属性と該当したパケットとの対応を前記インデックス部に追記する追記部と、
前記インデックス部を参照して前記検索要求に含まれる前記属性に対応付けられたパケットを検索する検索部と、を備える、
パケット検索装置。
A file storage unit for storing the transferred packet as a file;
An index part for storing the correspondence between the attribute of the packet and the packet having the attribute;
When receiving a search request including an attribute of a packet, a determination unit that determines whether or not the attribute included in the search request is stored in the index unit;
When the attribute of the packet included in the search request is not stored in the index part, the packet stored in the file is searched for the attribute not stored in the index part, and stored in the index part. An appending unit that appends a correspondence between the attribute and the corresponding packet that is not added to the index unit;
A search unit that searches for a packet associated with the attribute included in the search request with reference to the index unit,
Packet search device.
前記属性間の所定関係の有無を記憶する関係記憶部と、
前記検索要求に含まれる前記属性が前記インデックス部に記憶されていない場合、前記関係記憶部を参照して前記検索要求に含まれる前記属性と前記所定関係にある前記属性を特定する特定部と、をさらに備え、
前記追記部は、前記特定部によって特定された前記属性について前記ファイルに保存された前記パケットを検索し、特定された前記属性と該当したパケットとの対応を前記インデックス部に追記する処理をさらに実行する、
請求項1に記載のパケット検索装置。
A relationship storage unit for storing presence or absence of a predetermined relationship between the attributes;
When the attribute included in the search request is not stored in the index unit, a specifying unit that identifies the attribute that is in the predetermined relationship with the attribute included in the search request with reference to the relationship storage unit; Further comprising
The additional recording unit searches the packet stored in the file for the attribute specified by the specifying unit, and further executes a process of adding a correspondence between the specified attribute and the corresponding packet to the index unit To
The packet search apparatus according to claim 1.
前記所定関係は、前記属性間の包含関係であり、
前記検索要求に含まれる前記属性の前記属性と前記所定関係を有する前記属性は、前記検索要求で指定される前記属性に前記包含関係において含まれる属性である、
請求項2に記載のパケット検索装置。
The predetermined relationship is an inclusion relationship between the attributes,
The attribute having the predetermined relationship with the attribute of the attribute included in the search request is an attribute included in the inclusion relationship in the attribute specified in the search request.
The packet search device according to claim 2.
前記ファイルは所定時間範囲ごとに作成され、
前記検索要求は、検索対象のパケットがファイルとして保存された時間を指定する指定時間をさらに含み、
前記指定時間によって特定される前記ファイルを読み込む読み込み部をさらに備える、
請求項1または3のいずれか一項に記載のパケット検索装置。
The file is created every predetermined time range,
The search request further includes a designated time for designating a time when the packet to be searched is stored as a file,
A reading unit that reads the file specified by the specified time.
The packet search device according to any one of claims 1 and 3.
キャプチャファイル格納装置とパケット検索装置とを備えるパケット検索システムであって、
前記キャプチャファイル格納装置は、
転送されるパケットをファイルとして保存する保存部を備え、
前記パケット検索装置は、
パケットの属性と前記属性を有するパケットとの対応を記憶するインデックス部と、
パケットの属性を含む検索要求を受けると、前記検索要求に含まれる前記属性が前記インデックス部に記憶されているか否かを判定する判定部と、
前記検索要求に含まれる前記属性が前記インデックス部に記憶されていない場合、前記インデックス部に記憶されていない前記属性について前記ファイルに保存された前記パケットを検索し、前記インデックス部に記憶されていない前記属性と該当したパケットとの対応を前記インデックス部に追記する追記部と、
前記インデックス部を参照して前記検索要求に含まれる前記属性に対応付けられたパケットを検索する検索部と、を備える、
パケット検索システム。
A packet search system comprising a capture file storage device and a packet search device,
The capture file storage device
A storage unit that stores the transferred packet as a file,
The packet search device includes:
An index part for storing the correspondence between the attribute of the packet and the packet having the attribute;
When receiving a search request including an attribute of a packet, a determination unit that determines whether or not the attribute included in the search request is stored in the index unit;
When the attribute included in the search request is not stored in the index part, the packet stored in the file is searched for the attribute not stored in the index part, and is not stored in the index part. An appending unit that appends a correspondence between the attribute and the corresponding packet to the index unit;
A search unit that searches for a packet associated with the attribute included in the search request with reference to the index unit,
Packet search system.
コンピュータが、
転送されるパケットをファイルとして保存し、
パケットの属性と前記属性を有するパケットとの対応であるインデックスを記憶し、
パケットの属性を含む検索要求を受けると、前記検索要求に含まれる前記属性が前記インデックスに記憶されているか否かを判定し、
前記検索要求に含まれる前記パケットの属性が前記インデックスに記憶されていない場合、前記インデックスに記憶されていない前記属性について前記ファイルに保存された前記パケットを検索し、前記インデックスに記憶されていない前記属性と該当したパケットとの対応を前記インデックスに追記し、
前記インデックスを参照して前記検索要求に含まれる前記属性に対応付けられたパケットを検索する、
パケット検索方法。
Computer
Save the forwarded packet as a file,
Storing an index that is a correspondence between a packet attribute and a packet having the attribute;
When receiving a search request including a packet attribute, it is determined whether or not the attribute included in the search request is stored in the index;
If the attribute of the packet included in the search request is not stored in the index, the packet stored in the file is searched for the attribute not stored in the index, and the packet is not stored in the index Add the correspondence between the attribute and the corresponding packet in the index,
Searching for a packet associated with the attribute included in the search request with reference to the index;
Packet search method.
JP2015178350A 2015-09-10 2015-09-10 Packet search apparatus, packet search system, and packet search method Pending JP2017054341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015178350A JP2017054341A (en) 2015-09-10 2015-09-10 Packet search apparatus, packet search system, and packet search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015178350A JP2017054341A (en) 2015-09-10 2015-09-10 Packet search apparatus, packet search system, and packet search method

Publications (1)

Publication Number Publication Date
JP2017054341A true JP2017054341A (en) 2017-03-16

Family

ID=58320841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015178350A Pending JP2017054341A (en) 2015-09-10 2015-09-10 Packet search apparatus, packet search system, and packet search method

Country Status (1)

Country Link
JP (1) JP2017054341A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019016042A (en) * 2017-07-04 2019-01-31 富士通株式会社 Data acquisition program, device, and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019016042A (en) * 2017-07-04 2019-01-31 富士通株式会社 Data acquisition program, device, and method

Similar Documents

Publication Publication Date Title
US20190179535A1 (en) Efficient space utilization in a flash system using snapshots
CN106982236B (en) Information processing method, device and system
CN111757426B (en) Roaming network access method and device
US20180285596A1 (en) System and method for managing sensitive data
KR101857511B1 (en) Method and apparatus for determining virtual machine migration
US20190007371A1 (en) MAPPING IPv4 KNOWLEDGE TO IPv6
CN107103011B (en) Method and device for realizing terminal data search
CN106465248B (en) Roaming network access method and device
US9952888B2 (en) Method and system to dynamically instantiate virtual repository for any services
JP2017517988A (en) Roaming network access method and apparatus
US20190223051A1 (en) Load balancing method and related device
US11038803B2 (en) Correlating network level and application level traffic
CN111064804A (en) Network access method and device
CN106878052B (en) User migration method and device
JP6779307B2 (en) Method and device for page display
US11080239B2 (en) Key value store using generation markers
US20130137420A1 (en) Mechanism for facilitating dynamic and segment-based monitoring of cellular network performance in an on-demand services environment
CN105808165A (en) Method and device for accessing storage device by virtual machine in cloud computing management platform
JP2017054341A (en) Packet search apparatus, packet search system, and packet search method
US9648103B2 (en) Non-uniform file access in a distributed file system
US11038798B2 (en) Storing data in association with a key within a hash table and retrieving the data from the hash table using the key
CN105144073A (en) Removable storage device identity and configuration information
CN107547382B (en) Neighbor relation discovery method and device
US10896159B1 (en) System, method, and computer program for configuration based coexistence routing
US11604877B1 (en) Nested courses of action to support incident response in an information technology environment