JP6429755B2 - Correlated event extraction program, apparatus and method - Google Patents

Correlated event extraction program, apparatus and method Download PDF

Info

Publication number
JP6429755B2
JP6429755B2 JP2015182709A JP2015182709A JP6429755B2 JP 6429755 B2 JP6429755 B2 JP 6429755B2 JP 2015182709 A JP2015182709 A JP 2015182709A JP 2015182709 A JP2015182709 A JP 2015182709A JP 6429755 B2 JP6429755 B2 JP 6429755B2
Authority
JP
Japan
Prior art keywords
event
pair
time
buffer
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015182709A
Other languages
Japanese (ja)
Other versions
JP2017058915A (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.)
KDDI Corp
Original Assignee
KDDI 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 KDDI Corp filed Critical KDDI Corp
Priority to JP2015182709A priority Critical patent/JP6429755B2/en
Publication of JP2017058915A publication Critical patent/JP2017058915A/en
Application granted granted Critical
Publication of JP6429755B2 publication Critical patent/JP6429755B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、発生する種々のイベントにおける関連性を調査する技術に関する。   The present invention relates to a technique for investigating relationships among various events that occur.

近年、ICT(Information and Communication Technologies)システムの普及に伴い、1つの原因から様々な種類のイベントが大量に発生する現象がしばしば発生する。例えば、通信システムにおいては、一箇所での通信障害の発生によって、サーバやルータ等の異なる複数の装置から、当該障害に係るイベントが大量に発生する。この場合、これらの多数のイベントを高速で関連付けることができれば、障害の原因箇所が比較的容易に推定される。しかしながら、実際には、発生したイベント間の関連性を明確にすることができず、結果として、イベントの発生したその原因を突き止めることは非常に困難となっている。   In recent years, with the widespread use of ICT (Information and Communication Technologies) systems, a phenomenon in which various types of events occur frequently from one cause often occurs. For example, in a communication system, a large number of events related to a failure occur from a plurality of different devices such as servers and routers due to the occurrence of a communication failure at one location. In this case, if these many events can be correlated at high speed, the cause of the failure can be estimated relatively easily. However, in practice, the relationship between the events that have occurred cannot be clarified, and as a result, it is very difficult to determine the cause of the event.

このような問題に対し、例えば特許文献1は、システム障害時に発生した複数のイベントから特徴を抽出して、その特徴に基づき障害をクラスタリングし、同じ障害クラスタに含まれるイベントに基づいて障害原因判定ルールを生成する技術を提案している。この技術では、同じ障害クラスタに含まれる同一原因の障害発生時のイベントに基づいて生成された障害原因判定ルールの条件句から検索キーワードを抽出し、その障害クラスタに対応する復旧手順書を検索している。次いで、検索した復旧手順を行為句とし、生成した条件句と組み合わせることで、障害原因判定ルールを生成している。   For example, Patent Document 1 extracts features from a plurality of events that occur at the time of a system failure, clusters failures based on the features, and determines a cause of failure based on events included in the same failure cluster. A technique for generating rules is proposed. In this technology, search keywords are extracted from the condition phrase of the failure cause determination rule generated based on the event at the time of failure of the same cause included in the same failure cluster, and the recovery procedure manual corresponding to the failure cluster is searched. ing. Next, a failure cause determination rule is generated by combining the searched recovery procedure as an action phrase and combining it with the generated condition phrase.

また、例えば特許文献2は、異なる種類の複数のコミュニケーションツールで行われたコミュニケーションイベントにおける、メッセージの送信者、受信者および送信時刻の情報を含むイベントデータを取得し、取得したイベントデータを、一定のデータフォーマットのデータに変換して、コミュニケーションイベントログを統合的に取り扱う技術を開示している。   Further, for example, Patent Document 2 acquires event data including information on a message sender, a receiver, and a transmission time in a communication event performed by a plurality of different types of communication tools. Discloses a technique for integrated handling of communication event logs.

特開2011−209908号公報JP 2011-209908 A 特開2012−141720号公報JP 2012-141720 A

しかしながら、特許文献1及び2に記載されたような従来技術は、発生した複数のイベントのうち、所定の時間範囲内で発生したイベント同士を関連付けるのみであり、必ずしも発生時刻は近接していないが互いに関連しているイベント同士を抽出することは、非常に困難であった。   However, the conventional techniques as described in Patent Documents 1 and 2 only associate events that occur within a predetermined time range among a plurality of events that occur, and the occurrence times are not necessarily close to each other. It was very difficult to extract events that are related to each other.

例えば、特許文献1に記載された技術は、所定時間範囲の時間窓を用いて発生時刻の差がこの時間窓以内のイベントを同一のイベントブロックに含めることによって、同期イベントの関連付けを行っている。従って、イベント間の関連性の判断は、この時間窓内での発生時刻に縛られてしまう。   For example, the technique described in Patent Document 1 uses a time window in a predetermined time range and associates synchronization events by including events having a difference in occurrence time within this time window in the same event block. . Therefore, the determination of the relationship between events is bound by the time of occurrence within this time window.

一方、特許文献2に記載された技術も、イベントの発生時刻を基点とし、その前後の所定の時間範囲内で発生したイベントの属性をイベントデータに含めることにより、同期イベントの関連付けを行っているのみである。   On the other hand, the technique described in Patent Document 2 also associates a synchronous event by including the attribute of an event that occurred within a predetermined time range before and after the event occurrence time as the base point in the event data. Only.

このように、従来技術では、イベント前後の所定の時間範囲内に発生したイベントを関連付けるのみであり、例えば、イベントの開始時刻から終了時刻に至る時間範囲に含まれる他のイベントを関連付ける、といった時間の包含関係に基づく関連付けを行うことはできない。因みに、このようなイベントに係る時間に包含関係が生じるような多数のイベントは、例えば、端末からの要求を受信し、サーバやネットワーク機器といったフロントエンド及びバックエンドのシステムが連携して、端末に応答を返信する通信システムにおいて、多くのケースで生成される。   As described above, in the related art, only the events that occurred within a predetermined time range before and after the event are associated with each other, for example, other events included in the time range from the start time to the end time of the event are associated. The association based on the inclusion relation cannot be performed. Incidentally, a large number of events that have an inclusion relationship in the time related to such an event, for example, receives a request from the terminal, and the front-end and back-end systems such as servers and network devices cooperate with each other in the terminal. It is generated in many cases in a communication system that sends back a response.

そこで、本発明は、イベントに係る時間の単純な近接度に拘泥せずに、互いに関連するイベントを抽出可能なプログラム、装置及び方法を提供することを目的とする。   Therefore, an object of the present invention is to provide a program, an apparatus, and a method capable of extracting events related to each other without being concerned with simple proximity of time related to events.

本発明によれば、異なる種類のイベントストリームのイベントに係る情報を取得可能な装置に搭載されたコンピュータを機能させる、互いに関連するイベントを抽出するプログラムであって、
上記の装置は、当該イベントの有するイベント識別子と、当該イベントの時刻に係る情報とを記憶可能なバッファを有し、
本プログラムは、
第1のイベントストリームに係る第1の開始イベントを取得した際、この第1の開始イベントの有する第1のイベント識別子と、この第1の開始イベントの時刻に係る情報とを含む第1のイベントペアを、バッファに記憶させる第1のイベントペア登録手段と、
第2のイベントストリームに係る第2のイベントを取得した際、この第2のイベントの有する第2のイベント識別子と、この第2のイベントの時刻に係る情報とを、バッファに記憶された又はバッファから読み出した第1のイベントペアに書き込んだ上で、この第1のイベントペアを、関連するイベント又はイベント候補を示す第2のイベントペアとして出力するイベントペア送出手段と、
第1のイベントストリームに係る第1の終了イベントを取得した際、バッファに記憶された第1のイベントペアのうち、この第1の終了イベントの有する第1のイベント識別子に相当する識別子を含む第1のイベントペアを削除するイベントペア更新手段と
してコンピュータを機能させる関連イベント抽出プログラムが提供される。
According to the present invention, there is provided a program for extracting events related to each other, causing a computer mounted on an apparatus capable of acquiring information related to events of different types of event streams to function.
The apparatus has a buffer capable of storing an event identifier of the event and information related to the time of the event,
This program
When the first start event related to the first event stream is acquired, the first event includes the first event identifier of the first start event and the information related to the time of the first start event First event pair registration means for storing a pair in a buffer;
When the second event related to the second event stream is acquired, the second event identifier of the second event and the information related to the time of the second event are stored in the buffer or the buffer An event pair sending means for writing to the first event pair read from, and outputting the first event pair as a second event pair indicating a related event or event candidate;
When the first end event related to the first event stream is acquired, the first event pair stored in the buffer includes an identifier corresponding to the first event identifier of the first end event. A related event extraction program is provided that causes a computer to function as event pair update means for deleting one event pair.

この本発明による関連イベント抽出プログラムにおいて、上記の装置は、当該第2のイベントペアを記憶可能な第2のバッファを更に有し、
本プログラムは、出力された第2のイベントペアを第2のバッファに記憶させる第2のイベントペア登録手段としてコンピュータを更に機能させ、
イベントペア更新手段は、第1の終了イベントを取得した際、第2のバッファに記憶された第2のイベントペアのうち、この第1の終了イベントの有する第1のイベント識別子に相当する識別子を含む第2のイベントペアに対し、この第1の終了イベントの時刻に係る情報を書き込むことも好ましい。
In the related event extracting program according to the present invention, the apparatus further includes a second buffer capable of storing the second event pair,
The program further causes the computer to function as second event pair registration means for storing the output second event pair in the second buffer,
When the event pair update unit obtains the first end event, the event pair update unit selects an identifier corresponding to the first event identifier included in the first end event from the second event pair stored in the second buffer. It is also preferable to write information relating to the time of the first end event to the second event pair including the event pair.

また、本発明による関連イベント抽出プログラムにおける一実施形態として、イベントペア送出手段は、第2のイベントストリームに係る第2の開始イベントを取得した際、この第2の開始イベントの有する第2のイベント識別子と、この第2の開始イベントの時刻に係る情報とを、バッファに記憶された又はバッファから読み出した第1のイベントペアに書き込んだ上で、この第1のイベントペアを、第2のイベントペアとして第2のイベントペア登録手段へ出力し、
イベントペア更新手段は、第2のイベントストリームに係る第2の終了イベントを取得した際、第2のバッファに記憶された第2のイベントペアのうち、この第2の終了イベントの有する第2のイベント識別子に相当する識別子を含む第2のイベントペアに対し、この第2の終了イベントの時刻に係る情報を書き込むことも好ましい。
As one embodiment of the related event extraction program according to the present invention, when the event pair sending means acquires the second start event related to the second event stream, the second event included in the second start event. After writing the identifier and the information related to the time of the second start event to the first event pair stored in the buffer or read from the buffer, the first event pair is set to the second event. Output to the second event pair registration means as a pair,
When the event pair update unit obtains the second end event related to the second event stream, the second end event stored in the second buffer has the second end event included in the second event pair. It is also preferable to write information related to the time of the second end event to the second event pair including the identifier corresponding to the event identifier.

また、上記の第2のバッファを使用する実施形態において、イベントペア更新手段は、第2のイベントストリームに係る第2の終了イベントを取得した際、記憶された第1のイベントペアのうち、この第2の終了イベントの有する第2のイベント識別子に相当する識別子を含む第1のイベントペアを削除することも好ましい。   Further, in the embodiment using the second buffer, the event pair update unit obtains the second end event related to the second event stream, and stores the first event pair stored in the second event stream. It is also preferable to delete the first event pair including an identifier corresponding to the second event identifier of the second end event.

さらに、上記の第2のバッファを使用する実施形態において、本プログラムは、第2のバッファに記憶された第2のイベントペアのうち、第2のイベントに係る時刻が、第1の開始イベントに係る時刻と第1の終了イベントに係る時刻との間となっているような第2のイベントペアを検索するイベントペア検索手段として、コンピュータを更に機能させることも好ましい。さらに、第2のバッファに記憶された第2のイベントペアのうち、第2の開始イベントに係る時刻及び第2の終了イベントに係る時刻が、第1の開始イベントに係る時刻と第1の終了イベントに係る時刻との間となっているような第2のイベントペアを検索するイベントペア検索手段として、コンピュータを更に機能させることも好ましい。   Furthermore, in the embodiment using the second buffer described above, the present program sets the time related to the second event among the second event pairs stored in the second buffer as the first start event. It is also preferable to further cause the computer to function as event pair search means for searching for a second event pair that is between the time and the time related to the first end event. Furthermore, among the second event pair stored in the second buffer, the time related to the second start event and the time related to the second end event are the time related to the first start event and the first end. It is also preferable to further cause the computer to function as event pair search means for searching for a second event pair that is between the time related to the event.

また、上記の第2の開始イベントを取り扱う実施形態において、本プログラムは、第2のバッファに記憶された第2のイベントペアのうち、第1の開始イベントに係る時刻から第1の終了イベントに係る時刻までの時間間隔と、第2の開始イベントに係る時刻から第2の終了イベントに係る時刻までの時間間隔との重畳の度合いが、最大である又は所定閾値以上であるような第2のイベントペアを検索するイベントペア検索手段として、コンピュータを更に機能させることも好ましい。   Further, in the embodiment handling the second start event, the program changes from the time associated with the first start event to the first end event among the second event pairs stored in the second buffer. A second degree in which the degree of superimposition of the time interval up to the time and the time interval from the time related to the second start event to the time related to the second end event is the maximum or equal to or greater than a predetermined threshold It is also preferable to further cause the computer to function as event pair search means for searching for event pairs.

さらに、上記の第2の開始イベントを取り扱う実施形態において、本プログラムは、第2のバッファに記憶された第2のイベントペアに含まれる第1のイベント識別子の各々について、又は当該第2のイベントペアに含まれる第2のイベント識別子の各々について、第1の開始イベントに係る時刻から第1の終了イベントに係る時刻までの時間間隔と、第2の開始イベントに係る時刻から第2の終了イベントに係る時刻までの時間間隔との重畳の度合いが、最大である又は所定閾値以上であるような第2のイベントペアを検索するイベントペア検索手段として、コンピュータを更に機能させることも好ましい。   Furthermore, in the embodiment handling the second start event, the program executes the second event for each first event identifier included in the second event pair stored in the second buffer. For each of the second event identifiers included in the pair, the time interval from the time related to the first start event to the time related to the first end event and the second end event from the time related to the second start event It is also preferable to further cause the computer to function as event pair search means for searching for a second event pair whose degree of overlap with the time interval up to the time related to is the maximum or equal to or greater than a predetermined threshold.

また、上記のイベントペア検索手段を機能させる実施形態において、上記の装置は、第2のイベントペアを記憶可能な確定イベントペアリスト登録部を更に有し、
イベントペア検索手段は、
検索した第2のイベントペアを確定イベントペアリスト登録部に記憶させ、
新たな検索の際、検索した第2のイベントペアのうち、確定イベントペアリスト登録部に既に記憶された第2の登録済イベントペア、並びにこの第2の登録済イベントペアに含まれる第1のイベント識別子及び第2のイベント識別子の少なくとも1つに相当する識別子を有する第2のイベントペアを、検索結果から除外することも好ましい。
In the embodiment in which the event pair search unit functions, the device further includes a confirmed event pair list registration unit capable of storing the second event pair,
Event pair search means
Store the searched second event pair in the confirmed event pair list registration unit,
During the new search, out of the searched second event pairs, the second registered event pair already stored in the confirmed event pair list registration unit and the first registered in the second registered event pair It is also preferable to exclude the second event pair having an identifier corresponding to at least one of the event identifier and the second event identifier from the search result.

また、本発明による関連イベント抽出プログラムにおける他の実施形態として、イベントペア送出手段は、取得された第2のイベントの有する第2のイベント識別子と、この第2のイベントの時刻に係る情報とを、第1のイベント識別子と第2のイベント識別子とが所定の取り決めの下で合致又は対応するような全ての第1のイベントペアに書き込んだ上で、この全ての第1のイベントペアを出力することも好ましい。   As another embodiment of the related event extraction program according to the present invention, the event pair sending means obtains the second event identifier of the acquired second event and information related to the time of the second event. The first event identifier and the second event identifier are written in all the first event pairs that match or correspond to each other under a predetermined agreement, and all the first event pairs are output. It is also preferable.

さらに、本発明による関連イベント抽出プログラムにおける他の実施形態として、第1のイベントペア登録手段は、当該第1のイベントペアをバッファに記憶させる際、この第1のイベントペアに対して後に書き込まれる可能性のある情報のための記憶領域は確保させないことも好ましい。   Furthermore, as another embodiment of the related event extraction program according to the present invention, when the first event pair registration unit stores the first event pair in the buffer, the first event pair registration means is written later with respect to the first event pair. It is also preferable not to reserve a storage area for possible information.

本発明によれば、また、異なる種類のイベントストリームのイベントに係る情報を取得可能であり、互いに関連するイベントを抽出する装置であって、
当該イベントの有するイベント識別子と、当該イベントの時刻に係る情報とを記憶可能なバッファと、
第1のイベントストリームに係る第1の開始イベントを取得した際、この第1の開始イベントの有する第1のイベント識別子と、この第1の開始イベントの時刻に係る情報とを含む第1のイベントペアを、バッファに記憶させる第1のイベントペア登録手段と、
第2のイベントストリームに係る第2のイベントを取得した際、この第2のイベントの有する第2のイベント識別子と、この第2のイベントの時刻に係る情報とを、バッファに記憶された又はバッファから読み出した第1のイベントペアに書き込んだ上で、この第1のイベントペアを、関連するイベント又はイベント候補を示す第2のイベントペアとして出力するイベントペア送出手段と、
第1のイベントストリームに係る第1の終了イベントを取得した際、バッファに記憶された第1のイベントペアのうち、この第1の終了イベントの有する第1のイベント識別子に相当する識別子を含む第1のイベントペアを削除するイベントペア更新手段と
を有する関連イベント抽出装置が提供される。
According to the present invention, it is also possible to acquire information related to events of different types of event streams, and to extract events related to each other,
A buffer capable of storing an event identifier of the event and information related to the time of the event;
When the first start event related to the first event stream is acquired, the first event includes the first event identifier of the first start event and the information related to the time of the first start event First event pair registration means for storing a pair in a buffer;
When the second event related to the second event stream is acquired, the second event identifier of the second event and the information related to the time of the second event are stored in the buffer or the buffer An event pair sending means for writing to the first event pair read from, and outputting the first event pair as a second event pair indicating a related event or event candidate;
When the first end event related to the first event stream is acquired, the first event pair stored in the buffer includes an identifier corresponding to the first event identifier of the first end event. A related event extraction apparatus is provided that includes an event pair update unit that deletes one event pair.

本発明によれば、さらに、異なる種類のイベントストリームのイベントに係る情報を取得可能な装置における、互いに関連するイベントを抽出する方法であって、
上記の装置は、当該イベントの有するイベント識別子と、当該イベントの時刻に係る情報とを記憶可能なバッファを有し、
本方法は、
第1のイベントストリームに係る第1の開始イベントを取得した際、この第1の開始イベントの有する第1のイベント識別子と、この第1の開始イベントの時刻に係る情報とを含む第1のイベントペアを、バッファに記憶させるステップと、
第2のイベントストリームに係る第2のイベントを取得した際、この第2のイベントの有する第2のイベント識別子と、この第2のイベントの時刻に係る情報とを、バッファに記憶された又はバッファから読み出した第1のイベントペアに書き込んだ上で、この第1のイベントペアを、関連するイベント又はイベント候補を示す第2のイベントペアとして出力するステップと、
第1のイベントストリームに係る第1の終了イベントを取得した際、バッファに記憶された第1のイベントペアのうち、この第1の終了イベントの有する第1のイベント識別子に相当する識別子を含む第1のイベントペアを削除するステップと
を有する関連イベント抽出方法が提供される。
According to the present invention, there is further provided a method of extracting events related to each other in an apparatus capable of acquiring information related to events of different types of event streams,
The apparatus has a buffer capable of storing an event identifier of the event and information related to the time of the event,
This method
When the first start event related to the first event stream is acquired, the first event includes the first event identifier of the first start event and the information related to the time of the first start event Storing the pair in a buffer;
When the second event related to the second event stream is acquired, the second event identifier of the second event and the information related to the time of the second event are stored in the buffer or the buffer Writing to the first event pair read from, and outputting the first event pair as a second event pair indicating a related event or event candidate;
When the first end event related to the first event stream is acquired, the first event pair stored in the buffer includes an identifier corresponding to the first event identifier of the first end event. And a related event extracting method including the step of deleting one event pair.

本発明の関連イベント抽出プログラム、装置及び方法によれば、イベントに係る時間の単純な近接度に拘泥せずに、互いに関連するイベントを抽出することができる。   According to the related event extraction program, apparatus, and method of the present invention, events related to each other can be extracted without being concerned with simple proximity of time related to the event.

本発明による関連イベント抽出装置の一実施形態における機能構成を示す機能ブロック図である。It is a functional block diagram which shows the function structure in one Embodiment of the related event extraction apparatus by this invention. 本発明による関連イベント抽出方法の他の実施形態を示す模式的なシーケンス図である。It is a typical sequence diagram which shows other embodiment of the related event extraction method by this invention. 本発明による関連イベント抽出方法の他の実施形態を示す模式的なシーケンス図である。It is a typical sequence diagram which shows other embodiment of the related event extraction method by this invention. 本発明による関連イベント抽出方法の他の実施形態を示す模式的なシーケンス図である。It is a typical sequence diagram which shows other embodiment of the related event extraction method by this invention. 本発明による関連イベント抽出方法の他の実施形態を示す模式的なシーケンス図である。It is a typical sequence diagram which shows other embodiment of the related event extraction method by this invention. イベントペア検索部で実施される検索処理の一実施形態を説明するための模式図である。It is a schematic diagram for demonstrating one Embodiment of the search process implemented in an event pair search part.

以下、本発明の実施形態について、図面を用いて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明による関連イベント抽出装置の一実施形態における機能構成を示す機能ブロック図である。   FIG. 1 is a functional block diagram showing a functional configuration in an embodiment of a related event extracting apparatus according to the present invention.

図1に示した本実施形態の関連イベント抽出装置1は、通信インタフェース101を介して、互いに異なる種類の第1のイベントストリーム及び第2のイベントストリームのそれぞれから、第1のイベントに係る情報及び第2のイベントに係る情報を受信し、互いに関連する第1のイベント及び第2のイベントを抽出する装置である。   The related event extraction apparatus 1 according to the present embodiment illustrated in FIG. 1 receives information and information related to the first event from the different types of first event stream and second event stream via the communication interface 101. It is an apparatus that receives information relating to a second event and extracts a first event and a second event that are related to each other.

ここで、本実施形態では、第1のイベントストリームとして、通信ネットワークにおけるフロントエンドシステムでの処理によって発生する種々のイベントの時系列を採用することができる。一方、第2のイベントストリームとして、同じ通信ネットワークにおけるバックエンドシステムでの処理によって発生する種々のイベントの時系列を採用することができる。   Here, in the present embodiment, a time series of various events generated by processing in the front-end system in the communication network can be adopted as the first event stream. On the other hand, as the second event stream, it is possible to employ a time series of various events generated by processing in the back-end system in the same communication network.

一般に、通信ネットワークにおいては、フロントエンド及びバックエンドシステムは互いに連携して、例えば以下に示すような処理を実行する。即ち、
(a)フロントエンドシステムは、端末からの要求を受信し、その要求から実行すべき処理を解釈し、バックエンドシステムに処理を依頼する。
(b)バックエンドシステムは、依頼された処理を実行し、処理結果をフロントエンドシステムに返信する。
(c)フロントエンドシステムは、バックエンドシステムから返信された処理結果に基づいて端末への応答内容を生成し、この応答を端末に返信する。
In general, in a communication network, a front end and a back end system cooperate with each other to execute, for example, the following processing. That is,
(A) The front-end system receives a request from the terminal, interprets processing to be executed from the request, and requests the back-end system to perform processing.
(B) The back-end system executes the requested processing and returns the processing result to the front-end system.
(C) The front-end system generates a response content to the terminal based on the processing result returned from the back-end system, and returns this response to the terminal.

このようなケースでは、
(ア)フロントエンドシステムにおける、1つの処理AFの開始イベントに係る時刻である開始時刻(第1の開始時刻)t1S、及び処理AFの終了イベントに係る時刻である終了時刻(第1の終了時刻)t1Eと、
(イ)バックエンドシステムにおける、処理AFに関連する処理ABの開始イベントに係る時刻である開始時刻(第2の開始時刻)t2S、及び処理ABの終了イベントに係る時刻である終了時刻(第2の終了時刻)t2E
の間には、以下のような時間の包含関係が成立する。
(1) t1S ≦t2S ≦t2E ≦t1E
In such cases,
(A) in the front-end system, one processing A F Start Event in accordance time at which the start time (the first start time) t 1S, and processing A F end time is the time of the end event (first End time) t1E ,
(A) In the back-end system, the start time (second start time) t 2S that is the time related to the start event of the process A B related to the process A F and the end that is the time related to the end event of the process A B The following time inclusion relationship holds between the time (second end time) t 2E .
(1) t 1S ≦ t 2S ≦ t 2E ≦ t 1E

または、上記(イ)のバックエンドシステムにおいて、処理AFに関連する処理ABのイベントに係る時刻である開始時刻(第2の開始時刻)t2について、以下のような時間の包含関係が成立する。
(2) t1S ≦t2 ≦t1E
Or, in the back-end system of the above (i), the processing A F in associated processing A t 2 the time according to the event start time (start time of the second) is the B, and inclusion relationship between the time, such as: To establish.
(2) t 1S ≦ t 2 ≦ t 1E

ここで、具体的に、イベントとしては、例えばアラートの発生、障害等のイベントログの生成、ユーザの各種アドレスの取得、URL(Uniform Resource Locator)の取得、ユーザの位置情報の取得等、種々のものが該当する。   Here, specifically, as the event, for example, various events such as the occurrence of an alert, generation of an event log such as a failure, acquisition of various user addresses, acquisition of URL (Uniform Resource Locator), acquisition of user location information, and the like The thing corresponds.

このように、端末からの要求を受信し、サーバやネットワーク機器といったフロントエンド及びバックエンドのシステムが連携し、端末に応答を返信する通信ネットワークシステムにおいて生成されるイベントストリームに対し、本発明は有効に適用される。   As described above, the present invention is effective for event streams generated in a communication network system that receives a request from a terminal and cooperates with front-end and back-end systems such as servers and network devices and sends a response back to the terminal. Applies to

尚、以上に示したような時間の包含関係を有することを特徴とする互いに異なるイベントストリームは、当然に、上述した通信ネットワークでのバックエンド及びフロントエンドシステムから出力されるイベント列に限定されるものではない。   It should be noted that different event streams having the time inclusion relationship as described above are naturally limited to event sequences output from the back-end and front-end systems in the communication network described above. It is not a thing.

例えば、ユーザ等から取得した情報に対して階層的なシステムで処理を行い、処理結果をユーザに返すようなシステムであれば、ユーザにより近い側(フロントエンド)の処理装置から出力されるイベントストリーム中のイベントと、ユーザにより遠い側(バックエンド)の処理装置から出力されるイベントストリーム中のイベントとは、時間的な包含関係を取り得る。このようなイベントストリームに対しても、本発明の関連イベント抽出装置を適用することが可能である。この場合、勿論、互いに異なるイベントストリームの発生源であるシステム(装置)が互いに独立した異なる管理をなされていたとしても、関連する(同期する)イベント同士を効率的に関連付けて抽出することができるのである。このように、本発明の関連イベント抽出装置は、抽出対象であるイベントストリームについて、幅広い適用範囲を有している。   For example, an event stream output from a processing device closer to the user (front end) if the system acquires information from the user or the like in a hierarchical system and returns the processing result to the user. The events in the event stream output from the processing device on the farther side (back end) than the user can take a temporal inclusion relationship. The related event extraction apparatus of the present invention can be applied to such an event stream. In this case, of course, even if systems (devices) that are different event stream generation sources are managed differently independently of each other, related (synchronized) events can be efficiently associated and extracted. It is. As described above, the related event extraction apparatus of the present invention has a wide range of application for event streams to be extracted.

同じく図1において、関連イベント抽出装置1は、
(a)イベントの有するイベント識別子と、
(b)当該イベントの時刻に係る情報と
を記憶可能な第1のイベントペアバッファ104を有している。その上で、関連イベント抽出装置1は、関連イベント抽出処理として具体的に、
(A)第1のイベントストリームに係る「第1の開始イベント」を取得した際、この第1の開始イベントの有する(a)第1のイベント識別子と、この(b)第1の開始イベントの時刻に係る情報とを含む「第1のイベントペア」を、第1のイベントペアバッファ104に記憶させ、
(B)第2のイベントストリームに係る「第2のイベント」を取得した際、この第2のイベントの有する(a)第2のイベント識別子と、この(b)第2のイベントの時刻に係る情報とを、第1のイベントペアバッファ104に記憶された又は第1のイベントペアバッファ104から読み出した「第1のイベントペア」に書き込んだ上で、この第1のイベントペアを、関連するイベント又はイベント候補を示す「第2のイベントペア」として出力する。
Also in FIG. 1, the related event extracting apparatus 1
(A) an event identifier of the event;
(B) It has the 1st event pair buffer 104 which can memorize | store the information which concerns on the time of the said event. On that basis, the related event extraction apparatus 1 specifically performs a related event extraction process.
(A) When the “first start event” relating to the first event stream is acquired, (a) the first event identifier of the first start event, and (b) the first start event “First event pair” including information related to time is stored in the first event pair buffer 104;
(B) When the “second event” related to the second event stream is acquired, (a) the second event identifier of the second event and (b) the time of the second event Information is written to the “first event pair” stored in the first event pair buffer 104 or read from the first event pair buffer 104, and the first event pair is associated with the related event. Alternatively, it is output as a “second event pair” indicating an event candidate.

次いで、関連イベント抽出装置1は、さらに、
(C)第1のイベントストリームに係る「第1の終了イベント」を取得した際、第1のイベントペアバッファ104に記憶された「第1のイベントペア」のうち、この第1の終了イベントの有する(a)第1のイベント識別子に相当する識別子を含む第1のイベントペアを削除する。
Next, the related event extracting apparatus 1 further includes
(C) When the “first end event” related to the first event stream is acquired, among the “first event pair” stored in the first event pair buffer 104, the first end event (A) Delete the first event pair including the identifier corresponding to the first event identifier.

このように、関連イベント抽出装置1は、互いに異なる種類の第1のイベントストリーム及び第2のイベントストリームのそれぞれから、「第1のイベント」及び「第2のイベント」を取得し、バッファ104を利用して、互いに関連するイベント又は関連するイベント候補である「第1のイベント」及び「第2のイベント」を含む「第2のイベントペア」を生成する。ここで、「第1の終了イベント」を取得した際にはバッファ104に記憶されたこの第1のイベントに関係するイベントペアを削除するので、関連する可能性のある「第1のイベント」及び「第2のイベント」のみを確実に抽出することができるのである。   As described above, the related event extracting apparatus 1 acquires the “first event” and the “second event” from each of the different types of the first event stream and the second event stream, and stores the buffer 104 in the buffer 104. By using this, a “second event pair” including “first event” and “second event” that are related events or related event candidates is generated. Here, when the “first end event” is acquired, the event pair related to the first event stored in the buffer 104 is deleted, so the “first event” which may be related and Only the “second event” can be reliably extracted.

また、関連イベント抽出装置1では、関連するイベント又はイベント候補を示す「第2のイベントペア」を生成する際には、単純に「第1のイベント」に係る時刻に近接した(所定時間範囲内にある)時刻を有する「第2のイベント」を抽出しているのではなく、時間の包含関係を担保し得る形でイベントペアを生成している。即ち、イベントに係る時間の単純な近接度に拘泥せずに、互いに関連するイベントを抽出可能となっているのである。   In addition, in the related event extraction device 1, when generating a “second event pair” indicating a related event or event candidate, it is simply close to the time related to the “first event” (within a predetermined time range). Instead of extracting the “second event” having the time), the event pair is generated in such a way that the time inclusion relationship can be secured. In other words, events related to each other can be extracted without being concerned with the simple proximity of the time related to the event.

さらに、関連イベント抽出装置1によれば、互いに異なる種類のイベント情報を有するイベントストリームから、関連する(同期する)イベントを、イベントの開始時刻から終了時刻に至る時間の包含関係に基づき、バッファ104という比較的少ない記憶領域を利用して、比較的短い処理時間で抽出することが可能となる。関連する(同期する)イベントの検索に関する処理時間についても、検索の範囲を時間の包含関係に基づき絞り込んでいるため、比較的少ない記憶領域を利用して、比較的短い処理時間で抽出することが可能となる。   Further, according to the related event extracting apparatus 1, the buffer 104 can be used to search for related (synchronized) events from event streams having different types of event information based on the time inclusion relationship from the event start time to the end time. It is possible to perform extraction in a relatively short processing time using a relatively small storage area. Regarding the processing time related to the search for related (synchronized) events, the search range is narrowed down based on the time inclusion relationship, so that it can be extracted in a relatively short processing time using a relatively small storage area. It becomes possible.

[装置の機能構成]
同じく、図1に示した機能ブロック図によれば、関連イベント抽出装置1は、通信インタフェース101と、第1のストリームバッファ102と、第2のストリームバッファ103と、第1のイベントペアバッファ104と、第2のイベントペアバッファ105と、確定イベントペアリスト登録部106と、ディスプレイ(DP)107と、プロセッサ・メモリとを有する。ここで、プロセッサ・メモリは、関連イベント抽出装置1のコンピュータを機能させるプログラムを実行することによって、関連イベント抽出機能を実現させる。
[Functional configuration of the device]
Similarly, according to the functional block diagram shown in FIG. 1, the related event extracting apparatus 1 includes a communication interface 101, a first stream buffer 102, a second stream buffer 103, and a first event pair buffer 104. , A second event pair buffer 105, a confirmed event pair list registration unit 106, a display (DP) 107, and a processor memory. Here, the processor memory realizes a related event extracting function by executing a program that causes the computer of the related event extracting apparatus 1 to function.

さらに、このプロセッサ・メモリは、機能構成部として、イベント取得部111と、第1のイベントペア登録部112と、イベントペア送出部113と、第2のイベントペア登録部114と、イベントペア更新部115と、イベントペア検索部116と、アプリケーション117とを有する。ここで、図1における装置1の機能構成部間を矢印で接続して示した処理の流れは、本発明による関連イベント抽出方法の一実施形態としても理解される。   Further, the processor memory includes an event acquisition unit 111, a first event pair registration unit 112, an event pair transmission unit 113, a second event pair registration unit 114, and an event pair update unit as functional components. 115, an event pair search unit 116, and an application 117. Here, the processing flow shown by connecting the functional components of the apparatus 1 in FIG. 1 with arrows is understood as an embodiment of the related event extracting method according to the present invention.

同じく図1において、通信インタフェース101は、アクセスネットワーク(事業者通信網)やインターネットを介して、第1のイベントストリーム及び第2のイベントストリームを受信する。ここで、第1のイベントストリームは、例えば携帯電話網を構成する基地局(フロントエンド)において生成される各種ログ(イベント)の時系列とすることができる。また、第2のイベントストリームは、当該携帯電話網と接続された通信ネットワークにおけるサーバ(バックエンド)において生成される各種ログ(イベント)の時系列とすることができる。   Also in FIG. 1, the communication interface 101 receives the first event stream and the second event stream via an access network (carrier communication network) or the Internet. Here, the first event stream can be a time series of various logs (events) generated in, for example, a base station (front end) constituting the mobile phone network. Further, the second event stream can be a time series of various logs (events) generated in a server (back end) in a communication network connected to the mobile phone network.

第1のストリームバッファ102及び第2のストリームバッファ103はそれぞれ、受信された第1のイベントストリーム及び第2のイベントストリームを蓄積し、受信した順番に応じて又はその他の指示内容に応じて順次、第1のイベント及び第2のイベントをイベント取得部111に出力する。   The first stream buffer 102 and the second stream buffer 103 respectively store the received first event stream and second event stream, and sequentially according to the order of reception or according to other instruction contents, The first event and the second event are output to the event acquisition unit 111.

イベント取得部111は、入力した第1のイベント及び第2のイベントを、その内容に応じて第1のイベントペア登録部112、イベントペア送出部113及びイベントペア更新部115のいずれかに出力する。   The event acquisition unit 111 outputs the input first event and second event to any one of the first event pair registration unit 112, the event pair transmission unit 113, and the event pair update unit 115 according to the contents thereof. .

ここで、以後、処理対象となるイベントは、構成要素として「イベント識別子」及び「イベント発生時刻(イベントに係る時刻)」を有する。また、第1のイベントには、第1のイベントの開始に相当するイベントである「第1の開始イベント」と、第1のイベントの終了に相当するイベントである「第1の終了イベント」とが存在する。第1の開始イベントの「発生時刻」は、第1のイベントの開始時刻であり、第1の終了イベントの発生時刻は、第1のイベントの終了時刻である。   Hereafter, the event to be processed has “event identifier” and “event occurrence time (time related to the event)” as components. The first event includes a “first start event” that is an event corresponding to the start of the first event, and a “first end event” that is an event corresponding to the end of the first event. Exists. The “occurrence time” of the first start event is the start time of the first event, and the occurrence time of the first end event is the end time of the first event.

また、第2のイベントとしては、少なくとも1つのイベントが存在する。「第2の開始イベント」又は「第2の終了イベント」がこれに当たる。ここで、第2の開始イベントの「発生時刻」は、第2のイベントの開始時刻である。また、第2の終了イベントの「発生時刻」は、第2のイベントの終了時刻である。さらに、第2のイベントの開始時刻から第2のイベントの終了時刻までの時間区間内の任意の時刻に発生するイベントであってもよい。以後、このようなイベントを「第2の中間イベント」と呼ぶ。ここで、この「第2の中間イベント」を「第2の開始イベント」とみなしたとしても本発明は成立する。また、「第2の開始イベント」は発生するが「第2の終了イベント」が発生しない場合において、「第2の中間イベント」を「第2の終了イベント」とみなしても本発明は成立する。さらに、「第2の開始イベント」は発生しないが「第2の終了イベント」が発生する場合において、「第2の中間イベント」を「第2の開始イベント」とみなしても本発明は成立する。   Further, at least one event exists as the second event. This is the “second start event” or “second end event”. Here, the “occurrence time” of the second start event is the start time of the second event. The “occurrence time” of the second end event is the end time of the second event. Further, it may be an event that occurs at an arbitrary time within a time interval from the start time of the second event to the end time of the second event. Hereinafter, such an event is referred to as a “second intermediate event”. Here, even if this “second intermediate event” is regarded as a “second start event”, the present invention is established. Further, in the case where the “second start event” occurs but the “second end event” does not occur, the present invention is established even if the “second intermediate event” is regarded as the “second end event”. . Further, when the “second start event” does not occur but the “second end event” occurs, the present invention can be realized even if the “second intermediate event” is regarded as the “second start event”. .

尚、以後に説明する実施形態では、「第2の中間イベント」は用いず、「第2の開始イベント」及び/又は「第2の終了イベント」を用いる。また、以後の説明において、第1のイベントの開始時刻、第1のイベントの終了時刻、第2のイベントの開始時刻、第2のイベントの終了時刻は、単に、第1の開始時刻、第1の終了時刻、第2の開始時刻、第2の終了時刻と呼ぶ。   In the embodiment described below, the “second intermediate event” is not used, but the “second start event” and / or the “second end event” is used. In the following description, the start time of the first event, the end time of the first event, the start time of the second event, and the end time of the second event are simply the first start time, Are called end time, second start time, and second end time.

さらに、「イベント識別子」は、イベント(ログ)の発生源である通信装置・機器が固有に有する番号、例えば、製造番号やMAC(Media Access Control)アドレスであってもよい。または、ネットワークアドレス、例えば、IP(Internet Protocol)アドレスやドメイン名でもよい。さらに、「イベント識別子」は、これらの情報に対して非識別化処理を施した結果として得られる匿名の番号であってもよい。   Further, the “event identifier” may be a number inherently possessed by the communication device / device that is the source of the event (log), for example, a manufacturing number or a MAC (Media Access Control) address. Alternatively, it may be a network address, for example, an IP (Internet Protocol) address or a domain name. Furthermore, the “event identifier” may be an anonymous number obtained as a result of performing the de-identification process on these pieces of information.

また、「発生時刻」のデータ型は、2014/01/01 11:22:33などの日付型又は文字列型であってもよく、所定の日時を基準にした経過時間を表す整数型であってもよい。尚、経過時間の単位は、任意の時間幅をとり得る。   The data type of “occurrence time” may be a date type or a character string type such as 2014/01/01 11:22:33, and is an integer type representing an elapsed time based on a predetermined date and time. May be. The unit of the elapsed time can take an arbitrary time width.

因みに、第1のストリームバッファ102には、第1の開始イベントや第1の終了イベントが、発生する都度入力され、第2のストリームバッファ103には、第2の開始イベントや第2の終了イベントが、発生する都度入力される。   Incidentally, a first start event and a first end event are input to the first stream buffer 102 each time they occur, and a second start event and a second end event are input to the second stream buffer 103. Is entered whenever it occurs.

尚、本発明における処理対象は、2種類のイベントストリームに限定されるものではない。3種類以上のイベントストリームであっても同様に処理を行うことができる。例えば、フロントエンドにおける2つ以上のそれぞれ独立した機器から2つ以上の異なる種類のイベントストリームを受信し、対応するバックエンドにおける1つ以上の機器から1つ以上のイベントストリームを受信して処理を行うことも可能である。   The processing target in the present invention is not limited to two types of event streams. The same processing can be performed for three or more types of event streams. For example, two or more different types of event streams are received from two or more independent devices in the front end, and one or more event streams are received from one or more devices in the corresponding back end for processing. It is also possible to do this.

以下、各機能構成部の機能及び処理を説明するため、具体的に、イベント取得部111が、第1のストリームバッファ102及び第2のストリームバッファ103から下記のイベントIA、IB及びICを入力した場合を説明する。尚、イベントは、以下、イベント名<イベント識別子,発生時刻>との形式で記述される。
第1の開始イベントIA<101,10:00:00>
第2の開始イベントIB<201,10:00:30>
第1の終了イベントIC<101,10:02:30>
Hereinafter, in order to describe the function and processing of each functional component, specifically, the event acquisition unit 111 receives the following events IA, IB, and IC from the first stream buffer 102 and the second stream buffer 103. Explain the case. The event is described below in the format of event name <event identifier, occurrence time>.
First start event IA <101, 10:00:00>
Second start event IB <201, 10:00:30>
First end event IC <101, 10:02:30>

図1に示すように、イベント取得部111は、
(a)第1の開始イベントIAを、第1のイベントペア登録部112に、
(b)第2の開始イベントIBを、イベントペア送出部113に、さらに、
(c)第1の終了イベントICを、イベントペア更新部115に
出力する。
As shown in FIG. 1, the event acquisition unit 111
(A) The first start event IA is sent to the first event pair registration unit 112,
(B) The second start event IB is sent to the event pair sending unit 113, and
(C) The first end event IC is output to the event pair update unit 115.

第1のイベントペア登録部112は、第1の開始イベントIAを入力した際、第1の開始イベントIAの有する第1のイベント識別子"101"と、第1の開始イベントIAの開始時刻(時刻に係る情報)"10:00:00"とを含む第1のイベントペア
(3) IP1<101,10:00:00,,,>
を、第1のイベントペアバッファ104に記憶させ、登録を行う。ここで、イベントペアは完成した場合、イベントペア名<第1のイベント識別子,第1の開始時刻,第1の終了時刻,第2のイベント識別子,第2の開始時刻>の形式で記述される。因みに、第2の終了イベントが発生する場合では、完成したイベントペアは、イベントペア名<第1のイベント識別子,第1の開始時刻,第1の終了時刻,第2のイベント識別子,第2の開始時刻,第2の終了時刻>の形式で記述される。
When the first start event IA is input, the first event pair registration unit 112 receives the first event identifier “101” of the first start event IA and the start time (time) of the first start event IA. Information related to 1) First event pair including "10:00:00" (3) IP1 <101, 10:00:00 ,,>
Are stored in the first event pair buffer 104 and registered. Here, when the event pair is completed, it is described in the format of event pair name <first event identifier, first start time, first end time, second event identifier, second start time>. . Incidentally, when the second end event occurs, the completed event pair has an event pair name <first event identifier, first start time, first end time, second event identifier, second It is described in the format of start time, second end time>.

上式(3)の第1のイベントペアIP1には、上述したような後に書き込まれる可能性のある情報のための記憶領域(所定バイトサイズ)を確保していることを示す",,,"が挿入されている。このような記憶領域の予めの確保によって、処理時間又は計算量を短縮することができる場合も多い。一方、この変更態様として、第1のイベントペアバッファ104の記憶容量資源を有効に使用するべく、このような記憶領域の確保を予めは行わず、新たな情報を書き込む際に、その分の記憶領域を拡張することも好ましい。   The first event pair IP1 of the above formula (3) indicates that a storage area (predetermined byte size) for information that may be written later is secured as described above. Has been inserted. In many cases, the processing time or the calculation amount can be shortened by securing the storage area in advance. On the other hand, as this change mode, in order to effectively use the storage capacity resource of the first event pair buffer 104, such a storage area is not reserved in advance, and when the new information is written, the memory for that amount is stored. It is also preferable to expand the area.

イベントペア送出部113は、第2の開始イベントIBを取得した際、第2のイベントIBの有する第2のイベント識別子"201"と、第2のイベントIBの開始時刻(時刻に係る情報)"10:00:30"とを、第1のイベントペアバッファ104に記憶された又はこのバッファ104から読み出した上式(3)の第1のイベントペアIP1に書き込んだ(代入した)上で、この書き込まれた第1のイベントペア、即ち、関連するイベント又はイベント候補を示す第2のイベントペア
(4) IP2<101,10:00:00,,201,10:00:30>
を、第2のイベントペア登録部114に出力する。
When the event pair sending unit 113 acquires the second start event IB, the second event identifier “201” of the second event IB and the start time of the second event IB (information relating to time) ” 10:00:30 "is written (assigned) to the first event pair IP1 of the above equation (3) stored in or read from the first event pair buffer 104, The written first event pair, that is, the second event pair indicating the related event or event candidate (4) IP2 <101, 10:00:00, 201, 10:00:30>
Is output to the second event pair registration unit 114.

ここで、第1のイベント識別子と第2のイベント識別子とが同じ識別子の番号体系の下で生成され、第1のイベント識別子と第2のイベント識別子とが合致しているか否か(同一の発生源を示すか否か)を判定する方法が分かっている場合を考える。この際、イベントペア送出部113は、第1のイベント識別子と第2のイベント識別子とが合致する全てのイベントペアにおいて、第2のイベント識別子及び第2の開始時刻を代入し、これらのイベントペアを第2のイベントペア登録部114に出力してもよい。   Here, the first event identifier and the second event identifier are generated under the same identifier number system, and whether or not the first event identifier and the second event identifier match (the same occurrence). Consider a case where a method for determining whether or not to indicate a source is known. At this time, the event pair sending unit 113 substitutes the second event identifier and the second start time in all event pairs in which the first event identifier and the second event identifier match, and these event pairs May be output to the second event pair registration unit 114.

例えば、第1のイベント識別子の下2桁と第2のイベント識別子の下2桁とが同じならば同一の発生源を示すといった番号体系の下で、イベント識別子の生成されることが分かっている場合を考える。例えば、上式(3)及び(4)に示す実施例の場合、第2のイベント識別子"201"の下2桁は"01"であって、第1のイベントペアIP1の第1のイベント識別子"101"の下2桁"01"と合致するので、上式(4)と同一の第2のイベントペアを第2のイベントペア登録部114に出力する。尚、第1のイベント識別子と第2のイベント識別子とが合致するか否かの判定方法は、当然に上述の方法に限定されるものではない。例えば、すべての桁が合致する場合に合致すると判定する方法や、別途第1のイベント識別子と第2のイベント識別子との対応表が用意され、それに基づいて合致するか否かを判定する方法が採用されてもよい。   For example, it is known that an event identifier is generated under a numbering system that indicates the same source if the last two digits of the first event identifier and the last two digits of the second event identifier are the same. Think about the case. For example, in the embodiment shown in the above equations (3) and (4), the last two digits of the second event identifier “201” are “01”, and the first event identifier of the first event pair IP1 Since it matches the lower two digits “01” of “101”, the same second event pair as the above equation (4) is output to the second event pair registration unit 114. Of course, the method for determining whether or not the first event identifier and the second event identifier match is not limited to the above-described method. For example, there is a method of determining that all digits match, or a method of determining whether or not a match is prepared based on a correspondence table of first event identifiers and second event identifiers separately prepared. It may be adopted.

第2のイベントペア登録部114は、入力した上式(4)の第2のイベントペアIP2を、第2のイベントペアバッファ105に記憶させて登録する。   The second event pair registration unit 114 registers the input second event pair IP2 of the above equation (4) by storing it in the second event pair buffer 105.

イベントペア更新部115は、第1の終了イベントICを取得した際、第1のイベントペアバッファ104に記憶された第1のイベントペアのうち、第1の終了イベントICの有する第1のイベント識別子"101"(又はこの識別子に相当する識別子)を含む第1のイベントペア、ここでは上式(3)の第1のイベントペアIP1、を削除する。   When the event pair update unit 115 acquires the first end event IC, the first event identifier included in the first end event IC among the first event pairs stored in the first event pair buffer 104 is acquired. The first event pair including “101” (or an identifier corresponding to this identifier), here, the first event pair IP1 of the above equation (3) is deleted.

さらに、イベントペア更新部115は、第1の終了イベントICを取得した際、第1の終了イベントICの有する第1のイベント識別子"101"(又はこの識別子に相当する識別子)を含む第2のイベントペア、ここでは上式(4)の第2のイベントペアIP2、に対し、第1の終了イベントICの終了時刻(時刻に係る情報)を書き込む(代入する)。その結果、第2のイベントペアIP2は、次式
(5) IP2<101,10:00:00,10:02:30,201,10:00:30>
のようになる。
Furthermore, when the event pair update unit 115 acquires the first end event IC, the event pair update unit 115 includes a second event identifier “101” (or an identifier corresponding to this identifier) included in the first end event IC. The end time (information relating to the time) of the first end event IC is written (substituted) into the event pair, here, the second event pair IP2 of the above formula (4). As a result, the second event pair IP2 has the following formula (5) IP2 <101, 10:00:00, 10:02:30, 201, 10:00:30>
become that way.

因みに、後述するような、装置1が第2の終了イベントをも受信する実施形態においては、イベントペア更新部115は、第2のイベントストリームに係る第2の終了イベントを取得した際、第2のイベントペアバッファ105に記憶された第2のイベントペアのうち、この第2の終了イベントの有する第2のイベント識別子(又はこの識別子に相当する識別子)を含む第2のイベントペアに対し、この第2の終了イベントの終了時刻(時刻に係る情報)を書き込む(代入する)。   Incidentally, in the embodiment in which the device 1 also receives the second end event as described later, when the event pair update unit 115 acquires the second end event related to the second event stream, Among the second event pairs stored in the event pair buffer 105, the second event pair including the second event identifier (or an identifier corresponding to the identifier) of the second end event is obtained. Write (substitute) the end time (information related to the time) of the second end event.

次いで、イベントペア検索部116は、第2のイベントペアバッファ105に記憶(登録)された第2のイベントペアのうち、第2の開始イベントIBに係る時刻(開始時刻)t2が、第1の開始イベントに係る時刻(開始時刻)t1Sと第1の終了イベントに係る時刻(終了)t1Eとの間となっているような、即ち、上式(2)t1S ≦t2 ≦t1Eの関係を満たすような第2のイベントペア、ここではt2(=10:00:30)がt1S(=10:00:00)とt1E(=10:02:30)との間にある上式(5)の第2のイベントペアIP2、を検索(抽出)する。 Next, the event pair search unit 116 determines that the time (start time) t 2 related to the second start event IB among the second event pairs stored (registered) in the second event pair buffer 105 is the first. It is between the time (start time) t 1S related to the start event and the time (end) t 1E related to the first end event, that is, the above equation (2) t 1S ≦ t 2 ≦ t A second event pair that satisfies the 1E relationship, where t 2 (= 10: 00: 30) is between t 1S (= 10: 00: 00) and t 1E (= 10: 02: 30) The second event pair IP2 of the above equation (5) is searched (extracted).

因みに、後述するような、装置1が第2の終了イベントをも受信する実施形態においては、イベントペア検索部116は、第2のバッファに記憶された第2のイベントペアのうち、第2の開始イベントに係る時刻(開始時刻)t2S及び第2の終了イベントに係る時刻(終了時刻)t2Eが、第1の開始イベントに係る時刻(開始時刻)t1Sと第1の終了イベントに係る時刻(終了)t1Eとの間となっているような、即ち、上式(1)t1S ≦t2S ≦t2E ≦t1Eの関係を満たすような第2のイベントペアを検索(抽出)する。 Incidentally, in the embodiment in which the device 1 also receives the second end event as described later, the event pair search unit 116 selects the second event pair stored in the second buffer from the second event pair. The time (start time) t 2S related to the start event and the time (end time) t 2E related to the second end event are related to the time (start time) t 1S related to the first start event and the first end event. Search (extract) a second event pair that is between time (end) t 1E , that is, satisfy the relationship of the above formula (1) t 1S ≦ t 2S ≦ t 2E ≦ t 1E To do.

同じく図1において、確定イベントペアリスト登録部106は、イベントペア検索部116で検索(抽出)された第2のイベントペアを記憶し、登録する。イベントペア検索部116で検索された、又は確定イベントペアリスト登録部106に登録された第2のイベントペアに係る情報、即ち互いに関連するイベントに係る情報(同期イベント情報)は、例えばアプリケーション117を介して所定の形式でディスプレイ107に表示され、当該情報の利用者に提供されることも好ましい。さらには、この関連(同期)イベント情報は、図示されていないが、通信インタフェース101を介して、外部の情報処理装置に送信され、当該装置で利用者に提供されてもよい。   Similarly, in FIG. 1, the confirmed event pair list registration unit 106 stores and registers the second event pair searched (extracted) by the event pair search unit 116. The information related to the second event pair searched by the event pair search unit 116 or registered in the confirmed event pair list registration unit 106, that is, information related to mutually related events (synchronous event information), for example, uses the application 117. It is also preferable that the information is displayed on the display 107 in a predetermined format and provided to the user of the information. Further, the related (synchronous) event information is not shown, but may be transmitted to an external information processing apparatus via the communication interface 101 and provided to the user by the apparatus.

以上に説明した第1の開始イベントIA、第2の開始イベントIB、及び第1の終了イベントICに対する処理手順が、本実施形態の関連イベント抽出プログラム及び方法の典型的な形となっている。この処理では、特定のイベント識別子に関する第1のイベントペアの有効期間は、第1の開始イベントの開始時刻から第1の終了イベントの終了時刻までの間となっており、この期間に到着した第2の開始イベントとの間でのみ第2のイベントペアが生成され、第2のイベントペアバッファ105に登録される。このような処理によって、第2のイベントペアにおいては、以下の条件
第1の開始時刻 ≦ 第2の開始時刻 ≦ 第2の終了時刻
が原則的に満たされることになる。
The processing procedure for the first start event IA, the second start event IB, and the first end event IC described above is a typical form of the related event extraction program and method of this embodiment. In this process, the valid period of the first event pair relating to the specific event identifier is between the start time of the first start event and the end time of the first end event, and the first event pair that arrived during this period A second event pair is generated only between two start events and registered in the second event pair buffer 105. By such a process, in the second event pair, the following condition is satisfied in principle: first start time ≦ second start time ≦ second end time.

ただし、例外として、第1のストリームバッファ102及び第2のストリームバッファ103への入力の時差によって、第2の開始時刻が第1の開始時刻よりも時間的に前になってしまったり、第2の開始時刻が第1の終了時刻よりも時間的に後ろになってしまったり等、時間順が入れ違ってしまう場合が生じ得る。この場合、後に説明するように、イベントペア検索部116によって、上記の正しい時刻の順序を有する第2のイベントペアが選別され、この入れ違いの問題が解消される。   However, as an exception, the second start time may be earlier than the first start time due to the time difference between the inputs to the first stream buffer 102 and the second stream buffer 103, or the second There may be a case where the time order is wrong, for example, the start time of is behind the first end time. In this case, as will be described later, the event pair search unit 116 selects the second event pair having the above-described correct time order, and the problem of this misplacement is solved.

次に、関連イベント抽出装置1が第2の終了イベントをも受信する実施形態について説明する。   Next, an embodiment in which the related event extracting apparatus 1 receives the second end event will be described.

図2〜図5は、本発明による関連イベント抽出方法の他の実施形態を示す模式的なシーケンス図である。   2 to 5 are schematic sequence diagrams showing other embodiments of the related event extracting method according to the present invention.

以下では、下記のイベントE1〜E20が順次、第1のストリームバッファ102及び第2のストリームバッファ103に入力される場合の処理を説明する。ここで、イベントE1〜E8は、第2の終了イベントをも考慮した典型的な処理手順を示す入力例のイベント列である。また、イベントE9〜E14は、複数の第2のイベントペアに対して絞り込みを行って関連(同期)イベントを検索(抽出)する処理手順を示す入力例のイベント列である。さらに、イベントE15〜E20は、既に確定したイベントペアを重複する形でイベントペアの新たな検索結果に含めない処理手順を示す入力例のイベント列である。
第1の開始イベントE1<101,10:00:00>
第2の開始イベントE2<201,10:00:30>
第2の終了イベントE3<201,10:02:00>
第1の終了イベントE4<101,10:02:30>
第1の開始イベントE5<101,10:03:00>
第2の開始イベントE6<202,10:03:15>
第1の終了イベントE7<101,10:03:30>
第2の終了イベントE8<202,10:03:45>
第1の開始イベントE9<102,10:05:00>
第1の開始イベントE10<103,10:06:00>
第2の開始イベントE11<202,10:06:30>
第1の終了イベントE12<102,10:08:00>
第2の終了イベントE13<202,10:08:00>
第1の終了イベントE14<103,10:08:30>
第1の開始イベントE15<103,10:10:00>
第2の開始イベントE16<202,10:10:00>
第2の開始イベントE17<203,10:10:45>
第2の終了イベントE18<202,10:11:30>
第2の終了イベントE19<203,10:11:45>
第1の終了イベントE20<103,10:12:00>
Hereinafter, processing when the following events E1 to E20 are sequentially input to the first stream buffer 102 and the second stream buffer 103 will be described. Here, the events E1 to E8 are an event sequence of an input example showing a typical processing procedure in consideration of the second end event. Further, events E9 to E14 are an event sequence of an input example showing a processing procedure for narrowing down a plurality of second event pairs and searching for (extracting) related (synchronous) events. Further, the events E15 to E20 are an example of an event string indicating a processing procedure that does not include the already determined event pair in the new search result of the event pair in an overlapping manner.
First start event E1 <101, 10:00:00>
Second start event E2 <201, 10:00:30>
Second end event E3 <201, 10:02:00>
First end event E4 <101, 10:02:30>
First start event E5 <101, 10:03:00>
Second start event E6 <202, 10:03:15>
First end event E7 <101, 10:03:30>
Second end event E8 <202, 10:03:45>
First start event E9 <102, 10:05:00>
First start event E10 <103, 10:06:00>
Second start event E11 <202, 10:06:30>
First end event E12 <102, 10:08:00>
Second end event E13 <202, 10:08:00>
First end event E14 <103, 10:08:30>
First start event E15 <103, 10:10:00>
Second start event E16 <202, 10:10:00>
Second start event E17 <203, 10:10:45>
Second end event E18 <202, 10:11:30>
Second end event E19 <203, 10:11:45>
First end event E20 <103, 10:12:00>

[イベントE1〜E8の処理]
最初に、図2に示すように、第1の開始イベントE1が到着した際、第1のイベントペア登録部112は、第1のイベントペアバッファ104に、新たな第1のイベントペア1-1を登録する。
(6) 1-1<101,10:00:00,,,,>
[Processing of events E1 to E8]
First, as shown in FIG. 2, when the first start event E1 arrives, the first event pair registration unit 112 stores the new first event pair 1-1 in the first event pair buffer 104. Register.
(6) 1-1 <101, 10:00:00 ,,,>

次いで、第2の開始イベントE2が到着した際、イベントペア送出部113は、第1のイベントペア1-1に対し、イベントE2の第2のイベント識別子及び第2の開始時刻を代入し、この第1のイベントペア1-1を、第2のイベントペアとして第2のイベントペア登録部114に送出する。第2のイベントペア登録部114は、この新たなイベントペアを、第2のイベントペアバッファ105に出力して登録する。
(7) 2-1-1<101,10:00:00,,201,10:00:30,>
Next, when the second start event E2 arrives, the event pair sending unit 113 substitutes the second event identifier and the second start time of the event E2 for the first event pair 1-1. The first event pair 1-1 is sent to the second event pair registration unit 114 as a second event pair. The second event pair registration unit 114 outputs the new event pair to the second event pair buffer 105 and registers it.
(7) 2-1-1 <101, 10:00:00, 201, 10:00:30,>

次いで、第2の終了イベントE3が到着した際、イベントペア更新部115は、第2のイベントペア2-1-1に対し、イベントE3の第2の終了時刻を代入する。
(8) 2-1-2<101,10:00:00,,201,10:00:30,10:02:00>
Next, when the second end event E3 arrives, the event pair update unit 115 substitutes the second end time of the event E3 for the second event pair 2-1-1.
(8) 2-1-2 <101, 10:00:00, 201, 10:00:30, 10:02:00>

次いで、第1の終了イベントE4が到着した際、イベントペア更新部115は、第1のイベントペアバッファ104に記憶されているイベントペアのうち、イベントE4の第1のイベント識別子"101"を有するイベントペア1-1(上式(6))を削除する。さらに、第2のイベントペア2-1-2に対し、イベントE4の第1の終了時刻を代入する。
(9) 2-1-3<101,10:00:00,10:02:30,201,10:00:30,10:02:00>
Next, when the first end event E4 arrives, the event pair update unit 115 has the first event identifier “101” of the event E4 among the event pairs stored in the first event pair buffer 104. Event pair 1-1 (formula (6)) is deleted. Further, the first end time of the event E4 is substituted for the second event pair 2-1-2.
(9) 2-1-3 <101, 10:00:00, 10:02:30, 201, 10:00:30, 10:02:00>

次に、図3に示すように、第1の開始イベントE5が到着した際、第1のイベントペア登録部112は、第1のイベントペアバッファ104に、新たな第1のイベントペア1-2を登録する。
(10) 1-2<101,10:03:00,,,,>
Next, as shown in FIG. 3, when the first start event E5 arrives, the first event pair registration unit 112 stores a new first event pair 1-2 in the first event pair buffer 104. Register.
(10) 1-2 <101,10: 03: 00 ,,,>

次いで、第2の開始イベントE6が到着した際、イベントペア送出部113は、第1のイベントペア1-2に対し、イベントE6の第2のイベント識別子及び第2の開始時刻を代入し、この第1のイベントペア1-2を、第2のイベントペアとして第2のイベントペア登録部114に送出する。第2のイベントペア登録部114は、この新たなイベントペアを、第2のイベントペアバッファ105に出力して登録する。
(11) 2-2-1<101,10:03:00,,202,10:03:15,>
Next, when the second start event E6 arrives, the event pair sending unit 113 substitutes the second event identifier and the second start time of the event E6 for the first event pair 1-2. The first event pair 1-2 is sent to the second event pair registration unit 114 as a second event pair. The second event pair registration unit 114 outputs the new event pair to the second event pair buffer 105 and registers it.
(11) 2-2-1 <101, 10:03:00, 202, 10:03:15,>

次いで、第1の終了イベントE7が到着した際、イベントペア更新部115は、第1のイベントペアバッファ104に記憶されているイベントペアのうち、イベントE7の第1のイベント識別子"101"を有するイベントペア1-2(上式(10))を削除する。さらに、第2のイベントペア2-2-1に対し、イベントE7の第1の終了時刻を代入する。
(12) 2-2-2<101,10:03:00,10:03:30,202,10:03:15,>
Next, when the first end event E7 arrives, the event pair update unit 115 has the first event identifier “101” of the event E7 among the event pairs stored in the first event pair buffer 104. Event pair 1-2 (formula (10)) is deleted. Further, the first end time of the event E7 is substituted for the second event pair 2-2-1.
(12) 2-2-2 <101, 10:03:00, 10:03:30, 202, 10:03:15,>

次いで、第2の終了イベントE8が到着した際、イベントペア更新部115は、第2のイベントペア2-2-2に対し、イベントE8の第2の終了時刻を代入する。
(13) 2-2-3<101,10:03:00,10:03:30,202,10:03:15,10:03:45>
Next, when the second end event E8 arrives, the event pair update unit 115 assigns the second end time of the event E8 to the second event pair 2-2-2.
(13) 2-2-3 <101, 10:03:00, 10:03:30, 202, 10:03:15, 10:03:45>

[イベントE9〜E14の処理]
最初に、図4に示すように、第1の開始イベントE9が到着した際、第1のイベントペア登録部112は、第1のイベントペアバッファ104に、新たな第1のイベントペア1-3を登録する。
(14) 1-3<102,10:05:00,,,,>
[Processing of events E9 to E14]
First, as shown in FIG. 4, when the first start event E9 arrives, the first event pair registration unit 112 stores the new first event pair 1-3 in the first event pair buffer 104. Register.
(14) 1-3 <102, 10:05:00, ...

次いで、新たな別の第1の開始イベントE10が到着した際、第1のイベントペア登録部112は、第1のイベントペアバッファ104に、新たな第1のイベントペア1-4を登録する。
(15) 1-4<103,10:06:00,,,,>
Next, when another new first start event E10 arrives, the first event pair registration unit 112 registers the new first event pair 1-4 in the first event pair buffer 104.
(15) 1-4 <103, 10:06:00, ...

次いで、第2の開始イベントE11が到着した際、イベントペア送出部113は、第1のイベントペア1-3及び第1のイベントペア1-4の各々に対し、イベントE11の第2のイベント識別子及び第2の開始時刻を代入し、これらの第1のイベントペアを、第2のイベントペアとして第2のイベントペア登録部114に送出する。第2のイベントペア登録部114は、これらの新たなイベントペアを、第2のイベントペアバッファ105に出力して登録する。
(16) 2-3-1<102,10:05:00,,202,10:06:30,>
(17) 2-4-1<103,10:06:00,,202,10:06:30,>
Next, when the second start event E11 arrives, the event pair sending unit 113 sends the second event identifier of the event E11 to each of the first event pair 1-3 and the first event pair 1-4. And the second start time are substituted, and these first event pairs are sent to the second event pair registration unit 114 as second event pairs. The second event pair registration unit 114 outputs and registers these new event pairs to the second event pair buffer 105.
(16) 2-3-1 <102, 10:05:00, 202, 10:06:30,>
(17) 2-4-1 <103, 10:06:00, 202, 10:06:30,>

次いで、第1の終了イベントE12が到着した際、イベントペア更新部115は、第1のイベントペアバッファ104に記憶されているイベントペアのうち、イベントE12の第1のイベント識別子"102"を有するイベントペア1-3(上式(14))を削除する。さらに、第1のイベント識別子"102"を有する第2のイベントペア2-3-1に対し、イベントE12の第1の終了時刻を代入する。
(18) 2-3-2<102,10:05:00,10:08:00,202,10:06:30,>
Next, when the first end event E12 arrives, the event pair update unit 115 has the first event identifier “102” of the event E12 among the event pairs stored in the first event pair buffer 104. Event pair 1-3 (the above formula (14)) is deleted. Further, the first end time of the event E12 is substituted for the second event pair 2-3-1 having the first event identifier “102”.
(18) 2-3-2 <102, 10:05:00, 10:08:00, 202, 10:06:30,>

尚、例えば、到着した第1の終了イベントの第1のイベント識別子を有する第1のイベントペアが2つ以上バッファ104に記憶されている場合には、1つの例として、これらの第1のイベントペアのうち、第1の開始時刻の最も早いものを削除することも好ましい。   For example, when two or more first event pairs having the first event identifier of the arrived first end event are stored in the buffer 104, these first events are taken as one example. It is also preferable to delete the pair with the earliest first start time.

次いで、第2の終了イベントE13が到着した際、イベントペア更新部115は、第2のイベントペア2-3-2及び第2のイベントペア2-4-1に対し、イベントE13の第2の終了時刻を代入する。
(19) 2-3-3<102,10:05:00,10:08:00,202,10:06:30,10:08:00>
(20) 2-4-2<103,10:06:00,,202,10:06:30,10:08:00>
Next, when the second end event E13 arrives, the event pair update unit 115 performs the second event E13 on the second event pair 2-3-2 and the second event pair 2-4-1. Substitute end time.
(19) 2-3-3 <102, 10:05:00, 10:08:00, 202, 10:06:30, 10:08:00>
(20) 2-4-2 <103, 10:06:00, 202, 10:06:30, 10:08:00>

ここで、イベントペア更新部115は、第2の終了イベントE13が到着した際、記憶された第1のイベントペアのうち、この第2の終了イベントの有する第2のイベント識別子に相当する識別子を含む第1のイベントペアを削除してもよい。この処理を実行することによって、第1のイベントペアに対し、第1のイベント識別子及び第2のイベント識別子に対応する終了時刻のいずれか早い方を反映させて、第1のイベントペアバッファから削除することができる。   Here, when the second end event E13 arrives, the event pair update unit 115 selects an identifier corresponding to the second event identifier included in the second end event from the stored first event pair. The included first event pair may be deleted. By executing this process, the first event pair is deleted from the first event pair buffer by reflecting the earlier one of the end times corresponding to the first event identifier and the second event identifier. can do.

ここで、この削除処理を実行するためには、前提として、第2の開始イベントが到着した際、例えば次式(15’)に示すように、第2のイベント識別子及び第2の開始時刻が、第1のイベントペアバッファ104に記憶された又は第1のイベントペアバッファ104から読み出した「第1のイベントペア」に書き込まれていることが必須となる。
(15’) 1-4<103,10:06:00,,202,10:06:30,>
この前提の下、第1の終了イベントE14が到着する前に、第2の終了イベントE13が到着した際、イベントペア更新部115は、第1のイベントペアバッファ104に記憶されているイベントペアのうち、イベントE13における第2のイベント識別子"202"を有するイベントペア1-4(上式(15’))を、速やかに削除することができる。
Here, in order to execute this deletion process, as a premise, when the second start event arrives, for example, as shown in the following equation (15 ′), the second event identifier and the second start time are It is indispensable to be written in the “first event pair” stored in the first event pair buffer 104 or read from the first event pair buffer 104.
(15 ') 1-4 <103, 10:06:00, 202, 10:06:30,>
Under this assumption, when the second end event E13 arrives before the first end event E14 arrives, the event pair update unit 115 stores the event pair stored in the first event pair buffer 104. Of these, the event pair 1-4 (the above expression (15 ′)) having the second event identifier “202” in the event E13 can be quickly deleted.

尚、例えば、到着した第2の終了イベントの第2のイベント識別子を有する第1のイベントペアが2つ以上バッファ104に記憶されている場合には、1つの例として、これらの第1のイベントペアのうち、第2の開始時刻の最も早いものを削除することも好ましい。   For example, when two or more first event pairs having the second event identifier of the second end event that has arrived are stored in the buffer 104, these first events are taken as an example. It is also preferable to delete the pair with the earliest second start time.

次いで、第1の終了イベントE14が到着した際、イベントペア更新部115は、第1のイベントペアバッファ104に記憶されているイベントペアのうち、イベントE14の第1のイベント識別子"103"を有するイベントペア1-4(上式(15))を削除する。さらに、第2のイベントペア2-4-2に対し、イベントE14の第1の終了時刻を代入する。
(21) 2-4-3<103,10:06:00,10:08:30,202,10:06:30,10:08:00>
Next, when the first end event E14 arrives, the event pair update unit 115 has the first event identifier “103” of the event E14 among the event pairs stored in the first event pair buffer 104. Event pair 1-4 (the above formula (15)) is deleted. Further, the first end time of the event E14 is substituted for the second event pair 2-4-2.
(21) 2-4-3 <103, 10:06:00, 10:08:30, 202, 10:06:30, 10:08:00>

[イベントE15〜E20の処理]
最初に、図5に示すように、第1の開始イベントE15が到着した際、第1のイベントペア登録部112は、第1のイベントペアバッファ104に、新たな第1のイベントペア1-5を登録する。
(22) 1-5<103,10:10:00,,,,>
[Processing of events E15 to E20]
First, as shown in FIG. 5, when the first start event E15 arrives, the first event pair registration unit 112 stores the new first event pair 1-5 in the first event pair buffer 104. Register.
(22) 1-5 <103, 10:10:00, ...

次いで、第2の開始イベントE16が到着した際、イベントペア送出部113は、第1のイベントペア1-5に対し、イベントE16の第2のイベント識別子及び第2の開始時刻を代入し、この第1のイベントペア1-5を、第2のイベントペアとして第2のイベントペア登録部114に送出する。第2のイベントペア登録部114は、この新たなイベントペアを、第2のイベントペアバッファ105に出力して登録する。
(23) 2-5-1<103,10:10:00,,202,10:10:00,>
Next, when the second start event E16 arrives, the event pair sending unit 113 substitutes the second event identifier and the second start time of the event E16 for the first event pair 1-5. The first event pair 1-5 is sent to the second event pair registration unit 114 as a second event pair. The second event pair registration unit 114 outputs the new event pair to the second event pair buffer 105 and registers it.
(23) 2-5-1 <103, 10:10:00, 202, 10:10:00,>

次いで、新たな別の第2の開始イベントE17が到着した際、イベントペア送出部113は、第1のイベントペア1-5に対し、イベントE17の第2のイベント識別子及び第2の開始時刻を代入し、この第1のイベントペア1-5を、第2のイベントペアとして第2のイベントペア登録部114に送出する。第2のイベントペア登録部114は、この新たなイベントペアを、第2のイベントペアバッファ105に出力して登録する。
(24) 2-6-1<103,10:10:00,,203,10:10:45,>
Next, when another new second start event E17 arrives, the event pair sending unit 113 sets the second event identifier and the second start time of the event E17 to the first event pair 1-5. The first event pair 1-5 is sent to the second event pair registration unit 114 as a second event pair. The second event pair registration unit 114 outputs the new event pair to the second event pair buffer 105 and registers it.
(24) 2-6-1 <103, 10:10:00, 203, 10:10:45,>

次いで、第2の終了イベントE18が到着した際、イベントペア更新部115は、第2のイベントペア2-5-1に対し、イベントE18の第2の終了時刻を代入する。
(25) 2-5-2<103,10:10:00,,202,10:10:00,10:11:30>
Next, when the second end event E18 arrives, the event pair update unit 115 substitutes the second end time of the event E18 for the second event pair 2-5-1.
(25) 2-5-2 <103, 10:10:00, 202, 10:10:00, 10:11:30>

次いで、第2の終了イベントE19が到着した際、イベントペア更新部115は、第2のイベントペア2-6-1に対し、イベントE19の第2の終了時刻を代入する。
(26) 2-6-2<103,10:10:00,,203,10:10:45,10:11:45>
Next, when the second end event E19 arrives, the event pair update unit 115 assigns the second end time of the event E19 to the second event pair 2-6-1.
(26) 2-6-2 <103, 10:10:00, 203, 10:10:45, 10:11:45>

次いで、第1の終了イベントE20が到着した際、イベントペア更新部115は、第1のイベントペアバッファ104に記憶されているイベントペアのうち、イベントE20の第1のイベント識別子"103"を有するイベントペア1-5(上式(22))を削除する。さらに、第2のイベントペア2-5-2及び第2のイベントペア2-6-2に対し、イベントE20の第1の終了時刻を代入する。
(27) 2-5-3<103,10:10:00,10:12:00,202,10:10:00,10:11:30>
(28) 2-6-3<103,10:10:00,10:12:00,203,10:10:45,10:11:45>
Next, when the first end event E20 arrives, the event pair update unit 115 has the first event identifier “103” of the event E20 among the event pairs stored in the first event pair buffer 104. Event pair 1-5 (formula (22)) is deleted. Further, the first end time of the event E20 is assigned to the second event pair 2-5-2 and the second event pair 2-6-2.
(27) 2-5-3 <103, 10:10:00, 10:12:00, 202, 10:10:00, 10:11:30>
(28) 2-6-3 <103, 10:10:00, 10:12:00, 203, 10:10:45, 10:11:45>

以下、以上に説明したイベント処理によって第2のイベントペアバッファ105に登録された完成したイベントペアから、関連(同期)イベントに係るものを検索(抽出)する処理の一実施形態を説明する。   Hereinafter, an embodiment of processing for searching (extracting) a related (synchronous) event from completed event pairs registered in the second event pair buffer 105 by the event processing described above will be described.

[イベントペア検索]
最初に、第2の終了イベントE8の処理が完了した段階でのイベントペアの検索を説明する。この段階では、第2のイベントペアバッファ105には、
2-1-3<101,10:00:00,10:02:30,201,10:00:30,10:02:00>
2-2-3<101,10:03:00,10:03:30,202,10:03:15,10:03:45>
が登録されている。イベントペア検索部116(図1)は、このうちから、検索条件1として、
1S ≦t2S ≦t2E ≦t1E(式(1))
の関係を満たすような第2のイベントペアを検索(抽出)する。ここで、t1S、t2S、t2E及びt1Eは、それぞれ第1の開始時刻、第2の開始時刻、第2の終了時刻及び第1の終了時刻である。
[Event Pair Search]
First, a search for an event pair at the stage where the processing of the second end event E8 is completed will be described. At this stage, the second event pair buffer 105 contains
2-1-3 <101, 10:00:00, 10:02:30, 201, 10:00:30, 10:02:00>
2-2-3 <101, 10:03:00, 10:03:30, 202, 10:03:15, 10:03:45>
Is registered. The event pair search unit 116 (FIG. 1)
t 1S ≦ t 2S ≦ t 2E ≦ t 1E (Formula (1))
A second event pair that satisfies the above relationship is searched (extracted). Here, t 1S , t 2S , t 2E, and t 1E are a first start time, a second start time, a second end time, and a first end time, respectively.

イベントペア検索部116は、上式(1)を満たすのがイベントペア2-1-3であるので、イベントペア2-1-3を検索(抽出)する。   The event pair search unit 116 searches (extracts) the event pair 2-1-3 because the event pair 2-1-3 satisfies the above formula (1).

次いで、第2の終了イベントE14の処理が完了した段階でのイベントペアの検索処理を説明する。この段階では、第2のイベントペアバッファ105には、
2-1-3<101,10:00:00,10:02:30,201,10:00:30,10:02:00>
2-2-3<101,10:03:00,10:03:30,202,10:03:15,10:03:45>
2-3-3<102,10:05:00,10:08:00,202,10:06:30,10:08:00>
2-4-3<103,10:06:00,10:08:30,202,10:06:30,10:08:00>
が登録されている。このうち、上式(1)t1S ≦t2S ≦t2E ≦t1Eを満たすのは、イベントペア2-1-3、2-3-3及び2-4-3の3つである。
Next, an event pair search process at the stage where the process of the second end event E14 is completed will be described. At this stage, the second event pair buffer 105 contains
2-1-3 <101, 10:00:00, 10:02:30, 201, 10:00:30, 10:02:00>
2-2-3 <101, 10:03:00, 10:03:30, 202, 10:03:15, 10:03:45>
2-3-3 <102, 10:05:00, 10:08:00, 202, 10:06:30, 10:08:00>
2-4-3 <103, 10:06:00, 10:08:30, 202, 10:06:30, 10:08:00>
Is registered. Among these, three event pairs 2-1-3, 2-3-3, and 2-4-3 satisfy the above formula (1) t 1S ≦ t 2S ≦ t 2E ≦ t 1E .

ここで、さらに、上式(1)の検索条件1に加えて、更に以下に説明する検索条件2を設定する。   Here, in addition to the search condition 1 of the above formula (1), a search condition 2 described below is further set.

図6は、イベントペア検索部116で実施される検索処理の一実施形態を説明するための模式図である。   FIG. 6 is a schematic diagram for explaining an embodiment of a search process performed by the event pair search unit 116.

図6によれば、t1S、t2S、t2E及びt1Eを、それぞれ第1の開始時刻、第2の開始時刻、第2の終了時刻及び第1の終了時刻とし、
(a)T1=t1E−t1S、(b)T2=t1E−t2S
(c)T3=t2E−t2S、(d)T4=t2E−t1S
とした場合に、検索条件2として、
(29) T2/T1が最大又は所定閾値以上である、
(30) T3/T1が最大又は所定閾値以上である、又は
(31) T4/T1が最大又は所定閾値以上である、又は
(32) T3/T2が最大又は所定閾値以上である、又は
(33) T3/T4が最大又は所定閾値以上である
が挙げられている。これは、イベントペア検索部116(図1)が、第2のイベントペアバッファ105に記憶された第2のイベントペアのうち、第1の開始イベントに係る時刻(開始時刻t1S)から第1の終了イベントに係る時刻(終了時刻t1E)までの時間間隔と、第2の開始イベントに係る時刻(開始時刻t2S)から第2の終了イベントに係る時刻(終了時刻t2E)までの時間間隔との重畳の度合いが、最大である又は所定閾値以上であるような第2のイベントペアを検索することを意味する。
According to FIG. 6, t 1S , t 2S , t 2E and t 1E are respectively defined as a first start time, a second start time, a second end time and a first end time,
(A) T1 = t 1E -t 1S, (b) T2 = t 1E -t 2S,
(C) T3 = t 2E -t 2S, (d) T4 = t 2E -t 1S
As a search condition 2,
(29) T2 / T1 is a maximum or a predetermined threshold or more,
(30) T3 / T1 is maximum or above a predetermined threshold, or (31) T4 / T1 is maximum or above a predetermined threshold, or (32) T3 / T2 is maximum or above a predetermined threshold, or (33) ) It is mentioned that T3 / T4 is maximum or above a predetermined threshold. This is because the event pair search unit 116 (FIG. 1) starts from the time (start time t 1S ) related to the first start event among the second event pairs stored in the second event pair buffer 105. The time interval until the time related to the end event (end time t 1E ) and the time from the time related to the second start event (start time t 2S ) to the time related to the second end event (end time t 2E ) This means searching for a second event pair whose degree of overlap with the interval is the maximum or equal to or greater than a predetermined threshold.

本実施形態では、検索条件2として、上式(29)の「T2/T1が最大である」を採用する。ここで、検索条件1を満たすとして抽出された3つのイベントペア2-1-3、2-3-3及び2-4-3について、T2/T1を算出すると、それぞれ、
2-1-3:120(秒)/150(秒)=0.8
2-3-3:90(秒)/180(秒)=0.5
2-4-3:120(秒)/150(秒)=0.8
となる。T2/T1が最大となるのはイベントペア2-1-3及び2-4-3であるので、イベントペア2-1-3及びイベントペア2-4-3が検索される。
In this embodiment, “T2 / T1 is the maximum” in the above equation (29) is adopted as the search condition 2. Here, when T2 / T1 is calculated for the three event pairs 2-1-3, 2-3-3 and 2-4-3 extracted as satisfying the search condition 1,
2-1-3: 120 (seconds) / 150 (seconds) = 0.8
2-3-3: 90 (seconds) / 180 (seconds) = 0.5
2-4-3: 120 (seconds) / 150 (seconds) = 0.8
It becomes. Since the event pair 2-1-3 and 2-4-3 has the maximum T2 / T1, the event pair 2-1-3 and the event pair 2-4-3 are searched.

この検索条件1及び2を満たすとして検索されたイベントペア2-1-3及び2-4-3は、確定イベントペアリスト登録部106(図1)に登録される。
2-1-3<101,10:00:00,10:02:30,201,10:00:30,10:02:00>
2-4-3<103,10:06:00,10:08:30,202,10:06:30,10:08:00>
Event pairs 2-1-3 and 2-4-3 searched for satisfying the search conditions 1 and 2 are registered in the confirmed event pair list registration unit 106 (FIG. 1).
2-1-3 <101, 10:00:00, 10:02:30, 201, 10:00:30, 10:02:00>
2-4-3 <103, 10:06:00, 10:08:30, 202, 10:06:30, 10:08:00>

次いで、第2の終了イベントE20の処理が完了した段階でのイベントペアの検索を説明する。この段階では、第2のイベントペアバッファ105には、さらに、イベントペア2-3-3、2-4-3、2-5-3及び2-6-3が登録されるから、結局、第2のイベントペアバッファ105には、
2-1-3<101,10:00:00,10:02:30,201,10:00:30,10:02:00>
2-2-3<101,10:03:00,10:03:30,202,10:03:15,10:03:45>
2-3-3<102,10:05:00,10:08:00,202,10:06:30,10:08:00>
2-4-3<103,10:06:00,10:08:30,202,10:06:30,10:08:00>
2-5-3<103,10:10:00,10:12:00,202,10:10:00,10:11:30>
2-6-3<103,10:10:00,10:12:00,203,10:10:45,10:11:45>
が登録されている。
Next, a search for an event pair at the stage where the processing of the second end event E20 is completed will be described. At this stage, event pairs 2-3-3, 2-4-3, 2-5-3 and 2-6-3 are registered in the second event pair buffer 105. 2 event pair buffer 105
2-1-3 <101, 10:00:00, 10:02:30, 201, 10:00:30, 10:02:00>
2-2-3 <101, 10:03:00, 10:03:30, 202, 10:03:15, 10:03:45>
2-3-3 <102, 10:05:00, 10:08:00, 202, 10:06:30, 10:08:00>
2-4-3 <103, 10:06:00, 10:08:30, 202, 10:06:30, 10:08:00>
2-5-3 <103, 10:10:00, 10:12:00, 202, 10:10:00, 10:11:30>
2-6-3 <103, 10:10:00, 10:12:00, 203, 10:10:45, 10:11:45>
Is registered.

これらのうち、検索条件1としてt1S ≦t2S ≦t2E ≦t1E(式(1))を満たすのは、イベントペア2-1-3、2-3-3、2-4-3、2-5-3及び2-6-3である。 Among these, it is event pairs 2-1-3, 2-3-3, 2-4-3 that satisfy t 1S ≦ t 2S ≦ t 2E ≦ t 1E (formula (1)) as the search condition 1. 2-5-3 and 2-6-3.

さらに、これらの検索条件1を満たすもののうち、イベントペア2-1-3及び2-4-3は、上述したように既に確定イベントペアリスト登録部106に確定イベントペアとして登録されている。   Further, among those satisfying these search conditions 1, event pairs 2-1-3 and 2-4-3 are already registered in the confirmed event pair list registration unit 106 as confirmed event pairs as described above.

(イベントペア検索部116において確定イベントペアを考慮しない場合)
ここで、イベントペア検索部116での検索処理において、確定イベントペアを考慮せずに検索を行う場合を説明する。この場合、イベントペア2-1-3、2-3-3、2-4-3、2-5-3及び2-6-3についてT2/T1を算出すると、それぞれ
2-1-3:120(秒)/150(秒)=0.8
2-3-3:90(秒)/180(秒)=0.5
2-4-3:120(秒)/150(秒)=0.8
2-5-3:120(秒)/120(秒)=1.0
2-6-3:75(秒)/120(秒)=0.625
となる。T2/T1が最大となるのはイベントペア2-5-3であるので、イベントペア2-5-3が検索される。
(When the confirmed event pair is not considered in the event pair search unit 116)
Here, a case will be described in which the search is performed without considering the confirmed event pair in the search processing in the event pair search unit 116. In this case, calculating T2 / T1 for event pairs 2-1-3, 2-3-3, 2-4-3, 2-5-3 and 2-6-3,
2-1-3: 120 (seconds) / 150 (seconds) = 0.8
2-3-3: 90 (seconds) / 180 (seconds) = 0.5
2-4-3: 120 (seconds) / 150 (seconds) = 0.8
2-5-3: 120 (seconds) / 120 (seconds) = 1.0
2-6-3: 75 (seconds) / 120 (seconds) = 0.625
It becomes. Since the event pair 2-5-3 has the maximum T2 / T1, the event pair 2-5-3 is searched.

(イベントペア検索部116において第1のイベント識別子又は第2のイベント識別子を検索キーとする場合)
さらに、イベントペア検索部116での検索処理において、第1のイベント識別子又は第2のイベント識別子を検索キーとする場合を説明する。この場合、検索条件2を、第2のイベントペアバッファ105全体に適用するのではなく、第2のイベントペアバッファ105における第1のイベント識別子の各々に適用してもよい。即ち、検索条件2として上式(29)を採用した場合、第2のイベントペアバッファ105における第1のイベント識別子の各々について「T2/T1が最大である」第2のイベントペアを検索してもよい。この場合、先に説明した実施形態では、第2のイベントペアバッファ105における第1のイベント識別子は101、102及び103であるので、各々について「T2/T1が最大である」第2のイベントペアとして、2-1-3、2-3-3及び2-5-3が検索されることになる。また、変更態様として、第2のイベントペアバッファ105における第2のイベント識別子の各々に対して検索条件2を適用してもよく、この場合にも以上に説明したのと同様の処理が行われる。例えば、先に説明した実施形態では、第2のイベントペアバッファ105における第2のイベント識別子は201、202及び203であるので、各々について「T2/T1が最大である」第2のイベントペアとして、2-1-3、2-4-3及び2-5-3が検索される。
(When the event pair search unit 116 uses the first event identifier or the second event identifier as a search key)
Further, a case where the first event identifier or the second event identifier is used as a search key in the search processing in the event pair search unit 116 will be described. In this case, the search condition 2 may not be applied to the entire second event pair buffer 105 but may be applied to each of the first event identifiers in the second event pair buffer 105. That is, when the above formula (29) is adopted as the search condition 2, the second event pair “T2 / T1 is maximum” is searched for each of the first event identifiers in the second event pair buffer 105. Also good. In this case, in the above-described embodiment, since the first event identifiers in the second event pair buffer 105 are 101, 102, and 103, the second event pair “T2 / T1 is maximum” for each of them. As a result, 2-1-3, 2-3-3 and 2-5-3 are retrieved. As a change mode, the search condition 2 may be applied to each of the second event identifiers in the second event pair buffer 105. In this case, the same processing as described above is performed. . For example, in the embodiment described above, the second event identifiers in the second event pair buffer 105 are 201, 202, and 203, so that each of the second event pairs “T2 / T1 is the maximum” , 2-1-3, 2-4-3 and 2-5-3 are searched.

次いで、先に説明した実施形態において、イベントペア検索部116(図1)は、検索した第2のイベントペアを確定イベントペアリスト登録部106に記憶させた上で、新たな検索の際、検索した第2のイベントペアのうち、
(a)確定イベントペアリスト登録部106に既に記憶された第2の登録済イベントペア、並びに
(b)第2の登録済イベントペアに含まれる第1のイベント識別子及び第2のイベント識別子の少なくとも1つに相当する識別子を有する第2のイベントペア
を、検索結果から除外する。
Next, in the above-described embodiment, the event pair search unit 116 (FIG. 1) stores the searched second event pair in the confirmed event pair list registration unit 106 and performs a search when performing a new search. Of the second event pair
(A) a second registered event pair already stored in the confirmed event pair list registration unit 106; and (b) at least a first event identifier and a second event identifier included in the second registered event pair. A second event pair having an identifier corresponding to one is excluded from the search results.

具体的には、イベントペア2-1-3及び2-4-3が既に登録されているので、
(a)イベントペア2-1-3及び2-4-3と、
(b)イベントペア2-1-3及び2-4-3を構成する第1のイベント識別子"101"及び"102"、並びに第2のイベント識別子"201"及び"202"のいずれかを含むイベントペア2-2-3、2-3-3及び2-5-3と
は、検索結果から除外される。その結果、イベントペア2-6-3
2-6-3<103,10:10:00,10:12:00,203,10:10:45,10:11:45>
が検索される。
Specifically, since event pairs 2-1-3 and 2-4-3 are already registered,
(A) Event pair 2-1-3 and 2-4-3;
(B) including any one of the first event identifiers “101” and “102” and the second event identifiers “201” and “202” constituting the event pairs 2-1-3 and 2-4-3 The event pairs 2-2-3, 2-3-3 and 2-5-3 are excluded from the search results. As a result, event pair 2-6-3
2-6-3 <103, 10:10:00, 10:12:00, 203, 10:10:45, 10:11:45>
Is searched.

これにより、
(ア)第1の開始イベントE15及び第1の終了イベントE20で示される第1のイベント(識別子"103")と、第2の開始イベントE17及び第2の終了イベントE19で示される第2のイベント(識別子"203")とは、互いに関連するイベントであることが決定される。
This
(A) The first event (identifier “103”) indicated by the first start event E15 and the first end event E20, and the second event indicated by the second start event E17 and the second end event E19. The event (identifier “203”) is determined to be an event related to each other.

(確定イベントペアリストのうち、第1のイベント識別子及び第2のイベント識別子のいずれか一方のみを参照する除外条件)
尚、イベントペア検索部116(図1)は、除外条件として、上記(b)に代えて、
(b’)第2の登録済イベントペアに含まれる第1のイベント識別子に相当する識別子を有する第2のイベントペア、又は
(b’’)第2の登録済イベントペアに含まれる第2のイベント識別子に相当する識別子を有する第2のイベントペア
を採用してもよい。
(Exclusion condition that refers to only one of the first event identifier and the second event identifier in the confirmed event pair list)
The event pair search unit 116 (FIG. 1) replaces the above (b) as an exclusion condition.
(B ′) a second event pair having an identifier corresponding to the first event identifier included in the second registered event pair, or (b ″) a second event pair included in the second registered event pair. A second event pair having an identifier corresponding to the event identifier may be employed.

ここで、イベントペア2-1-3及び2-4-3も既に確定イベントペアリスト登録部106に登録されているので、これにより、
(イ)第1の開始イベントE1及び第1の終了イベントE4で示される第1のイベント(識別子"101")と、第2の開始イベントE2及び第2の終了イベントE3で示される第2のイベント(識別子"201")とは、互いに関連するイベントであることが決定され、さらに、
(ウ)第1の開始イベントE10及び第1の終了イベントE14で示される第1のイベント(識別子"103")と、第2の開始イベントE11及び第2の終了イベントE13で示される第2のイベント(識別子"202")とは、互いに関連するイベントであることが決定される。
Here, since the event pairs 2-1-3 and 2-4-3 are already registered in the confirmed event pair list registration unit 106,
(A) a first event (identifier “101”) indicated by a first start event E1 and a first end event E4, and a second event indicated by a second start event E2 and a second end event E3 The event (identifier “201”) is determined to be an event related to each other, and
(C) the first event (identifier “103”) indicated by the first start event E10 and the first end event E14, and the second event indicated by the second start event E11 and the second end event E13. The event (identifier “202”) is determined to be an event related to each other.

以上、詳細に説明したように、本発明の関連イベント抽出プログラム、装置及び方法によれば、互いに異なる種類の第1のイベントストリーム及び第2のイベントストリームのそれぞれから、第1のイベント及び第2のイベントを取得し、バッファを利用して、互いに関連するイベント又は関連するイベント候補であるイベントペアを生成することができる。また、このようなイベントペアを生成する際に、単純に第1のイベントに係る時刻に近接した時刻を有する第2のイベントを抽出しているのではなく、時間の包含関係を担保し得る形でイベントペアを生成している。これにより、イベントに係る時間の単純な近接度に拘泥せずに、互いに関連するイベントを抽出することが可能となるのである。   As described above in detail, according to the related event extraction program, apparatus, and method of the present invention, the first event and the second event from the different types of the first event stream and the second event stream, respectively. And a buffer is used to generate an event pair that is a related event or a related event candidate. In addition, when generating such an event pair, the second event having a time close to the time related to the first event is not simply extracted, but the inclusion relationship of time can be secured. The event pair is generated with. As a result, events related to each other can be extracted without being concerned with the simple proximity of the time related to the event.

さらに、関連する(同期する)イベントを、バッファという比較的少ない記憶領域を利用して、比較的短い処理時間で抽出することができる。即ち、イベントの時間の包含関係を満たさないイベントペアはバッファに登録しないように制御されるため、必要な記憶領域が小さくて済む。さらに、イベントペアを検索する場合も、バッファに登録されたイベントペアのみを検索対象とするので、検索処理時間も短縮することができる。   Furthermore, related (synchronized) events can be extracted in a relatively short processing time by using a relatively small storage area called a buffer. In other words, event pairs that do not satisfy the event time inclusion relationship are controlled so as not to be registered in the buffer, so that a small storage area is required. Further, when searching for an event pair, only the event pair registered in the buffer is set as a search target, so that the search processing time can be shortened.

因みに、第1のイベントストリーム及び第2のイベントストリームをもたらす互いに異なる情報源としては、出力される位置情報における精度や粒度の異なる複数の測位手段や、店頭システム及び基幹システム、さらには、認証サーバ及びアプリケーションサーバや、複数の異なる事業者の管理するデータベース等、種々の形態のものが挙げられる。このうち、認証サーバ及びアプリケーションサーバといった、サーバが別々の管理下で構築されている場合においても、本発明によれば、例えばマーケティングや障害対応等を目的として、統合的にこれらのサーバを分析することができる。さらに、本発明によって、複数の事業者のデータベースの間の連携(関連)を調べることによって、例えば、好適なレコメンデーションサービスを提供したり、発生場所の特定し難い障害の原因を分析したりすることも可能となる。   Incidentally, as different information sources that cause the first event stream and the second event stream, there are a plurality of positioning means with different accuracy and granularity in the output position information, a storefront system and a backbone system, and an authentication server. And various forms such as an application server and a database managed by a plurality of different operators. Of these, even when the servers such as the authentication server and the application server are constructed under different management, according to the present invention, these servers are analyzed in an integrated manner for the purpose of, for example, marketing or failure handling. be able to. Furthermore, according to the present invention, for example, a suitable recommendation service is provided or the cause of a failure in which the occurrence location is difficult to identify is analyzed by examining the linkage (association) between a plurality of business operators' databases. It is also possible.

また、本発明によれば、1つの実施形態として、異なる種類の機器・システムにおけるイベントログ同士のID(識別子)を紐付けて、迅速に同期するIDを検索することも可能となる。これにより、例えば、通信サービス間のIDを連携させたり、ネットワーク機器間の連携を行ったりすることもできる。さらに、今後大きく進展することが予想されるIoT(Internet of Things)の分野でも、多数の機器・デバイスから出力される情報の関連性の調査を、比較的少ない記憶領域を利用して比較的短い時間で処理することが可能となるのである。   Further, according to the present invention, as one embodiment, IDs (identifiers) of event logs in different types of devices / systems can be linked to quickly search for IDs to be synchronized. Thereby, for example, IDs between communication services can be linked, or network devices can be linked. Furthermore, even in the field of IoT (Internet of Things), which is expected to make great progress in the future, research on the relevance of information output from a large number of devices and devices is relatively short using a relatively small storage area. It becomes possible to process in time.

以上に述べた本発明の種々の実施形態について、本発明の技術思想及び見地の範囲内での種々の変更、修正及び省略は、当業者によれば容易に行うことができる。以上に述べた説明はあくまで例示であって、何ら制約を意図するものではない。本発明は、特許請求の範囲及びその均等物によってのみ制約される。   Various changes, modifications, and omissions of the various embodiments of the present invention described above within the scope of the technical idea and the viewpoint of the present invention can be easily made by those skilled in the art. The above description is merely an example, and is not intended to be any limitation. The present invention is limited only by the claims and the equivalents thereof.

1 関連イベント抽出装置
101 通信インタフェース
102 第1のストリームバッファ
103 第2のストリームバッファ
104 第1のイベントペアバッファ
105 第2のイベントペアバッファ
106 確定イベントペアリスト登録部
107 ディスプレイ(DP)
111 イベント取得部
112 第1のイベントペア登録部
113 イベントペア送出部
114 第2のイベントペア登録部
115 イベントペア更新部
116 イベントペア検索部
117 アプリケーション
DESCRIPTION OF SYMBOLS 1 Related event extraction apparatus 101 Communication interface 102 1st stream buffer 103 2nd stream buffer 104 1st event pair buffer 105 2nd event pair buffer 106 Confirmed event pair list registration part 107 Display (DP)
111 Event acquisition unit 112 First event pair registration unit 113 Event pair transmission unit 114 Second event pair registration unit 115 Event pair update unit 116 Event pair search unit 117 Application

Claims (13)

異なる種類のイベントストリームのイベントに係る情報を取得可能な装置に搭載されたコンピュータを機能させる、互いに関連するイベントを抽出するプログラムであって、
前記装置は、当該イベントの有するイベント識別子と、当該イベントの時刻に係る情報とを記憶可能なバッファを有し、
前記プログラムは、
第1のイベントストリームに係る第1の開始イベントを取得した際、該第1の開始イベントの有する第1のイベント識別子と、該第1の開始イベントの時刻に係る情報とを含む第1のイベントペアを、前記バッファに記憶させる第1のイベントペア登録手段と、
第2のイベントストリームに係る第2のイベントを取得した際、該第2のイベントの有する第2のイベント識別子と、該第2のイベントの時刻に係る情報とを、前記バッファに記憶された又は前記バッファから読み出した第1のイベントペアに書き込んだ上で、該第1のイベントペアを、関連するイベント又はイベント候補を示す第2のイベントペアとして出力するイベントペア送出手段と、
第1のイベントストリームに係る第1の終了イベントを取得した際、前記バッファに記憶された第1のイベントペアのうち、該第1の終了イベントの有する第1のイベント識別子に相当する識別子を含む第1のイベントペアを削除するイベントペア更新手段と
してコンピュータを機能させることを特徴とする関連イベント抽出プログラム。
A program for extracting events related to each other, causing a computer mounted on an apparatus capable of acquiring information related to events of different types of event streams to function.
The device has a buffer capable of storing an event identifier of the event and information related to the time of the event,
The program is
When the first start event related to the first event stream is acquired, the first event includes the first event identifier of the first start event and the information related to the time of the first start event First event pair registration means for storing a pair in the buffer;
When the second event related to the second event stream is acquired, the second event identifier of the second event and the information related to the time of the second event are stored in the buffer or Event pair sending means for writing the first event pair read from the buffer and outputting the first event pair as a second event pair indicating a related event or event candidate;
When the first end event related to the first event stream is acquired, an identifier corresponding to the first event identifier of the first end event is included in the first event pair stored in the buffer. A related event extraction program for causing a computer to function as an event pair update means for deleting a first event pair.
前記装置は、当該第2のイベントペアを記憶可能な第2のバッファを更に有し、
前記プログラムは、出力された第2のイベントペアを前記第2のバッファに記憶させる第2のイベントペア登録手段としてコンピュータを更に機能させ、
前記イベントペア更新手段は、第1の終了イベントを取得した際、前記第2のバッファに記憶された第2のイベントペアのうち、該第1の終了イベントの有する第1のイベント識別子に相当する識別子を含む第2のイベントペアに対し、該第1の終了イベントの時刻に係る情報を書き込む
ことを特徴とする請求項1に記載の関連イベント抽出プログラム。
The apparatus further includes a second buffer capable of storing the second event pair,
The program further causes the computer to function as second event pair registration means for storing the output second event pair in the second buffer,
The event pair update unit corresponds to the first event identifier of the first end event among the second event pairs stored in the second buffer when the first end event is acquired. The related event extraction program according to claim 1, wherein information related to the time of the first end event is written into a second event pair including an identifier.
前記イベントペア送出手段は、第2のイベントストリームに係る第2の開始イベントを取得した際、該第2の開始イベントの有する第2のイベント識別子と、該第2の開始イベントの時刻に係る情報とを、前記バッファに記憶された又は前記バッファから読み出した第1のイベントペアに書き込んだ上で、該第1のイベントペアを、第2のイベントペアとして前記第2のイベントペア登録手段へ出力し、
前記イベントペア更新手段は、第2のイベントストリームに係る第2の終了イベントを取得した際、前記第2のバッファに記憶された第2のイベントペアのうち、該第2の終了イベントの有する第2のイベント識別子に相当する識別子を含む第2のイベントペアに対し、該第2の終了イベントの時刻に係る情報を書き込む
ことを特徴とする請求項2に記載の関連イベント抽出プログラム。
When the event pair sending means acquires the second start event related to the second event stream, the second event identifier of the second start event and the information related to the time of the second start event Are written in the first event pair stored in the buffer or read from the buffer, and the first event pair is output as the second event pair to the second event pair registration means. And
The event pair update unit obtains the second end event of the second end event stored in the second buffer when the second end event related to the second event stream is acquired. The related event extraction program according to claim 2, wherein information related to the time of the second end event is written to a second event pair including an identifier corresponding to the event identifier of 2.
前記イベントペア更新手段は、第2のイベントストリームに係る第2の終了イベントを取得した際、記憶された第1のイベントペアのうち、該第2の終了イベントの有する第2のイベント識別子に相当する識別子を含む第1のイベントペアを削除することを特徴とする請求項2又は3に記載の関連イベント抽出プログラム。   The event pair update unit corresponds to the second event identifier of the second end event among the stored first event pairs when the second end event related to the second event stream is acquired. The related event extraction program according to claim 2 or 3, wherein the first event pair including the identifier to be deleted is deleted. 第2のバッファに記憶された第2のイベントペアのうち、第2のイベントに係る時刻が、第1の開始イベントに係る時刻と第1の終了イベントに係る時刻との間となっているような第2のイベントペアを検索するイベントペア検索手段として、コンピュータを更に機能させることを特徴とする請求項2から4のいずれか1項に記載の関連イベント抽出プログラム。   Of the second event pair stored in the second buffer, the time related to the second event is between the time related to the first start event and the time related to the first end event. The related event extraction program according to any one of claims 2 to 4, further comprising a computer functioning as event pair search means for searching for a second event pair. 第2のバッファに記憶された第2のイベントペアのうち、第2の開始イベントに係る時刻及び第2の終了イベントに係る時刻が、第1の開始イベントに係る時刻と第1の終了イベントに係る時刻との間となっているような第2のイベントペアを検索するイベントペア検索手段として、コンピュータを更に機能させることを特徴とする請求項3に記載の関連イベント抽出プログラム。   Of the second event pair stored in the second buffer, the time related to the second start event and the time related to the second end event are the time related to the first start event and the first end event. 4. The related event extraction program according to claim 3, further comprising a computer functioning as event pair search means for searching for a second event pair that falls between such times. 第2のバッファに記憶された第2のイベントペアのうち、第1の開始イベントに係る時刻から第1の終了イベントに係る時刻までの時間間隔と、第2の開始イベントに係る時刻から第2の終了イベントに係る時刻までの時間間隔との重畳の度合いが、最大である又は所定閾値以上であるような第2のイベントペアを検索するイベントペア検索手段として、コンピュータを更に機能させることを特徴とする請求項3又は6に記載の関連イベント抽出プログラム。   Of the second event pair stored in the second buffer, the time interval from the time related to the first start event to the time related to the first end event, and the second from the time related to the second start event. The computer is further caused to function as event pair search means for searching for a second event pair whose degree of overlap with the time interval up to the time related to the end event is maximum or equal to or greater than a predetermined threshold. The related event extraction program according to claim 3 or 6. 第2のバッファに記憶された第2のイベントペアに含まれる第1のイベント識別子の各々について、又は当該第2のイベントペアに含まれる第2のイベント識別子の各々について、第1の開始イベントに係る時刻から第1の終了イベントに係る時刻までの時間間隔と、第2の開始イベントに係る時刻から第2の終了イベントに係る時刻までの時間間隔との重畳の度合いが、最大である又は所定閾値以上であるような第2のイベントペアを検索するイベントペア検索手段として、コンピュータを更に機能させることを特徴とする請求項3又は6に記載の関連イベント抽出プログラム。   For each of the first event identifiers included in the second event pair stored in the second buffer, or for each of the second event identifiers included in the second event pair, the first start event The degree of superimposition of the time interval from the time related to the time related to the first end event and the time interval from the time related to the second start event to the time related to the second end event is the maximum or predetermined The related event extraction program according to claim 3 or 6, further comprising a computer functioning as event pair search means for searching for a second event pair that is equal to or greater than a threshold value. 前記装置は、第2のイベントペアを記憶可能な確定イベントペアリスト登録部を更に有し、
前記イベントペア検索手段は、
検索した第2のイベントペアを前記確定イベントペアリスト登録部に記憶させ、
新たな検索の際、検索した第2のイベントペアのうち、前記確定イベントペアリスト登録部に既に記憶された第2の登録済イベントペア、並びに該第2の登録済イベントペアに含まれる第1のイベント識別子及び第2のイベント識別子の少なくとも1つに相当する識別子を有する第2のイベントペアを、検索結果から除外する
ことを特徴とする請求項5から8のいずれか1項に記載の関連イベント抽出プログラム。
The apparatus further includes a confirmed event pair list registration unit capable of storing a second event pair,
The event pair search means includes:
Storing the searched second event pair in the confirmed event pair list registration unit;
In a new search, out of the searched second event pairs, the second registered event pair already stored in the confirmed event pair list registration unit, and the first registered in the second registered event pair 9. The association according to claim 5, wherein a second event pair having an identifier corresponding to at least one of the event identifier and the second event identifier is excluded from the search result. Event extraction program.
前記イベントペア送出手段は、取得された第2のイベントの有する第2のイベント識別子と、該第2のイベントの時刻に係る情報とを、第1のイベント識別子と第2のイベント識別子とが所定の取り決めの下で合致又は対応するような全ての第1のイベントペアに書き込んだ上で、該全ての第1のイベントペアを出力することを特徴とする請求項1から9のいずれか1項に記載の関連イベント抽出プログラム。   The event pair sending means includes a second event identifier of the acquired second event and information related to the time of the second event, wherein the first event identifier and the second event identifier are predetermined. 10. All the first event pairs are output after writing to all the first event pairs that match or correspond under the agreement of claim 1. Related event extraction program described in 1. 前記第1のイベントペア登録手段は、当該第1のイベントペアを前記バッファに記憶させる際、該第1のイベントペアに対して後に書き込まれる可能性のある情報のための記憶領域は確保させないことを特徴とする請求項1から10のいずれか1項に記載の関連イベント抽出プログラム。   When the first event pair registration unit stores the first event pair in the buffer, the first event pair registration unit does not reserve a storage area for information that may be written later to the first event pair. The related event extraction program according to claim 1, wherein: 異なる種類のイベントストリームのイベントに係る情報を取得可能であり、互いに関連するイベントを抽出する装置であって、
当該イベントの有するイベント識別子と、当該イベントの時刻に係る情報とを記憶可能なバッファと、
第1のイベントストリームに係る第1の開始イベントを取得した際、該第1の開始イベントの有する第1のイベント識別子と、該第1の開始イベントの時刻に係る情報とを含む第1のイベントペアを、前記バッファに記憶させる第1のイベントペア登録手段と、
第2のイベントストリームに係る第2のイベントを取得した際、該第2のイベントの有する第2のイベント識別子と、該第2のイベントの時刻に係る情報とを、前記バッファに記憶された又は前記バッファから読み出した第1のイベントペアに書き込んだ上で、該第1のイベントペアを、関連するイベント又はイベント候補を示す第2のイベントペアとして出力するイベントペア送出手段と、
第1のイベントストリームに係る第1の終了イベントを取得した際、前記バッファに記憶された第1のイベントペアのうち、該第1の終了イベントの有する第1のイベント識別子に相当する識別子を含む第1のイベントペアを削除するイベントペア更新手段と
を有することを特徴とする関連イベント抽出装置。
It is a device that can acquire information related to events of different types of event streams and extracts events related to each other,
A buffer capable of storing an event identifier of the event and information related to the time of the event;
When the first start event related to the first event stream is acquired, the first event includes the first event identifier of the first start event and the information related to the time of the first start event First event pair registration means for storing a pair in the buffer;
When the second event related to the second event stream is acquired, the second event identifier of the second event and the information related to the time of the second event are stored in the buffer or Event pair sending means for writing the first event pair read from the buffer and outputting the first event pair as a second event pair indicating a related event or event candidate;
When the first end event related to the first event stream is acquired, an identifier corresponding to the first event identifier of the first end event is included in the first event pair stored in the buffer. An associated event extracting apparatus comprising: an event pair updating unit that deletes the first event pair.
異なる種類のイベントストリームのイベントに係る情報を取得可能な装置における、互いに関連するイベントを抽出する方法であって、
前記装置は、当該イベントの有するイベント識別子と、当該イベントの時刻に係る情報とを記憶可能なバッファを有し、
前記方法は、
第1のイベントストリームに係る第1の開始イベントを取得した際、該第1の開始イベントの有する第1のイベント識別子と、該第1の開始イベントの時刻に係る情報とを含む第1のイベントペアを、前記バッファに記憶させるステップと、
第2のイベントストリームに係る第2のイベントを取得した際、該第2のイベントの有する第2のイベント識別子と、該第2のイベントの時刻に係る情報とを、前記バッファに記憶された又は前記バッファから読み出した第1のイベントペアに書き込んだ上で、該第1のイベントペアを、関連するイベント又はイベント候補を示す第2のイベントペアとして出力するステップと、
第1のイベントストリームに係る第1の終了イベントを取得した際、前記バッファに記憶された第1のイベントペアのうち、該第1の終了イベントの有する第1のイベント識別子に相当する識別子を含む第1のイベントペアを削除するステップと
を有することを特徴とする関連イベント抽出方法。
A method for extracting events related to each other in an apparatus capable of acquiring information related to events of different types of event streams,
The device has a buffer capable of storing an event identifier of the event and information related to the time of the event,
The method
When the first start event related to the first event stream is acquired, the first event includes the first event identifier of the first start event and the information related to the time of the first start event Storing a pair in the buffer;
When the second event related to the second event stream is acquired, the second event identifier of the second event and the information related to the time of the second event are stored in the buffer or Writing to the first event pair read from the buffer, and outputting the first event pair as a second event pair indicating a related event or event candidate;
When the first end event related to the first event stream is acquired, an identifier corresponding to the first event identifier of the first end event is included in the first event pair stored in the buffer. And deleting the first event pair. A related event extracting method comprising:
JP2015182709A 2015-09-16 2015-09-16 Correlated event extraction program, apparatus and method Active JP6429755B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015182709A JP6429755B2 (en) 2015-09-16 2015-09-16 Correlated event extraction program, apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015182709A JP6429755B2 (en) 2015-09-16 2015-09-16 Correlated event extraction program, apparatus and method

Publications (2)

Publication Number Publication Date
JP2017058915A JP2017058915A (en) 2017-03-23
JP6429755B2 true JP6429755B2 (en) 2018-11-28

Family

ID=58391690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015182709A Active JP6429755B2 (en) 2015-09-16 2015-09-16 Correlated event extraction program, apparatus and method

Country Status (1)

Country Link
JP (1) JP6429755B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6997668B2 (en) * 2018-04-17 2022-01-17 Kddi株式会社 Related Events Integration Programs, Devices and Methods

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306364A (en) * 2000-04-18 2001-11-02 Ntt Comware Corp Transaction processing system and its recording medium
JP5200775B2 (en) * 2008-09-04 2013-06-05 富士通株式会社 Event data division processing program, apparatus and method
JP5298717B2 (en) * 2008-09-11 2013-09-25 富士通株式会社 Feature extraction method and apparatus
JP5516192B2 (en) * 2010-07-28 2014-06-11 富士通株式会社 Model creation device, model creation program, and model creation method

Also Published As

Publication number Publication date
JP2017058915A (en) 2017-03-23

Similar Documents

Publication Publication Date Title
JP6599906B2 (en) Login account prompt
CN106878262B (en) Message detection method and device, and method and device for establishing local threat information library
US11157652B2 (en) Obfuscation and deletion of personal data in a loosely-coupled distributed system
CN106126383B (en) A kind of log processing method and device
JP5729300B2 (en) Information management apparatus, information management method, and information management program
US20160140230A1 (en) Implicit Collaborative Searching Based on Search History Database
JP5146020B2 (en) Information processing apparatus, resource identification program, and resource identification method
US10474185B2 (en) Timestamp alignment across a plurality of computing devices
CN112153095A (en) CDN function module operation method, operation device, electronic equipment and storage medium
WO2017121355A1 (en) Search processing method and device
CN110555015A (en) Database entity management method and device, electronic equipment and storage medium
CN108228770A (en) A kind of method and device of application file source inquiry
CN104636437A (en) Event notification method and device and monitor processing method
US8352442B2 (en) Determination of an updated data source from disparate data sources
CN108093026A (en) The processing method and processing device of multi-tenant request
WO2015154625A1 (en) Timing event processing method, storage method, execution method and corresponding device
CN111177481B (en) User identifier mapping method and device
WO2022057525A1 (en) Method and device for data retrieval, electronic device, and storage medium
JP6429755B2 (en) Correlated event extraction program, apparatus and method
JP5463988B2 (en) Configuration information management apparatus, configuration information management program, and configuration information management method
CN106959975B (en) Transcoding resource cache processing method, device and equipment
CN110263060B (en) ERP electronic accessory management method and computer equipment
CN109389271B (en) Application performance management method and system
JP2005190221A (en) Cache control unit, its method, and computer program
US11057470B2 (en) Communication device and communication method for processing meta data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181018

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181030

R150 Certificate of patent or registration of utility model

Ref document number: 6429755

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150