JP6344009B2 - Information processing apparatus, program, and information processing method - Google Patents
Information processing apparatus, program, and information processing method Download PDFInfo
- Publication number
- JP6344009B2 JP6344009B2 JP2014070289A JP2014070289A JP6344009B2 JP 6344009 B2 JP6344009 B2 JP 6344009B2 JP 2014070289 A JP2014070289 A JP 2014070289A JP 2014070289 A JP2014070289 A JP 2014070289A JP 6344009 B2 JP6344009 B2 JP 6344009B2
- Authority
- JP
- Japan
- Prior art keywords
- event
- condition
- inter
- time
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は,情報処理装置,プログラム,情報処理方法に関する。 The present invention relates to an information processing apparatus, a program, and an information processing method.
時間や行動履歴や位置などの属性を有する事象情報(以下,イベントと適宜記す)を取得し,取得したイベントに各種処理を実行する情報処理装置が提案されている。かかる情報処理装置は,例えば,取得した複数のイベントの中から,予め設定されている前記属性に関する条件を満たすイベントを抽出する。そして,かかる情報処理装置は,前記した条件を満たす旨を出力する。 There has been proposed an information processing apparatus that acquires event information (hereinafter referred to as an event as appropriate) having attributes such as time, action history, and position, and executes various processes on the acquired event. Such an information processing apparatus extracts, for example, an event that satisfies a predetermined condition related to the attribute from a plurality of acquired events. Then, the information processing apparatus outputs that the above-described condition is satisfied.
かかる情報処理装置が,多数のイベントを取得し,取得した多数のイベントの中から,複数の条件を満たすイベントの抽出処理を実行する場合,処理速度が低下する。その結果,かかる情報処理装置は,前記した出力を迅速に行うことが困難になる。 When such an information processing apparatus acquires a large number of events and executes an event extraction process that satisfies a plurality of conditions from the acquired large number of events, the processing speed decreases. As a result, it becomes difficult for such an information processing apparatus to perform the above-described output quickly.
本発明の一つの側面では,取得したイベントが,所定の条件を満たすイベントである旨を迅速に出力することを目的とする。 An object of one aspect of the present invention is to quickly output that an acquired event is an event that satisfies a predetermined condition.
一つの側面では,複数の属性を有する事象情報を取得し,取得した前記事象情報が第1の前記属性に対応して定められた事象条件を満たす場合,取得した前記事象情報をメモリに記憶する処理部を有し,前記処理部は,前記事象情報を記憶する度に,前記第1の属性と前記第2の属性である時間と少なくとも2つの前記事象条件とに関連する事象間条件を満たす,前記メモリに記憶された記憶事象情報があるか判定し,前記事象間条件を満たす記憶事象情報があると,判定結果を出力することを特徴とする情報処理装置である。 In one aspect, event information having a plurality of attributes is acquired, and when the acquired event information satisfies an event condition defined in correspondence with the first attribute, the acquired event information is stored in a memory. An event related to the first attribute, the second attribute time, and at least two event conditions each time the event information is stored. It is an information processing apparatus that determines whether there is storage event information stored in the memory that satisfies an inter-event condition, and outputs a determination result if there is storage event information that satisfies the inter-event condition.
一つの側面によれば,取得したイベントが,所定の条件を満たすイベントである旨を迅速に出力することができる。 According to one aspect, it is possible to quickly output that the acquired event is an event that satisfies a predetermined condition.
[第1の実施の形態]
(情報処理装置のハードウェアブロック図)
図1は,第1の実施の形態の情報処理装置1のハードウェア構成を説明するブロック図の一例である。なお,以下の図の説明において,同じブロック,同じ構成については,同一の符号を付し,一度した説明を適宜省略する。
[First Embodiment]
(Hardware block diagram of information processing device)
FIG. 1 is an example of a block diagram illustrating a hardware configuration of the
情報処理装置1は,バスBに接続された,CPU(処理部)101と,RAM(メモリ)102と,ストレージ装置103と,外部記憶媒体読み取り装置104と,ネットワークインターフェイス105とを有する。なお,CPUは"Central Processing Unit"の略語である。RAMは"Random Access Memory"の略語である。以下,CPU(処理部)101をCPU101,RAM(メモリ)102をRAM102,ストレージ装置103をストレージ103と適宜記す。
The
CPU101は,情報処理装置1の全体を制御する中央演算処理装置である。RAM102は,CPU101が実行する処理や,リアルタイム処理ソフトSF1が実行する各ステップにおいて生成(算出)されたデータなどを一時的に記憶する。また,RAM102は,図3で説明するイベントを記憶する。RAM102は,例えばDRAM(Dynamic Random Access Memory)などの半導体メモリである。なお,RAM102内に示した内容については,後記する。
The
ストレージ103は,例えばハードディスクドライブ(HDD:Hard Disk Drive)や,ソリッドステートドライブ(SSD:Solid State Drive)などの大容量記憶装置である。ストレージ103は,リアルタイム処理ソフトSF1の実行ファイルを記憶する。CPU101は,情報処理装置1の起動時に,ストレージ103からリアルタイム処理ソフトSF1の実行ファイルを読み出し,RAM102に展開し,イベントが所定の条件を満たすか否かの判定をリアルタイムで実行(リアルタイム処理とも呼ぶ)する。なお,この実行ファイルを外部記憶媒体MDに記憶してもよい。
The
外部記憶媒体読み取り装置104は,外部記憶媒体MDに記憶されたデータを読み取る装置である。外部記憶媒体MDは,例えば,CD-ROM(Compact Disc Read Only Memory),DVD(Digital Versatile Disc)などの可搬型記憶媒体や,USBメモリなどの可搬型の不揮発性メモリである。
The external storage
ネットワークインターフェイス105は,例えばNIC(Network Interface Card)を有し,ネットワークNに対するインターフェイス機能を提供する。
The
(情報処理装置のソフトウェアブロック図)
図2は,図1の情報処理装置1のソフトウェア構成を説明するブロック図の一例である。
(Software block diagram of information processing device)
FIG. 2 is an example of a block diagram illustrating the software configuration of the
リアルタイム処理ソフトSF1は,条件読み取り部11,条件変換部12,データ読み取り部13,条件判定部14,グラフ管理部15,ノード削除部16,出力管理部17,出力部18を有する。
The real-time processing software SF1 includes a
条件読み取り部11は,ストレージ103に予め管理者などにより設定されているイベント条件,イベント間条件,タイムアウト,無条件タイムアウトを有する情報を読み出す。なお,この情報については,図5で説明する。条件変換部12は,イベント条件,イベント間条件,タイムアウト,無条件タイムアウトが条件判定部14により読み取れるようにイベント条件,イベント間条件,タイムアウト,無条件タイムアウトを変換し,RAM102に記憶する。
The
データ読み取り部13は,1つのイベントを外部のサーバから受信(取得とも呼ぶ)し,受信したイベントをバッファメモリ(図示しない)に一時的に上書き記憶する。このバッファメモリは,イベントを一時的に記憶するためのメモリであり,RAM102内の一部領域(図示しない)に設けてもよい。データ読み取り部13は,この1つのイベントを条件判定部14に入力する。
The
条件判定部14は,入力されたイベントが前記した条件を満たすか判定する。条件判定部14は,入力されたイベントがイベント条件(図5で説明する条件a〜条件d)を満たす場合,満たすイベント条件と対応してRAM102に定められた領域(例えば,条件aの候補102a,条件bの候補102b,条件cの候補102c,条件dの候補102d)に記憶する。
The
グラフ管理部15は,イベントがイベント条件を満たす場合や,イベントがイベント間条件を満たす場合,その旨をRAM102に記憶する。
When the event satisfies the event condition or when the event satisfies the inter-event condition, the
ノード削除部16は,条件判定部14がRAM102に記憶したイベントを削除する。出力管理部17は,イベントの出力処理全般を管理する。出力部18は,出力対象のイベントのデータを所定の出力形式(例えばHTML形式)に変換し,外部の表示装置(図示しない)に出力する。本実施の形態の具体例を説明する前に必要な内容を図3〜図6を参照して説明する。
The
(イベント)
図3は,イベントを模式的に示す図の一例である。イベントは,複数の属性を有する事象情報(事象レコードとも呼ぶ)の一例である。イベントは,例えば,ある時間における,ある対象の地球上での位置情報を示す。ここで,ある対象は人間である。イベントは,ある対象を一意に識別する識別子(ID:identifier)と,ある対象の地球上での位置情報とを有する。この位置情報は,例えば緯度,経度である。
(Event)
FIG. 3 is an example of a diagram schematically showing an event. An event is an example of event information (also referred to as an event record) having a plurality of attributes. The event indicates, for example, position information on a certain target earth at a certain time. Here, a certain subject is a human being. An event has an identifier (ID: identifier) that uniquely identifies a target and position information of the target on the earth. This position information is, for example, latitude and longitude.
イベントは,さらに,この位置情報が測定された時間,すなわち,前記したある時間を有する。この位置情報は,第1の属性の一例である。時間は,第2の属性の一例である。対象を一意に識別する識別子は,第3の属性の一例である。 The event further has a time when this position information is measured, that is, the certain time described above. This position information is an example of the first attribute. Time is an example of the second attribute. The identifier that uniquely identifies the target is an example of a third attribute.
図3に示すイベントテーブルにおける列は,図面左から順に,イベントの時間,イベントのID,イベントのエリア,スペースを示す。エリアおよびスペースは,位置情報を示す。例えば,図3の符号E1で示すイベントが1つのイベントを示している。なお,イベントE1〜イベントE5については,図6で説明する。 The columns in the event table shown in FIG. 3 indicate the event time, event ID, event area, and space in order from the left of the drawing. Area and space indicate position information. For example, the event indicated by E1 in FIG. 3 represents one event. The events E1 to E5 will be described with reference to FIG.
エリアは,緯度における時分の1分単位と,経度における時分の1分単位とで示される領域である。図3では,エリアの緯度の時分と経度の時分とを(Y1°Y2',X1°X2')形式で示す。" Y1°Y2'"は,緯度の時分を示し,"X1°X2'"は,経度の時分を示す。なお,エリアの具体例については,図4で説明する。 The area is an area indicated by 1 minute unit of hour in latitude and 1 minute unit of hour in longitude. In FIG. 3, the hour and minute of the latitude of the area and the hour and minute of the longitude are shown in the (Y1 ° Y2 ', X1 ° X2') format. "Y1 ° Y2 '" indicates the hour and minute of latitude, and "X1 ° X2'" indicates the hour and minute of longitude. A specific example of the area will be described with reference to FIG.
スペースは,緯度の秒と経度の秒とで示される部分である。図3では,エリアの緯度の秒と経度の秒とを(Y3”,X3”)形式で示す。Y3”は,緯度の秒を示し,X3”は,経度の秒を示す。 The space is the part indicated by the seconds of latitude and seconds of longitude. In FIG. 3, the latitude second and longitude second of the area are shown in (Y3 ″, X3 ″) format. Y3 "indicates the latitude second, and X3" indicates the longitude second.
例えば,時刻Tと,識別子ID0と,エリア(Y1°Y2',X1°X2')と,スペース(Y3”,X3”)とを有するイベントは,時間Tにおいて,識別子ID0で識別される人間が,位置(Y1°Y2' Y3”,X1°X2' X3”)にいることを示す。 For example, an event having a time T, an identifier ID0, an area (Y1 ° Y2 ', X1 ° X2'), and a space (Y3 ″, X3 ″) is a person identified by the identifier ID0 at time T. , Position (Y1 ° Y2'Y3 ", X1 ° X2'X3").
データ読み取り部13は,図3の矢印で示すように,図面上から順に外部サーバからイベントを順次取得する。
As indicated by the arrows in FIG. 3, the
(追跡検知)
図4は,本実施の形態の情報処理装置1が実行する追跡検知を説明する図である。以下,(35°35',139°38')〜(35°36',139°39')で示される領域(点線ハッチング参照)をエリアaまたはエリアbと記す。
(Tracking detection)
FIG. 4 is a diagram illustrating tracking detection performed by the
また,(35°34',139°37')〜(35°35',139°38')で示される領域(斜め線ハッチング参照)をエリアcまたはエリアdと記す。ただし,以下の説明では,エリアcまたはエリアdにおいて,(35°35',139°38')は含まないとする。 Further, an area indicated by (35 ° 34 ′, 139 ° 37 ′) to (35 ° 35 ′, 139 ° 38 ′) (see hatched hatching) is referred to as area c or area d. However, in the following description, it is assumed that (35 ° 35 ′, 139 ° 38 ′) is not included in area c or area d.
ここで,人間M1が,エリアa(換言すれば,エリアb)からエリアc(換言すれば,エリアd)に移動し,同じく,人間M2が,エリアa(換言すれば,エリアb)からエリアc(換言すれば,エリアd)に移動する状況を想定する。そして,人間M2は,人間M1の移動を追跡する人間であると想定する。人間M2は,いわゆるストーカ(stalker)である。 Here, human M1 moves from area a (in other words, area b) to area c (in other words, area d), and similarly, human M2 moves from area a (in other words, area b) to area c. Assume a situation of moving to c (in other words, area d). Then, it is assumed that the human M2 is a human who tracks the movement of the human M1. Human M2 is a so-called stalker.
人間M1,M2は,自身の位置情報を外部サーバに所定のタイミングで送信する通信端末を有する。この通信端末は,いわゆるGPS(Global Positioning System)機能を有し,現在位置を測定し,測定した位置情報と,測定時間と,端末自身を識別する端末識別子(ID)とを有するイベントを外部サーバに送信する。なお,測定した位置情報は,図3の例では,エリア,スペースであり,測定時間は,図3の例では,時間であり,端末識別子は,図3の例では,IDである。通信端末は,例えば,携帯電話機,スマートフォン(smartphone)である。 Humans M1 and M2 have communication terminals that transmit their position information to an external server at a predetermined timing. This communication terminal has a so-called GPS (Global Positioning System) function, measures the current position, and sends an event including the measured position information, measurement time, and terminal identifier (ID) identifying the terminal itself to an external server. Send to. The measured position information is an area and a space in the example of FIG. 3, the measurement time is time in the example of FIG. 3, and the terminal identifier is ID in the example of FIG. The communication terminal is, for example, a mobile phone or a smartphone.
外部サーバは,イベントを受信し,情報処理装置1に送信する。情報処理装置1は,受信したイベントに基づき,所定の条件を満たすイベントをリアルタイムで抽出し,抽出したイベントを出力する。図4の例では,情報処理装置1は,エリアa(換言すれば,エリアb)からエリアc(換言すれば,エリアd)に移動した人間と,この人間を追跡する人間とをリアルタイムで検知する。以下,この検知を追跡検知と適宜記す。追跡検知において,所定の条件は,カテゴリとして例えば2つの条件,すなわちイベント条件と,イベント間条件とを有する。
The external server receives the event and transmits it to the
(イベント条件,イベント間条件)
図5は,イベント条件,イベント間条件を説明する図である。このイベント条件は,図3で説明した第1の属性(例えば,位置情報)に対応して定められた事象条件の一例である。以下,イベント条件を条件と適宜記す。図5(A)は,条件a〜条件dを楕円で模式的に示す図である。図5(B)は,イベント間条件における時間差を示す図である。
(Event condition, inter-event condition)
FIG. 5 is a diagram for explaining event conditions and inter-event conditions. This event condition is an example of an event condition defined corresponding to the first attribute (for example, position information) described in FIG. Hereinafter, event conditions are referred to as conditions as appropriate. FIG. 5 (A) is a diagram schematically showing conditions a to d as ellipses. FIG. 5 (B) is a diagram showing the time difference in the inter-event condition.
条件aは,イベントのエリアがエリアaを満たすことを示す条件である。条件bは,イベントのエリアがエリアb(換言すれば,エリアa)を満たすことを示す条件である。条件cは,イベントのエリアがエリアcを満たすことを示す条件である。条件dは,イベントのエリアがエリアdを満たすことを示す条件である。 The condition a is a condition indicating that the event area satisfies the area a. Condition b is a condition indicating that the area of the event satisfies area b (in other words, area a). The condition c is a condition indicating that the event area satisfies the area c. The condition d is a condition indicating that the event area satisfies the area d.
以上説明したように,イベント条件は,第1の属性(例えば,位置情報)に対応して定められた,第1の条件(例えば,条件a)と第2の条件(例えば,条件b)と第3の条件(例えば,条件c)と第4の条件(例えば,条件d)とを有する。 As described above, the event condition includes the first condition (for example, condition a) and the second condition (for example, condition b) defined in correspondence with the first attribute (for example, position information). It has a third condition (for example, condition c) and a fourth condition (for example, condition d).
イベント間条件は,第1の属性(例えば,位置情報)と第2の属性である時間と少なくとも2つのイベント条件とに関連する事象間条件の一例である。図4,図5の例では,4つのイベント間条件がある。 The inter-event condition is an example of an inter-event condition related to a first attribute (for example, position information), a second attribute, time, and at least two event conditions. In the examples of Figs. 4 and 5, there are four inter-event conditions.
第1のイベント間条件は,例えば,条件a,条件bとの関係を示すイベント間条件a-bである。イベント間条件a-bは,第1,第2のイベントに含まれるエリア(エリアa,または,エリアb)およびスペースが同一であり,第1,第2のイベントのIDが異なる。さらに,イベント間条件a-bは,第1のイベントの時間と,第1のイベントに後続する第2のイベントの時間との時間差が40秒以内である。この時間差は,タイムアウト(換言すれば,イベント間条件の最大時間)とも呼ぶ。図5(A)において,イベント間条件a-bを実線の矢印で模式的に示す。図5(B)において,イベント間条件a-bにおけるタイムアウトを"a-b:40秒"で示す。 The first inter-event condition is, for example, an inter-event condition a-b indicating a relationship with the condition a and the condition b. In the inter-event condition a-b, the area (area a or area b) and space included in the first and second events are the same, and the IDs of the first and second events are different. Furthermore, in the inter-event condition a-b, the time difference between the time of the first event and the time of the second event subsequent to the first event is within 40 seconds. This time difference is also called a timeout (in other words, the maximum time of the condition between events). In FIG. 5 (A), the inter-event condition a-b is schematically shown by a solid line arrow. In FIG. 5B, the timeout in the inter-event condition a-b is indicated by “a-b: 40 seconds”.
イベント間条件a-bは,第1の時間(例えば,40秒)と第3の属性(例えば,ID)と第1,第2の事象条件とに関連する第1の事象間条件の一例である。 The inter-event condition a-b is an example of a first inter-event condition related to the first time (for example, 40 seconds), the third attribute (for example, ID), and the first and second event conditions.
第2のイベント間条件は,例えば,条件a,条件cとの関係を示すイベント間条件a-cである。イベント間条件a-cは,第1,第3のイベントに含まれるエリアおよびスペースが異なり,第1,第3のイベントに含まれるIDが同じであり,第1のイベントの時間と,第1のイベントに後続する第3のイベントの時間との時間差(タイムアウト)が20分以内である。第1のイベントに含まれるエリアは,エリアaである。第3のイベントに含まれるエリアは,エリアcである。 The second inter-event condition is, for example, an inter-event condition a-c indicating a relationship with the condition a and the condition c. The inter-event condition ac has different areas and spaces in the first and third events, the same IDs in the first and third events, the time of the first event, and the first event The time difference (time-out) from the time of the third event following is within 20 minutes. The area included in the first event is area a. The area included in the third event is area c.
図5(A)において,イベント間条件a-cを一点鎖線の矢印で模式的に示す。図5(B)において,イベント間条件a-cにおけるタイムアウトを"a-c:20分"で示す。 In FIG. 5 (A), the inter-event condition a-c is schematically shown by a dashed-dotted arrow. In FIG. 5B, the timeout in the inter-event condition a-c is indicated by “a-c: 20 minutes”.
イベント間条件a-cは,第1の時間(例えば,40秒)よりも長い第2の時間(例えば,20分)と第3の属性(例えば,ID)と第1,第3の事象条件とに関連する第2の事象間条件の一例である。 The inter-event condition ac includes a second time (for example, 20 minutes) longer than the first time (for example, 40 seconds), a third attribute (for example, ID), and the first and third event conditions. It is an example of a related second inter-event condition.
第3のイベント間条件は,例えば,条件c,条件dとの関係を示すイベント間条件c-dである。イベント間条件c-dは,第3,第4のイベントに含まれるエリア(エリアc,または,エリアd)およびスペースが同一であり,第3,第4のイベントのIDが異なる。さらに,イベント間条件c-dは,イベント間条件c-dにおける各条件(条件c,条件d)は,時間的に前後関係のない条件であり,この各条件の間に時間的に関連がない。具体的には,第3のイベントの時間と,第3のイベントに先行または後続する第4のイベントの時間との時間差(タイムアウト)が40秒以内である。なお,イベント間条件c-dについて,イベント間条件a-bのように,時間的に前後関係がある条件としてもよい。例えば,条件cを,条件dに対して時間的に先行する条件としてもよい。 The third inter-event condition is, for example, an inter-event condition c-d indicating a relationship with the conditions c and d. In the inter-event condition c-d, the area (area c or area d) and space included in the third and fourth events are the same, and the IDs of the third and fourth events are different. Furthermore, the inter-event condition c-d is a condition (condition c, condition d) in the inter-event condition c-d that is not temporally related, and there is no temporal relationship between these conditions. Specifically, the time difference (timeout) between the time of the third event and the time of the fourth event preceding or following the third event is within 40 seconds. Note that the inter-event condition c-d may be a condition that is temporally related, like the inter-event condition a-b. For example, the condition c may be a condition that precedes the condition d in terms of time.
図5(A)において,イベント間条件c-dを矢印無しの点線で模式的に示す。図5(B)において,イベント間条件c-dにおけるタイムアウトを"c-d:40秒"で示す。 In FIG. 5 (A), the inter-event condition c-d is schematically shown by a dotted line without an arrow. In FIG. 5B, the timeout in the inter-event condition c-d is indicated by “cd: 40 seconds”.
イベント間条件c-dは,第3の時間(例えば,40秒)と第3の属性(例えば,ID)と第3,第4の事象条件とに関連する第3の事象間条件の一例である。 The inter-event condition c-d is an example of a third inter-event condition related to the third time (for example, 40 seconds), the third attribute (for example, ID), and the third and fourth event conditions.
第4のイベント間条件は,例えば,条件b,条件dとの関係を示すイベント間条件b-dである。イベント間条件b-dは,第2,第4のイベントに含まれるエリアおよびスペースが異なり,第2,第4のイベントに含まれるIDが同じであり,第2のイベントの時間と,第2のイベントに後続する第4のイベントの時間との時間差(タイムアウト)が20分以内である。なお,第2のイベントに含まれるエリアは,例えば,エリアbである。第4のイベントに含まれるエリアは,例えば,エリアdである。 The fourth inter-event condition is, for example, an inter-event condition b-d indicating a relationship with the condition b and the condition d. In the inter-event condition bd, the area and space included in the second and fourth events are different, the IDs included in the second and fourth events are the same, the time of the second event, and the second event The time difference (timeout) from the time of the fourth event that follows is within 20 minutes. Note that the area included in the second event is, for example, area b. The area included in the fourth event is, for example, area d.
図5(A)において,イベント間条件b-dを破線の矢印で模式的に示す。図5(B)において,イベント間条件b-dにおけるタイムアウトを"b-d:20分"で示す。 In FIG. 5 (A), the inter-event condition b-d is schematically shown by a dashed arrow. In FIG. 5B, the timeout in the inter-event condition b-d is indicated by “b-d: 20 minutes”.
イベント間条件b-dは,第3の時間(例えば,40秒)よりも長い第4の時間(例えば,20分)と第3の属性(例えば,ID)と第2,第4の事象条件とに関連する第4の事象間条件の一例である。 The inter-event condition bd includes a fourth time (for example, 20 minutes) longer than the third time (for example, 40 seconds), a third attribute (for example, ID), and the second and fourth event conditions. It is an example of a related fourth inter-event condition.
次に,無条件タイムアウトが予め定められている(設定されている)条件は,条件c,条件dである。図5(B)において,条件c,条件dの無条件タイムアウトを"c:40秒","d:40秒"で示す。無条件タイムアウトの具体例については,図7のフロー図におけるステップS3などで説明する。 Next, conditions for which unconditional timeout is predetermined (set) are condition c and condition d. In FIG. 5 (B), the unconditional timeout for condition c and condition d is indicated by “c: 40 seconds” and “d: 40 seconds”. A specific example of the unconditional timeout will be described in step S3 in the flowchart of FIG.
無条件タイムアウトは,第4の事象条件(例えば,条件c)に対応して定められた第5の時間(例えば,40秒),第4の事象条件(例えば,条件d)に対応して定められた第6の時間(例えば,40秒)の一例である。 The unconditional timeout is determined in accordance with the fifth event condition (for example, condition d) corresponding to the fourth event condition (for example, condition d). This is an example of the sixth time (for example, 40 seconds).
(イベントの登録,イベント間条件)
図6は,イベントの登録と,異なるイベントの辺による接続を説明する図である。データ読み取り部13は,イベントを取得し,条件判定部14に入力する。条件判定部14は,このイベントが第1の属性(例えば,エリア)に対応して定められた条件を満たす場合,このイベントをRAM102の所定の領域に記憶する。このイベントの記憶は,イベントの登録と同義である。
(Event registration, inter-event condition)
FIG. 6 is a diagram for explaining event registration and connection by different event sides. The
具体的には,条件判定部14は,データ読み取り部13から入力された入力イベントが何れかの条件(条件a〜条件d)を満たすか判定する。そして,条件判定部14は,入力イベントが何れかの条件を満たした場合,満たした条件の候補として新規にRAM102に登録(記憶)する。
Specifically, the
そして,条件判定部14は,イベントの登録において,登録したイベントと共に,イベントの内容をRAM102に記憶する。この内容は,登録されたイベントをRAM102において一意に識別する個別ID,このイベントが満たした条件,このイベントが満たすイベント間条件,他のデータである。
Then, in event registration, the
例えば,図3のイベントE1がデータ読み取り部13から条件判定部14に入力される。イベントE1は,エリアa,b(図4の例では,(35°35',139°38'))を含むので,条件a〜dの中で,条件a,bを満たす。条件判定部14は,入力イベントを,満たした条件a,bの候補として新規に登録する。
For example, the event E1 in FIG. 3 is input from the
図6においては,条件判定部14は,RAM102のaの候補102aにイベントE1を登録(記憶)する。符号E11は,登録したイベントの時間を示す。符号E12は,登録したイベントのIDを示す。符号E13は,登録したイベントのスペースを示す。なお,イベントE1は条件bを満たすが,図示を簡略化するため,イベントE1がRAM102のbの候補102bに登録されている状態については,図示を省略している。
In FIG. 6, the
そして,条件判定部14は,内容EI1に示すように,イベントE1の個別ID"0x1",イベント条件"条件a"を記憶する。
Then, the
さらに,条件判定部14は,エリアa,bを含むイベントE2,E3が順次入力されると,条件判定部14は,入力イベントE2,E3を,満たした条件a,bの候補として新規に登録する。図6においては,条件判定部14は,RAM102のbの候補102 bにイベントE2,E3を登録する。なお,イベントE2,E3は,条件aを満たすが,図示を簡略化するため,イベントE2,E3がRAM102のaの候補102aに登録されている状態については,図示を省略している。
Further, when the events E2 and E3 including the areas a and b are sequentially input, the
そして,条件判定部14は,内容EI2に示すように,イベントE2の個別ID"0x2",イベント条件"条件b"を記憶する。さらに,条件判定部14は,内容EI3に示すように,イベントE3の個別ID"0x3",イベント条件"条件b"を記憶する。
Then, the
条件判定部14は,イベントをRAM102に記憶する度に,事象間条件(例えば,イベント間条件)を満たす,RAM102に記憶された記憶イベントがあるか判定する。条件判定部14は,イベントをRAM102に記憶する度にこの判定を行うことで,リアルタイム,すなわちイベントの取得と同時に(即時に)前記した判定が可能になる。
Each time an event is stored in the
例えば,イベントE1と,イベントE2,E3とは,イベント間条件a-bを満たす。何故なら,イベントE1,E2,E3のエリアおよびスペースが同一であり,イベントE1の時間と,イベントE1に後続するイベントE2,E3の時間との時間差が40秒以内だからである。そして,イベントE1のIDと,イベントE2,E3のIDとが異なるからである。 For example, event E1 and events E2 and E3 satisfy the inter-event condition a-b. This is because the areas and spaces of events E1, E2, and E3 are the same, and the time difference between the time of event E1 and the time of events E2 and E3 following event E1 is within 40 seconds. This is because the ID of event E1 is different from the IDs of events E2 and E3.
条件判定部14は,イベントE1と,イベントE2,E3とが,イベント間条件a-bを満たす旨をRAM102に記憶する。図6では,イベントE1とイベントE2,E3とが,イベント間条件a-bを満たす旨を,イベントE1とイベントE2,E3とを実線L1で示す辺で接続することにより示している。
The
条件判定部14は,イベントE1について,イベントE1と,イベントE2,E3とがイベント間条件a-bを満たす旨をイベントE1の内容EI1に示すように,接続先のイベントの個別IDと辺の符号L1とでRAM102に記憶する。内容EI1では,イベント間条件:"0x2(L1),0x3(L1)"で示している。また,条件判定部14は,イベントE2について,イベントE1と,イベントE2とがイベント間条件a-bを満たす旨をイベントE2の内容EI2に示すように,接続先のイベントの個別IDと辺の符号L1とでRAM102に記憶する。内容EI2では,イベント間条件:"0x1(L1)"で示している。また,条件判定部14は,イベントE3について,イベントE1と,イベントE3とがイベント間条件a-bを満たす旨をイベントE3の内容EI3に示すように,接続先のイベントの個別IDと辺の符号L1とでRAM102に記憶する。内容EI3では,イベント間条件:"0x1(L1)"で示している。
For event E1, the
さらに,条件判定部14は,エリアc,d(図4の例では,(35°34',139°37'))を含むイベントE4が入力されると,条件判定部14は,入力イベントE4を,満たした条件c,dの候補として新規に登録する。図6においては,条件判定部14は,RAM102のcの候補102 cにイベントE4を登録する。なお,イベントE4は,条件dを満たすが,図示を簡略化するため,イベントE4がRAM102のdの候補102dに登録されている状態については,図示を省略している。
Furthermore, when the event E4 including the areas c and d ((35 ° 34 ′, 139 ° 37 ′) in the example of FIG. 4) is input, the
そして,条件判定部14は,内容EI4に示すように,イベントE4の個別ID:0x4,イベント条件"条件c"を記憶する。
Then, the
ここで,イベントE1と,イベントE4とは,イベント間条件a-cを満たす。何故なら,イベントE1,E4に含まれるエリアおよびスペースが異なり,イベントE1,E4に含まれるIDが同じであり,イベントE1の時間と,イベントE1に後続するイベントE4の時間との時間差が20分以内だからである。 Here, the event E1 and the event E4 satisfy the inter-event condition a-c. This is because the areas and spaces included in events E1 and E4 are different, the IDs included in events E1 and E4 are the same, and the time difference between the time of event E1 and the time of event E4 following event E1 is 20 minutes. Because it is within.
条件判定部14は,イベントE1と,イベントE4とが,イベント間条件a-cを満たす旨をRAM102に記憶する。図6では,イベントE1とイベントE4とが,イベント間条件a-cを満たす旨を,イベントE1とイベントE4とを一点鎖線L2で示す辺で接続することにより示している。
The
条件判定部14は,イベントE1について,イベントE1と,イベントE4とがイベント間条件a-cを満たす旨をイベントE1の内容EI1に示すように,接続先のイベントの個別IDと辺の符号L2とでRAM102に記憶する。内容EI1では,イベント間条件:"0x4(L2)"で示している。
The
条件判定部14は,イベントE4について,イベントE4と,イベントE1とがイベント間条件a-cを満たす旨をイベントE4の内容EI4に示すように,接続先のイベントの個別IDと辺の符号L2とでRAM102に記憶する。内容EI4では,イベント間条件:"0x1(L2)"で示している。
The
さらに,条件判定部14は,エリアc,dを含むイベントE5が入力されると,条件判定部14は,入力イベントE5を,満たした条件c,dの候補として新規に登録する。図6においては,条件判定部14は,RAM102のdの候補102 dにイベントE5を登録する。なお,イベントE5は,条件cを満たすが,図示を簡略化するため,イベントE5がRAM102のcの候補102cに登録されている状態については,図示を省略している。
Furthermore, when the event E5 including the areas c and d is input, the
そして,条件判定部14は,内容EI5に示すように,イベントE5の個別ID"0x5",イベント条件"条件d"を記憶する。
Then, the
ここで,イベントE3と,イベントE5とは,イベント間条件b-dを満たす。何故なら,イベントE3,E5に含まれるエリアおよびスペースが異なり,イベントE3,E5に含まれるIDが同じであり,イベントE1の時間と,イベントE1に後続するイベントE5の時間との時間差が20分以内だからである。 Here, the event E3 and the event E5 satisfy the inter-event condition b-d. This is because the areas and spaces included in events E3 and E5 are different, the IDs included in events E3 and E5 are the same, and the time difference between the time of event E1 and the time of event E5 following event E1 is 20 minutes. Because it is within.
条件判定部14は,イベントE3と,イベントE5とが,イベント間条件b-dを満たす旨をRAM102に記憶する。図6では,イベントE3とイベントE5とが,イベント間条件b-dを満たす旨を,イベントE3とイベントE5とを破線L3で示す辺で接続することにより示している。
The
条件判定部14は,イベントE3について,イベントE3と,イベントE5とがイベント間条件b-dを満たす旨をイベントE3の内容EI3に示すように,接続先のイベントの個別IDと辺の符号L3とでRAM102に記憶する。内容EI3では,イベント間条件:"0x5(L3)"で示している。
The
条件判定部14は,さらに,イベントE5について,イベントE3と,イベントE5とがイベント間条件b-dを満たす旨をイベントE5の内容EI5に示すように,接続先のイベントの個別IDと辺の符号L3とでRAM102に記憶する。内容EI5では,イベント間条件:"0x3(L3)"で示している。
The
ここで,イベントE4と,イベントE5とは,イベント間条件c-dを満たす。何故なら,イベントE4,E5のエリアおよびスペースが同一であり,イベントE4の時間と,イベントE4に後続するイベントE5の時間との時間差が40秒以内だからである。そして,イベントE4のIDと,イベントE5のIDが異なるからである。 Here, the event E4 and the event E5 satisfy the inter-event condition c-d. This is because the areas and spaces of the events E4 and E5 are the same, and the time difference between the time of the event E4 and the time of the event E5 following the event E4 is within 40 seconds. This is because the ID of event E4 and the ID of event E5 are different.
条件判定部14は,イベントE4と,イベントE5とが,イベント間条件c-dを満たす旨をRAM102に記憶する。図6では,イベントE4とイベントE5とが,イベント間条件c-dを満たす旨を,イベントE4とイベントE5とを点線L4で示す辺で接続することにより示している。
The
条件判定部14は,イベントE4について,イベントE4と,イベントE5とがイベント間条件c-dを満たす旨をイベントE4の内容EI4に示すように,接続先のイベントの個別IDと辺の符号L4とでRAM102に記憶する。内容EI4では,イベント間条件:"0x5(L4)"で示している。
The
また,条件判定部14は,イベントE5について,イベントE4と,イベントE5とがイベント間条件c-dを満たす旨をイベントE5の内容EI5に示すように,接続先のイベントの個別IDと辺の符号L4とでRAM102に記憶する。内容EI5では,イベント間条件:"0x4(L4)"で示している。
In addition, the
(イベントのリアルタイム処理)
条件判定部14は,イベントをRAM102に記憶する度に,イベント間条件を満たす,RAM102に記憶されたイベント(以下,記憶イベントと適宜記す)があるかリアルタイムで判定する。そして,出力部18は,イベント間条件を満たす記憶イベントがあると,判定結果を出力する。
(Event real-time processing)
Each time an event is stored in the
図6で説明したように,条件判定部14は,以下の判定を行う。条件判定部14は,第1の記憶イベント(例えば,図6のイベントE1)が,条件aとイベント間条件a-b,a-cとを満たすか判定(第1の判定)する。条件判定部14は,第2の記憶イベント(例えば,図6のイベントE3)が,条件bとイベント間条件a-b,b-dとを満たすか判定(第2の判定)する。
As described in FIG. 6, the
条件判定部14は,第3の記憶イベント(例えば,図6のイベントE4)が,条件cとイベント間条件a-c,c-dとを満たすか判定(第3の判定)する。条件判定部14は,第4の記憶イベント(例えば,図6のイベントE5)が,条件dとイベント間条件b-d,c-dとを満たすか判定(第4の判定)する。
The
そして,出力管理部17は,第1〜第4の判定において全てのイベント間条件を満たすと判定(第5の判定)した場合,満たしたことを示す判定結果を出力する。判定結果の一例は,前記したイベント間条件を満たす記憶イベントである。
If the
条件判定部14は,条件cとイベント間条件a-c,c-dとを満たしたイベント,または,条件dとイベント間条件b-d,c-dとを満たしたイベントがRAM102に記憶されたタイミングで,第5の判定を行う。
The
なお,ノード削除部16は,出力部18が判定結果を出力した後,第1〜第4の記憶イベントを削除してもよい。その結果,RAM102の無駄な記憶領域を削減できる。
Note that the
以上説明したように,条件判定部14は,イベントを取得する度に,取得したイベントが所定のイベント条件,イベント間条件を満たすかリアルタイムで判定する。そして,出力管理部17は,記憶イベントがイベント間条件を満たす場合,判定結果をリアルタイムで出力する。
As described above, the
すなわち,本実施の形態の情報処理装置によれば,複数のイベントの中から,全ての所定の条件を満たすイベントをリアルタイムで抽出し,所定の条件を満たす旨を迅速に出力することができる。 That is, according to the information processing apparatus of the present embodiment, events satisfying all predetermined conditions can be extracted from a plurality of events in real time, and information indicating that the predetermined conditions are satisfied can be quickly output.
図3〜図6の例では,判定結果は,追跡検知における対象(ストーカ行為者と,ストーカ被害者)である。このように,本実施の形態の情報処理装置によれば,管理者は,迅速かつリアルタイムで検知結果を取得することできる。 In the examples of FIGS. 3 to 6, the determination result is the target (the stalker actor and the stalker victim) in the tracking detection. Thus, according to the information processing apparatus of the present embodiment, the administrator can acquire the detection result quickly and in real time.
ここで,条件判定部14は,リアルタイムに前記した判定を行う処理を実行するのに加えて,所定のタイミング毎に,RAM102に記憶された記憶イベントにおいて,イベント間条件を満たす記憶イベントがあるか判定してもよい。所定のタイミング毎に判定する処理により,管理者は,適宜,検知結果を取得することができる。
Here, in addition to executing the above-described determination processing in real time, the
(イベントの削除)
ここで,多数のイベントがある場合や,多数の条件が設定されている場合を想定する。かかる想定において,情報処理装置は,イベントが多数の条件を満たすか否かを判定する場合,判定処理に必要になるRAM102の使用容量が多くなり,処理負荷が高まる。その結果,判定処理を迅速に行うことが困難になる。そこで,情報処理装置は,RAM102の使用容量を削減する。
(Delete event)
Here, it is assumed that there are a large number of events or a large number of conditions are set. Under this assumption, when the information processing apparatus determines whether an event satisfies a number of conditions, the used capacity of the
具体的には,ノード削除部16は,RAM102に記憶された記憶イベントの時間と,現在時間に対応する基準時間とに基づき,イベント間条件を満たさないイベントを特定し,特定した記憶イベントをRAM102から削除する。ここで,現在時間は,例えば,最新のイベントに含まれる時間や,最新のイベントを取得した時間である。そして,現在時間に対応する基準時間は,例えば,この現在時間と同一時間や,他にも,数秒程度遅れた時間である。
Specifically, the
ノード削除部16は,第1のイベント条件を満たす記憶イベントの時間とイベント間条件の時間とを加算した時間が基準時間を超えても,イベント間条件を満たすイベントがRAM102に記憶されない場合,第1のイベント条件を満たす記憶イベントをRAM102から削除する。
If the event that satisfies the inter-event condition is not stored in the
ここで,イベント条件は,例えば条件aであり,イベント間条件はイベント間条件a-bであり,イベント間条件の時間は,例えば40秒である。図6の例では,イベントE1がRAM102に記憶された後,イベントE1の時間"17:54:00"の時間とイベント間条件a-bの時間"40秒"とを加算した加算時間が現在時間を超えても,イベント間条件a-bを満たすイベント(条件bの候補となるイベント)がRAM102に記憶されない場合,イベントE1を削除する。
Here, the event condition is, for example, the condition a, the inter-event condition is the inter-event condition a-b, and the time of the inter-event condition is, for example, 40 seconds. In the example of FIG. 6, after the event E1 is stored in the
一方,イベント条件は,例えば条件aであり,イベント間条件はイベント間条件a-cであり,イベント間条件a-cの時間は,例えば20分であるとする。図6の例では,イベントE1がRAM102に記憶された後,イベントE1の時間"17:54:00"の時間とイベント間条件a-cの時間"20分"とを加算した加算時間が現在時間を超えても,イベント間条件を満たすイベント(条件cの候補となるイベント)がRAM102に記憶されない場合,イベントE1を削除する。
On the other hand, the event condition is, for example, condition a, the inter-event condition is an inter-event condition a-c, and the time of the inter-event condition a-c is, for example, 20 minutes. In the example of FIG. 6, after the event E1 is stored in the
また,ノード削除部16は,第1の記憶イベントが,第1のイベント条件を満たし,第2の記憶イベントが,第3のイベント条件と第2のイベント間条件とを満たした場合に,第1の記憶イベントが削除された場合,第2の記憶イベントをRAM102から削除する。
The
図6の例では,第1の記憶イベントは,イベントE1である。第1のイベント条件は条件a,第3のイベント条件は条件c,第2のイベント間条件はイベント間条件a-cである。 In the example of FIG. 6, the first storage event is event E1. The first event condition is condition a, the third event condition is condition c, and the second inter-event condition is inter-event condition a-c.
図6の例では,イベントE1がRAM102に記憶された後,時間"17:54:40"と,IDが"1"と,エリアcと,スペース"36”,39”"とを有するイベント(第2の記憶イベント)が条件cの候補に登録されたとする。
In the example of FIG. 6, after the event E1 is stored in the
ここで,図6には,条件bの候補には,イベントが記憶されていないとする。換言すれば,イベントE1は,イベント間条件a-bを満たしていない。 Here, in FIG. 6, it is assumed that no event is stored in the candidate for condition b. In other words, the event E1 does not satisfy the inter-event condition a-b.
この例において,ノード削除部16が,条件aの候補として登録されている第1の記憶イベント(イベントE1)を削除すると,第2の記憶イベントについては,イベント間条件a-cを満たす他のイベントが記憶されていないので,第2の記憶イベントを削除する。
In this example, when the
また,ノード削除部16は,第3の記憶イベントの時間と,第3のイベント条件に対応して定められた第5の時間とを加算した時間が,基準時間を超えた場合,第3の記憶イベントをRAM102削除する。図6の例では,第3の記憶イベントはイベントE4,第3のイベント条件は条件c,第5の時間は無条件タイムアウト時間"40秒"である。
The
同じく,ノード削除部16は,第4の記憶イベントの時間と,第4のイベント条件に対応して定められた第5の時間とを加算した時間が基準時間を超えた場合,第4の記憶イベントをRAM102から削除する。図6の例では,第4の記憶イベントはイベントE5,第4のイベント条件は条件d,第6の時間は無条件タイムアウト時間"40秒"である。
Similarly, when the time obtained by adding the time of the fourth storage event and the fifth time determined corresponding to the fourth event condition exceeds the reference time, the
以上説明したように,イベント間条件を満たさないイベントを削除することにより,RAM102の記憶容量を有効利用できる。換言すれば,時間経過してもイベント間条件を満たすことがないイベントを削除して,RAM102の無駄な記憶領域を削減できる。
As described above, the storage capacity of the
(フロー図)
図7,図8は,第1の実施の形態で説明するイベントのリアルタイム処理を説明する第1,第2のフロー図である。なお,以下の説明において,Sn(nは1以上の整数)は,ステップSnを意味し,ステップという文字を適宜省略する。
(Flow diagram)
FIGS. 7 and 8 are first and second flowcharts for explaining the real-time processing of events described in the first embodiment. In the following description, Sn (n is an integer of 1 or more) means step Sn, and the letter “step” is omitted as appropriate.
S1:条件読み取り部11は,例えば,図5で説明したイベント条件,イベント間条件,タイムアウト,無条件タイムアウトを有する情報をストレージ103から読み出す。
S1: The
この情報は,例えばテキスト形式でストレージ103に記憶されている。条件変換部12は,図2で説明した変換を行い,条件判定部14に入力する。次に,S2に移る。
This information is stored in the
S2:データ読み取り部13は,イベントの受信を待ち,イベントを受信すると,条件判定部14に入力する。次に,S3に移る。
S2: The
S3:条件判定部14は,無条件タイムアウトが設定されている条件の候補に登録されたイベントの中で,現在の時間と,無条件タイムアウトが設定されている条件の候補に登録されたイベントの時間との差が,無条件タイムアウトを超えているイベントがあるか判定する。無条件タイムアウトが設定される条件は,条件cまたは条件dである。そして,この無条件タイムアウトは,例えば40秒である。S3でYESの場合,S7に移る。S3でNOの場合,S4に移る。
S3: The
S4:条件判定部14は,各候補に登録されたイベントの中で,イベントに関連する全イベント間条件を満たさない,未処理のイベントが1つでもあるか判定する。換言すれば,条件判定部14は,各候補に登録されたイベントの中で,異なる種類の2辺で接続されていない,未処理のイベントが1つでもあるか判定する。S4でYESの場合,S5に移る。S4でNOの場合,S8に移る。
S4: The
イベントに関連するイベント間条件とは,このイベントが満たす条件と何らかの関係を有する条件である。例えば,このイベントが条件aを満たす場合,このイベントに関連するイベント間条件は,条件a-b,条件a-cである。このイベントが条件bを満たす場合,このイベントに関連するイベント間条件は,条件a-b,条件b-dである。このイベントが条件cを満たす場合,このイベントに関連するイベント間条件は,条件a-c,条件c-dである。このイベントが条件dを満たす場合,このイベントに関連するイベント間条件は,条件b-d,条件c-dである。 An inter-event condition related to an event is a condition having some relationship with a condition satisfied by the event. For example, when this event satisfies condition a, the inter-event conditions related to this event are condition a-b and condition a-c. When this event satisfies condition b, the inter-event conditions related to this event are condition ab and condition bd. When this event satisfies condition c, the inter-event conditions related to this event are condition a-c and condition c-d. When this event satisfies condition d, the inter-event conditions related to this event are condition b-d and condition c-d.
未処理のイベントとは,条件aの候補〜条件dの候補に登録されたイベントの中で,処理済みとされていないイベント,換言すれば,未処理とされたイベントである。条件aの候補〜条件dの候補に新規に登録されたイベントは,未処理のイベントである。 An unprocessed event is an event that has not been processed among events registered as candidates for condition a to candidate for condition d, in other words, an event that has not been processed. An event newly registered in the candidate for condition a to the candidate for condition d is an unprocessed event.
S5: 条件判定部14は,登録されているイベントの中で,削除対象のイベント(以下,削除イベントと適宜視する)があるか判定する。S5でYESの場合,S7に移る。S5でNOの場合,S6に移る。条件判定部14は,登録されているイベントの各々について,S5の処理を実行する。S5については,図24,図57,図58などで具体的に説明する。
S5: The
削除対象のイベントは,第1〜第3の削除イベントの何れかのイベントである。第1の削除イベントは,未処理イベントの中で,現在の時間と未処理のイベントに関するイベント間条件を1つも満たさないこの未処理のイベントの時間との差が,この未処理のイベントに関連するイベント間条件のタイムアウト時間を超えているイベントである。なお,タイムアウト時間以上でもよい。未処理のイベントに関するイベント間条件を1つも満たさないこの未処理のイベントは,1つの辺も持たない未処理のイベントである。 The event to be deleted is any one of the first to third deletion events. The first delete event is related to this unprocessed event, which is the difference between the current time and the time of this unprocessed event that does not satisfy any inter-event condition related to the unprocessed event. The event exceeds the timeout period of the inter-event condition to be performed. It may be longer than the timeout time. This unprocessed event that does not satisfy any inter-event condition regarding an unprocessed event is an unprocessed event that has no edge.
ここで,前記したイベント間条件のタイムアウト時間が複数ある場合,第1の削除イベントは,以下の通りである。すなわち,第1の削除イベントは,現在の時間と未処理のイベントに関するイベント間条件を1つも満たさない未処理のイベントの時間との差が,前記した未処理のイベントに関連する,最も短いイベント間条件のタイムアウト時間を超えているイベントである。 Here, when there are a plurality of timeout times for the above-described inter-event condition, the first deletion event is as follows. That is, the first deletion event is the shortest event in which the difference between the current time and the time of an unprocessed event that does not satisfy any inter-event condition related to the unprocessed event is related to the above-mentioned unprocessed event. The event exceeds the timeout time of the interval condition.
第2の削除イベントは,未処理イベントの中で,現在の時間とこの未処理のイベントとの時間の差が,この未処理のイベントが満たす条件を自身条件として含むイベント間条件を満たさないイベント間条件のタイムアウト時間を超えているイベントである。なお,タイムアウト時間以上でもよい。イベントに関連するイベント間条件において,自身条件は,このイベントが満たす条件である。 The second delete event is an unprocessed event that does not satisfy the inter-event condition in which the time difference between the current time and this unprocessed event satisfies the condition that this unprocessed event satisfies as its own condition The event exceeds the timeout time of the interval condition. It may be longer than the timeout time. In the inter-event condition related to the event, the self-condition is a condition that this event satisfies.
第3の削除イベントは,未処理のイベントが満たす条件(以下,条件Xと記す)よりも前の時間に関連する条件を満たすイベントと辺で接続されていない未処理のイベントである。 The third deletion event is an unprocessed event that is not connected to an event that satisfies a condition related to a time before a condition that is satisfied by an unprocessed event (hereinafter referred to as condition X).
条件Xが条件aの場合,条件aよりも前の時間に関連する条件はない。条件Xが条件bの場合,条件bよりも前の時間に関連する条件は条件aである。条件Xが条件cの場合,条件cよりも前の時間に関連する条件は,例えば条件aである。条件Xが条件dの場合,条件dよりも前の時間に関連する条件は,例えば条件bである。 When the condition X is the condition a, there is no condition related to the time before the condition a. When the condition X is the condition b, the condition related to the time before the condition b is the condition a. When the condition X is the condition c, the condition related to the time before the condition c is, for example, the condition a. When the condition X is the condition d, the condition related to the time before the condition d is, for example, the condition b.
以上の削除イベントの説明から明らかなように,異なる種類の2辺を持つイベントは,削除イベントではない。 As is clear from the above description of the delete event, an event having two different types of sides is not a delete event.
以下,S5において,登録された複数のイベントの中に,削除イベントと,削除イベント以外のイベントが含まれている場合には,先に,削除イベントについてS7の処理が実行され,次いで,削除イベント以外のイベントについてS6の処理が実行される。 Hereinafter, in S5, when a plurality of registered events include a deletion event and an event other than the deletion event, the processing of S7 is first executed for the deletion event, and then the deletion event The process of S6 is executed for other events.
S6:条件判定部14は,S5でYESと判定された未処理のイベント(削除対象でないイベント)を処理済みとする。具体的には,条件判定部14は,削除対象でないイベントと対応して処理済みフラグをRAM102に設定する。そして,S3に戻る。なお,条件判定部14は,処理済みフラグを,図6の各イベントの内容における"他のデータ:"で示す部分に設定してもよい。
S6: The
S7:ノード削除部16は,削除対象のイベントと辺で接続されているイベントを未処理にして(換言すれば,処理済みフラグを消去),さらに,削除対象のイベントと,削除対象のイベントの辺とを削除する。そして,S3に戻る。
S7: The
なお,S3において,S3/NOと判定され,S3からS7に移った場合,S7における削除対象のイベントは,無条件タイムアウトを超えているイベントである。 In S3, when it is determined as S3 / NO and the process proceeds from S3 to S7, the event to be deleted in S7 is an event that has exceeded the unconditional timeout.
S8:条件判定部14は,処理済みのイベントを未処理(換言すれば,処理済みフラグを消去)にする。そして,S9に移る。
S8: The
S9:条件判定部14は,入力イベントは,何れかの条件(条件a〜条件d)を満たすか判定する。S9でYESの場合,S10に移る。S9でNOの場合,S2に戻る。
S9: The
S10:条件判定部14は,入力イベントを,満たした条件の候補として新規に登録する。そして,条件判定部14は,新規に登録した各イベントについて,S11以下の処理を実行する。
S10: The
S11:条件判定部14は,新規登録イベントに関連する各イベント間条件の相手条件に,自身条件に時間が先行する先行条件が含まれるか判定する。S11でYESの場合,S12に移る。S11でNOの場合,図8のS21に移る。
S11: The
S4で説明したように,イベントに関連するイベント間条件とは,このイベントが満たす条件と何らかの関係を有する条件である。 As described in S4, the inter-event condition related to the event is a condition having some relationship with the condition satisfied by the event.
前記したようにイベントに関連するイベント間条件において,自身条件は,このイベントが満たす条件である。相手条件は,このイベント間条件において自身条件とは異なる条件である。例えば,条件aの候補として登録されているイベントに関連するイベント間条件は,条件a-b,条件a-cである。ここで,イベント間条件a-b,a-cの場合,自身条件は条件aである。イベント間条件a-bにおける相手条件は,条件bである。また,イベント間条件a-cにおける相手条件は,条件cである。 As described above, in the inter-event condition related to the event, the self-condition is a condition that this event satisfies. The opponent condition is a condition different from the self condition in the inter-event condition. For example, inter-event conditions related to events registered as candidates for condition a are condition a-b and condition a-c. Here, in the case of the inter-event conditions a-b and a-c, the self-condition is the condition a. The partner condition in the inter-event condition a-b is the condition b. The partner condition in the inter-event condition a-c is the condition c.
自身条件に時間が先行する先行条件は,自身条件よりも前の時間に関連する条件である。例えば,自身条件が条件bの場合,先行条件は条件aである。自身条件が条件cの場合,先行条件は条件a,bである。自身条件が条件dの場合,先行条件は条件a,bである。自身条件が条件aの場合,先行条件はない。 The preceding condition whose time precedes its own condition is a condition related to the time before the own condition. For example, if the self condition is condition b, the preceding condition is condition a. If the self-condition is condition c, the preceding conditions are conditions a and b. If the self-condition is condition d, the preceding conditions are conditions a and b. If the self-condition is condition a, there is no preceding condition.
S12:条件判定部14は,先行条件(S11参照)を満たすイベント(先行条件の候補として登録されたイベント)の中に,新規登録イベントに関連する,先行条件を含むイベント間条件を満たすイベントがあるか判定する。S12でYESの場合,S14に移る。S12でNOの場合,S13に移る。
S12: The
S13:ノード削除部16は,新規に登録したイベントを削除する。次に,S2に戻る。
S13: The
S14:グラフ管理部15は,S12でイベント間条件を満たしたと判定したイベントと,新規登録イベントとを辺で接続する。次に,図8のS21に移る。
S14: The
図8のS21:条件判定部14は,新規登録イベントに関連する任意のイベント間条件の自身条件および相手条件は,前後関係のない条件か判定する。S21でYESの場合,S22に移る。S21でNOの場合,S24に移る。
S21 in FIG. 8: The
イベントに関連するイベント間条件において,前後関係のない条件は,自身条件と相手条件との間に時間に関連する条件がないことである。例えば,条件c,条件dについては,両条件間で,時間に関連する条件がなく,前後関係がない条件である。 In the inter-event condition related to the event, the unrelated condition is that there is no time-related condition between the own condition and the partner condition. For example, the condition c and the condition d are conditions that have no time-related condition and no context between the two conditions.
S22:条件判定部14は,前後関係のない条件の候補として登録されたイベントの中に,新規登録イベントに関連する何れかのイベント間条件を満たすイベントがあるか判定する。S22でYESの場合,S23に移る。S22でNOの場合,S24に移る。
S22: The
S23:グラフ管理部15は,S22における前記条件を満たすイベントと,新規登録イベントとを辺で接続する。次に,S24に移る。
S23: The
S24:条件判定部14は,新規登録イベントに関連する各イベント間条件の相手条件に,自身条件に時間が後続する後続条件が含まれるか判定する。
S24: The
イベントに関連するイベント間条件において,自身条件に時間が後続する後続条件は,自身条件よりも後の時間に関連する条件である。例えば,自身条件が条件aの場合,後続条件は条件b,c,dである。自身条件が条件bの場合,後続条件は条件c,dである。自身条件が条件c,dの場合,条件c,dは前後関係のない条件なので,後続条件はない。 In an inter-event condition related to an event, a subsequent condition in which time follows the own condition is a condition related to a time later than the own condition. For example, if the self condition is condition a, the subsequent conditions are conditions b, c, and d. If the self condition is condition b, the subsequent conditions are conditions c and d. If the self-condition is conditions c and d, there are no following conditions because conditions c and d are unrelated conditions.
S24でYESの場合,S2に戻る。S24でNOの場合,S25に移る。 If YES at S24, return to S2. If S24 is NO, move to S25.
S25:条件判定部14は,新規登録イベントは,新規登録イベントに関連する全イベント間条件を満たすか判定する。条件判定部14は,例えば,新規登録イベントが種類の異なる2辺を持つか判定する。S25でYESの場合,S26に移る。S25でNOの場合,S2に移る。
S25: The
S26:出力管理部17は,S25における各イベント間条件を満たす新規登録イベントが,満たす条件を処理済みとして,新規登録イベントを候補集合102fとしてRAM102に追加登録する。具体的には,出力管理部17は,種類の異なる2辺を持つ新規登録イベントが満たす条件を処理済みとして,新規登録イベントを候補集合102fとしてRAM102に追加登録する。次に,S27に移る。
S26: The
S27:出力管理部17は,未処理の条件があるか判定する。S27でYESの場合,S28に移る。S27でNOの場合,S29に移る。
S27: The
S28:出力管理部17は,未処理の条件の中で,処理済みの条件とイベント間条件を満たす条件の1つを現イベント条件とする。次に,S30に移る。
S28: The
S29:出力部18は,候補集合102fに登録されているイベントを出力し,全ての条件の候補を未処理にする。次に,S2に戻る。
S29: The
S30:出力管理部17は,RAM102の候補集合102fが空(何もイベントが登録されていない)か判定する。S30でYESの場合,S31に移る。S30でNOの場合,S32に移る。
S30: The
S31:出力管理部17は,RAM102の新候補集合102gのエントリをRAM102の候補集合102fとして,さらに,現イベント条件を処理済みとする。そして,S27に戻る。
S31: The
S32:出力管理部17は,RAM102の候補集合102fから抜き出した1つのエントリを現候補102eとしてRAM102に追加登録する。そして,S33に移る。
S32: The
S33:出力管理部17は,関連イベントと,現候補102eとして登録されているイベントとを新候補集合102gに追加する。関連イベントは,現イベント条件に登録されているイベントの中で,種類の異なる種類の2辺を持ち,この2つの辺の少なくとも1つの辺により,現候補に登録されているイベントと接続されているイベントである。
S33: The
ここで,関連イベントは,全イベント条件の数から1を減算した数のイベントが,現候補102eとして登録されている場合,種類の異なる種類の2辺により,現候補に登録されているイベントと接続されているイベントである。例えば,全イベント条件(条件a〜条件d)が4つであることを仮定すると,関連イベントは,3(4-1)つのイベントが現候補102eとして登録されている場合,種類の異なる種類の2辺により,現候補に登録されているイベントと接続されているイベントである。
Here, when the number of events obtained by subtracting 1 from the number of all event conditions is registered as the
S33の終了後,S30に戻る。ここで,関連イベントがない場合,S33における前記した追加を実行せず,S30に戻る。情報処理装置1は,イベントの入力が所定の時間(例えば,10分)停止すると,図7,図8で説明した処理を終了する。
After S33 ends, return to S30. Here, when there is no related event, the above-described addition in S33 is not executed, and the process returns to S30. When the input of the event stops for a predetermined time (for example, 10 minutes), the
(第1の実施の形態の具体例)
図9〜図58は,第1の実施の形態における具体例を説明する第1〜第50の図である。ここで,第1の実施の形態の具体例を説明する前に,条件読み取り部11は,図5で説明したイベント条件,イベント間条件,タイムアウト,無条件タイムアウトを有する情報をストレージ103から読み出す(S1)。そして,条件変換部12は,読み出した情報に,図2で説明した変換を行い,変換結果をRAM102に記憶する。
(Specific example of the first embodiment)
9 to 58 are first to fifty diagrams illustrating specific examples of the first embodiment. Here, before describing a specific example of the first embodiment, the
以下の具体例において,入力されたイベントに含まれる時間を現在時間とする。そして,イベントが入力されたタイミングで,S3以下の処理が実行される。 In the following specific example, the time included in the input event is the current time. Then, the processing after S3 is executed at the timing when the event is input.
(ID1のイベント入力)
データ読み取り部102は,イベントが入力されるまで待つ(S2)。データ読み取り部13は,図9のイベントテーブルに示す,ID1のイベントを読み取る(S2)。図9において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,現在の時間"17:54:00"と,条件cの候補または条件dの候補に登録されたイベントの時間との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。なお,以下の図に示すイベントテーブルは,説明のために記載したものであって,RAM102に記憶されているものではない。
(Event input of ID1)
The
図9において条件aの候補〜条件dの候補には,1つもイベントが登録されていない。従って,図9において,各候補に登録されたイベントの中で,辺で接続されていない未処理のイベントはない(S4/NO)。 In FIG. 9, no event is registered in the candidates for condition a to candidate for condition d. Therefore, in FIG. 9, there is no unprocessed event that is not connected by an edge among the events registered in each candidate (S4 / NO).
従って,条件判定部14は,S3でNO,S4でNOと判定し,処理済みのイベントを未処理にする(S8)。なお,条件判定部14は,処理済みのイベントがない場合,S8の処理を実行しない。
Accordingly, the
ID1の入力イベントは,エリアa,bを含むので,条件a〜dの中で,条件a,bを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID1のイベントを条件a,bの候補として新規登録する(S10)。
Since the input event of ID1 includes areas a and b, conditions a and b are satisfied in conditions a to d (S9 / YES). Accordingly, the
そして,条件判定部14は,条件a,bの候補として新規登録した各イベントについて,S11の処理を実行する。
Then, the
条件aの候補として新規登録したID1のイベント(条件aを満たすイベント)に関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が先行する先行条件(条件無し)は含まれない(S11/NO)。従って,条件判定部14は,S11でNOと判定する。
In the partner condition (condition b, c) of the inter-event condition (condition ab, condition ac) related to the event of ID1 newly registered as a candidate for condition a (event satisfying condition a), in the own condition (condition a) The preceding condition (no condition) preceded by time is not included (S11 / NO). Therefore, the
以下,条件aの候補として新規登録したID1のイベントをイベントID1aと記す。イベントID1aに関連する任意のイベント間条件(条件a-bまたは条件a-c)の自身条件(条件a)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 Hereinafter, an event with ID1 newly registered as a candidate for condition a is referred to as event ID1a. The self-condition (condition a) and partner condition (condition b or condition c) of any inter-event condition (condition ab or condition ac) related to event ID 1a are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID1aに関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が後続する後続条件(条件bまたは条件c)が含まれる(S24/YES)。 The partner condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to event ID 1a includes a subsequent condition (condition b or condition c) that is timed after itself (condition a). (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
次に,条件bの候補として新規登録したID1のイベントについて,S11の処理が実行される。条件bの候補として新規登録したID1のイベント(条件bを満たすイベント)に関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件(条件b)に時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event with ID1 newly registered as a candidate for condition b. In the partner condition (condition a, d) of each inter-event condition (condition a or condition bd) related to the event with ID1 newly registered as a candidate for condition b (event satisfying condition b), in the own condition (condition b) The preceding condition (condition a) preceded by time is included (S11 / YES). Therefore, the
以下,条件bの候補として新規登録したID1のイベントをイベントID1bと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID1bに関連する,先行条件を含むイベント間条件(例えば,条件a-b)を満たすイベントはない(S12/NO)。このイベント間条件a-bを満たすイベントは,イベント間条件a-b("17:54:00"から40秒以内の時間,異なるID,および同じエリア,スペースを有するイベント)を満たすイベントである。 Hereinafter, an event with ID1 newly registered as a candidate for condition b is referred to as event ID1b. Among the events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), there is no event that satisfies the inter-event condition including the preceding condition (for example, condition ab) related to event ID1b (S12 / NO). An event that satisfies this inter-event condition a-b is an event that satisfies the inter-event condition a-b (an event having a time within 40 seconds from "17:54:00", a different ID, and the same area and space).
従って,条件判定部14は,S12でNOと判定し,図10で示すように,ノード削除部16は,イベントID1bを削除する(S13)。この削除を,図10の"×"で示す。そして,S2に戻る。
Accordingly, the
(ID3のイベント入力)
データ読み取り部13は,イベントが入力されるまで待つ(S2)。データ読み取り部13は,図11のイベントテーブルに示す,ID3のイベントを読み取る(S2)。図11において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,現在の時間"17:54:00"と,条件cの候補または条件dの候補に登録されたイベントの時間との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID3)
The
図11において,各候補に登録されたイベントの中で,イベントID1aは,未処理のイベントであり,かつ,異なる2辺で接続されていないイベントである。従って,S4の未処理のイベント(イベントID1a)であって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In FIG. 11, among the events registered in each candidate, the event ID 1a is an unprocessed event and is not connected on two different sides. Therefore, there is an unprocessed event (event ID 1a) in S4 and an event (event ID 1a) that is not connected by two sides of different types (S4 / YES). Accordingly, the
図11において,図7のS5で説明した削除イベントはない。理由は以下の通りである。未処理のイベントID1aが満たす条件aを自身条件として含むイベント間条件a-b,a-cのタイムアウト時間は40秒,20分である。 In FIG. 11, there is no deletion event described in S5 of FIG. The reason is as follows. The timeout period of the inter-event conditions a-b and a-c including the condition a satisfied by the unprocessed event ID 1a as its own condition is 40 seconds and 20 minutes.
現在時間"17:54:00"と,条件aの候補に登録されたイベントID1aの時間"17:54:00"との差が,このタイムアウト時間(40秒,20分)を超えていない(S5/NO)。また,イベントID1aが満たす条件aよりも前に関連する条件はない(S5/NO)。従って,条件判定部14は,S5でNOと判定し,S6に移る。
The difference between the current time "17:54:00" and the time "17:54:00" of event ID1a registered in the condition a candidate does not exceed this timeout time (40 seconds, 20 minutes) ( S5 / NO). Further, there is no related condition before the condition a satisfied by the event ID 1a (S5 / NO). Therefore, the
条件判定部14は,未処理のイベントID1aを処理済み(S6)にして,S3に戻る。S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1aは処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベント(イベントID1a)を未処理にする(S8)。
The
ID3の入力イベントは,エリアa〜dを含まないので,条件a〜dを満たさない(S9/NO)。従って,条件判定部14は,ID3のイベントについては何もしない。
Since the input event of ID3 does not include the areas a to d, the conditions a to d are not satisfied (S9 / NO). Therefore, the
(ID7のイベント入力)
データ読み取り部13は,図12のイベントテーブルに示す,ID7のイベントを読み取る(S2)。図12において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,現在の時間"17:54:00"と,条件cの候補または条件dの候補に登録されたイベントの時間との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID7)
The
図12において,条件判定部14は,イベントID1aについては,図11で説明したように,S3でNO,S4でYES,S5でNOと判定し,S6に移る。
In FIG. 12, the
条件判定部14は,未処理のイベントID1aを処理済み(S6)にして,S3に戻る。S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1aは処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベント(イベントID1a)を未処理にする(S8)。
The
ID7の入力イベントは,エリアa,bを含むので,条件a〜dの中で,条件a,bを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID7のイベントを条件a,bの候補として新規登録する(S10)。
Since the input event of ID7 includes areas a and b, conditions a and b are satisfied in conditions a to d (S9 / YES). Accordingly, the
そして,条件判定部14は,条件a,bの候補として新規登録した各イベントについて,S11の処理を実行する。
Then, the
条件aの候補として新規登録したID7のイベント(条件aを満たすイベント)に関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が先行する先行条件(条件無し)は含まれない(S11/NO)。従って,条件判定部14は,S11でNOと判定する。
In the partner condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to the event of ID7 newly registered as a candidate for condition a (event satisfying condition a), in the own condition (condition a) The preceding condition (no condition) preceded by time is not included (S11 / NO). Therefore, the
以下,条件aの候補として新規登録したID7のイベントをイベントID7aと記す。イベントID7aに関連する任意のイベント間条件(条件a-bまたは条件a-c)の自身条件(条件a)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 Hereinafter, an event with ID7 newly registered as a candidate for condition a is referred to as event ID7a. The own condition (condition a) and partner condition (condition b or condition c) of any inter-event condition (condition ab or condition ac) related to event ID 7a are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID7aに関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が後続する後続条件(条件bまたは条件c)が含まれる(S24/YES)。 The partner condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to event ID 7a includes a subsequent condition (condition b or condition c) that is followed by its own condition (condition a). (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
次に,条件bの候補として新規登録したID7のイベントについて,S11の処理が実行される。条件bの候補として新規登録したID7のイベント(条件bを満たすイベント)に関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件(条件b)に時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event with ID7 newly registered as a candidate for condition b. In the partner condition (condition a, d) of each inter-event condition (condition a or condition bd) related to the event of ID7 newly registered as a candidate for condition b (event satisfying condition b), in the own condition (condition b) The preceding condition (condition a) preceded by time is included (S11 / YES). Therefore, the
以下,条件bの候補として新規登録したID7のイベントをイベントID7bと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID7bに関連する,先行条件を含むイベント間条件(例えば,条件a-b)を満たすイベントはない(S12/NO)。このイベント間条件a-bを満たすイベントは,イベント間条件a-b("17:54:00"から40秒以内の時間,異なるID,および同じエリア,スペースを有するイベント)を満たすイベントである。 Hereinafter, an event with ID7 newly registered as a candidate for condition b is referred to as event ID7b. Among the events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), there is no event that satisfies the inter-event condition including the preceding condition (for example, condition ab) related to event ID 7b (S12 / NO). An event that satisfies this inter-event condition a-b is an event that satisfies the inter-event condition a-b (an event having a time within 40 seconds from "17:54:00", a different ID, and the same area and space).
従って,ノード削除部16は,S12でNOと判定し,図13で示すように,イベントID7bを削除する(S13)。この削除を,図13の"×"で示す。そして,S2に戻る。
Therefore, the
(ID4のイベント入力)
データ読み取り部13は,図14のイベントテーブルに示す,ID4のイベントを読み取る(S2)。図14において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,条件cの候補または条件dの候補に登録されたイベントの時間と,現在の時間"17:54:10"との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID4)
The
図14において,各候補に登録されたイベントの中で,イベントID1a,ID7aは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベント(イベントID1a,ID7a)であって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a,ID7a)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In FIG. 14, among the events registered in each candidate, event IDs 1a and ID7a are unprocessed events and events that are not connected by two different types of sides. Therefore, there is an unprocessed event (event ID1a, ID7a) of S4 and an event (event ID1a, ID7a) that is not connected between two different types (S4 / YES). Accordingly, the
図14において,図7のS5で説明した削除イベントはない。理由は以下の通りである。未処理のイベントID1a,ID7aが満たす条件aを自身条件として含むイベント間条件a-b,a-cのタイムアウト時間は40秒,20分である。また,未処理のイベントID4bが満たす条件bを自身条件として含むイベント間条件a-b,b-dのタイムアウト時間は40秒,20分である。 In FIG. 14, there is no deletion event described in S5 of FIG. The reason is as follows. The timeout period of the inter-event conditions a-b, a-c including the condition a that the unprocessed event ID 1a, ID 7a satisfies as its own condition is 40 seconds, 20 minutes. In addition, the timeout period of the inter-event conditions ab and bd including the condition b satisfied by the unprocessed event ID 4b as its own condition is 40 seconds and 20 minutes.
現在時間は"17:54:00",条件a,条件bの候補に登録されたイベントの時間は,"17:54:00","17:54:10"であるので,条件aの候補に登録されたイベントの中で,前記タイムアウト時間(40秒または20分)を超えているイベントはない(S5/NO)。 The current time is "17:54:00", and the time of the event registered in the condition a and condition b candidates is "17:54:00" and "17:54:10", so the condition a candidate There is no event that exceeds the timeout period (40 seconds or 20 minutes) among the events registered in (S5 / NO).
また,条件aの候補に登録されたイベントの中で,このイベントが満たす条件aよりも前に関連する条件はない(S5/NO)。従って,条件判定部14は,S5でNOと判定し,S6に移る。
In addition, among the events registered as candidates for condition a, there is no related condition before condition a satisfied by this event (S5 / NO). Therefore, the
条件判定部14は,未処理のイベントID1a,ID7aを処理済み(S6)にして,S3に戻る。S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1a,ID7aは処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベント(イベントID1a,ID7a)を未処理にする(S8)。
The
ID4の入力イベントは,エリアa,bを含むので,条件a〜dの中で,条件a,bを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID4のイベントを条件a,bの候補として新規登録する(S10)。
Since the input event of ID4 includes areas a and b, conditions a and b are satisfied in conditions a to d (S9 / YES). Accordingly, the
条件aの候補として新規登録したID4のイベント(条件aを満たすイベント)に関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が先行する先行条件(条件無し)は含まれない(S11/NO)。従って,条件判定部14は,S11でNOと判定する。
In the partner condition (condition b, c) of the inter-event condition (condition ab, condition ac) related to the event of ID4 newly registered as a candidate for condition a (event satisfying condition a), in the own condition (condition a) The preceding condition (no condition) preceded by time is not included (S11 / NO). Therefore, the
以下,条件aの候補として新規登録したID4のイベントをイベントID4aと記す。イベントID4aに関連する任意のイベント間条件(条件a-bまたは条件a-c)の自身条件(条件a)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 Hereinafter, an event with ID4 newly registered as a candidate for condition a is referred to as event ID4a. The own condition (condition a) and partner condition (condition b or condition c) of any inter-event condition (condition ab or condition ac) related to event ID 4a are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID4aに関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が後続する後続条件(条件bまたは条件c)が含まれる(S24/YES)。 The partner condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to event ID 4a includes a subsequent condition (condition b or condition c) whose time follows the own condition (condition a). (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
次に,条件bの候補として新規登録したID4のイベントについて,S11の処理が実行される。 Next, the process of S11 is executed for the event with ID4 newly registered as a candidate for condition b.
条件bの候補として新規登録したID4のイベント(条件bを満たすイベント)に関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件(条件b)に時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
In the other condition (condition a, d) of each inter-event condition (condition ab or condition bd) related to the event with ID4 newly registered as a candidate for condition b (event satisfying condition b), in the own condition (condition b) The preceding condition (condition a) preceded by time is included (S11 / YES). Therefore, the
以下,条件bの候補として新規登録したID4のイベントをイベントID4bと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID4bに関連する,先行条件を含むイベント間条件(例えば,条件a-b)を満たすイベント(イベントID1a)はある(S12/YES)。このイベント間条件a-bを満たすイベントは,イベント間条件a-b("17:54:10"から40秒以内の時間,異なるID,および同じエリア,スペース(2”,23”)を有するイベント)を満たすイベントID1aである。 Hereinafter, an event with ID4 newly registered as a candidate for condition b is referred to as event ID4b. Among events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), events that satisfy the inter-event condition including the preceding condition (for example, condition ab) related to event ID 4b (event ID1a) Yes (S12 / YES). An event that satisfies this inter-event condition ab satisfies the inter-event condition ab (an event having a time within 40 seconds from "17:54:10", a different ID, and the same area and space (2 ", 23")) Event ID 1a.
従って,条件判定部14は,S12でYESと判定する。そして,グラフ管理部15は,図15で示すように,イベント間条件を満たしたイベントID1aと,新規登録イベントID4bとを辺(実線参照)で接続する(S14)。
Therefore, the
イベントID4bに関連する任意のイベント間条件(条件a-bまたは条件b-d)の自身条件(条件b)および相手条件(条件aまたは条件d)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 The own condition (condition b) and partner condition (condition a or condition d) of any inter-event condition (condition ab or condition bd) related to event ID 4b are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID4bに関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件(条件b)に時間が後続する後続条件(条件d)が含まれる(S24/YES)。 The partner condition (condition a, d) of each inter-event condition (condition ab or condition bd) related to the event ID 4b includes a subsequent condition (condition d) whose time follows the own condition (condition b) (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
(ID1のイベント入力)
データ読み取り部13は,図16のイベントテーブルに示す,ID1のイベントを読み取る(S2)。図16において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,条件cの候補または条件dの候補に登録されたイベントの時間と,現在の時間"17:54:20"との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID1)
The
図16において,各候補に登録されたイベントの中で,イベントID1a,ID7a,ID4a,ID4bは,未処理のイベントである。イベントID1a,ID4bは,1辺で接続されているイベントである。 In FIG. 16, among the events registered in each candidate, event ID 1a, ID 7a, ID 4a, ID 4b are unprocessed events. Event ID1a and ID4b are events connected on one side.
従って,S4の未処理のイベント(イベントID1a,ID7a,ID4a,ID4b)であって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a,ID7a,ID4a,ID4b)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
Therefore, there are unprocessed events in S4 (event ID1a, ID7a, ID4a, ID4b) that are not connected on two different sides (event ID1a, ID7a, ID4a, ID4b) (S4 / YES). Accordingly, the
図16において,図7のS5で説明した削除イベントはない。理由は以下の通りである。未処理のイベントID1a,ID4a,ID7aが満たす条件aを自身条件として含むイベント間条件a-b,a-cのタイムアウト時間は40秒,20分である。また,未処理のイベントID4bが満たす条件bを自身条件として含むイベント間条件a-b,b-dのタイムアウト時間は40秒,20分である。 In FIG. 16, there is no deletion event described in S5 of FIG. The reason is as follows. The timeout period of the inter-event conditions a-b, a-c including the condition a satisfying the unprocessed event ID 1a, ID 4a, ID 7a as its own condition is 40 seconds, 20 minutes. In addition, the timeout period of the inter-event conditions ab and bd including the condition b satisfied by the unprocessed event ID 4b as its own condition is 40 seconds and 20 minutes.
現在時間は"17:54:20",条件a,条件bの候補に登録されたイベントの時間は,"17:54:00","17:54:10"であるので,条件a,条件bの候補に登録されたイベントの中で,前記タイムアウト時間(40秒または20分)を超えているイベントはない(S5/NO)。 The current time is "17:54:20", and the event times registered as candidates for condition a and condition b are "17:54:00" and "17:54:10", so condition a and condition Among the events registered as candidates for b, there is no event that exceeds the timeout time (40 seconds or 20 minutes) (S5 / NO).
また,条件aの候補に登録されたイベントの中で,このイベントが満たす条件aよりも前に関連する条件はない(S5/NO)。さらに,条件bの候補に登録されたイベントの中で,このイベント(イベントID4b)が満たす条件bよりも前の時間に関連する条件aを満たすイベント(イベントID1a)と辺で接続されている(S5/NO)。従って,条件判定部14は,S5でNOと判定し,S6に移る。
In addition, among the events registered as candidates for condition a, there is no related condition before condition a satisfied by this event (S5 / NO). Furthermore, among events registered as candidates for condition b, they are connected by edges to an event (event ID 1a) that satisfies condition a related to a time prior to condition b that this event (event ID 4b) satisfies ( S5 / NO). Therefore, the
条件判定部14は,未処理のイベントID1a,ID7a,ID4a,ID4bを処理済み(S6)にして,S3に戻る。S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1a,ID7a,ID4a,ID4bは,処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。
The
ID1の入力イベントは,エリアa,bを含むので,条件a〜dの中で,条件a,bを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID1のイベントを条件a,bの候補として新規登録する(S10)。
Since the input event of ID1 includes areas a and b, conditions a and b are satisfied in conditions a to d (S9 / YES). Accordingly, the
条件aの候補として新規登録したID1のイベント(条件aを満たすイベント)に関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が先行する先行条件(条件無し)は含まれない(S11/NO)。従って,条件判定部14は,S11でNOと判定する。
In the partner condition (condition b, c) of the inter-event condition (condition ab, condition ac) related to the event of ID1 newly registered as a candidate for condition a (event satisfying condition a), in the own condition (condition a) The preceding condition (no condition) preceded by time is not included (S11 / NO). Therefore, the
以下,条件aの候補として新規登録したID1のイベントをイベントID1a"17:54:20"と記す。イベントID1a"17:54:20"に関連する任意のイベント間条件(条件a-bまたは条件a-c)の自身条件(条件a)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 Hereinafter, the event of ID1 newly registered as a candidate for condition a is described as event ID1a “17:54:20”. The self-condition (condition a) and partner condition (condition b or condition c) of any inter-event condition (condition ab or condition ac) related to event ID1a "17:54:20" are unrelated conditions (conditions Not c and condition d) (S21 / NO).
イベントID1a"17:54:20"に関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が後続する後続条件(条件bまたは条件c)が含まれる(S24/YES)。 Subordinate condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to event ID 1a "17:54:20", and subsequent condition (condition b) that follows the own condition (condition a) Or condition c) is included (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
次に,条件bの候補として新規登録したID1のイベントについて,S11の処理が実行される。条件bの候補として新規登録したID1のイベント(条件bを満たすイベント)に関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件(条件b)に時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event with ID1 newly registered as a candidate for condition b. In the partner condition (condition a, d) of each inter-event condition (condition a or condition bd) related to the event with ID1 newly registered as a candidate for condition b (event satisfying condition b), in the own condition (condition b) The preceding condition (condition a) preceded by time is included (S11 / YES). Therefore, the
以下,条件bの候補として新規登録したID1のイベントをイベントID1bと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID1bに関連する,先行条件を含むイベント間条件(例えば,条件a-b)を満たすイベントはない(S12/NO)。このイベント間条件a-bを満たすイベントは,イベント間条件a-b("17:54:20"から40秒以内の時間,異なるID,および同じエリア,スペースを有するイベント)を満たすイベントである。 Hereinafter, an event with ID1 newly registered as a candidate for condition b is referred to as event ID1b. Among the events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), there is no event that satisfies the inter-event condition including the preceding condition (for example, condition ab) related to event ID1b (S12 / NO). An event that satisfies this inter-event condition a-b is an event that satisfies the inter-event condition a-b (an event having a time within 40 seconds from "17:54:20", a different ID, and the same area and space).
従って,ノード削除部16は,S12でNOと判定し,図17で示すように,イベントID1bを削除する(S13)。この削除を,図17の"×"で示す。そして,S2に戻る。
Therefore, the
(ID2のイベント入力)
データ読み取り部13は,図18のイベントテーブルに示す,ID2のイベントを読み取る(S2)。図18において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,条件cの候補または条件dの候補に登録されたイベントの時間と,現在の時間"17:54:20"との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID2)
The
図18において,各候補に登録されたイベントの中で,イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4bは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベントであって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In FIG. 18, among the events registered for each candidate, event ID1a ("17:54:00", "17:54:20"), event ID7a, ID4a, ID4b are unprocessed events, And it is an event that is not connected by two different types of sides. Therefore, it is an unprocessed event of S4 and is not connected by two sides of different types (event ID1a ("17:54:00", "17:54:20"), event ID7a, ID4a ID4b) (S4 / YES). Accordingly, the
図18において,図7のS5で説明した削除イベントはない。理由は以下の通りである。未処理のイベントID1a"17:54:00",ID1a"17:54:20",ID4a,ID7aが満たす条件aを自身条件として含むイベント間条件a-b,a-cのタイムアウト時間は40秒,20分である。また,未処理のイベントID4bが満たす条件bを自身条件として含むイベント間条件a-b,b-dのタイムアウト時間は40秒,20分である。 In FIG. 18, there is no deletion event described in S5 of FIG. The reason is as follows. Unprocessed event ID1a "17:54:00", ID1a "17:54:20", inter-event condition ab and ac that include condition a satisfying ID4a and ID7a as its own condition, and the timeout time of ac is 40 seconds and 20 minutes is there. In addition, the timeout period of the inter-event conditions ab and bd including the condition b satisfied by the unprocessed event ID 4b as its own condition is 40 seconds and 20 minutes.
現在時間は"17:54:20",条件a,条件bの候補に登録されたイベントの時間は,"17:54:00","17:54:10","17:54:20"であるので,条件a,条件bの候補に登録されたイベントの中で,前記タイムアウト時間(40秒または20分)を超えているイベントはない(S5/NO)。 The current time is "17:54:20", and the event times registered as candidates for condition a and condition b are "17:54:00", "17:54:10", "17:54:20" Therefore, there is no event that exceeds the timeout time (40 seconds or 20 minutes) among the events registered as candidates for condition a and condition b (S5 / NO).
また,条件aの候補に登録されたイベントの中で,このイベントが満たす条件aよりも前に関連する条件はない(S5/NO)。さらに,条件bの候補に登録されたイベントの中で,このイベント(イベントID4b)が満たす条件bよりも前の時間に関連する条件aを満たすイベント(イベントID1a)と辺で接続されている(S5/NO)。従って,条件判定部14は,S5でNOと判定し,S6に移る。
In addition, among the events registered as candidates for condition a, there is no related condition before condition a satisfied by this event (S5 / NO). Furthermore, among events registered as candidates for condition b, they are connected by edges to an event (event ID 1a) that satisfies condition a related to a time prior to condition b that this event (event ID 4b) satisfies ( S5 / NO). Therefore, the
条件判定部14は,未処理のイベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4bを処理済み(S6)にして,S3に戻る。S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4bは処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。
The
ID2の入力イベントは,エリアa,bを含むので,条件a〜dの中で,条件a,bを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID2のイベントを条件a,bの候補として新規登録する(S10)。
Since the input event of ID2 includes areas a and b, conditions a and b are satisfied in conditions a to d (S9 / YES). Accordingly, the
条件aの候補として新規登録したID2のイベント(条件aを満たすイベント)に関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が先行する先行条件(条件無し)は含まれない(S11/NO)。従って,条件判定部14は,S11でNOと判定する。
In the event condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to the event of ID2 newly registered as a candidate for condition a (event satisfying condition a), in the own condition (condition a) The preceding condition (no condition) preceded by time is not included (S11 / NO). Therefore, the
以下,条件aの候補として新規登録したID2のイベントをイベントID2aと記す。イベントID2aに関連する任意のイベント間条件(条件a-bまたは条件a-c)の自身条件(条件a)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 Hereinafter, an event with ID2 newly registered as a candidate for condition a is referred to as event ID2a. The own condition (condition a) and partner condition (condition b or condition c) of any inter-event condition (condition ab or condition ac) related to event ID2a are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID2aに関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件aに時間が後続する後続条件(条件bまたは条件c)が含まれる(S24/YES)。従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
The partner condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to the event ID 2a includes a subsequent condition (condition b or condition c) whose time follows the own condition a (S24 / YES). Accordingly, the
次に,条件bの候補として新規登録したID2のイベントについて,S11の処理が実行される。条件bの候補として新規登録したID2のイベント(条件bを満たすイベント)に関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件bに時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event of ID2 newly registered as a candidate for condition b. Condition b of the inter-event condition (condition a or d) related to the event of ID2 newly registered as a candidate for condition b (event satisfying condition b) is preceded by its own condition b. The preceding condition (condition a) to be included is included (S11 / YES). Therefore, the
以下,条件bの候補として新規登録したID2のイベントをイベントID2bと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID2bに関連する,先行条件を含むイベント間条件(例えば,条件a-b)を満たすイベント(イベントID4a)はある(S12/YES)。このイベント間条件a-bを満たすイベントは,イベント間条件a-b("17:54:20"から40秒以内の時間,異なるID,および同じエリア,スペース(2”,23”)を有するイベント)を満たすイベントID1a"17:54:00",ID4aである。 Hereinafter, an event with ID2 newly registered as a candidate for condition b is referred to as event ID2b. Among events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), events that satisfy the inter-event condition including the preceding condition (for example, condition ab) related to event ID2b (event ID4a) Yes (S12 / YES). An event that satisfies this inter-event condition ab satisfies the inter-event condition ab (an event having a time within 40 seconds from "17:54:20", a different ID, and the same area and space (2 ", 23")) Event ID 1a “17:54:00”, ID 4a.
従って,条件判定部14は,S12でYESと判定する。そして,グラフ管理部15は,図19で示すように,イベント間条件を満たしたイベントID1a"17:54:00",ID4aと,新規登録イベントID2bとを辺(実線参照)で接続する(S14)。
Therefore, the
イベントID2bに関連する任意のイベント間条件(条件a-bまたは条件b-d)の自身条件(条件b)および相手条件(条件aまたは条件d)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 The own condition (condition b) and partner condition (condition a or condition d) of any inter-event condition (condition ab or condition bd) related to event ID 2b are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID4bに関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件(条件b)に時間が後続する後続条件(条件d)が含まれる(S24/YES)。 The partner condition (condition a, d) of each inter-event condition (condition ab or condition bd) related to the event ID 4b includes a subsequent condition (condition d) whose time follows the own condition (condition b) (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
(ID6のイベント入力)
データ読み取り部13は,図20のイベントテーブルに示す,ID6のイベントを読み取る(S2)。図20において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,条件cの候補または条件dの候補に登録されたイベントの時間と,現在の時間"17:54:20"との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID6)
The
図20において,各候補に登録されたイベントの中で,イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID2a,ID2bは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベントであって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID2a,ID2b)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In Fig. 20, among the events registered for each candidate, event ID1a ("17:54:00", "17:54:20"), event ID7a, ID4a, ID4b, ID2a, ID2b are unprocessed An event that is not connected by two sides of different types. Therefore, it is an unprocessed event of S4 and is not connected by two sides of different types (event ID1a ("17:54:00", "17:54:20"), event ID7a, ID4a , ID4b, ID2a, ID2b) (S4 / YES). Accordingly, the
図20において,図7のS5で説明した削除イベントはない。理由は以下の通りである。 In FIG. 20, there is no deletion event described in S5 of FIG. The reason is as follows.
未処理のイベントID1a"17:54:00",ID1a"17:54:20",ID4a,ID7a,ID2aが満たす条件aを自身条件として含むイベント間条件a-b,a-cのタイムアウト時間は40秒,20分である。また,未処理のイベントID4b,ID2条件bが満たす条件bを自身条件として含むイベント間条件a-b,b-dのタイムアウト時間は40秒,20分である。 Unprocessed event ID1a "17:54:00", ID1a "17:54:20", inter-event condition ab and ac that include condition a that satisfies ID4a, ID7a, and ID2a as their own conditions The timeout time of ac is 40 seconds, 20 Minutes. In addition, the timeout period of the inter-event conditions ab and bd including the condition b satisfying the unprocessed event ID 4b and ID2 condition b as its own condition is 40 seconds and 20 minutes.
現在時間は"17:54:20",条件a,条件bの候補に登録されたイベントの時間は,"17:54:00","17:54:10","17:54:20"であるので,条件a,条件bの候補に登録されたイベントの中で,前記タイムアウト時間(40秒または20分)を超えているイベントはない(S5/NO)。 The current time is "17:54:20", and the event times registered as candidates for condition a and condition b are "17:54:00", "17:54:10", "17:54:20" Therefore, there is no event that exceeds the timeout time (40 seconds or 20 minutes) among the events registered as candidates for condition a and condition b (S5 / NO).
また,条件aの候補に登録されたイベントの中で,このイベントが満たす条件aよりも前に関連する条件はない(S5/NO)。さらに,条件bの候補に登録されたイベントの中で,このイベント(イベントID4b,ID2b)が満たす条件bよりも前の時間に関連する条件aを満たすイベント(イベントID1a,ID4a)と辺で接続されている(S5/NO)。従って,条件判定部14は,S5でNOと判定し,S6に移る。
In addition, among the events registered as candidates for condition a, there is no related condition before condition a satisfied by this event (S5 / NO). In addition, among the events registered as candidates for condition b, the event (event ID1a, ID4a) that meets condition a related to the time before condition b that this event (event ID4b, ID2b) satisfies is connected on the side (S5 / NO). Therefore, the
条件判定部14は,未処理のイベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID2a,ID2bを処理済み(S6)にして,S3に戻る。S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID2a,ID2bは処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。
The
ID6の入力イベントは,エリアa,bを含むので,条件a〜dの中で,条件a,bを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID6のイベントを条件a,bの候補として新規登録する(S10)。
Since the input event of ID6 includes areas a and b, conditions a and b are satisfied in conditions a to d (S9 / YES). Therefore, the
条件aの候補として新規登録したID6のイベント(条件aを満たすイベント)に関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が先行する先行条件(条件無し)は含まれない(S11/NO)。従って,条件判定部14は,S11でNOと判定する。
In the partner condition (condition b, c) of the inter-event condition (condition ab, condition ac) related to the event of ID6 newly registered as a candidate for condition a (event satisfying condition a), in the own condition (condition a) The preceding condition (no condition) preceded by time is not included (S11 / NO). Therefore, the
以下,条件aの候補として新規登録したID6のイベントをイベントID6aと記す。イベントID6aに関連する任意のイベント間条件(条件a-bまたは条件a-c)の自身条件(条件a)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 Hereinafter, an event with ID6 newly registered as a candidate for condition a is referred to as event ID6a. The own condition (condition a) and partner condition (condition b or condition c) of any inter-event condition (condition ab or condition ac) related to event ID 6a are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID6aに関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件aに時間が後続する後続条件(条件bまたは条件c)が含まれる(S24/YES)。 The partner condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to the event ID 6a includes a subsequent condition (condition b or condition c) whose time follows the own condition a (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
次に,条件bの候補として新規登録したID6のイベントについて,S11の処理が実行される。条件bの候補として新規登録したID6のイベント(条件bを満たすイベント)に関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件bに時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event with ID6 newly registered as a candidate for condition b. Condition b of the inter-event condition (condition a or d) related to the event of ID6 newly registered as a candidate of condition b (event satisfying condition b) is preceded by its own condition b. The preceding condition (condition a) to be included is included (S11 / YES). Therefore, the
以下,条件bの候補として新規登録したID6のイベントをイベントID6bと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID6bに関連する,先行条件を含むイベント間条件(例えば,条件a-b)を満たすイベント(イベントID7a)はある(S12/YES)。このイベント間条件a-bを満たすイベントは,イベント間条件a-b("17:54:20"から40秒以内の時間,異なるID,および同じエリア,スペース(3”,23”)を有するイベント)を満たすイベントID7aである。 Hereinafter, an event with ID6 newly registered as a candidate for condition b is referred to as event ID6b. Among events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), events that satisfy the inter-event condition including the preceding condition (for example, condition ab) related to event ID 6b (event ID 7a) Yes (S12 / YES). An event that satisfies this inter-event condition ab satisfies the inter-event condition ab (an event having a time within 40 seconds from "17:54:20", a different ID, and the same area and space (3 ", 23")) Event ID 7a.
従って,条件判定部14は,S12でYESと判定する。そして,グラフ管理部15は,図21で示すように,イベント間条件を満たしたイベントID7aと,新規登録イベントID6bとを辺(実線参照)で接続する(S14)。
Therefore, the
イベントID6bに関連する任意のイベント間条件(条件a-bまたは条件b-d)の自身条件(条件b)および相手条件(条件aまたは条件d)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 The own condition (condition b) and partner condition (condition a or condition d) of any inter-event condition (condition ab or condition bd) related to event ID 6b are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID6bに関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件(条件b)に時間が後続する後続条件(条件d)が含まれる(S24/YES)。 The partner condition (condition a, d) of each inter-event condition (condition ab or condition bd) related to the event ID 6b includes a subsequent condition (condition d) in which the time follows the own condition (condition b) (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
(ID5のイベント入力)
データ読み取り部13は,図22のイベントテーブルに示す,ID5のイベントを読み取る(S2)。図22において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,条件cの候補または条件dの候補に登録されたイベントの時間と,現在の時間"17:54:20"との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID5)
The
図22において,各候補に登録されたイベントの中で,イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID6a,ID6b,ID2a,ID2bは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベントであって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID6a,ID6b,ID2a,ID2b)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In Fig. 22, among the events registered for each candidate, event ID1a ("17:54:00", "17:54:20"), event ID7a, ID4a, ID4b, ID6a, ID6b, ID2a, ID2b are , An unprocessed event and an event that is not connected by two sides of different types. Therefore, it is an unprocessed event of S4 and is not connected by two sides of different types (event ID1a ("17:54:00", "17:54:20"), event ID7a, ID4a , ID4b, ID6a, ID6b, ID2a, ID2b) (S4 / YES). Accordingly, the
図22において,図7のS5で説明した削除イベントはない。理由は以下の通りである。 In FIG. 22, there is no deletion event described in S5 of FIG. The reason is as follows.
未処理のイベントID1a"17:54:00",ID1a"17:54:20",ID4a,ID7a,ID2a,ID6aが満たす条件aを自身条件として含むイベント間条件a-b,a-cのタイムアウト時間は40秒,20分である。また,未処理のイベントID4b,ID2b,ID6bが満たす条件bを自身条件として含むイベント間条件a-b,b-dのタイムアウト時間は40秒,20分である。 Unprocessed event ID1a "17:54:00", ID1a "17:54:20", inter-event conditions ab and ac that include condition a satisfying ID4a, ID7a, ID2a, and ID6a as their own conditions The timeout time of ac is 40 seconds , 20 minutes. Further, the timeout period of the inter-event conditions ab and bd including the condition b satisfying the unprocessed event IDs 4b, ID2b, and ID6b as their own conditions is 40 seconds and 20 minutes.
現在時間は"17:54:20",条件a,条件bの候補に登録されたイベントの時間は,"17:54:00","17:54:10","17:54:20"であるので,条件a,条件bの候補に登録されたイベントの中で,前記タイムアウト時間(40秒または20分)を超えているイベントはない(S5/NO)。 The current time is "17:54:20", and the event times registered as candidates for condition a and condition b are "17:54:00", "17:54:10", "17:54:20" Therefore, there is no event that exceeds the timeout time (40 seconds or 20 minutes) among the events registered as candidates for condition a and condition b (S5 / NO).
また,条件aの候補に登録されたイベントの中で,このイベントが満たす条件aよりも前に関連する条件はない(S5/NO)。さらに,条件bの候補に登録されたイベントの中で,このイベント(イベントID4b,ID2b,ID6b)が満たす条件bよりも前の時間に関連する条件aを満たすイベント(イベントID1a,ID4a,ID7a)と辺で接続されている(S5/NO)。従って,条件判定部14は,S5でNOと判定し,S6に移る。
In addition, among the events registered as candidates for condition a, there is no related condition before condition a satisfied by this event (S5 / NO). Furthermore, among the events registered as candidates for condition b, events (event ID1a, ID4a, ID7a) satisfying condition a related to the time prior to condition b satisfied by this event (event ID4b, ID2b, ID6b) And connected at the side (S5 / NO). Therefore, the
条件判定部14は,未処理のイベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID6a,ID6b,ID2a,ID2bを処理済み(S6)にして,S3に戻る。S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID6a,ID6b,ID2a,ID2bは処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。
The
ID5の入力イベントは,エリアa,bを含むので,条件a〜dの中で,条件a,bを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID5のイベントを条件a,bの候補として新規登録する(S10)。
Since the input event of ID5 includes areas a and b, conditions a and b are satisfied in conditions a to d (S9 / YES). Accordingly, the
条件aの候補として新規登録したID5のイベント(条件aを満たすイベント)に関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件(条件a)に時間が先行する先行条件(条件無し)は含まれない(S11/NO)。従って,条件判定部14は,S11でNOと判定する。
In the partner condition (condition b, c) of the inter-event condition (condition ab, condition ac) related to the event of ID5 newly registered as a candidate for condition a (event satisfying condition a), in the own condition (condition a) The preceding condition (no condition) preceded by time is not included (S11 / NO). Therefore, the
以下,条件aの候補として新規登録したID5のイベントをイベントID5aと記す。イベントID5aに関連する任意のイベント間条件(条件a-bまたは条件a-c)の自身条件(条件a)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 Hereinafter, an event with ID5 newly registered as a candidate for condition a is referred to as event ID5a. The own condition (condition a) and partner condition (condition b or condition c) of any inter-event condition (condition ab or condition ac) related to event ID 5a are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID5aに関連する各イベント間条件(条件a-b,条件a-c)の相手条件(条件b,c)に,自身条件aに時間が後続する後続条件(条件bまたは条件c)が含まれる(S24/YES)。 The partner condition (condition b, c) of each inter-event condition (condition ab, condition ac) related to the event ID 5a includes a subsequent condition (condition b or condition c) whose time follows the own condition a (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
次に,条件bの候補として新規登録したID5のイベントについて,S11の処理が実行される。条件bの候補として新規登録したID5のイベント(条件bを満たすイベント)に関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件bに時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event with ID5 newly registered as a candidate for condition b. Condition b of the inter-event condition (condition a or d) related to the event of ID5 newly registered as a candidate for condition b (event satisfying condition b) is preceded by its own condition b. The preceding condition (condition a) to be included is included (S11 / YES). Therefore, the
以下,条件bの候補として新規登録したID5のイベントをイベントID5bと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID5bに関連する,先行条件を含むイベント間条件(例えば,条件a-b)を満たすイベント(イベントID1a"17:54:00",イベントID4a)はある(S12/YES)。このイベント間条件a-bを満たすイベントは,イベント間条件a-b("17:54:20"から40秒以内の時間,異なるID,および同じエリア,スペース(2”,23”)を有するイベント)を満たすイベントID1a"17:54:00",イベントID4aである。 Hereinafter, an event with ID5 newly registered as a candidate for condition b is referred to as event ID5b. Among events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), events that satisfy the inter-event condition including the preceding condition (for example, condition ab) related to event ID 5b (event ID1a " 17:54:00 ", event ID 4a) is present (S12 / YES). An event that satisfies this inter-event condition ab satisfies the inter-event condition ab (an event having a time within 40 seconds from "17:54:20", a different ID, and the same area and space (2 ", 23")) Event ID 1a “17:54:00”, event ID 4a.
従って,条件判定部14は,S12でYESと判定する。そして,グラフ管理部15は,図23で示すように,イベント間条件を満たしたイベントID1a"17:54:00",イベントID4aと,新規登録イベントID5bとを辺(実線参照)で接続する(S14)。
Therefore, the
イベントID5bに関連する任意のイベント間条件(条件a-bまたは条件b-d)の自身条件(条件b)および相手条件(条件aまたは条件d)は,前後関係のない条件(条件cおよび条件d)ではない(S21/NO)。 The own condition (condition b) and partner condition (condition a or condition d) of any inter-event condition (condition ab or condition bd) related to event ID5b are not unrelated conditions (condition c and condition d) (S21 / NO).
イベントID5bに関連する各イベント間条件(条件a-bまたは条件b-d)の相手条件(条件a,d)に,自身条件(条件b)に時間が後続する後続条件(条件d)が含まれる(S24/YES)。 The partner condition (condition a, d) of each inter-event condition (condition ab or condition bd) related to the event ID 5b includes a subsequent condition (condition d) whose time follows the own condition (condition b) (S24 / YES).
従って,条件判定部14は,S21でNO,S24でYESと判定し,S2に移る。
Accordingly, the
(ID8のイベント入力)
データ読み取り部13は,図24のイベントテーブルに示す,ID8のイベントを読み取る(S2)。図24において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,条件cの候補または条件dの候補に登録されたイベントの時間と,現在の時間"17:55:00"(なお,"17:55:01"秒でもよい)との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID8)
The
図24において,各候補に登録されたイベントの中で,イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID6a,ID6b,ID5a,ID5b,ID2a,ID2bは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベントであって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a("17:54:00","17:54:20"),イベントID7a,ID4a,ID4b,ID6a,ID6b,ID5a,ID5b,ID2a,ID2bがある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In FIG. 24, among the events registered for each candidate, event ID1a ("17:54:00", "17:54:20"), event ID7a, ID4a, ID4b, ID6a, ID6b, ID5a, ID5b, ID2a and ID2b are unprocessed events that are not connected by two sides of different types. Therefore, it is an unprocessed event of S4 and is not connected by two sides of different types (event ID1a ("17:54:00", "17:54:20"), event ID7a, ID4a , ID4b, ID6a, ID6b, ID5a, ID5b, ID2a, ID2b (S4 / YES) Therefore, the
図24において,図7のS5で説明した削除イベントは,イベントID1a"17:54:20",ID6a,ID5a,ID2aである。理由は以下の通りである。 In FIG. 24, the deletion events described in S5 of FIG. 7 are event ID1a “17:54:20”, ID6a, ID5a, and ID2a. The reason is as follows.
これらのイベントは,現在の時間"17:55:01"と,1つの辺も持たない未処理のイベントの時間"17:54:20"との差が,前記した未処理のイベントに関連する,最も短いイベント間条件a-bのタイムアウト時間(40秒)を超えているイベントである。 For these events, the difference between the current time "17:55:01" and the unprocessed event time "17:54:20" that has no edge is related to the above-mentioned unprocessed event. , The event that exceeds the timeout time (40 seconds) of the shortest event condition ab.
すなわち,イベントID1a"17:54:20",ID6a,ID5a,ID2aは,1つの辺も持たない未処理のイベントであり,現在時間"17:55:01"と,イベントID1a"17:54:20",ID6a,ID5a,ID2aの時間との差が,イベント間条件a-bのタイムアウト時間"40秒"を超えている。従って,ノード削除部16は,これらイベントID1a"17:54:20",ID2a,ID6a,ID5aについては,S5でYESと判定し,これらのイベントを削除する(S7)。
That is, event ID1a “17:54:20”, ID6a, ID5a, and ID2a are unprocessed events that do not have one side, and the current time “17:55:01” and event ID1a “17:54: The time difference between 20 ", ID6a, ID5a, and ID2a exceeds the timeout time" 40 seconds "of the inter-event condition ab. Accordingly, the
未処理のイベントID1a"17:54:00",ID4a,ID7aは,それぞれ条件bの候補として登録されているイベントと辺(実線)で接続されている。従って,未処理のイベントID1a"17:54:00",ID4a,ID7aが満たす条件aを自身条件として含むイベント間条件a-bのタイムアウト時間は20分となる。 The unprocessed event ID 1a “17:54:00”, ID 4a, and ID 7a are connected to the event registered as a candidate for the condition b by a side (solid line). Therefore, the timeout period of the inter-event condition a-b including the unprocessed event ID 1a “17:54:00”, the condition a satisfying the ID 4a and ID 7a as its own condition is 20 minutes.
また,未処理のイベントID4b,ID2b,ID6b,ID5bは,それぞれ条件aの候補として登録されているイベントと辺(実線)で接続されている。従って,未処理のイベントID4b,ID2b,ID6b,ID5bが満たす条件bを自身条件として含むイベント間条件b-dのタイムアウト時間は20分となる。 Further, the unprocessed events ID4b, ID2b, ID6b, and ID5b are connected to the events registered as candidates for the condition a by sides (solid lines). Accordingly, the timeout period of the inter-event condition b-d including the condition b satisfying the unprocessed event ID 4b, ID 2b, ID 6b, ID 5b as its own condition is 20 minutes.
現在時間は"17:55:00",条件a,条件bの候補に登録されたイベントの時間は,"17:54:00","17:54:10"または"17:54:20"であるので,未処理のイベントID1a"17:54:00",ID4a,ID7a,ID4b,ID2b,ID6b,ID5bの中で,前記タイムアウト時間(20分)を超えているイベントはない(S5/NO)。 The current time is "17:55:00", and the time of events registered as candidates for condition a and condition b is "17:54:00", "17:54:10" or "17:54:20" Therefore, there is no unprocessed event ID1a “17:54:00”, ID4a, ID7a, ID4b, ID2b, ID6b, ID5b that has exceeded the timeout time (20 minutes) (S5 / NO ).
条件bの候補に登録された全イベントは,条件aの候補に登録されたイベントと辺で接続されている。さらに,条件bの候補に登録されたイベントの中で,このイベントに関連するイベント間条件b-dのタイムアウト時間(20分)を超えているイベントはない(S5/NO)。 All events registered as candidates for condition b are connected to the events registered as candidates for condition a by edges. Furthermore, no event registered as a candidate for condition b exceeds the timeout period (20 minutes) of the inter-event condition b-d related to this event (S5 / NO).
なお,条件aの候補に登録されたイベントの中で,このイベントが満たす条件aよりも前に関連する条件はない(S5/NO)。さらに,条件bの候補に登録されたイベントの中で,このイベント(イベントID4b,ID2b,ID6b,ID5b)が満たす条件bよりも前の時間に関連する条件aを満たすイベント(イベントID1a,ID4a,ID7a)と辺で接続されている(S5/NO)。従って,条件判定部14は,これらのイベントについてはS5でNOと判定し,S6に移る。条件判定部14は,未処理のイベントID1a"17:54:00",ID4a,ID7a,ID4b,ID2b,ID6b,ID5bを処理済みにする。S6,S7の終了後,S3に戻る。
Of the events registered as candidates for condition a, there is no related condition prior to condition a satisfied by this event (S5 / NO). In addition, among the events registered as candidates for condition b, events (event ID1a, ID4a, ID4a, ID4a, ID4a, It is connected to ID7a) at the side (S5 / NO). Therefore, the
S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1a"17:54:00",ID7a,ID4a,ID4b,ID6b,ID5b,ID2bは,処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。 In S3, no event is registered in the candidate for condition c and the candidate for condition d (S3 / NO). Event ID1a “17:54:00”, ID7a, ID4a, ID4b, ID6b, ID5b, and ID2b have been processed and there are no unprocessed events (S4 / NO). Unprocessed events (S8).
ID8の入力イベントは,エリアa〜dを含まないので,条件a〜dを満たさない(S9/NO)。従って,条件判定部14は,ID8のイベントについては何もしない。
Since the input event of ID8 does not include the areas a to d, the conditions a to d are not satisfied (S9 / NO). Therefore, the
(ID1のイベント入力)
データ読み取り部13は,図25のイベントテーブルに示す,ID1のイベントを読み取る(S2)。図25において条件cの候補および条件dの候補には,何らイベントが登録されていない。従って,条件cの候補または条件dの候補に登録されたイベントの時間と,現在の時間"18:06:00"との差が,無条件タイムアウト"40秒"を超えているイベントはない(S3/NO)。
(Event input of ID1)
The
図25において,各候補に登録されたイベントの中で,イベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6bは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベントであって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6b)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In FIG. 25, among the events registered for each candidate, event ID1a, ID7a, ID4a, ID2b, ID4b, ID5b, and ID6b are unprocessed events and are not connected by two sides of different types. It is an event. Therefore, there is an unprocessed event in S4 and an event (event ID1a, ID7a, ID4a, ID2b, ID4b, ID5b, ID6b) that is not connected on two different sides (S4 / YES). Accordingly, the
図25において,図24で説明したように,未処理のイベントID1a,ID4a,ID7a,ID4b,ID2b,ID6b,ID5bは,削除イベントではない。従って,条件判定部14は,これらのイベントについてはS5でNOと判定し,S6に移る。
In FIG. 25, as described in FIG. 24, unprocessed events ID1a, ID4a, ID7a, ID4b, ID2b, ID6b, and ID5b are not deletion events. Therefore, the
条件判定部14は,未処理のイベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6bを処理済み(S6)にして,S3に戻る。S3において,条件cの候補および条件dの候補には,何らイベントが登録されていない(S3/NO)。そして,イベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6bは,処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。
The
ID1の入力イベントは,エリアc,dを含むので,条件a〜dの中で,条件c,dを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID1のイベントを条件c,dの候補として新規登録する(S10)。
Since the input event of ID1 includes areas c and d, conditions c and d are satisfied among conditions a to d (S9 / YES). Therefore, the
条件cの候補として新規登録したID1のイベント(条件cを満たすイベント)に関連する各イベント間条件(条件a-c,条件c-d)の相手条件(条件a,d)に,自身条件(条件c)に時間が先行する先行条件(条件a)は含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
In the partner condition (condition a, d) of each inter-event condition (condition ac, condition cd) related to the event of ID1 newly registered as a candidate for condition c (event satisfying condition c), in the own condition (condition c) The preceding condition (condition a) preceded by time is included (S11 / YES). Therefore, the
以下,条件cの候補として新規登録したID1のイベントをイベントID1cと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID1cに関連する,先行条件を含むイベント間条件(例えば,条件a-c)を満たすイベント(イベントID1a)はある(S12/YES)。ここで,このイベント間条件a-cを満たすイベントは,イベント間条件a-c("18:06:00"から20分以内の時間および同一IDを有するイベント)を満たすイベントID1aである。 Hereinafter, an event with ID1 newly registered as a candidate for condition c is referred to as event ID1c. Among events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), events that relate to event ID1c and that satisfy the inter-event condition (for example, condition ac) that includes the preceding condition (event ID1a) Yes (S12 / YES). Here, the event that satisfies the inter-event condition a-c is the event ID 1a that satisfies the inter-event condition a-c (an event having the same ID as a time within 20 minutes from “18:06:00”).
従って,条件判定部14は,S12でYESと判定する。そして,グラフ管理部15は,図26で示すように,イベント間条件を満たしたイベントID1aと,新規登録イベントID1cとを辺(一点鎖線参照)で接続する(S14)。
Therefore, the
イベントID1cに関連する任意のイベント間条件(条件a-cまたは条件c-d)の自身条件(条件c)および相手条件(条件aまたは条件d)は,前後関係のない条件(条件cおよび条件d)である(S21/YES)。 The own condition (condition c) and partner condition (condition a or condition d) of any inter-event condition (condition ac or condition cd) related to event ID 1c are unrelated conditions (condition c and condition d) (S21 / YES).
前後関係のない条件(条件c及び条件d)の何れかの条件の中で,イベントID1cに関連する条件以外の条件は,条件dである。そして,条件dの候補として登録されたイベントの中に,イベントID1cに関連する何れかのイベント間条件(条件c-dまたは条件a-c)を満たすイベントはない(S22/NO)。何故なら,条件dの候補として登録されたイベントは,条件cの候補として登録されたイベントと同じだからである。 Among any of the unrelated conditions (condition c and condition d), the condition other than the condition related to the event ID 1c is the condition d. Then, no event registered as a candidate for condition d satisfies any inter-event condition (condition c-d or condition a-c) related to event ID 1c (S22 / NO). This is because the event registered as a candidate for condition d is the same as the event registered as a candidate for condition c.
イベントID1cに関連する各イベント間条件(条件a-cまたは条件c-d)の相手条件(条件a,d)に,自身条件(条件c)に時間が後続する後続条件(条件無し)は含まれない(S24/NO)。 The partner condition (conditions a and d) of each inter-event condition (condition ac or condition cd) related to the event ID 1c does not include a subsequent condition (no condition) whose time follows the own condition (condition c) (S24). / NO).
従って,条件判定部14は,S21でYES,S22でNO,S24でNOと判定し,S25に移る。
Accordingly, the
イベントID1cは,種類の異なる種類の2辺を持たない(S25/NO)。従って,条件判定部14は,S25でNOと判定し,S2に移る。
Event ID 1c does not have two sides of different types (S25 / NO). Therefore, the
次に,条件dの候補として新規登録したID1のイベントについて,S11の処理が実行される。条件dの候補として新規登録したID1のイベント(条件dを満たすイベント)に関連する各イベント間条件(条件b-dまたは条件c-d)の相手条件(条件b,c)に,自身条件(条件c)に時間が先行する先行条件(条件b)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event with ID1 newly registered as a candidate for condition d. In the partner condition (condition b, c) of each inter-event condition (condition bd or condition cd) related to the event with ID1 newly registered as a candidate for condition d (event satisfying condition d), in the own condition (condition c) The preceding condition (condition b) preceded by time is included (S11 / YES). Therefore, the
以下,条件dの候補として新規登録したID1のイベントをイベントID1dと記す。先行条件(条件b)を満たすイベント(条件bの候補として登録されたイベント)の中に,イベントID1dに関連する,先行条件を含むイベント間条件(例えば,条件b-d)を満たすイベントはない(S12/NO)。このイベント間条件b-dを満たすイベントは,イベント間条件b-d("18:06:00"から20分以内の時間および同一IDを有するイベント)を満たすイベントである。 Hereinafter, an event with ID1 newly registered as a candidate for condition d is referred to as event ID1d. There is no event that satisfies the preceding condition (condition b) (the event registered as a candidate for condition b) that satisfies the inter-event condition including the preceding condition (for example, condition bd) related to event ID1d (S12 / NO). An event that satisfies the inter-event condition b-d is an event that satisfies the inter-event condition b-d (an event having the same ID and a time within 20 minutes from “18:06:00”).
従って,ノード削除部16は,S12でNOと判定し,図27で示すように,イベントID1dを削除する(S13)。この削除を,図27の"×"で示す。そして,S2に戻る。
Therefore, the
(ID5のイベント入力)
データ読み取り部13は,図28のイベントテーブルに示す,ID5のイベントを読み取る(S2)。図28において条件cの候補に,イベントID1cが登録されている。しかし,現在の時間"18:06:20"と,イベントID1cの時間"18:06:00"との差は,無条件タイムアウト"40秒"を超えていない(S3/NO)。
(Event input of ID5)
The
図28において,各候補に登録されたイベントの中で,イベントID7a,ID4a,ID2b,ID4b,ID5b,ID6b,ID1cは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベントであって,かつ,異なる種類の2辺で接続されていないイベント(イベントID7a,ID4a,ID2b,ID4b,ID5b,ID6b,ID1c)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In FIG. 28, among the events registered for each candidate, event ID7a, ID4a, ID2b, ID4b, ID5b, ID6b, and ID1c are unprocessed events and are not connected by two sides of different types. It is an event. Therefore, there is an unprocessed event of S4 and an event (event ID7a, ID4a, ID2b, ID4b, ID5b, ID6b, ID1c) that is not connected on two different sides (S4 / YES). Accordingly, the
図28において,図24で説明したように,未処理のイベントID1a,ID4a,ID7a,ID4b,ID2b,ID6b,ID5bは,削除イベントではない。 In FIG. 28, as described in FIG. 24, unprocessed events ID1a, ID4a, ID7a, ID4b, ID2b, ID6b, and ID5b are not deletion events.
未処理のイベントID1cが満たす条件cを自身条件として含むイベント間条件c-dのタイムアウト時間は40秒である。現在時間は"18:06:20",条件cの候補に登録されたイベントの時間は,"18:06:00"であるので,条件cの候補に登録されたイベントの中で,前記タイムアウト時間(40秒)を超えているイベントはない(S5/NO)。 The timeout period of the inter-event condition c-d including the condition c satisfied by the unprocessed event ID 1c as its own condition is 40 seconds. Since the current time is "18:06:20" and the time of the event registered in the condition c candidate is "18:06:00", the time-out described above among the events registered in the condition c candidate There is no event exceeding the time (40 seconds) (S5 / NO).
従って,条件判定部14は,これらのイベントについてはS5でNOと判定し,S6に移る。
Therefore, the
条件判定部14は,未処理のイベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6b,ID1cを処理済み(S6)にして,S3に戻る。S3において,現在の時間"18:06:20"と,イベントID1cの時間"18:06:00"との差は,無条件タイムアウト"40秒"を超えていない(S3/NO)。
The
そして,イベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6b,ID1cは,処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。
Event ID1a, ID7a, ID4a, ID2b, ID4b, ID5b, ID6b, and ID1c are processed and there are no unprocessed events (S4 / NO), so the
ID5の入力イベントは,エリアc,dを含むので,条件a〜dの中で,条件c,dを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID5のイベントを条件c,dの候補として新規登録する(S10)。
Since the input event of ID5 includes areas c and d, conditions c and d are satisfied among conditions a to d (S9 / YES). Therefore, the
条件cの候補として新規登録したID5のイベント(条件cを満たすイベント)に関連する各イベント間条件(条件a-cまたは条件c-d)の相手条件(条件a,d)に,自身条件(条件c)に時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
In the partner condition (condition a, d) of each inter-event condition (condition ac or condition cd) related to the event of ID5 newly registered as a candidate for condition c (event satisfying condition c), in the own condition (condition c) The preceding condition (condition a) preceded by time is included (S11 / YES). Therefore, the
以下,条件cの候補として新規登録したID5のイベントをイベントID5cと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID5cに関連する,先行条件を含むイベント間条件(例えば,条件a-c)を満たすイベントはない(S12/NO)。このイベント間条件a-cを満たすイベントは,イベント間条件a-c("18:06:20"から20分以内の時間および同一IDを有するイベント)を満たすイベントである。 Hereinafter, an event with ID5 newly registered as a candidate for condition c is referred to as event ID5c. There is no event that satisfies the preceding condition (condition a) (the event registered as a candidate for condition a) that satisfies the inter-event condition including the preceding condition (for example, condition ac) related to event ID 5c (S12). / NO). An event that satisfies the inter-event condition a-c is an event that satisfies the inter-event condition a-c (an event having the same ID and a time within 20 minutes from “18:06:20”).
従って,ノード削除部16は,S12でNOと判定し,図29で示すように,イベントID5cを削除する(S13)。この削除を,図29の"×"で示す。そして,S2に戻る。
Therefore, the
次に,条件dの候補として新規登録したID5のイベントについて,S11の処理が実行される。条件dの候補として新規登録したID5のイベント(条件dを満たすイベント)に関連する各イベント間条件(条件b-d,条件c-d)の相手条件(条件b,c)に,自身条件(条件d)に時間が先行する先行条件(条件b)は含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event of ID5 newly registered as a candidate for condition d. In the partner condition (condition b, c) of each inter-event condition (condition bd, condition cd) related to the event of ID5 newly registered as a candidate for condition d (event satisfying condition d), in the own condition (condition d) The preceding condition (condition b) preceded by time is included (S11 / YES). Therefore, the
以下,条件dの候補として新規登録したID5のイベントをイベントID5dと記す。先行条件(条件b)を満たすイベント(条件bの候補として登録されたイベント)の中に,イベントID5dに関連する,先行条件を含むイベント間条件(例えば,条件b-d)を満たすイベント(イベントID5b)はある(S12/YES)。ここで,このイベント間条件b-dを満たすイベントは,イベント間条件b-d("18:06:20"から20分以内の時間および同一IDを有するイベント)を満たすイベントID5bである。 Hereinafter, an event with ID5 newly registered as a candidate for condition d is referred to as event ID5d. Among events that satisfy the preceding condition (condition b) (events registered as candidates for condition b), events that satisfy the inter-event condition including the preceding condition (for example, condition bd) related to event ID 5d (event ID 5b) Yes (S12 / YES). Here, the event that satisfies the inter-event condition b-d is the event ID 5b that satisfies the inter-event condition b-d (an event having the same ID and a time within 20 minutes from “18:06:20”).
従って,条件判定部14は,S12でYESと判定する。そして,グラフ管理部15は,図30で示すように,イベント間条件を満たしたイベントID5bと,新規登録イベントID5dとを辺(破線参照)で接続する(S14)。
Therefore, the
イベントID5dに関連する任意のイベント間条件(条件b-dまたは条件c-d)の自身条件(条件d)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)である(S21/YES)。 The own condition (condition d) and partner condition (condition b or condition c) of any inter-event condition (condition bd or condition cd) related to event ID 5d are unrelated conditions (condition c and condition d) (S21 / YES).
前後関係のない条件(条件c及び条件d)の何れかの条件の中で,イベントID5dに関連する条件以外の条件は,条件cである。そして,条件cの候補として登録されたイベントの中に,イベントID1dに関連する何れかのイベント間条件(条件c-dまたは条件b-d)を満たすイベントがある(S22/YES)。 Among any of the unrelated conditions (condition c and condition d), the condition other than the condition related to the event ID 5d is the condition c. Among the events registered as candidates for the condition c, there is an event that satisfies any of the inter-event conditions (condition c-d or condition b-d) related to the event ID 1d (S22 / YES).
イベント間条件c-dを満たすイベントは,現在の時間"18:06:20"から40秒以内の時間"18:06:20"および同じスペース"36”,39”"を有するイベントである。 An event that satisfies the inter-event condition c-d is an event having a time “18:06:20” within 40 seconds from the current time “18:06:20” and the same space “36”, 39 ”.
従って,条件判定部14は,S22でYESと判定する。そして,グラフ管理部15は,図30で示すように,イベント間条件を満たしたイベントID1cと,新規登録イベントID5dとを辺(点線参照)で接続する(S23)。
Therefore, the
イベントID5dに関連する各イベント間条件(条件b-dまたは条件c-d)の相手条件(条件b,c)に,自身条件(条件d)に時間が後続する後続条件(条件無し)は含まれない(S24/NO)。 The partner condition (condition b, c) of each inter-event condition (condition bd or condition cd) related to the event ID 5d does not include the subsequent condition (no condition) in which the time follows the own condition (condition d) (S24). / NO).
従って,条件判定部14は,S24でNOと判定し,S25に移る。イベントID5dは,種類の異なる種類の2辺(点線と破線参照)を持つ(S25/YES)。従って,条件判定部14は,S25でYES判定し,S26に移る。
Therefore, the
出力管理部17は,図31に示すように,新規登録イベントID5dが満たす条件dを処理済みとする(S26)。図31では,"処理済"であることを"dの候補"の下に記している。そして,出力管理部17は,図31に示すように,新規登録イベントであるID5dのイベントを,候補集合として登録する(S26)。以下の説明において,図示した文字列"候補集合"は,図1のRAM102における候補集合102fに該当する。
As shown in FIG. 31, the
(イベントの出力)
以下,イベントの出力について説明する。ここで,未処理の条件は条件a,条件b,条件c,すなわち"処理済み"でない条件の候補は条件a,b,cの候補である。従って,出力管理部17は,未処理の条件があると判定し(S27/YES),図32に示すように,未処理の条件a,b,cの中で,処理済みの条件dとイベント間条件を満たす条件b,cの1つを現イベント条件(例えば,条件cを現イベント条件)とする(S28)。図32では,"現イベント条件"であることを"cの候補"の上に記している。
(Event output)
The event output will be described below. Here, unprocessed conditions are condition a, condition b, and condition c, that is, candidate conditions that are not “processed” are candidates for conditions a, b, and c. Therefore, the
図31では,候補集合としてID5のイベントが登録されており,候補集合は空ではない。従って,出力管理部17は, S30でNOと判定し,候補集合から1つのエントリ(イベント)を抜き出し,図32に示すように,抜き出した1つのエントリ(ID5のイベント)を現候補として登録する(S32)。以下の説明において,図示した文字列"現候補"は,図1のRAM102における現候補102eに該当する。
In FIG. 31, the event of ID5 is registered as a candidate set, and the candidate set is not empty. Therefore, the
出力管理部17は,現イベント条件に登録されているイベントの中で,現候補に登録されているイベントと関連がある関連イベントと,現候補に登録されているイベントとを新候補集合に追加する(S33)。以下の説明において,図示した文字列"新候補集合"は,図1のRAM102における新候補集合102gに該当する。
The
図33の例では,現イベント条件に登録されているイベントの中で,イベントID1cは,種類の異なる種類の2辺(一点鎖線,点線)を持ち,1つの辺(点線)により,現候補に登録されているイベント(イベントID5d)と接続されているイベントである(S33)。従って,関連イベントは,イベントID1cである。 In the example of Fig. 33, among the events registered in the current event condition, event ID1c has two different types of sides (one-dot chain line, dotted line), and one side (dotted line) makes it the current candidate. This is an event connected to the registered event (event ID 5d) (S33). Therefore, the related event is event ID 1c.
出力管理部17は,図33に示すように,関連イベントID1cと,現候補のID5のイベントとの組を,新候補集合に追加し(S33),S30に戻る。
As shown in FIG. 33, the
図33では,候補集合が空なので(S30/YES),出力管理部17は,S30でYESと判定する。出力管理部17は,図34に示すように,図33に示した新候補集合のエントリ(ID1,ID5のイベント)を候補集合に移し,現イベント条件を処理済みにして(S31),S27に戻る。なお,図34では,"処理済"であることを"cの候補"の下に記している。
In FIG. 33, since the candidate set is empty (S30 / YES), the
ここで,未処理の条件は条件a,条件b,すなわち"処理済み"でない条件の候補は条件a,bの候補である。従って,出力管理部17は,未処理の条件があると判定する(S27/YES)。そして,出力管理部17は,図35に示すように,未処理の条件a,bの中で,処理済みの条件(例えば条件d)とイベント間条件を満たす条件bを現イベント条件(例えば,条件b)とする(S28)。
Here, unprocessed conditions are conditions a and b, that is, candidates for conditions that are not “processed” are candidates for conditions a and b. Therefore, the
図34では,候補集合としてID5,ID1のイベントが登録されており,候補集合は空ではない。従って,出力管理部17は,S30でNOと判定し,候補集合から1つのエントリ(ID1,ID5のイベント)を抜き出し,図35に示すように,抜き出した1つのエントリを現候補として登録する(S32)。
In FIG. 34, events of ID5 and ID1 are registered as candidate sets, and the candidate set is not empty. Accordingly, the
出力管理部17は,関連イベントと,現候補に登録されているイベントとを新候補集合に追加する(S33)。
The
図35の例では,現イベント条件に登録されているイベントの中で,イベントID5bは,種類の異なる種類の2辺(一点鎖線,実線)を持つ。そして,1つの辺(一点鎖線)により,現候補に登録されているイベント(イベントID5d)と接続されているイベントである。従って,関連イベントは,イベントID5bである。 In the example of FIG. 35, among the events registered in the current event condition, the event ID 5b has two different types (one-dot chain line and solid line). The event is connected to the event (event ID 5d) registered in the current candidate by one side (dashed line). Therefore, the related event is event ID 5b.
出力管理部17は,図36に示すように,関連イベントID5bと,現候補のID1,ID5のイベントとの組を,新候補集合に追加し(S33),S30に戻る。
As shown in FIG. 36, the
図36では,候補集合が空なので(S30/YES),出力管理部17は,S30でYESと判定する。出力管理部17は,図37に示すように,図36に示した新候補集合のエントリ(ID1,ID5,ID5のイベント)を候補集合に移し,現イベント条件を処理済みにして(S31),S27に戻る。なお,図37では,"処理済"であることを"bの候補"の下に記している。
In FIG. 36, since the candidate set is empty (S30 / YES), the
ここで,未処理の条件は条件a,すなわち"処理済み"でない条件の候補は条件aの候補である。従って,出力管理部17は,未処理の条件があると判定する(S27/YES)。そして,出力管理部17は,未処理の条件aを現イベント条件とする(S28)。図38では,"現イベント条件"であることを"aの候補"の上に記している。
Here, an unprocessed condition is a condition a, that is, a candidate for a condition that is not “processed” is a candidate for condition a. Therefore, the
図37では,候補集合としてID5,ID1,ID5のイベントが登録されており,候補集合は空ではない。従って,出力管理部17は,S30でNOと判定し,候補集合から1つのエントリ(ID1,ID5,ID5のイベント)を抜き出し,図38に示すように,抜き出した1つのエントリを現候補として登録する(S32)。
In FIG. 37, events of ID5, ID1, and ID5 are registered as candidate sets, and the candidate set is not empty. Therefore, the
出力管理部17は,関連イベントと,現候補に登録されているイベントとを新候補集合に追加する(S33)。
The
図38の例では,全イベント条件(条件a〜条件d)の数から1を減算した数のイベント(3つのイベント)が,現候補102eとして登録されている。
In the example of FIG. 38, the number of events (three events) obtained by subtracting 1 from the number of all event conditions (conditions a to d) is registered as the
そして,図38の例では,現イベント条件に登録されているイベントの中で,イベントID1aは,種類の異なる種類の2辺(一点鎖線,実線)を持つ。そして,1つの辺(一点鎖線)により,現候補に登録されているイベント(イベントID1c)と接続されているイベントである。さらに,1つの辺(実線)により,現候補に登録されているイベント(イベントID5b)と接続されているイベントである。すなわち,イベントID1aは,種類の異なる種類の2辺で,現候補に登録されているイベントと接続されている。従って,関連イベントは,イベントID1aである。 In the example of FIG. 38, among the events registered in the current event condition, the event ID 1a has two different types of sides (one-dot chain line and a solid line). The event is connected to the event registered in the current candidate (event ID 1c) by one side (dashed line). Furthermore, the event is connected to the event registered in the current candidate (event ID 5b) by one side (solid line). That is, the event ID 1a is connected to the event registered in the current candidate on two different types of sides. Therefore, the related event is event ID 1a.
出力管理部17は,図39に示すように,関連イベントID1aと,現候補のID1,ID5,ID5のイベントとの組を,新候補集合に追加し(S33),S30に戻る。
As shown in FIG. 39, the
図39では,候補集合が空なので(S30/YES),出力管理部17は,S30でYESと判定する。出力管理部17は,図40に示すように,図39に示した新候補集合のエントリ(ID1,ID1,ID5,ID5のイベント)を候補集合に移し,現イベント条件を処理済みにして(S31),S27に戻る。なお,図40では,"処理済"であることを"aの候補"の下に記している。
In FIG. 39, since the candidate set is empty (S30 / YES), the
ここで,未処理の条件はない(全ての条件の候補に"処理済"が付されている)。従って,出力管理部17は,未処理の条件がないと判定する(S27/NO)。そして,出力部18は,図41の"出力"に示すように,候補集合のエントリ(2つのID1のイベント,2つのID5のイベント)を出力する(S29)。最後に,出力部18は,全ての条件の候補を未処理とする(S29)。図40では,この未処理を図40の"処理済"および"現イベント条件"を消去することにより示している。
Here, there is no unprocessed condition ("processed" is added to all condition candidates). Therefore, the
(ID7のイベント入力)
データ読み取り部13は,図42のイベントテーブルに示す,ID7のイベントを読み取る(S2)。図42において条件cの候補に,イベントID1cが登録されている。しかし,現在の時間"18:06:40"("18:06:39"でもよい)と,イベントID1cの時間"18:06:00"との差は,無条件タイムアウト"40秒"を超えていない(S3/NO)。
(Event input of ID7)
The
図42において条件dの候補に,イベントID5dが登録されている。しかし,イベントID5dの時間"18:06:20"と,現在の時間"18:06:40"との差は,無条件タイムアウト"40秒"を超えていない(S3/NO)。 In FIG. 42, event ID 5d is registered as a candidate for condition d. However, the difference between the event ID 5d time “18:06:20” and the current time “18:06:40” does not exceed the unconditional timeout “40 seconds” (S3 / NO).
図42において,各候補に登録されたイベントの中で,イベントID7a,ID4a,ID2b,ID4b,ID6bは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベントであって,かつ,異なる種類の2辺で接続されていないイベントがある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In FIG. 42, among the events registered in each candidate, event IDs 7a, ID4a, ID2b, ID4b, and ID6b are unprocessed events that are not connected by two different types of sides. Therefore, there is an unprocessed event in S4 and an event that is not connected between two different types of sides (S4 / YES). Accordingly, the
図42において,図24で説明したように,未処理のイベントID1a,ID4a,ID7a,ID4b,ID2b,ID6b,ID5bは,削除イベントではない。 In FIG. 42, as described in FIG. 24, unprocessed events ID1a, ID4a, ID7a, ID4b, ID2b, ID6b, and ID5b are not deletion events.
未処理のイベントID1cが満たす条件cを自身条件として含むイベント間条件a-c,c-dを満たさないイベント間条件はない(未処理のイベントID1cは,種類の異なる2つの辺を持つ)。さらに,未処理のイベントID5dが満たす条件dを自身条件として含むイベント間条件b-d,c-dを満たさないイベント間条件はない(未処理のイベントID5dは,種類の異なる2つの辺を持つ)。 There is no inter-event condition that does not satisfy the inter-event conditions a-c and c-d including the condition c satisfied by the unprocessed event ID 1c as its own condition (the unprocessed event ID 1c has two different types of sides). Furthermore, there is no inter-event condition that does not satisfy the inter-event conditions b-d and c-d including the condition d that the unprocessed event ID 5d satisfies as its own condition (the unprocessed event ID 5d has two different types of sides).
従って,条件判定部14は,これらのイベントについてはS5でNOと判定し,S6に移る。
Therefore, the
条件判定部14は,未処理のイベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6b,ID1c,ID5dを処理済み(S6)にして,S3に戻る。S3において,現在の時間"18:06:40"と,イベントID1cの時間"18:06:00"との差は,無条件タイムアウト"40秒"を超えていない(S3/NO)。
The
そして,イベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6b,ID1c,ID5dは,処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。
Since event ID1a, ID7a, ID4a, ID2b, ID4b, ID5b, ID6b, ID1c, and ID5d have been processed and there are no unprocessed events (S4 / NO), the
ID7の入力イベントは,エリアc,dを含むので,条件a〜dの中で,条件c,dを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID7のイベントを条件c,dの候補として新規登録する(S10)。
Since the input event of ID7 includes areas c and d, conditions c and d are satisfied among conditions a to d (S9 / YES). Accordingly, the
条件dの候補として新規登録したID7のイベント(条件dを満たすイベント)に関連する各イベント間条件(条件b-dまたは条件c-d)の相手条件(条件b,c)に,自身条件(条件c)に時間が先行する先行条件(条件b)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
In the partner condition (condition b, c) of each inter-event condition (condition bd or condition cd) related to the event of ID7 newly registered as a candidate for condition d (event satisfying condition d), in the own condition (condition c) The preceding condition (condition b) preceded by time is included (S11 / YES). Therefore, the
以下,条件dの候補として新規登録したID7のイベントをイベントID7dと記す。先行条件(条件b)を満たすイベント(条件bの候補として登録されたイベント)の中に,イベントID7dに関連する,先行条件を含むイベント間条件(例えば,条件b-d)を満たすイベントはない(S12/NO)。このイベント間条件b-dを満たすイベントは,イベント間条件b-d("18:06:40"から20分以内の時間および同一IDを有するイベント)を満たすイベントである。 Hereinafter, an event with ID7 newly registered as a candidate for condition d is referred to as event ID7d. Among the events that satisfy the preceding condition (condition b) (events registered as candidates for condition b), there is no event that satisfies the inter-event condition including the preceding condition (for example, condition bd) related to event ID 7d (S12 / NO). An event that satisfies the inter-event condition b-d is an event that satisfies the inter-event condition b-d (an event having the same ID and a time within 20 minutes from “18:06:40”).
従って,ノード削除部16は,S12でNOと判定し,図43で示すように,イベントID7dを削除する(S13)。この削除を,図43の"×"で示す。そして,S2に戻る。
Therefore, the
次に,条件cの候補として新規登録したID7のイベントについて,S11の処理が実行される。条件cの候補として新規登録したID7のイベント(条件cを満たすイベント)に関連する各イベント間条件(条件a-c,条件c-d)の相手条件(条件a,d)に,自身条件(条件c)に時間が先行する先行条件(条件a)は含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。以下,条件cの候補として新規登録したID7のイベントをイベントID7cと記す。
Next, the process of S11 is executed for the event with ID7 newly registered as a candidate for condition c. In the partner condition (condition a, d) of each inter-event condition (condition ac, condition cd) related to the event of ID7 newly registered as a candidate for condition c (event satisfying condition c), in its own condition (condition c) The preceding condition (condition a) preceded by time is included (S11 / YES). Therefore, the
先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID7cに関連する,先行条件を含むイベント間条件(例えば,条件a-c)を満たすイベント(イベントID7a)はある(S12/YES)。ここで,このイベント間条件a-cを満たすイベントは,イベント間条件a-c("18:06:40"から20分以内の時間および同一IDを有するイベント)を満たすイベントID7aである。 Among the events that satisfy the preceding condition (condition a) (events registered as candidates for condition a), the event that satisfies the inter-event condition including the preceding condition (for example, condition ac) related to event ID 7c (event ID 7a) Yes (S12 / YES). Here, the event that satisfies the inter-event condition a-c is the event ID 7a that satisfies the inter-event condition a-c (an event having the same ID and a time within 20 minutes from “18:06:40”).
従って,条件判定部14は,S12でYESと判定する。そして,グラフ管理部15は,図43で示すように,イベント間条件を満たしたイベントID7aと,新規登録イベントID7cとを辺(一点鎖線参照)で接続する(S14)。
Therefore, the
イベントID7cに関連する任意のイベント間条件(条件a-cまたは条件c-d)の自身条件(条件c)および相手条件(条件aまたは条件d)は,前後関係のない条件(条件cおよび条件d)である(S21/YES)。 The own condition (condition c) and partner condition (condition a or condition d) of any inter-event condition (condition ac or condition cd) related to event ID 7c are unrelated conditions (condition c and condition d) (S21 / YES).
前後関係のない条件(条件c及び条件d)の何れかの条件の中で,イベントID7cに関連する条件以外の条件は,条件dである。そして,条件dの候補として登録されたイベントの中に,イベントID7cに関連する何れかのイベント間条件(条件c-dまたは条件a-c)を満たすイベントはない(S22/NO)。何故なら,条件dの候補として登録されたイベントのスペースと,イベントID7cのスペースとが異なるからである。 Among any of the unrelated conditions (condition c and condition d), the condition other than the condition related to the event ID 7c is the condition d. There is no event that satisfies any of the inter-event conditions (condition c-d or condition a-c) related to the event ID 7c among the events registered as candidates for the condition d (S22 / NO). This is because the space of the event registered as a candidate for condition d is different from the space of event ID 7c.
イベントID7cに関連する各イベント間条件(条件a-cまたは条件c-d)の相手条件(条件a,d)に,自身条件(条件c)に時間が後続する後続条件(条件無し)は含まれない(S24/NO)。従って,条件判定部14は,S21でYES,S22でNO,S24でNOと判定し,S25に移る。
The partner condition (conditions a and d) of each inter-event condition (condition ac or condition cd) related to event ID 7c does not include the subsequent condition (no condition) whose time follows the own condition (condition c) (S24). / NO). Accordingly, the
イベントID7cは,種類の異なる種類の2辺を持たない(S25/NO)。従って,条件判定部14は,S25でNOと判定し,S2に移る。
Event ID 7c does not have two sides of different types (S25 / NO). Therefore, the
(ID6のイベント入力)
データ読み取り部13は,図44のイベントテーブルに示す,ID6のイベントを読み取る(S2)。図44において条件cの候補に,イベントID1c,ID7cが登録されている。しかし,イベントID1cの時間"18:06:00",イベントID7cの時間"18:06:00",と,現在の時間"18:06:40"との差は,無条件タイムアウト"40秒"を超えていない(S3/NO)。
(Event input of ID6)
The
図44において,各候補に登録されたイベントの中で,イベントID1a, ID4a,ID2b,ID4b,ID6b,ID7cは,未処理のイベントであり,かつ,異なる種類の2辺で接続されていないイベントである。従って,S4の未処理のイベントであって,かつ,異なる種類の2辺で接続されていないイベント(イベントID1a,ID4a,ID2b,ID4b,ID6b,ID7c)がある(S4/YES)。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
In FIG. 44, among the events registered for each candidate, event ID1a, ID4a, ID2b, ID4b, ID6b, and ID7c are unprocessed events that are not connected on two different sides. is there. Therefore, there is an unprocessed event of S4 and an event (event ID1a, ID4a, ID2b, ID4b, ID6b, ID7c) that is not connected on two different sides (S4 / YES). Accordingly, the
図44において,図24,図42で説明したように,未処理のイベントID1a,ID4a,ID7a,ID4b,ID2b,ID6b,ID5b,ID1c,ID5dは,削除イベントではない。 In FIG. 44, as described in FIGS. 24 and 42, unprocessed events ID1a, ID4a, ID7a, ID4b, ID2b, ID6b, ID5b, ID1c, and ID5d are not deletion events.
未処理のイベントID1cは,種類の異なる2つの辺を持つ。さらに,未処理のイベントID5dは,種類の異なる2つの辺を持つ。従って,未処理のイベントID1c,未処理のイベントID5dは,削除イベントではない。 The unprocessed event ID 1c has two different types of sides. Furthermore, the unprocessed event ID 5d has two different types of sides. Therefore, the unprocessed event ID 1c and the unprocessed event ID 5d are not deletion events.
また,未処理のイベントID7cは,イベントID1aと辺(一点鎖線)で接続されている。未処理のイベントID7cが満たす条件cを自身条件として含むイベント間条件c-dのタイムアウト時間は40秒である。現在の時間"18:06:40"と,未処理のイベントID7cの時間は"18:06:40"との差は,前記タイムアウト時間"40秒"を超えていない。 In addition, the unprocessed event ID 7c is connected to the event ID 1a by a side (dashed line). The timeout period of the inter-event condition c-d including the condition c satisfied by the unprocessed event ID 7c as its own condition is 40 seconds. The difference between the current time “18:06:40” and the unprocessed event ID 7c time “18:06:40” does not exceed the timeout time “40 seconds”.
従って,条件判定部14は,これらのイベントについてはS5でNOと判定し,S6に移る。
Therefore, the
条件判定部14は,未処理のイベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6b,ID1c,ID7c,ID5dを処理済み(S6)にして,S3に戻る。S3において,現在の時間"18:06:40"と,イベントID1cの時間"18:06:00"との差は,無条件タイムアウト"40秒"を超えていない(S3/NO)。
The
そして,イベントID1a,ID7a,ID4a,ID2b,ID4b,ID5b,ID6b,ID1c,ID7c,ID5dは,処理済みであり未処理のイベントはないので(S4/NO),条件判定部14は,処理済みのイベントを未処理にする(S8)。
Since event ID1a, ID7a, ID4a, ID2b, ID4b, ID5b, ID6b, ID1c, ID7c, and ID5d have been processed and there are no unprocessed events (S4 / NO), the
ID6の入力イベントは,エリアc,dを含むので,条件a〜dの中で,条件c,dを満たす(S9/YES)。従って,条件判定部14は,S9でYESと判定し,ID6のイベントを条件c,dの候補として新規登録する(S10)。
Since the input event of ID6 includes areas c and d, conditions c and d are satisfied among conditions a to d (S9 / YES). Accordingly, the
条件cの候補として新規登録したID6のイベント(条件cを満たすイベント)に関連する各イベント間条件(条件a-cまたは条件c-d)の相手条件(条件a,d)に,自身条件(条件c)に時間が先行する先行条件(条件a)が含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
In the partner condition (condition a, d) of each inter-event condition (condition ac or condition cd) related to the event of ID6 newly registered as a candidate for condition c (event satisfying condition c), in the own condition (condition c) The preceding condition (condition a) preceded by time is included (S11 / YES). Therefore, the
以下,条件cの候補として新規登録したID6のイベントをイベントID6cと記す。先行条件(条件a)を満たすイベント(条件aの候補として登録されたイベント)の中に,イベントID6cに関連する,先行条件を含むイベント間条件(例えば,条件a-c)を満たすイベントはない(S12/NO)。このイベント間条件a-cを満たすイベントは,イベント間条件a-c("18:06:40"から20分以内の時間および同一IDを有するイベント)を満たすイベントである。 Hereinafter, an event with ID6 newly registered as a candidate for condition c is referred to as event ID6c. Among the events that satisfy the preceding condition (condition a) (events registered as candidates for the condition a), there is no event related to the event ID 6c that satisfies the inter-event condition including the preceding condition (for example, the condition ac) (S12 / NO). An event that satisfies this inter-event condition a-c is an event that satisfies the inter-event condition a-c (an event having the same ID and a time within 20 minutes from “18:06:40”).
従って,ノード削除部16は,S12でNOと判定し,図45で示すように,イベントID6cを削除する(S13)。この削除を,図45の"×"で示す。そして,S2に戻る。
Therefore, the
次に,条件dの候補として新規登録したID6のイベントについて,S11の処理が実行される。条件dの候補として新規登録したID6のイベント(条件dを満たすイベント)に関連する各イベント間条件(条件b-d,条件c-d)の相手条件(条件b,c)に,自身条件(条件d)に時間が先行する先行条件(条件b)は含まれる(S11/YES)。従って,条件判定部14は,S11でYESと判定する。
Next, the process of S11 is executed for the event with ID6 newly registered as a candidate for condition d. In the partner condition (condition b, c) of each inter-event condition (condition bd, condition cd) related to the event of ID6 newly registered as a candidate for condition d (event satisfying condition d), in the own condition (condition d) The preceding condition (condition b) preceded by time is included (S11 / YES). Therefore, the
以下,条件dの候補として新規登録したID6のイベントをイベントID6dと記す。先行条件(条件b)を満たすイベント(条件bの候補として登録されたイベント)の中に,イベントID6dに関連する,先行条件を含むイベント間条件(例えば,条件b-d)を満たすイベント(イベントID6b)はある(S12/YES)。ここで,このイベント間条件b-dを満たすイベントは,イベント間条件b-d("18:06:40"から20分以内の時間および同一IDを有するイベント)を満たすイベントID6bである。 Hereinafter, an event with ID6 newly registered as a candidate for condition d is referred to as event ID6d. Among the events that satisfy the preceding condition (condition b) (events registered as candidates for condition b), the event that satisfies the inter-event condition including the preceding condition (for example, condition bd) related to event ID 6d (event ID 6b) Yes (S12 / YES). Here, the event that satisfies the inter-event condition b-d is the event ID 6b that satisfies the inter-event condition b-d (an event having the same ID and a time within 20 minutes from “18:06:40”).
従って,条件判定部14は,S12でYESと判定する。そして,グラフ管理部15は,図45で示すように,イベント間条件を満たしたイベントID6bと,新規登録イベントID6dとを辺(破線参照)で接続する(S14)。
Therefore, the
イベントID6dに関連する任意のイベント間条件(条件b-dまたは条件c-d)の自身条件(条件d)および相手条件(条件bまたは条件c)は,前後関係のない条件(条件cおよび条件d)である(S21/YES)。 The own condition (condition d) and partner condition (condition b or condition c) of any inter-event condition (condition bd or condition cd) related to event ID 6d are unrelated conditions (condition c and condition d) (S21 / YES).
前後関係のない条件(条件c及び条件d)の何れかの条件の中で,イベントID6dに関連する条件以外の条件は,条件cである。そして,条件cの候補として登録されたイベントの中に,イベントID6dに関連する何れかのイベント間条件(条件c-dまたは条件b-d)を満たすイベントがある(S22/YES)。 Among any of the unrelated conditions (condition c and condition d), the condition other than the condition related to the event ID 6d is the condition c. Then, among the events registered as candidates for the condition c, there is an event that satisfies any event condition (condition c-d or condition b-d) related to the event ID 6d (S22 / YES).
イベント間条件c-dを満たすイベントID1cは,現在の時間"18:06:40"から40秒以内の時間"18:06:00"および同じスペース"36”,39”"を有するイベントである。 The event ID 1c satisfying the inter-event condition c-d is an event having a time “18:06:00” within 40 seconds from the current time “18:06:40” and the same space “36”, 39 ”.
従って,条件判定部14は,S22でYESと判定する。そして,グラフ管理部15は,図45で示すように,イベント間条件を満たしたイベントID1cと,新規登録イベントID6dとを辺(点線参照)で接続する(S23)。
Therefore, the
イベントID6dに関連する各イベント間条件(条件b-dまたは条件c-d)の相手条件(条件b,c)に,自身条件(条件d)に時間が後続する後続条件(条件無し)は含まれない(S24/NO)。 The partner condition (condition b, c) of each inter-event condition (condition bd or condition cd) related to the event ID 6d does not include a subsequent condition (no condition) whose time follows the own condition (condition d) (S24). / NO).
従って,条件判定部14は,S24でNOと判定し,S25に移る。イベントID6dは,種類の異なる種類の2辺(点線と破線参照)を持つ(S25/YES)。従って,条件判定部14は,S25でYES判定し,S26に移る。
Therefore, the
出力管理部17は,図46に示すように,新規登録イベントID6dが満たす条件dを処理済みとする(S26)。図46では,"処理済"であることを"dの候補"の下に記している。そして,出力管理部17は,図46に示すように,新規登録イベントであるID6dのイベントを,候補集合として登録する(S26)。
As shown in FIG. 46, the
(イベントの出力)
以下,イベントの出力について説明する。ここで,未処理の条件は条件a,条件b,条件c,すなわち"処理済み"でない条件の候補は条件a,b,cの候補である。従って,出力管理部17は,未処理の条件があると判定し(S27/YES),図47に示すように,未処理の条件a,b,cの中で,処理済みの条件dとイベント間条件を満たす条件b,cの1つを現イベント条件(例えば,条件cを現イベント条件)とする(S28)。図47では,"現イベント条件"であることを"cの候補"の上に記している。
(Event output)
The event output will be described below. Here, unprocessed conditions are condition a, condition b, and condition c, that is, candidate conditions that are not “processed” are candidates for conditions a, b, and c. Therefore, the
図46では,候補集合としてID6のイベントが登録されており,候補集合は空ではない。従って,出力管理部17は, S30でNOと判定し,候補集合から1つのエントリ(イベント)を抜き出し,図47に示すように,抜き出した1つのエントリ(ID6のイベント)を現候補として登録する(S32)。
In FIG. 46, an event with ID6 is registered as a candidate set, and the candidate set is not empty. Therefore, the
出力管理部17は,現イベント条件に登録されているイベントの中で,現候補に登録されているイベントと関連がある関連イベントと,現候補に登録されているイベントとを新候補集合に追加する(S33)。
The
図48の例では,現イベント条件に登録されているイベントの中で,イベントID1cは,種類の異なる種類の2辺(一点鎖線,点線)を持ち,1つの辺(点線)により,現候補に登録されているイベント(イベントID6d)と接続されているイベントである(S33)。従って,関連イベントは,イベントID1cである。 In the example shown in Fig. 48, among the events registered in the current event condition, event ID 1c has two sides of different types (one-dot chain line, dotted line), and one side (dotted line) makes it the current candidate. This is an event connected to the registered event (event ID 6d) (S33). Therefore, the related event is event ID 1c.
出力管理部17は,図48に示すように,関連イベントID1cと,現候補のID6のイベントとの組を,新候補集合に追加し(S33),S30に戻る。
As shown in FIG. 48, the
図48では,候補集合が空なので(S30/YES),出力管理部17は,S30でYESと判定する。出力管理部17は,図49に示すように,図48に示した新候補集合のエントリ(ID1,ID6のイベント)を候補集合に移し,現イベント条件を処理済みにして(S31),S27に戻る。なお,図49では,"処理済"であることを"cの候補"の下に記している。
In FIG. 48, since the candidate set is empty (S30 / YES), the
ここで,未処理の条件は条件a,条件b,すなわち"処理済み"でない条件の候補は条件a,bの候補である。従って,出力管理部17は,未処理の条件があると判定する(S27/YES)。そして,出力管理部17は,図50に示すように,未処理の条件a,bの中で,処理済みの条件(例えば条件d)とイベント間条件を満たす条件bを現イベント条件(例えば,条件b)とする(S28)。
Here, unprocessed conditions are conditions a and b, that is, candidates for conditions that are not “processed” are candidates for conditions a and b. Therefore, the
図49では,候補集合としてID6,ID1のイベントが登録されており,候補集合は空ではない。従って,出力管理部17は,S30でNOと判定し,候補集合から1つのエントリ(ID1,ID6のイベント)を抜き出し,図50に示すように,抜き出した1つのエントリを現候補として登録する(S32)。
In FIG. 49, ID6 and ID1 events are registered as candidate sets, and the candidate set is not empty. Therefore, the
出力管理部17は,関連イベントと,現候補に登録されているイベントとを新候補集合に追加する(S33)。
The
図50の例では,現イベント条件に登録されているイベントの中で,イベントID6bは,種類の異なる種類の2辺(破線,実線)を持つ。そして,1つの辺(破線)により,現候補に登録されているイベント(イベントID6d)と接続されているイベントである。従って,関連イベントは,イベントID6bである。 In the example of FIG. 50, among the events registered in the current event condition, the event ID 6b has two different types of sides (broken line and solid line). The event is connected to the event registered in the current candidate (event ID 6d) by one side (broken line). Therefore, the related event is event ID 6b.
出力管理部17は,図51に示すように,関連イベントID6bと,現候補のID1,ID6のイベントとの組を,新候補集合に追加し(S33),S30に戻る。
As shown in FIG. 51, the
図51では,候補集合が空なので(S30/YES),出力管理部17は,S30でYESと判定する。出力管理部17は,図52に示すように,図51に示した新候補集合のエントリ(ID1,ID6,ID6のイベント)を候補集合に移し,現イベント条件を処理済みにして(S31),S27に戻る。なお,図52では,"処理済"であることを"bの候補"の下に記している。
In FIG. 51, since the candidate set is empty (S30 / YES), the
ここで,未処理の条件は条件a,すなわち"処理済み"でない条件の候補は条件aの候補である。従って,出力管理部17は,未処理の条件があると判定する(S27/YES)。そして,出力管理部17は,未処理の条件aを現イベント条件とする(S28)。図53では,"現イベント条件"であることを"aの候補"の上に記している。
Here, an unprocessed condition is a condition a, that is, a candidate for a condition that is not “processed” is a candidate for condition a. Therefore, the
図52では,候補集合としてID6,ID1,ID6のイベントが登録されており,空ではない。従って,出力管理部17は,S30でNOと判定し,候補集合から1つのエントリ(ID1,ID6,ID6のイベント)を抜き出し,図53に示すように,抜き出した1つのエントリを現候補として登録する(S32)。
In FIG. 52, events of ID6, ID1, and ID6 are registered as candidate sets and are not empty. Therefore, the
出力管理部17は,関連イベントと,現候補に登録されているイベントとを新候補集合に追加する(S33)。
The
図53の例では,現イベント条件に登録されているイベントの中で,関連イベントはない。以下に理由を説明する。図53の例では,全イベント条件(条件a〜条件d)の数から1を減算した数のイベント(3つのイベント)が,現候補として登録されている。そして,現イベント条件に登録されているイベントの中で,種類の異なる種類の2辺で,現候補に登録されているイベントと接続されているイベントはない。従って,関連イベントはない。そのため,出力管理部17は,図53に示すように,新候補集合に追加する処理を実行せず(S33の不実行),S30に戻る。
In the example of FIG. 53, there is no related event among the events registered in the current event condition. The reason will be described below. In the example of FIG. 53, the number of events (three events) obtained by subtracting 1 from the number of all event conditions (condition a to condition d) are registered as current candidates. Of the events registered in the current event condition, there are no events connected to the event registered in the current candidate on two sides of different types. Therefore, there are no related events. Therefore, as shown in FIG. 53, the
図54では,候補集合が空なので(S30/YES),出力管理部17は,S30でYESと判定する。出力管理部17は,図54に示した新候補集合のエントリ(図54では空である)を候補集合に移し,現イベント条件を処理済みにして(S31),S27に戻る。なお,図54では,"処理済"であることを"aの候補"の下に記している。
In FIG. 54, since the candidate set is empty (S30 / YES), the
ここで,未処理の条件はない。すなわち,"処理済み"でない条件の候補はない(全ての条件の候補に"処理済"が付されている)。従って,出力管理部17は,未処理の条件がないと判定する(S27/NO)。そして,出力部18は,図55の"出力"に示すように,候補集合のエントリを出力する(S30)。図55の例では,候補集合は空なので,何も出力されない。最後に,出力部18は,全ての条件の候補を未処理とする(S30)。図55では,この未処理を図54の"処理済","現イベント条件"を消去することにより示している。
Here, there is no unprocessed condition. That is, there is no candidate for a condition that is not “processed” (“processed” is assigned to all candidate conditions). Therefore, the
(ID8のイベント入力)
データ読み取り部13は,図56のイベントテーブルに示す,ID8のイベントを読み取る(S2)。
(Event input of ID8)
The
図56において,条件cの候補に,イベントID1c,ID7cが登録されている。現在の時間"18:14:10"と,イベントID1cの時間"18:06:00",イベントID7cの時間"18:06:00"との差は,無条件タイムアウト"40秒"を超えている(S3/YES)。 In FIG. 56, event ID1c and ID7c are registered as candidates for condition c. The difference between the current time "18:14:10", event ID1c time "18:06:00", and event ID7c time "18:06:00" exceeds the unconditional timeout "40 seconds" Yes (S3 / YES).
さらに,図56において,条件dの候補に,イベントID5d,ID6dが登録されている。イベントID5dの時間"18:06:20",イベントID6dの時間"18:06:40",と,現在の時間"18:14:10"との差は,無条件タイムアウト"40秒"を超えている(S3/NO)。この無条件タイムアウト"40秒"を超えている時間を含むイベントID1c,ID7c,ID5d,ID6dが削除対象のイベントである。 Further, in FIG. 56, event IDs 5d and ID6d are registered as candidates for the condition d. The difference between event ID 5d time "18:06:20", event ID 6d time "18:06:40", and current time "18:14:10" exceeds the unconditional timeout "40 seconds" (S3 / NO). Events ID1c, ID7c, ID5d, and ID6d including the time exceeding the unconditional timeout “40 seconds” are events to be deleted.
従って,条件判定部14は,S3でYESと判定する。そして,ノード削除部16は,図56に示すように,削除対象のイベントID1c,ID7c,ID5d,ID6dと,削除対象のイベントと接続する辺とを削除する(S7)。図56では,この削除をばつ印で示している。さらに,ノード削除部16は,削除対象のイベントと辺で接続されているイベントID1a,ID7a,ID5b,ID6bを未処理にする(S7)。そして,S3に戻る。
Therefore, the
無条件タイムアウトが設定されている条件の候補に登録されたイベントはない(S3/NO)。さらに,異なる種類の2辺で接続されていないイベント(例えば,イベントID1a)がある。従って,条件判定部14は,S3でNO,S4でYESと判定し,S5に移る。
There is no event registered as a candidate condition for which an unconditional timeout is set (S3 / NO). Furthermore, there is an event (for example, event ID 1a) that is not connected between two different types of sides. Accordingly, the
図57において,未処理のイベントID1a,ID4a,ID7aが満たす条件aを自身条件として含むイベント間条件a-b,a-cを満たさないイベント間条件a-cのタイムアウト時間は20分である。また,未処理のイベントID4b,ID2b,ID6b,ID5bが満たす条件bを自身条件として含むイベント間条件a-b,b-dを満たさないイベント間条件b-dのタイムアウト時間は20分である。 In FIG. 57, the timeout time of the inter-event condition a-c that does not satisfy the inter-event conditions a-b and a-c including the condition a that the unprocessed event ID 1a, ID 4a, ID 7a satisfies as its own condition is 20 minutes. Further, the timeout period of the inter-event condition b-d that does not satisfy the inter-event conditions a-b and b-d including the condition b satisfying the unprocessed event ID 4b, ID 2b, ID 6b, and ID 5b as its own condition is 20 minutes.
現在時間は"18:14:10",条件aの候補に登録されている未処理のイベントID1a,ID7aの時間は"17:54:00",未処理のイベントID1a,ID4a,ID7a,ID4b,ID2b,ID6b,ID5bの時間は,"17:54:10"または"17:54:20"である。従って,これら未処理のイベントの中で,前記タイムアウト時間(20分)を超えているイベントは,未処理のイベントID1a,ID7aである。換言すれば,現在の時間"18:14:10"と,未処理のイベントID1a,ID7aの時間"17:54:00"との差が,前記タイムアウト時間(20分)を超えている。従って,この未処理のイベントID1a,ID7aが削除イベントである(S5/YES)。 The current time is "18:14:10", the unprocessed event ID1a and ID7a registered in the condition a candidate is "17:54:00", the unprocessed event ID1a, ID4a, ID7a, ID4b, The times of ID2b, ID6b, and ID5b are “17:54:10” or “17:54:20”. Therefore, among these unprocessed events, the events exceeding the timeout time (20 minutes) are unprocessed events ID1a and ID7a. In other words, the difference between the current time “18:14:10” and the time “17:54:00” of the unprocessed events ID1a and ID7a exceeds the timeout time (20 minutes). Therefore, these unprocessed event IDs 1a and ID7a are deletion events (S5 / YES).
一方,削除イベント以外の未処理のイベントは,イベントID4a,ID4b,ID2b,ID6b,ID5bである(S5/NO)。条件判定部14は,削除イベント以外の未処理のイベントID4a,ID4b,ID2b,ID6b,ID5bを処理済みとする(S6)。次いで,ノード削除部16は,図57に示すように,削除対象のイベントID1a,ID7aと,削除対象のイベントと接続する辺とを削除する(S7)。さらに,ノード削除部16は,削除対象のイベントと辺で接続されているイベントID2b,ID4b,ID5b,ID6bを未処理にする(S7)。そして,S3に戻る。
On the other hand, unprocessed events other than the deletion event are event ID4a, ID4b, ID2b, ID6b, and ID5b (S5 / NO). The
図58を説明する。無条件タイムアウトが設定されている条件の候補に登録されたイベントはない(S3/NO)。さらに,異なる種類の2辺で接続されていないイベント(例えば,イベントID4b,ID6b)がある(S4/YES)。 FIG. 58 will be described. There is no event registered as a candidate condition for which an unconditional timeout is set (S3 / NO). Furthermore, there is an event (for example, event ID 4b, ID 6b) that is not connected between two different types (S4 / YES).
ノード削除部16は,前記辺の削除により,イベントID4b,ID6bを,辺を持たない未処理のイベントとした。現在時間"18:14:10"と,イベントID4b,ID6bの時間"17:54:10","17:54:20"との差が,イベント間条件a-bのタイムアウト時間"40秒"を超えている。従って,ノード削除部16は,図58に示すように,イベントID4b,ID6bを削除する(S7)。
The
以上説明したように,本実施の形態によれば,RMA101に記憶されたイベントが条件を満たすイベントかリアルタイムで判定することができる。
As described above, according to the present embodiment, it is possible to determine in real time whether an event stored in the
[第2の実施の形態]
次に,第1の実施の形態よりも早く所定の条件を満たすことを示す判定結果を出力する情報処理装置について説明する。
[Second Embodiment]
Next, an information processing apparatus that outputs a determination result indicating that a predetermined condition is satisfied earlier than in the first embodiment will be described.
(情報処理装置のハードウェアブロック図)
図59 は,第2の実施の形態の情報処理装置2のハードウェア構成を説明するブロック図の一例である。図59 の情報処理装置2は,図1の情報処理装置1と同様の構成を有する。なお,RAM102の出力候補102hについては,後記する。
(Hardware block diagram of information processing device)
FIG. 59 is an example of a block diagram illustrating a hardware configuration of the
ストレージ103は,リアルタイム処理ソフトSF2の実行ファイルを記憶する。CPU101は,情報処理装置2の起動時に,ストレージ103からリアルタイム処理ソフトSF2の実行ファイルを読み出し,RAM102に展開し,イベントが所定の条件を満たすか否かの判定をリアルタイムで実行する。なお,この実行ファイルを外部記憶媒体MDに記憶してもよい。
The
(情報処理装置のソフトウェアブロック図)
図60は,図59 の情報処理装置2のソフトウェア構成を説明するブロック図の一例である。
(Software block diagram of information processing device)
FIG. 60 is an example of a block diagram illustrating the software configuration of the
リアルタイム処理ソフトSF2は,図2のリアルタイム処理ソフトSF1で説明した各部の他に,出力条件設定部21と,結合フラグ更新部22とを有する。出力条件設定部21は,ストレージ103に予め管理者などにより設定されている出力時間を読み出し,出力管理部17に入力する。なお,出力時間については,図61で説明する。結合フラグ更新部22は,登録されているイベントが,このイベントに関連する各イベント間条件を満たす場合には,このイベントに結合フラグを設定(以下,セットと適宜記す)し,その旨をRAM102に記憶する。
The real-time processing software SF2 includes an output
第2の実施の形態でも,データ読み取り部13は,第1の実施の形態で説明したイベントを順次受信する。そして,情報処理装置2は,第1の実施の形態で説明した追跡検知を行う。
Also in the second embodiment, the
(イベントの登録,異なるイベントの辺による接続と,フラグの設定)
図61は,イベントの登録,異なるイベントの辺による接続と,フラグの設定を説明する図である。図6で説明したように,情報処理装置2の条件判定部14は,イベントの登録において,登録したイベントと共に,イベントの内容をRAM102に記憶する。さらに,条件判定部14は,2つのイベントが,このイベントに対応して予め設定されているイベント間条件を満たす場合には,その旨をRAM102に記憶する。
(Event registration, connection by different event sides, and flag setting)
FIG. 61 is a diagram for explaining event registration, connection by different event sides, and flag setting. As described with reference to FIG. 6, the
さらに,結合フラグ更新部22は,登録されているイベントが,このイベントに関連する各イベント間条件を満たす場合には,このイベントに結合フラグをセットし,その旨をRAM102に記憶する。
Further, when the registered event satisfies the inter-event condition related to this event, the combined
例えば,結合フラグ更新部22は,条件dの候補として登録されているイベントE5に結合フラグFLG1をセットした場合,その旨をRAM102に記憶する。図61では,イベントE5の左上隅に丸印で,結合フラグFLG1を示している。結合フラグ更新部22は,イベントE5の内容EI5に示すように,イベントE5に結合フラグFLG1をセットした旨を"結合フラグ:1"としてRAM102に記憶する。イベントに結合フラグがセットされていない場合,その旨を"結合フラグ:0"としてRAM102に記憶する。
For example, when the combination
出力部18は,イベントを出力した場合,出力したイベントに出力済みであることを示す識別子(以下,出力済みフラグと適宜記す)をセットし,その旨をRAM102に記憶する。例えば,出力部18は,条件dの候補として登録されているイベントE5を出力した場合,その旨をRAM102に記憶する。
When outputting an event, the
図61では,イベントの左下済みに"済"で,出力済みフラグFLG2を示している。出力部18は,イベントE5の内容EI5に示すように,イベントE5に出力済フラグFLG2をセットした旨を"出力済みフラグ:1"としてRAM102に記憶する。イベントに出力済みフラグがセットされていない場合,その旨を"出力済みフラグ:0"としてRAM102に記憶する。
In FIG. 61, “completed” is shown at the lower left of the event, and the output flag FLG2 is shown. As shown in the content EI5 of the event E5, the
出力部18は,以後,出力済みフラグがセットされたイベントの出力を実行しない。この出力の不実行により,重複してイベントが出力されなくなるので,管理者は,画面上に表示される出力されたイベントが見やすくなる。
Thereafter, the
次に,結合フラグの削除について説明する。以下,結合フラグ更新部22は,3つの結合フラグのセットを行う。なお,これらの結合フラグのセットについては,図面のスペースの観点から図6では図示していない。
Next, deletion of the combination flag will be described. Hereinafter, the combination
第1に,結合フラグ更新部22は,第1の記憶イベント(例えば,イベントE1)が,条件aと第1,第2のイベント間条件a-b,a-cとを満たすと第1の記憶イベントに結合フラグを設定する。
First, the combination
第2に,結合フラグ更新部22は,第2の記憶イベント(例えば,イベントE3)が,条件bと第1,第4のイベント間条件a-b,b-dとを満たすと第2の記憶イベントに結合フラグを設定する。
Second, the combination
第3に,結合フラグ更新部22は,第3の記憶イベント(例えば,イベントE5)が,条件dと第3,第4のイベント間条件b-d,c-dとを満たすと第3の記憶イベントに結合フラグを設定する。
Third, the combination
そして,結合フラグ更新部22は,条件cと第3,第4のイベント間条件b-d,c-dとを満たすイベントが,このイベントの時間と第3のイベント間条件c-dの時間とを加算した時間が基準時間以上を経過してもRAM102に記憶されない場合,以下の処理を行う。すなわち,結合フラグ更新部22は,第1,第2,第3の記憶イベントに設定された結合フラグを連鎖的に削除する。
Then, the combination
このフラグの削除により,第1の実施の形態で説明した全ての所定の条件を満たす可能性のないイベントの出力が実行されない。そのため,出力処理の負荷が低減され,CPUの負荷率が低減できる。 By deleting this flag, an event that does not have the possibility of satisfying all the predetermined conditions described in the first embodiment is not executed. This reduces the output processing load and reduces the CPU load factor.
ここで,出力管理部17は,現在時間に対応する基準時間と,イベント条件(例えば,条件a)とイベント間条件(例えば,イベント間条件a-b)とを満たす記憶イベントの時間との差が,記憶イベントが満たしたイベント条件に対応して定められた出力時間(例えば,10分)以上か判定し,出力時間以上の場合,判定結果を出力する。
Here, the
この判定結果は,例えば,前記記憶イベントである。この出力処理によれば,第1の実施の形態で説明した前記第5の判定の判定を行う前に,少なくとも2つのイベント間条件を満たすイベントを迅速に出力することができる。 This determination result is, for example, the storage event. According to this output process, before performing the determination of the fifth determination described in the first embodiment, it is possible to quickly output an event that satisfies at least two inter-event conditions.
出力されるイベントは,追跡検知における検知対象を完全に特定するものではない(追跡検知における検知対象である確率が高い)。しかし,情報処理装置2は,追跡検知における検知対象である確率が高いイベントを高速に出力できる。
The output event does not completely specify the detection target in tracking detection (the probability of being a detection target in tracking detection is high). However, the
ここで,前記した出力時間は,イベント条件に対応して定められた時間である。出力時間は,例えば,以下の3つの出力時間を有する。第1の出力時間は,条件a,条件bに対応して定められた時間"10分"である。第2の出力時間は,条件cに対応して定められた時間"30秒"である。第3の出力時間は,条件dに対応して定められた時間"0秒"である。 Here, the aforementioned output time is a time determined corresponding to the event condition. The output time has, for example, the following three output times. The first output time is a time “10 minutes” determined corresponding to the conditions a and b. The second output time is a time “30 seconds” determined in accordance with the condition c. The third output time is a time “0 second” determined in accordance with the condition d.
(フロー図)
図62〜図66は,第2の実施の形態で説明するイベントのリアルタイム出力を説明する第1〜第5のフロー図である。
(Flow diagram)
62 to 66 are first to fifth flowcharts for explaining real-time output of events described in the second embodiment.
図62のフロー図におけるS2〜S14の各ステップは,図7のフロー図で説明したS2〜S14と同じなので,その説明を省略する。図62において,条件読み取り部11は,図7で説明した処理を実行する(S1’)。さらに,出力条件設定部21は,ストレージ103に予め管理者などにより設定されている出力時間を読み出し,出力管理部17に入力する(S1’)。なお,出力時間は,例えばテキスト形式でストレージ103に記憶されている。次いで,S1’の終了後,S2に移り,イベントの受信(S2)が終了すると,図64のS41に移る。
Each step of S2 to S14 in the flowchart of FIG. 62 is the same as S2 to S14 described in the flowchart of FIG. In FIG. 62, the
図64(A)のS41:出力管理部17は,現在の時間と,出力候補102hに登録されたイベント(出力候補のイベント)の時間との差が,出力候補102hのイベントが満たした条件に対応して定められた出力時間以上か判定する。
S41 of FIG. 64 (A): The
出力候補102hのイベントが条件a,条件bの候補として登録されている場合,この出力候補102hのイベントの出力時間は,条件a,条件bに対応して定められた時間"10分"である。出力候補102hのイベントが条件cの候補として登録されている場合,出力候補102hのイベントの出力時間は,条件cに対応して定められた時間"30秒"である。出力候補102hのイベントが条件dの候補として登録されている場合,この出力候補のイベントの出力時間は,条件dに対応して定められた時間"0秒"である。
When the event of the
S41でYESの場合,S42に移る。S41でNOの場合,図62のS3に移る。 If YES in S41, the process moves to S42. If NO in S41, the process moves to S3 in FIG.
S42:出力部18は,出力時間以上の時間を有する出力候補102hのイベントを出力し,この出力したイベントを出力候補102hから削除する。S42の後,図62のS3に移る。図62のS3の処理が実行されS7に至り,S7の終了後,図64(B)のS51に移る。
S42: The
図64(B)のS51:結合フラグ更新部22は,結合フラグがセットされている未処理のイベントと,削除された辺と同じ種類の辺で接続されている接続イベントに結合フラグがセットされていないか判定する。
S51 in FIG. 64 (B): The join
接続イベントがない場合(S51/YES),または,接続イベントに結合フラグがセットされていない場合(S51/YES),S52に移る。結合フラグがセットされている未処理のイベントがない場合(S51/NO),または,接続イベントがあり,かつ,接続イベントに結合フラグがセットされている場合(S51/NO),図62のS3に移る。 When there is no connection event (S51 / YES), or when the connection flag is not set in the connection event (S51 / YES), the process proceeds to S52. When there is no unprocessed event for which the join flag is set (S51 / NO), or when there is a connection event and the join flag is set for the connection event (S51 / NO), S3 in FIG. Move on.
S52:結合フラグ更新部22は,結合フラグがセットされている未処理のイベント(以下,フラグ削除イベントと記す)から結合フラグを削除する。そして,結合フラグ更新部22は,フラグ削除イベントと辺(以下,基準辺と記す)で接続されているイベントで,結合フラグがセットされているイベントに対して,S53の処理を実行する。
S52: The combination
S53:結合フラグ更新部22は,結合フラグがセットされているイベントと,前記した基準辺と同じ種類の辺で接続されている接続イベントに結合フラグがセットされていないか判定する。
S53: The combination
接続イベントがない場合(S53/YES),または,接続イベントに結合フラグがセットされていない場合(S53/YES),S52に戻る。S52に戻った場合,S52において,結合フラグがセットされているイベントがフラグ削除イベントとなる。接続イベントがあり,かつ,接続イベントに結合フラグがセットされている場合(S51/NO),なにもしない。 When there is no connection event (S53 / YES), or when the connection flag is not set in the connection event (S53 / YES), the process returns to S52. When returning to S52, the event for which the combination flag is set in S52 becomes the flag deletion event. If there is a connection event and the join flag is set in the connection event (S51 / NO), do nothing.
以後,結合フラグ更新部22は,結合フラグがセットされている全ての未処理のイベントについて,S51以下の処理を終了したら,図62のS3に移る。
Thereafter, the combination
図62において,S11でNOと判定された場合,または,S14の終了後,図63のS21に移る。そして,S21の処理が実行されS25に至り,S25でYESと判定されると,図65のS61に移る。 In FIG. 62, if NO is determined in S11, or after the end of S14, the process proceeds to S21 in FIG. Then, the process of S21 is executed to reach S25, and if YES is determined in S25, the process proceeds to S61 in FIG.
図65のS61:結合フラグ更新部22は,新規登録イベントに結合フラグをセットし,新規登録イベントと辺で接続されている,結合フラグのない全イベントに対して,S62以下の処理を実行する。
S61 in FIG. 65: The combined
S62:結合フラグ更新部22は,S61または後記するS63における結合フラグのないイベント(S62,S63では対象イベントと適宜記す)は,この対象イベントに関連する各イベント間条件を満たすか判定する。
S62: The combined
具体的には,結合フラグ更新部22は,対象イベントが,種類の異なる2辺を持つか判定する。S62でYESの場合,S63に移る。S62でNOの場合,S64に移る。
Specifically, the combination
S63:結合フラグ更新部22は,対象イベントに結合フラグをセットし,結合フラグをセットしたイベントと辺で接続されている,結合フラグのないイベント全てに対して,S62の処理を実行する。S62の処理の実行(S62に戻る)において,結合フラグがセットされていないイベントが対象イベントである。
S63: The combination
S64:結合フラグ更新部22は,結合フラグのセット処理が全て終わるまで待ち状態に移行する。結合フラグ更新部22は,このセット処理が全て終了するとS65に移る。
S64: The combination
S65:結合フラグ更新部22は,S62,S64で説明した,最終的に結合フラグがセットされなかった対象イベントまたはS67で説明するように結合フラグが削除されたイベント(以下,基準イベントと記す)と辺で接続されている,結合フラグがセットされているイベント(以下,フラグ削除イベントと記す)に対して,S66の処理を実行する。
S65: The combined
ここで,結合フラグ更新部22は,基準イベントすべてについて,S65以下の処理を終了したら,S71に移る。なお,結合フラグ更新部22は,フラグ削除イベントがない場合は,S66以下の処理を実行せず,他の基準イベントについて,S65以下の処理を実行する。
Here, the combination
S66:結合フラグ更新部22は,フラグ削除イベントと基準イベントとが接続されている辺と同じ種類の辺でフラグ削除イベントと接続され,結合フラグがセットされているイベントがないか判定する。このイベントがない場合(S66/YES),S65に移る。
S66: The combined
S67:結合フラグ更新部22は,フラグ削除イベントにセットされた結合フラグを削除する。そして,S65に戻る。
S67: The combination
S65に戻った場合,S65において,S67で結合フラグが削除されたフラグ削除イベントが基準イベントとなる。そして,S66に戻った場合,S66において,この基準イベントと辺で接続されている,結合フラグがセットされているイベントがフラグ削除イベントとなる。S66でNOの場合,図63のS71に移る。 When returning to S65, in S65, the flag deletion event in which the combined flag is deleted in S67 becomes the reference event. When the process returns to S66, in S66, an event that is connected to the reference event at the side and in which the combination flag is set becomes a flag deletion event. If NO in S66, the process proceeds to S71 in FIG.
図63のS71:出力管理部17は,新規登録イベントに結合フラグがセットされているか判定する。S71でNOの場合,図62のS2に移る。S71でYESの場合,S26に移る。S26の処理が実行されS28に至り,S28の終了後,S72に移る。
S71 in FIG. 63: The
S72:出力管理部17は,候補集合102fとして登録されている全てのイベントが処理済みか判定する。S72でYESの場合,S76に移る。S72でNOの場合,S73に移る。
S72: The
S73:出力管理部17は,候補集合102fの未処理のイベントを現候補102eとしてRAM102に登録し,この未処理のイベントを処理済みとする。
S73: The
S74:出力管理部17は,現候補102eとして登録されているイベントに対して出力処理フロー(図66参照)を実行する。S74におけるイベントは,出力処理フローで説明する出力対象のイベントである。
S74: The
S75:出力管理部17は,現イベント条件に登録されているイベントの中で,結合フラグがセットされており,候補集合102fとして登録されているイベントと辺で接続されているイベントを,新候補集合102gに追加登録する。
S75: The
S76:出力管理部17は,新候補集合102gのエントリを候補集合102fとして,さらに,現イベント条件を処理済みとする。そして,S27に戻る。S27でNOの場合,S77に移る。
S76: The
S77:出力管理部17は,候補集合102fに登録されている未処理のイベントに対して出力処理フロー(図66参照)を実行する。S77におけるイベントは,出力処理フローで説明する出力対象のイベントである。
S77: The
S78:出力管理部17は,全ての条件の候補を未処理にして,候補集合102fに登録されているイベントを削除(クリアとも呼ぶ)する。そして,図62のS2に戻る。
S78: The
次に,S74,S77で説明した出力処理フローについて,図66を参照して説明する。 Next, the output processing flow described in S74 and S77 will be described with reference to FIG.
図66のS81:出力管理部17は,出力対象のイベントは,既に出力済みか判定する。S81でYESの場合,出力処理フローを終了する。S81でNOの場合,S82に移る。
S81 in FIG. 66: The
S82:出力管理部17は,現在の時間と,出力対象のイベントの時間との差が,出力対象のイベントに関連する条件(換言すれば,出力対象のイベントが満たす条件)に対応して定められた出力時間以上か判定する。ここで,出力対象のイベントが満たす条件a,bに対応して定められた出力時間は10分である。出力対象のイベントが満たす条件cに対応して定められた出力時間は30秒である。出力対象のイベントが満たす条件dに対応して定められた出力時間は0秒である。
S82: The
S82でYESの場合,S83に移る。S82でNOの場合,S84に移る。 If YES in S82, the process moves to S83. If NO in S82, the process moves to S84.
S83:出力部18は,出力対象のイベントを出力し,出力したイベントを出力済みとする。
S83: The
S84:出力管理部17は,出力対象のイベントを出力候補102hとしてRAM102に追加登録する。
S84: The
(第2の実施の形態の具体例)
図67〜図98は,第2の実施の形態における具体例を説明する第1〜第32の図である。第1の実施の形態における図9〜図30で説明したようにイベントが情報処理装置2に順次入力され,図62〜図64のフロー図の各ステップが実行される。
(Specific example of the second embodiment)
67 to 98 are first to thirty-second diagrams for explaining specific examples in the second embodiment. As described with reference to FIGS. 9 to 30 in the first embodiment, events are sequentially input to the
図9〜図23で説明した処理が実行されると,図24で説明したように,ノード削除部16は,イベントID1a"17:54:20",ID2a,ID6a,ID5aについては,図64のS5でYESと判定し,これらのイベントを削除する(S7)。次いで,S51に移る。ここで,結合フラグ更新部22は,結合フラグがセットされている未処理のイベントがないので(S51/NO),図62のS3に移る。以後,図24で説明した各処理が実行される。そして,図25〜図30で説明したように,イベントが順次入力され,図62〜図64のフロー図の各ステップが実行される。
When the processing described with reference to FIGS. 9 to 23 is executed, as described with reference to FIG. 24, the
なお,図9〜図30では,出力候補にはイベントが登録されていないので,イベントの受信後(S2),出力管理部17は,S41でNOと判定し,S3に移る。
9 to 30, since no event is registered in the output candidates, after receiving the event (S2), the
(ID5のイベント入力)
第1の実施の形態における図28で説明したように,データ読み取り部13は,ID5のイベントを読み取る(S2)。情報処理装置2は,図29,図30で説明した各ステップを実行し,グラフ管理部15は,図67に示すように,新規登録イベントID5dとイベントID5bとを辺(破線参照)で接続する(S14)。
(Event input of ID5)
As described with reference to FIG. 28 in the first embodiment, the
次いで,情報処理装置2は,図29,図30で説明した各ステップを実行する。そして,グラフ管理部15は,図67に示すように,新規登録イベントID5dとイベントID1cとを辺(点線参照)で接続する(S23)。イベントID5dに関連する各イベント間条件(条件b-dまたは条件c-d)の相手条件(条件b,c)に,自身条件(条件d)に時間が後続する後続条件(条件無し)は含まれない(S24/NO)。従って,条件判定部14は,S24でNOと判定し,S25に移る。新規登録イベントID5dは,種類の異なる種類の2辺(点線と一点鎖線参照)を持つ(S25/YES)。従って,条件判定部14は,S25でYES判定し,S61に移る。結合フラグ更新部22は,図67に示すように,新規登録イベントID5dに結合フラグをセットする(S61)。以下の説明では,結合フラグをまる印で模式的に示す。
Next, the
結合フラグ更新部22は,新規登録イベントID5dと辺で接続されている,結合フラグのない2つのイベントID1c,ID5b(対象イベント)について,S62,S63の処理を実行する。
The combined
対象イベントID1cは,2つの異なる種類の辺(点線の辺,一点鎖線の辺)を持つ。対象イベントID5bは,2つの異なる種類の辺(実線の辺,破線の辺)を持つ。従って,結合フラグ更新部22は,S62でYESと判定し,図68に示すように,対象イベントID1c,ID5bに結合フラグをセットし(S63),S62に戻る。
The target event ID 1c has two different types of sides (a dotted line side and a one-dot chain line side). The target event ID 5b has two different types of sides (solid line side, broken line side). Accordingly, the combination
結合フラグ更新部22は,結合フラグをセットしたイベントID5bと辺で接続されている,結合フラグのない2つのイベントID1a,ID4a(対象イベント)について,S62,S63の処理を実行する。対象イベントID1aは,2つの異なる種類の辺(実線の辺,一点鎖線の辺)を持つ。従って,結合フラグ更新部22は,対象イベントID1aについて,S62でYESと判定し,図69に示すように,対象イベントID1aに結合フラグをセットし(S63),S62に戻る。一方,対象イベントID4aは,2つの異なる種類の辺を持たない。従って,結合フラグ更新部22は,対象イベントID4aについて,S62でNOと判定し,S64に移る。
The combined
また,対象イベントID1cと辺で接続されている,結合フラグのないイベントはない。従って,結合フラグ更新部22は,対象イベントID1cについて,S62でNOと判定し,S64に移る。結合フラグのセット処理が全て終わったので待ち状態(S64)から,S65に移る。以上の説明において,最終的に結合フラグがセットされなかったイベント(基準イベント)は,イベントID4a,ID4bである。
In addition, there is no event that is connected to the target event ID 1c at the side and does not have a join flag. Therefore, the combination
結合フラグ更新部22は,基準イベントID4aと辺(実線)で接続されている,結合フラグがセットされているイベントID5b(フラグ削除イベントID5b)に対してS66の処理を実行する。
The combination
フラグ削除イベントID5bと基準イベントID4aとが接続されている辺と同じ種類(実線)の辺でフラグ削除イベント5bと接続され,結合フラグがセットされているイベントID1aがある。従って,結合フラグ更新部22は,S66でNOと判定する。
There is an event ID 1a that is connected to the flag deletion event 5b on the side of the same type (solid line) as the side to which the flag deletion event ID 5b and the reference event ID 4a are connected, and in which the combined flag is set. Therefore, the combination
結合フラグ更新部22は,基準イベントID4bと辺(実線)で接続されている,結合フラグがセットされているイベントID1a(フラグ削除イベントID1a)に対してS66の処理を実行する。
The combination
フラグ削除イベントID1aと基準イベントID4bとが接続されている辺と同じ種類(実線)の辺でフラグ削除イベントID1aと接続され,結合フラグがセットされているイベントID5bがある。従って,結合フラグ更新部22は,S66でNOと判定する。結合フラグ更新部22は,基準イベントすべてについて,S65〜S67の処理を終了したので,S71に移る。
There is an event ID 5b that is connected to the flag deletion event ID 1a on the side of the same type (solid line) as the side to which the flag deletion event ID 1a and the reference event ID 4b are connected, and the combined flag is set. Therefore, the combination
新規登録イベントID5dは,図70に示すように,結合フラグを持つ。従って,出力管理部17は,S71でYESと判定し,図70に示すように,新規登録イベントID5dが満たす条件dを処理済みとする(S26)。そして,出力管理部17は,図70に示すように,新規登録イベントID5dを,候補集合として登録する(S26)。
The newly registered event ID 5d has a combined flag as shown in FIG. Accordingly, the
未処理の条件は条件a,条件b,条件c,すなわち"処理済み"でない条件の候補は条件a,b,cの候補である。従って,出力管理部17は,未処理の条件があると判定する(S27/YES)。そして,出力管理部17は,図71に示すように,未処理の条件a,b,cの中で,処理済みの条件dとイベント間条件を満たす条件b,cの1つを現イベント条件(例えば,条件cを現イベント条件)とする(S28)。
Unprocessed conditions are condition a, condition b, and condition c, that is, candidates for conditions that are not “processed” are candidates for conditions a, b, and c. Therefore, the
候補集合として登録されている全てのイベントは,処理済みではない(S72/NO)。従って,出力管理部17は,S72でNOと判定し,図71に示すように,候補集合の未処理のイベントID5dを現候補として登録し,この未処理のイベントID5dを処理済みとする(S73)。この処理済みであることを,候補集合内のイベントに"済"を付すことにより示す。
All events registered as a candidate set have not been processed (S72 / NO). Accordingly, the
ここで,現候補として登録されているイベントID5dが出力対象のイベントである。出力管理部17は,現候補として登録されているイベントID5dに対し,出力処理フローを実行する。出力対象のイベントID5dは,出力済みでない。従って,出力管理部17は,S81でNOと判定し,S82に移る。
Here, the event ID 5d registered as the current candidate is the event to be output. The
現在の時間"18:06:20"と,出力対象のイベントID5dの時間"18:06:20"との差が,出力対象のイベントID5dが満たす条件dに対応して定められた出力時間"0秒"以上である(S82/YES)。従って,出力管理部17は,S82でYESと判定し,図72に示すように,出力対象のイベントID5dを出力し,出力済みとする(S83)。この出力済みであることを,イベントID5dに"済"を付すことにより示す。
The difference between the current time “18:06:20” and the time “18:06:20” of the event ID 5d to be output is the output time determined according to the condition d that the event ID 5d to be output satisfies. 0 seconds "or more (S82 / YES). Therefore, the
図73に示すように,現イベント条件(条件c)に登録されているイベントは,イベントID1cである。イベントID1cは,結合フラグがセットされており,候補集合に登録されているイベントID5dと辺で接続(点線参照)されている。従って,出力管理部17は,図73に示すように,イベントID1cを新候補集合に登録する(S75)。そして,S72に戻る。
As shown in FIG. 73, the event registered in the current event condition (condition c) is event ID 1c. The event ID 1c has a combined flag set, and is connected to the event ID 5d registered in the candidate set by an edge (see dotted line). Therefore, the
候補集合として登録されている全てのイベントID5dは,処理済みである(S72/YES)。従って,出力管理部17は,図74に示すように,図73に示した新候補集合のエントリ(ID1のイベント)を候補集合に移し,現イベント条件(条件c)を処理済みにして(S76),S27に戻る。
All event IDs 5d registered as a candidate set have been processed (S72 / YES). Therefore, as shown in FIG. 74, the
未処理の条件は条件a,条件b,すなわち"処理済み"でない条件の候補は条件a,bの候補である。従って,出力管理部17は,未処理の条件があると判定する(S27/YES)。そして,出力管理部17は,図75に示すように,未処理の条件a,bの中で,処理済みの条件(例えば条件d)とイベント間条件を満たす条件bを現イベント条件(例えば,条件b)とする(S28)。
Unprocessed conditions are condition a and condition b, that is, candidate conditions that are not “processed” are candidate conditions a and b. Therefore, the
候補集合として登録されている全てのイベントは,イベントID1c,ID5dである。そして,イベントID5dは処理済みで,イベントID1cは処理済みでない。 All events registered as a candidate set are event IDs 1c and ID5d. Event ID 5d has been processed, and event ID 1c has not been processed.
従って,出力管理部17は,S72でNOと判定し,図75に示すように,候補集合の未処理のイベントID1cを現候補として登録し,この未処理のイベントID1cを処理済みとする(S73)。
Accordingly, the
ここで,現候補として登録されているイベントID1cが出力対象のイベントである。出力管理部17は,現候補として登録されているイベントID1cに対し,出力処理フローを実行する(S74)。出力対象のイベントID1cは,出力済みでない。従って,出力管理部17は,S81でNOと判定し,S82に移る。
Here, the event ID 1c registered as the current candidate is the event to be output. The
現在の時間"18:06:20"と,出力対象のイベントID1cの時間"18:06:00"との差が,出力対象のイベントID1cが満たす条件cに対応して定められた出力時間"30秒"以上でない(S82/NO)。従って,出力管理部17は,S82でNOと判定し,図76に示すように,出力対象のイベントID1cを出力候補として登録する(S84)。
The difference between the current time "18:06:20" and the time "18:06:00" of the event ID 1c to be output is the output time determined according to the condition c that the event ID 1c to be output satisfies. It is not more than 30 seconds "(S82 / NO). Therefore, the
図77に示すように,現イベント条件(条件b)に登録されているイベントは,イベントID2b,ID4b,ID5b,ID6bである。イベントID5bは,結合フラグがセットされており,候補集合に登録されているイベントID5dと辺で接続(破線参照)されている。従って,出力管理部17は,図77に示すように,イベントID5bを新候補集合に登録する(S75)。そして,S72に戻る。
As shown in FIG. 77, the events registered in the current event condition (condition b) are event ID2b, ID4b, ID5b, and ID6b. The event ID 5b has a combination flag set, and is connected to the event ID 5d registered in the candidate set by an edge (see a broken line). Accordingly, the
候補集合として登録されている全てのイベントID5d,ID1cは,処理済みである(S72/YES)。従って,出力管理部17は,図78に示すように,図77に示した新候補集合のエントリ(ID5のイベント)を候補集合に移し,現イベント条件(条件b)を処理済みにして(S76),S27に戻る。
All event IDs 5d and ID1c registered as a candidate set have been processed (S72 / YES). Therefore, as shown in FIG. 78, the
未処理の条件は条件a,すなわち"処理済み"でない条件の候補は条件aの候補である。従って,出力管理部17は,未処理の条件があると判定する(S27/YES)。そして,出力管理部17は,図79に示すように,処理済みの条件(例えば条件b)とイベント間条件を満たす条件aを現イベント条件とする(S28)。
An unprocessed condition is a condition a, that is, a candidate for a condition that is not “processed” is a candidate for condition a. Therefore, the
候補集合として登録されている全てのイベントは,イベントID1c,ID5d,ID5bである。そして,イベントID5d,ID1cは処理済みで,イベントID5bは処理済みでない。 All events registered as a candidate set are event ID1c, ID5d, and ID5b. Event IDs 5d and ID1c have been processed, and event ID 5b has not been processed.
従って,出力管理部17は,S72でNOと判定し,図79に示すように,候補集合の未処理のイベントID5bを現候補として登録し,この未処理のイベントID5bを処理済みとする(S73)。
Accordingly, the
ここで,現候補として登録されているイベントID5bが出力対象のイベントである。出力管理部17は,現候補として登録されているイベントID5bに対し,出力処理フローを実行する(S74)。出力対象のイベントID5bは,出力済みでない。従って,出力管理部17は,S81でNOと判定し,S82に移る。
Here, the event ID 5b registered as the current candidate is the event to be output. The
現在の時間"18:06:20"と,出力対象のイベントID5bの時間"17:54:20"との差が,出力対象のイベントID5bが満たす条件bに対応して定められた出力時間"10分"以上である(S82/YES)。従って,出力管理部17は,S82でYESと判定し,図80に示すように,出力対象のイベントID5bを出力し,出力済みとする(S83)。この出力済みであることを,イベントID5bに"済"を付すことにより示す。
The difference between the current time "18:06:20" and the time "17:54:20" of the event ID 5b to be output is the output time determined according to the condition b that is satisfied by the event ID 5b to be output " 10 minutes "or more (S82 / YES). Therefore, the
図81に示すように,現イベント条件(条件a)に登録されているイベントは,イベントID1a,ID4a,ID7aである。イベントID1aは,結合フラグがセットされており,候補集合に登録されているイベントID5bと辺で接続(実線参照)されている。従って,出力管理部17は,図81に示すように,イベントID1aを新候補集合に登録する(S75)。そして,S72に戻る。
As shown in FIG. 81, the events registered in the current event condition (condition a) are event ID1a, ID4a, and ID7a. The event ID 1a has a combined flag set, and is connected to the event ID 5b registered in the candidate set by an edge (see solid line). Accordingly, the
候補集合として登録されている全てのイベントID5b,ID5d,ID1cは,処理済みである(S72/YES)。従って,出力管理部17は,図82に示すように,図81に示した新候補集合のエントリ(ID1のイベント)を候補集合に移し,現イベント条件(条件a)を処理済みにして(S76),S27に戻る。
All event IDs 5b, ID5d, and ID1c registered as a candidate set have been processed (S72 / YES). Therefore, as shown in FIG. 82, the
ここで,未処理の条件はない。すなわち,"処理済み"でない条件の候補はない(全ての条件の候補に"処理済"が付されている)。従って,出力管理部17は,未処理の条件がないと判定する(S27/NO)。
Here, there is no unprocessed condition. That is, there is no candidate for a condition that is not “processed” (“processed” is assigned to all candidate conditions). Therefore, the
候補集合として登録されているイベントID1aが未処理のイベントである。すなわち,イベントID1aが出力対象のイベントである。出力管理部17は,候補集合として登録されているイベントID1aに対し,出力処理フローを実行する(S77)。出力対象のイベントID1aは,出力済みでない。従って,出力管理部17は,S81でNOと判定し,S82に移る。
Event ID1a registered as a candidate set is an unprocessed event. That is, event ID 1a is an event to be output. The
現在の時間"18:06:20"と,出力対象のイベントID1aの時間"17:54:00"との差が,出力対象のイベントID1aが満たす条件aに対応して定められた出力時間"10分"以上である(S82/YES)。従って,出力管理部17は,S82でYESと判定し,図83に示すように,出力対象のイベントID1aを出力し,出力済みとする(S83)。この出力済みであることを,イベントID1aに"済"を付すことにより示す。そして,出力管理部17は,候補集合に登録されたイベントをクリアする(S83)。
The difference between the current time “18:06:20” and the time “17:54:00” of the event ID 1a to be output is the output time that is determined according to the condition a that the event ID 1a to be output satisfies. 10 minutes "or more (S82 / YES). Therefore, the
(ID7のイベント入力)
データ読み取り部13は,図84のイベントテーブルに示す,ID7のイベントを読み取る(S2)。図83において,出力候補のイベント(イベントID1c)の出力時間は30秒である。詳しくは,出力候補のイベントが満たす条件cに対応して定められた時間(出力時間)は,30秒である。そして,現在の時間は"18:06:40"である。
(Event input of ID7)
The
従って,出力管理部17は,現在の時間と,出力候補のイベントの時間との差が,出力時間以上と判定する(S41/YES)。そして,出力部18は,出力候補のイベント(イベントID1c) を出力し,この出力したイベントを出力候補から削除する(S42)。
Therefore, the
次いで,情報処理装置2は,図42で説明した各ステップを実行して,図85に示すように,ID7のイベントを条件c,dの候補として新規登録する(S10)。
Next, the
新規登録したイベントID7dについて説明する。ノード削除部16は,図43で説明したように,S12でNOと判定し,図86で示すように,イベントID7dを削除する(S13)。この削除を,図86の"×"で示す。そして,S2に戻る。
The newly registered event ID 7d will be described. The
新規登録したイベントID7cについては,条件判定部14は,図43で説明したように,S12でYESと判定する。そして,図43で示したように,グラフ管理部15は,図86で示すように,イベント間条件を満たしたイベントID7aと,新規登録イベントID7cとを辺(一点鎖線参照)で接続する(S14)。
For the newly registered event ID 7c, the
次いで,条件判定部14は,図42で説明したように,S21でYES,S22でNO,S24でYES,S25でNOと判定し,S2に移る。
Next, as described with reference to FIG. 42, the
(ID6のイベント入力)
データ読み取り部13は,図87のイベントテーブルに示す,ID6のイベントを読み取る(S2)。なお,図87では,出力候補にはイベントが登録されていないので,イベントの受信後(S2),出力管理部17は,S41でNOと判定し,S3に移る。
(Event input of ID6)
The
次いで,情報処理装置2は,図44で説明した各ステップを実行して,図87に示すように,ID6のイベントを条件c,dの候補として新規登録する(S10)。
Next, the
新規登録したイベントID6cについて説明する。ノード削除部16は,図45で説明したように,S12でNOと判定し,図88で示すように,イベントID6cを削除する(S13)。この削除を,図88の"×"で示す。そして,S2に戻る。
The newly registered event ID 6c will be described. The
新規登録したイベントID7dについては,条件判定部14は,図45で説明したように,S12でYESと判定する。そして,グラフ管理部15は,図88で示すように,イベント間条件を満たしたイベントID6bと,新規登録イベントID6dとを辺(破線参照)で接続する(S14)。
For the newly registered event ID 7d, the
情報処理装置2は,図45で説明した各ステップを実行し,グラフ管理部15は,図88で示すように,イベント間条件を満たしたイベントID1cと,新規登録イベントID6dとを辺(点線参照)で接続する(S23)。イベントID6dに関連する各イベント間条件(条件b-dまたは条件c-d)の相手条件(条件b,c)に,自身条件(条件d)に時間が後続する後続条件(条件無し)は含まれない(S24/NO)。従って,条件判定部14は,S24でNOと判定し,S25に移る。新規登録イベントID5dは,種類の異なる種類の2辺(点線と一点鎖線参照)を持つ(S25/YES)。従って,条件判定部14は,S25でYES判定し,S61に移る。結合フラグ更新部22は,図89に示すように,新規登録イベントID6dに結合フラグをセットする(S61)。
The
結合フラグ更新部22は,新規登録イベントID6dと辺で接続されている,結合フラグのないベントID16b(対象イベント)について,S62,S63の処理を実行する。
The combination
対象イベントID6bは,2つの異なる種類の辺(実線の辺,破線の辺)を持つ。従って,結合フラグ更新部22は,S62でYESと判定し,図90に示すように,対象イベントID6bに結合フラグをセットし(S63),S62に戻る。
The target event ID 6b has two different types of sides (solid line side, broken line side). Accordingly, the combination
結合フラグ更新部22は,結合フラグがセットされたイベントID6bと辺で接続されている,結合フラグのないイベントID7aについて,S62,S63の処理を実行する。対象イベントID7aは,2つの異なる種類の辺(実線の辺,一点鎖線の辺)を持つ。従って,結合フラグ更新部22は,対象イベントID7aについて,S62でYESと判定し,図91に示すように,対象イベントID7aに結合フラグをセットし(S63),S62に戻る。
The combination
結合フラグ更新部22は,結合フラグがセットされたイベントID7aと辺で接続されている,結合フラグのないイベントID7cについて,S62,S63の処理を実行する。
The combination
結合フラグのないイベントID7c(対象イベント)は,2つの異なる種類の辺を持たない。従って,結合フラグ更新部22は,対象イベントID7cについて,S62でNOと判定し,S64に移る。結合フラグのセット処理が全て終わったので待ち状態(S64)から,S65に移る。
Event ID 7c (target event) without a combination flag does not have two different types of edges. Therefore, the combination
結合フラグ更新部22は,最終的に結合フラグがセットされなかった対象イベントID7c(基準イベントID7c)と辺で接続されている結合フラグがセットされているイベントID7a(フラグ削除イベントID7a)に対して,S66の処理を実行する(S65)。
The combined
図92において,フラグ削除イベントID7aと基準イベントID7cとが接続されている辺(一点鎖線)と同じ種類の辺でフラグ削除イベントID7aと接続されているイベントはない(S66/YES)。従って,結合フラグ更新部22は,S66でYESと判定し,図92に示したように,フラグ削除イベントID7aにセットされた結合フラグを削除する(S67)。結合フラグの削除をばつ印で示している。S67の終了後,S65に戻る。
In FIG. 92, there is no event connected to the flag deletion event ID 7a on the same type of side as the side (one-dot chain line) to which the flag deletion event ID 7a and the reference event ID 7c are connected (S66 / YES). Therefore, the combination
図93に示すように,結合フラグが削除されたイベントID7a(基準イベントID7a) と辺で接続されている結合フラグがセットされているイベントID6b(フラグ削除イベントID6b)に対して,S66の処理を実行する(S65)。 As shown in Fig. 93, the processing of S66 is performed for event ID 7a (reference event ID 7a) from which the combination flag has been deleted and event ID 6b (flag deletion event ID 6b) in which the combination flag connected by the side is set. Execute (S65).
図93において,フラグ削除イベントID6bと基準イベントID7aとが接続されている辺(実線)と同じ種類の辺でフラグ削除イベントID6bと接続されているイベントはない(S66/YES)。従って,結合フラグ更新部22は,S66でYESと判定し,図93に示したように,フラグ削除イベントID6bにセットされた結合フラグを削除する(S67)。S67の終了後,S65に戻る。
In FIG. 93, there is no event connected to the flag deletion event ID 6b on the same type of side (solid line) to which the flag deletion event ID 6b and the reference event ID 7a are connected (S66 / YES). Therefore, the combination
図94に示すように,結合フラグが削除されたイベントID6b(基準イベントID6b) と辺で接続されている結合フラグがセットされているイベントID6d(フラグ削除イベントID6d)に対して,S66の処理を実行する(S65)。 As shown in Fig. 94, the processing of S66 is performed for event ID 6b (flag deletion event ID 6d) for which event ID 6b (reference event ID 6b) for which the combination flag has been deleted and event flag 6d connected for the edge is set. Execute (S65).
図94において,フラグ削除イベントID6dと基準イベントID6bとが接続されている辺(破線)と同じ種類の辺でフラグ削除イベントID6dと接続されているイベントはない(S66/YES)。従って,結合フラグ更新部22は,S66でYESと判定し,図94に示したように,フラグ削除イベントID6dにセットされた結合フラグを削除する(S67)。S67の終了後,S65に戻る。
In FIG. 94, there is no event connected to the flag deletion event ID 6d on the same type of side (dashed line) to which the flag deletion event ID 6d and the reference event ID 6b are connected (S66 / YES). Therefore, the combination
図95に示すように,結合フラグが削除されたイベントID6d(基準イベントID6d) と辺で接続されている結合フラグがセットされているイベントID1c(フラグ削除イベントID1c)に対して,S66の処理を実行する(S65)。 As shown in Fig. 95, the processing of S66 is performed for event ID1d (flag deletion event ID1c) for which event ID6d (reference event ID6d) for which the combination flag has been deleted and the combination flag connected by the side is set. Execute (S65).
図95において,フラグ削除イベントID1cと基準イベントID6dとが接続されている辺(点線)と同じ種類の辺でフラグ削除イベントID1cと接続されているイベントがある。このイベントは,イベントID5dである。従って,結合フラグ更新部22は,S66でNOと判定し,フラグ削除イベントID1cについては何もしない。そして,S71に移る。
In FIG. 95, there is an event connected to the flag deletion event ID 1c on the same type of side (dotted line) to which the flag deletion event ID 1c and the reference event ID 6d are connected. This event is event ID 5d. Therefore, the combined
新規登録イベントID6dは,図95に示すように,結合フラグを持たない。従って,出力管理部17は,S71でNOと判定し,S2に戻る。
As shown in FIG. 95, the new registration event ID 6d does not have a combination flag. Accordingly, the
(ID8のイベント入力)
データ読み取り部13は,図96のイベントテーブルに示す,ID8のイベントを読み取る(S2)。
(Event input of ID8)
The
条件判定部14は,図56で説明したように,S3でYESと判定する。そして,ノード削除部16は,図96に示すように,削除対象のイベントID1c,ID7c,ID5d,ID6dと,削除対象のイベントと接続する辺とを削除する(S8)。図56では,この削除をばつ印で示している。さらに,ノード削除部16は,削除対象のイベントと辺で接続されているイベントID1a,ID7a,ID5b,ID6bを未処理にする(S8)。そして,S51に移る。
The
図97で示すように,結合フラグがセットされている未処理のイベント(例えば,イベントID1a)と,削除された辺(例えば,図96で示す一点鎖線の辺)と同じ種類の辺(一点鎖線の辺)で接続されている接続イベントはない。 As shown in FIG. 97, an unprocessed event (for example, event ID 1a) for which the join flag is set and an edge of the same type as the deleted edge (for example, the one-dot chain line shown in FIG. 96) (the one-dot chain line) There is no connection event connected at (side).
従って,結合フラグ更新部22は,S51でYESと判定し,図97で示すように,結合フラグがセットされている未処理のイベント(フラグ削除イベントID1a)から結合フラグを削除する(S52)。
Accordingly, the combined
そして,結合フラグ更新部22は,フラグ削除イベントID1aと辺(基準辺,例えば図97では実線の辺参照)で接続されているイベントで,結合フラグがセットされているイベントID5bに対して,S53の処理を実行する。
Then, the combination
結合フラグがセットされているイベントID5bと,前記した基準辺と同じ種類の辺(実線の辺)で接続されている接続イベントID4aに結合フラグがセットされていない(S53/YES)。従って,結合フラグ更新部22は,S53でYESと判定し,S52に戻る。
The combination flag is not set for the event ID 5b for which the combination flag is set and the connection event ID 4a connected by the same type of side as the reference side (solid line side) (S53 / YES). Therefore, the combination
結合フラグ更新部22は,図98で示すように,結合フラグがセットされているイベントID5b(フラグ削除イベントID5b)から結合フラグを削除する(S52)。ここで,結合フラグがセットされているイベントはない(S51/NO)。従って,結合フラグ更新部22は,S51でNOと判定し,S3に移る。
As shown in FIG. 98, the combination
以後,ノード削除部16は,図57で説明したように,削除対象のイベントID1a,ID7aと,削除対象のイベントと接続する辺とを削除する(S7)。さらに,ノード削除部16は,削除対象のイベントと辺で接続されているイベントID2b,ID4b,ID5b,ID6bを未処理にする(S8)。そして,S3に戻る。
Thereafter, as described with reference to FIG. 57, the
次いで,ノード削除部16は,図58で説明したように,削除対象のイベントID4b,ID6bを削除する(S7)。
Next, as described in FIG. 58, the
本実施の形態によれば,イベントが,2つのイベント間条件を満たすことを示す判定結果を出力することができる。その結果,管理者は,迅速に,検知結果を取得することができる。 According to the present embodiment, it is possible to output a determination result indicating that an event satisfies a condition between two events. As a result, the administrator can quickly obtain the detection result.
[その他の実施の形態]
(イベント)
情報処理装置1,2は,第1,第2の実施の形態で説明したイベント以外にも様々なイベントの中から条件を満たすイベントを抽出することができる。
[Other embodiments]
(Event)
The
図99は,イベントを模式的に示す他の図である。データ読み取り部13が外部サーバから取得するイベントは,例えば,ある時間における,あるネットワークに属するあるサーバの負荷を示す。イベントは,サーバを一意に識別するサーバ識別子(サーバID)と,このサーバが属するネットワークを一意に識別するネットワーク識別子(ネットワークID)と,ある時間におけるこのサーバの負荷を示す。なお,負荷は,たとえばサーバのCPUの負荷率(%)である。
FIG. 99 is another diagram schematically showing an event. The event acquired by the
図99に示すイベントテーブルにおける列は,図面左から順に,イベントの時間,サーバID,ネットワークID,負荷を示す。なお,図99の矢印は,時間経過を模式的に示している。 The columns in the event table shown in FIG. 99 indicate the event time, server ID, network ID, and load in order from the left of the drawing. Note that the arrows in FIG. 99 schematically show the passage of time.
(イベント条件,イベント間条件)
図100は,イベント条件,イベント間条件を説明する他の図である。図100において,条件a〜条件fを楕円で模式的に示す。条件a,条件b,条件cは,イベントに含まれる負荷が80%以上である。なお,条件a,条件b,条件cは,イベントに含まれる負荷が80%以上90%未満であってもよい。条件d,条件e,条件fは,イベントに含まれる負荷が90%以上である。
(Event condition, inter-event condition)
FIG. 100 is another diagram for explaining the event condition and the inter-event condition. In FIG. 100, conditions a to f are schematically shown as ellipses. In condition a, condition b, and condition c, the load included in the event is 80% or more. The conditions a, b, and c may include a load included in the event of 80% or more and less than 90%. In condition d, condition e, and condition f, the load included in the event is 90% or more.
図100の例では,7つのイベント間条件がある。第1のイベント間条件は,条件a,条件bとの関係を示すイベント間条件a-bである。イベント間条件a-bは,以下の2つの関係を満たすことである。すなわち,第1の関係は,第1のイベント(条件aを満たす)のネットワークIDにより識別されるネットワークと,第1のイベントに後続する第2のイベント(条件bを満たす)のネットワークIDにより識別されるネットワークとが隣接していることである。第2の関係は,第1のイベントの時間と,第2のイベントの時間との時間差(タイムアウト)とが60秒以内である。 In the example of FIG. 100, there are seven inter-event conditions. The first inter-event condition is an inter-event condition a-b indicating a relationship with the conditions a and b. The inter-event condition a-b is to satisfy the following two relationships. That is, the first relationship is identified by the network ID of the first event (satisfying condition a) and the network ID of the second event (satisfying condition b) following the first event. The network to be connected is adjacent. The second relationship is that the time difference (timeout) between the time of the first event and the time of the second event is within 60 seconds.
第2のイベント間条件は,条件b,条件cとの関係を示すイベント間条件b-cである。イベント間条件b-cは,以下の2つの関係を満たすことである。すなわち,第1の関係は,第2のイベントのネットワークIDにより識別されるネットワークと,第2のイベントに後続する第3のイベント(条件cを満たす)のネットワークIDにより識別されるネットワークとが隣接していることである。第2の関係は,第2のイベントの時間と,第3のイベントの時間との時間差とが60秒以内である。 The second inter-event condition is an inter-event condition b-c indicating a relationship with the conditions b and c. The inter-event condition b-c is to satisfy the following two relationships. In other words, the first relationship is that the network identified by the network ID of the second event is adjacent to the network identified by the network ID of the third event (satisfying condition c) following the second event. Is. The second relationship is that the time difference between the time of the second event and the time of the third event is within 60 seconds.
第3のイベント間条件は,条件a,条件dとの関係を示すイベント間条件a-dである。イベント間条件a-dは,以下の2つの関係を満たすことである。第1,第4のイベントに含まれるサーバIDが同じであり,第1のイベントの時間と,第1のイベントに後続する第4のイベント(条件dを満たす)の時間との時間差が15秒以内である。 The third inter-event condition is an inter-event condition a-d indicating a relationship with the conditions a and d. The inter-event condition a-d is to satisfy the following two relationships. The server IDs included in the first and fourth events are the same, and the time difference between the time of the first event and the time of the fourth event (satisfying condition d) following the first event is 15 seconds. Is within.
第4のイベント間条件は,条件b,条件eとの関係を示すイベント間条件b-eである。イベント間条件b-eは,以下の2つの関係を満たすことである。第2,第5のイベントに含まれるサーバIDが同じであり,第2のイベントの時間と,第2のイベントに後続する第5のイベント(条件eを満たす)の時間との時間差が15秒以内である。 The fourth inter-event condition is an inter-event condition b-e indicating a relationship with the condition b and the condition e. The inter-event condition b-e is to satisfy the following two relationships. The server IDs included in the second and fifth events are the same, and the time difference between the time of the second event and the time of the fifth event (satisfying condition e) following the second event is 15 seconds. Is within.
第5のイベント間条件は,条件c,条件fとの関係を示すイベント間条件c-fである。イベント間条件c-fは,以下の2つの関係を満たすことである。第3,第6のイベントに含まれるサーバIDが同じであり,第3のイベントの時間と,第3のイベントに後続する第6のイベント(条件fを満たす)の時間との時間差が15秒以内である。 The fifth inter-event condition is an inter-event condition c-f indicating the relationship between the condition c and the condition f. The inter-event condition c-f is to satisfy the following two relationships. The server ID included in the third and sixth events is the same, and the time difference between the time of the third event and the time of the sixth event (satisfying condition f) following the third event is 15 seconds. Is within.
第6のイベント間条件は,条件d,条件eとの関係を示すイベント間条件d-eである。イベント間条件d-eは,以下の2つの関係を満たすことである。すなわち,第1の関係は,第4のイベントのネットワークIDにより識別されるネットワークと,第4のイベントに後続する第5のイベントのネットワークIDにより識別されるネットワークとが隣接していることである。第2の関係は,第4のイベントの時間と,第5のイベントの時間との時間差とが60秒以内である。 The sixth inter-event condition is an inter-event condition d-e indicating a relationship with the condition d and the condition e. The inter-event condition d-e is to satisfy the following two relationships. In other words, the first relationship is that the network identified by the network ID of the fourth event is adjacent to the network identified by the network ID of the fifth event following the fourth event. . The second relationship is that the time difference between the time of the fourth event and the time of the fifth event is within 60 seconds.
第7のイベント間条件は,条件e,条件fとの関係を示すイベント間条件e-fである。イベント間条件e-fは,以下の2つの関係を満たすことである。すなわち,第1の関係は,第5のイベントのネットワークIDにより識別されるネットワークと,第5のイベントに後続する第6のイベントのネットワークIDにより識別されるネットワークとが隣接していることである。第2の関係は,第5のイベントの時間と,第6のイベントの時間との時間差とが60秒以内である。 The seventh inter-event condition is an inter-event condition e-f indicating a relationship with the condition e and the condition f. The inter-event condition e-f satisfies the following two relationships. In other words, the first relationship is that the network identified by the network ID of the fifth event is adjacent to the network identified by the network ID of the sixth event following the fifth event. . The second relationship is that the time difference between the time of the fifth event and the time of the sixth event is within 60 seconds.
条件読み取り部11は,例えば,図100で説明したイベント条件,イベント間条件,タイムアウトを有する情報をストレージ103から読み出す(S1)。そして,情報処理装置1,2のデータ読み取り部13は,図99の1行で示されるイベントを受信する。そして,情報処理装置1,2は,図7,図62で説明したS2以降の処理を実行する。
The
以上の実施の形態をまとめると,次の付記のとおりである。 The above embodiment is summarized as follows.
(付記1)
複数の属性を有する事象情報を取得し,取得した前記事象情報が第1の前記属性に対応して定められた事象条件を満たす場合,取得した前記事象情報をメモリに記憶する処理部を有し,
前記処理部は,前記事象情報を記憶する度に,前記第1の属性と前記第2の属性である時間と少なくとも2つの前記事象条件とに関連する事象間条件を満たす,前記メモリに記憶された記憶事象情報があるか判定し,前記事象間条件を満たす記憶事象情報があると,判定結果を出力する
ことを特徴とする情報処理装置。
(Appendix 1)
A processing unit that acquires event information having a plurality of attributes, and stores the acquired event information in a memory when the acquired event information satisfies an event condition defined in correspondence with the first attribute; Have
Each time the processing unit stores the event information, the processing unit satisfies the inter-event condition related to the first attribute, the second attribute time, and at least two event conditions. An information processing apparatus that determines whether there is stored storage event information, and outputs a determination result if there is storage event information that satisfies the inter-event condition.
(付記2)
付記1において,
前記処理部は,前記記憶事象情報の前記時間と,現在時間に対応する基準時間とに基づき,前記事象間条件を満たさない前記記憶事象情報を特定し,特定した前記記憶事象情報を削除する
ことを特徴とする情報処理装置。
(Appendix 2)
In
The processing unit specifies the storage event information that does not satisfy the inter-event condition based on the time of the storage event information and a reference time corresponding to the current time, and deletes the specified storage event information An information processing apparatus characterized by that.
(付記3)
付記2において,
前記事象条件は,前記第1の属性に対応して定められた,第1の前記事象条件と第2の前記事象条件であって,
前記事象間条件は,時間と第3の前記属性と前記第1,第2の事象条件とに関連する事象間条件であって,
前記処理部は,前記記憶事象情報の削除において,前記第1の事象条件を満たす前記記憶事象情報の時間と前記事象間条件の時間とを加算した時間が前記基準時間を超えても,前記第2の事象条件と第2の事象間条件を満たす事象情報が前記メモリに記憶されない場合,前記第1の事象条件を満たす前記記憶事象情報を削除する
ことを特徴とする情報処理装置。
(Appendix 3)
In
The event conditions are the first event condition and the second event condition defined corresponding to the first attribute,
The inter-event condition is an inter-event condition related to time, the third attribute, and the first and second event conditions,
In the deletion of the storage event information, the processing unit adds the time of the storage event information satisfying the first event condition and the time of the inter-event condition exceeding the reference time, An information processing apparatus, wherein event information that satisfies a second event condition and a condition between second events is not stored in the memory, and the stored event information that satisfies the first event condition is deleted.
(付記4)
付記2において,
前記事象条件は,前記第1の属性に対応して定められた,第1の前記事象条件と第2の前記事象条件と第3の前記事象条件であって,
前記事象間条件は,第1の時間と第3の前記属性と前記第1,第2の事象条件とに関連する第1の事象間条件と,前記第1の時間よりも長い第2の時間と前記第3の属性と前記第1,第3の事象条件とに関連する第2の事象間条件であって,
前記処理部は,前記記憶事象情報の削除において,前記第1の事象条件を満たした第1の前記記憶事象情報の時間と前記第2の時間とを加算した時間が前記基準時間を超えても,前記第2の事象間条件を満たす事象情報が前記メモリに記憶されない場合,前記第1の記憶事象情報を削除する
ことを特徴とする情報処理装置。
(Appendix 4)
In
The event conditions are the first event condition, the second event condition, and the third event condition, which are defined corresponding to the first attribute,
The inter-event condition includes a first inter-event condition associated with a first time, a third attribute, and the first and second event conditions, and a second longer than the first time. A second inter-event condition related to time, the third attribute, and the first and third event conditions,
In the deletion of the storage event information, the processing unit may add the time of the first storage event information that satisfies the first event condition and the second time to exceed the reference time. The event information that satisfies the condition between the second events is not stored in the memory, and the first stored event information is deleted.
(付記5)
付記2において,
前記事象条件は,前記第1の属性に対応して定められた,第1の前記事象条件と第2の前記事象条件と第3の前記事象条件であって,
前記事象間条件は,第1の時間と第3の前記属性と前記第1,第2の事象条件とに関連する第1の事象間条件と,前記第1の時間よりも長い第2の時間と前記第3の属性と前記第1,第3の事象条件とに関連する第2の事象間条件であって,
前記処理部は,前記記憶イベントの削除において,第1の前記記憶事象情報が,前記第1の事象条件を満たすが前記第1の事象間条件を満たさず,第2の前記記憶事象情報が,前記第3の事象条件と前記第2の事象間条件とを満たしている場合において,前記第1の記憶事象情報が削除された場合,前記第2の記憶事象情報を削除する
ことを特徴とする情報処理装置。
(Appendix 5)
In
The event conditions are the first event condition, the second event condition, and the third event condition, which are defined corresponding to the first attribute,
The inter-event condition includes a first inter-event condition associated with a first time, a third attribute, and the first and second event conditions, and a second longer than the first time. A second inter-event condition related to time, the third attribute, and the first and third event conditions,
In the deletion of the storage event, the processing unit has the first storage event information satisfying the first event condition but not satisfying the first inter-event condition, and the second storage event information is: When the first storage event information is deleted when the third event condition and the second inter-event condition are satisfied, the second storage event information is deleted. Information processing device.
(付記6)
付記1において,
前記事象条件は,前記第1の属性に対応して定められた,第1の前記事象条件と第2の前記事象条件と第3の前記事象条件と第4の前記事象条件であって,
前記事象間条件は,第1の時間と第3の前記属性と前記第1,第2の事象条件とに関連する第1の事象間条件と,前記第1の時間よりも長い第2の時間と前記第3の属性と前記第1,第3の事象条件とに関連する第2の事象間条件と,第3の時間と前記第3の属性と前記第3,第4の事象条件とに関連する第3の事象間条件と,前記第3の時間よりも長い第4の時間と前記第3の属性と前記第2,第4の事象条件とに関連する第4の事象間条件であって,
前記処理部は,前記判定の出力において,第1の前記記憶事象情報が,前記第1の事象条件と前記第1,第2の事象間条件とを満たし,第2の前記記憶事象情報が,前記第2の事象条件と前記第1,第4の事象間条件とを満たし,第3の前記記憶事象情報が,前記第3の事象条件と前記第2,第3の事象間条件とを満たし,第4の前記記憶事象情報が,前記第4の事象条件と前記第3,第4の事象間条件とを満たすか判定し,満たした場合,前記判定結果を出力する
ことを特徴とする情報処理装置。
(Appendix 6)
In
The event condition is defined by the first attribute, the first event condition, the second event condition, the third event condition, and the fourth event condition. Because
The inter-event condition includes a first inter-event condition associated with a first time, a third attribute, and the first and second event conditions, and a second longer than the first time. A second inter-event condition related to time, the third attribute, and the first and third event conditions; a third time, the third attribute, and the third and fourth event conditions; A fourth inter-event condition related to the third inter-event condition related to the fourth time longer than the third time, the third attribute, and the second and fourth event conditions. There,
In the output of the determination, the processing unit includes the first storage event information satisfying the first event condition and the first and second inter-event conditions, and the second storage event information is: The second event condition and the first and fourth inter-event conditions are satisfied, and the third memory event information satisfies the third event condition and the second and third inter-event conditions , Determining whether the fourth stored event information satisfies the fourth event condition and the third and fourth inter-event conditions, and outputting the determination result if satisfied. Processing equipment.
(付記7)
付記1において,
前記処理部は,所定のタイミング毎に,前記事象間条件を満たす前記記憶事象情報があるか判定する
ことを特徴とする情報処理装置。
(Appendix 7)
In
The information processing apparatus according to
(付記8)
付記6において,
前記処理部は,前記第3の事象条件と前記第2,第3の事象間条件とを満たした事象情報,または,前記第4の事象条件と前記第3,第4の事象間条件とを満たした事象情報が前記メモリに記憶されたタイミングで,前記判定を行う
ことを特徴とする情報処理装置。
(Appendix 8)
In
The processing unit includes the event information satisfying the third event condition and the second and third inter-event conditions, or the fourth event condition and the third and fourth inter-event conditions. An information processing apparatus characterized in that the determination is performed at a timing when satisfied event information is stored in the memory.
(付記9)
付記6において,
前記処理部は,前記判定結果を出力した後,前記第1〜第4の記憶事象情報を削除する
ことを特徴とする情報処理装置。
(Appendix 9)
In
The information processing apparatus, wherein the processing unit deletes the first to fourth storage event information after outputting the determination result.
(付記10)
付記6において,
前記処理部は,前記第3の記憶事象情報の時間と,前記第3の事象条件に対応して定められた第5の時間とを加算した時間が前記基準時間を超えた場合,前記第3の記憶事象情報を削除する
ことを特徴とする情報処理装置。
(Appendix 10)
In
When the time obtained by adding the time of the third storage event information and the fifth time determined corresponding to the third event condition exceeds the reference time, the processing unit An information processing apparatus characterized by deleting the stored event information.
(付記11)
付記6において,
前記処理部は,前記第4の記憶事象情報の時間と,前記第4の事象条件に対応して定められた第6の時間とを加算した時間が前記基準時間を超えた場合,前記第4の記憶事象情報を削除する
ことを特徴とする情報処理装置。
(Appendix 11)
In
When the time obtained by adding the time of the fourth storage event information and the sixth time determined corresponding to the fourth event condition exceeds the reference time, the processing unit An information processing apparatus characterized by deleting the stored event information.
(付記12)
付記1において,
前記処理部は,前記判定において,現在時間に対応する基準時間と,前記事象条件と前記事象間条件とを満たす前記記憶事象情報の時間との差が,前記記憶事象情報が満たした前記事象条件に対応して定められた出力時間以上か判定し,出力時間以上の場合,前記判定結果を出力する
ことを特徴とする情報処理装置。
(Appendix 12)
In
In the determination, the processing unit determines that the difference between the reference time corresponding to the current time and the time of the storage event information that satisfies the event condition and the inter-event condition is before the storage event information is satisfied. An information processing apparatus that determines whether the output time is longer than a predetermined time corresponding to the event condition, and outputs the determination result if the output time is longer than the output time.
(付記13)
付記12において,
前記処理部は,出力した前記記憶事象情報に対応して,出力済みであることを示す識別子を設定し,前記識別子が設定された前記記憶事象情報の出力を実行しない
ことを特徴とする情報処理装置。
(Appendix 13)
In
The processing unit sets an identifier indicating that it has been output in correspondence with the output storage event information, and does not execute the output of the storage event information in which the identifier is set. apparatus.
(付記14)
付記12において,
前記処理部は,前記記憶事象情報の時間と,前記基準時間とに基づき,前記事象間条件を満たさない全ての前記記憶事象情報を特定し,特定した前記記憶事象情報を削除し,前記記憶事象情報の削除後,前記判定を行う
ことを特徴とする情報処理装置。
(Appendix 14)
In
The processing unit specifies all the storage event information that does not satisfy the inter-event condition based on the time of the storage event information and the reference time, deletes the specified storage event information, and stores the storage event information. An information processing apparatus for performing the determination after deleting event information.
(付記15)
付記12において,
前記処理部は,前記事象間条件を満たす前記記憶事象情報に,前記事象間条件を満たすことを示す識別子を設定し,前記識別子が設定された前記記憶事象情報を出力する
ことを特徴とする情報処理装置。
(Appendix 15)
In
The processing unit sets an identifier indicating that the inter-event condition is satisfied in the storage event information satisfying the inter-event condition, and outputs the stored event information in which the identifier is set. Information processing apparatus.
(付記16)
付記15において,
前記事象条件は,前記第1の属性に対応して定められた,第1の前記事象条件と第2の前記事象条件と第3の前記事象条件と第4の前記事象条件であって,
前記事象間条件は,前記事象間条件は,第1の時間と第3の前記属性と前記第1,第2の事象条件とに関連する第1の事象間条件と,前記第1の時間よりも長い第2の時間と前記第3の属性と前記第1,第3の事象条件とに関連する第2の事象間条件と,第3の時間と前記第3の属性と前記第3,第4の事象条件とに関連する第3の事象間条件と,前記第3の時間よりも長い第4の時間と前記第3の属性と前記第2,第4の事象条件とに関連する第4の事象間条件であって,
前記処理部は,第1の前記記憶事象情報が,前記第1の事象条件と前記第1,第2の事象間条件とを満たすと前記第1の記憶事象情報に前記識別子を設定し,第2の前記記憶事象情報が,前記第2の事象条件と前記第1,第4の事象間条件とを満たすと前記第2の記憶事象情報に前記識別子を設定し,第3の前記記憶事象情報が,第4の事象条件と第3,第4の事象間条件とをみたすと前記第4の記憶事象情報に前記識別子を設定し,さらに,前記第3の事象条件と前記第2,第3の事象間条件とを満たし,かつ,出力済みでない事象情報が,当該事象情報の時間と前記第3の事象間条件の時間とを加算した時間が前記基準時間以上を経過しても前記メモリに記憶されない場合,前記第1,第2,第3の記憶事象情報に設定された前記識別子を削除する
ことを特徴とする情報処理装置。
(Appendix 16)
In
The event condition is defined by the first attribute, the first event condition, the second event condition, the third event condition, and the fourth event condition. Because
The inter-event condition is the first inter-event condition related to the first time, the third attribute, the first and second event conditions, and the first inter-event condition, A second inter-event condition related to a second time longer than time, the third attribute, and the first and third event conditions, a third time, the third attribute, and the third , A third inter-event condition related to the fourth event condition, a fourth time longer than the third time, the third attribute, and the second and fourth event conditions The fourth inter-event condition,
The processing unit sets the identifier in the first storage event information when the first storage event information satisfies the first event condition and the first and second inter-event conditions, When the second storage event information satisfies the second event condition and the first and fourth inter-event conditions, the identifier is set in the second storage event information, and the third storage event information However, when the fourth event condition and the third and fourth inter-event conditions are satisfied, the identifier is set in the fourth stored event information, and further, the third event condition and the second and third events are set. Even if the event information that satisfies the above-mentioned inter-event condition and that has not been output exceeds the reference time after the sum of the time of the event information and the time of the third inter-event condition has elapsed in the memory If not stored, the identifier set in the first, second, and third stored event information is deleted. Processing apparatus.
(付記17)
付記1において,
前記判定結果は,前記事象間条件を満たす記憶事象情報である
ことを特徴とする情報処理装置。
(Appendix 17)
In
The information processing apparatus, wherein the determination result is stored event information that satisfies the inter-event condition.
(付記18)
コンピュータに,
複数の属性を有する事象情報を取得し,
取得した前記事象情報が第1の前記属性に対応して定められた事象条件を満たす場合,取得した前記事象情報をメモリに記憶し,
前記事象情報を記憶する度に,前記第1の属性と前記第2の属性である時間と少なくとも2つの前記事象条件とに関連する事象間条件を満たす,前記メモリに記憶された記憶事象情報があるか判定し,
前記事象間条件を満たす記憶事象情報があると,判定結果を出力する処理を実行させる
ことを特徴とするプログラム。
(Appendix 18)
Computer
Get event information with multiple attributes,
If the acquired event information satisfies an event condition defined corresponding to the first attribute, the acquired event information is stored in a memory;
Each time the event information is stored, the stored event stored in the memory satisfying an inter-event condition related to the first attribute, the second attribute time, and at least two event conditions Determine if there is information,
A program for executing a process of outputting a determination result when there is stored event information satisfying the inter-event condition.
(付記19)
複数の属性を有する事象情報を取得し,
取得した前記事象情報が第1の前記属性に対応して定められた事象条件を満たす場合,取得した前記事象情報をメモリに記憶し,
前記事象情報を記憶する度に,前記第1の属性と前記第2の属性である時間と少なくとも2つの前記事象条件とに関連する事象間条件を満たす,前記メモリに記憶された記憶事象情報があるか判定し,
前記事象間条件を満たす記憶事象情報があると,判定結果を出力する
ことを特徴とする情報処理方法。
(Appendix 19)
Get event information with multiple attributes,
If the acquired event information satisfies an event condition defined corresponding to the first attribute, the acquired event information is stored in a memory;
Each time the event information is stored, the stored event stored in the memory satisfying an inter-event condition related to the first attribute, the second attribute time, and at least two event conditions Determine if there is information,
A determination result is output when there is stored event information that satisfies the inter-event condition.
1,2…情報処理装置,101…CPU(処理部),102…RAM(メモリ),103…ストレージ装置,104…外部記憶媒体読み取り装置,105…ネットワークインターフェイス,SF1,SF2…リアルタイム処理ソフト,11…条件読み取り部,12…条件変換部,13…データ読み取り部,14…条件判定部,15…グラフ管理部,16…ノード削除部,17…出力管理部,18…出力部,21…出力条件設定部,22…結合フラグ更新部。 1, 2 ... Information processing device, 101 ... CPU (processing unit), 102 ... RAM (memory), 103 ... Storage device, 104 ... External storage medium reader, 105 ... Network interface, SF1, SF2 ... Real-time processing software, 11 ... Condition reading part, 12 ... Condition conversion part, 13 ... Data reading part, 14 ... Condition judgment part, 15 ... Graph management part, 16 ... Node deletion part, 17 ... Output management part, 18 ... Output part, 21 ... Output condition Setting unit, 22... Combined flag update unit.
Claims (6)
前記処理部は,前記事象情報を記憶する度に,前記第1の属性と第2の前記属性である時間と少なくとも2つの前記事象条件とに関連する事象間条件を満たす,前記メモリに記憶された記憶事象情報があるか判定し,前記事象間条件を満たす記憶事象情報があると,判定結果を出力する
ことを特徴とする情報処理装置。 A processing unit that acquires event information having a plurality of attributes, and stores the acquired event information in a memory when the acquired event information satisfies an event condition defined in correspondence with the first attribute; Have
Wherein the processing unit each time to store the event information, the first attribute and satisfying between related events in at least two of said event conditions for a period of time a second of said attribute, said memory An information processing apparatus that determines whether there is stored storage event information, and outputs a determination result if there is storage event information that satisfies the inter-event condition.
前記処理部は,前記記憶事象情報の前記時間と,現在時間に対応する基準時間とに基づき,前記事象間条件を満たさない前記記憶事象情報を特定し,特定した前記記憶事象情報を削除する
ことを特徴とする情報処理装置。 In claim 1,
The processing unit specifies the storage event information that does not satisfy the inter-event condition based on the time of the storage event information and a reference time corresponding to the current time, and deletes the specified storage event information An information processing apparatus characterized by that.
前記処理部は,前記判定において,現在時間に対応する基準時間と,前記事象条件と前記事象間条件とを満たす前記記憶事象情報の時間との差が,前記記憶事象情報が満たした前記事象条件に対応して定められた出力時間以上か判定し,出力時間以上の場合,前記判定結果を出力する
ことを特徴とする情報処理装置。 In claim 1,
In the determination, the processing unit determines that the difference between the reference time corresponding to the current time and the time of the storage event information that satisfies the event condition and the inter-event condition is before the storage event information is satisfied. An information processing apparatus that determines whether the output time is longer than a predetermined time corresponding to the event condition, and outputs the determination result if the output time is longer than the output time.
前記処理部は,前記事象間条件を満たす前記記憶事象情報に,前記事象間条件を満たすことを示す識別子を設定し,前記識別子が設定された前記記憶事象情報を出力する
ことを特徴とする情報処理装置。 In claim 3,
The processing unit sets an identifier indicating that the inter-event condition is satisfied in the storage event information satisfying the inter-event condition, and outputs the stored event information in which the identifier is set. Information processing apparatus.
複数の属性を有する事象情報を取得し,
取得した前記事象情報が第1の前記属性に対応して定められた事象条件を満たす場合,取得した前記事象情報をメモリに記憶し,
前記事象情報を記憶する度に,前記第1の属性と第2の前記属性である時間と少なくとも2つの前記事象条件とに関連する事象間条件を満たす,前記メモリに記憶された記憶事象情報があるか判定し,
前記事象間条件を満たす記憶事象情報があると,判定結果を出力する処理を実行させる
ことを特徴とするプログラム。 Computer
Get event information with multiple attributes,
If the acquired event information satisfies an event condition defined corresponding to the first attribute, the acquired event information is stored in a memory;
Each time storing said event information, wherein the first attribute and events between satisfies associated with time and at least two said event condition is a second of said attributes, storing events stored in the memory Determine if there is information,
A program for executing a process of outputting a determination result when there is stored event information satisfying the inter-event condition.
前記コンピュータが,取得した前記事象情報が第1の前記属性に対応して定められた事象条件を満たす場合,取得した前記事象情報をメモリに記憶し,
前記コンピュータが,前記事象情報を記憶する度に,前記第1の属性と第2の前記属性である時間と少なくとも2つの前記事象条件とに関連する事象間条件を満たす,前記メモリに記憶された記憶事象情報があるか判定し,
前記コンピュータが,前記事象間条件を満たす記憶事象情報があると,判定結果を出力する
ことを特徴とする情報処理方法。 The computer acquires event information with multiple attributes,
The computer stores the acquired event information in a memory if the acquired event information satisfies an event condition defined in correspondence with the first attribute;
Said computer, said each time for storing event information, the first attribute and satisfying between related events in time and at least two said event condition is a second of said attributes, stored in the memory Whether there is stored memory event information,
An information processing method characterized in that the computer outputs a determination result when there is stored event information that satisfies the inter-event condition.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014070289A JP6344009B2 (en) | 2014-03-28 | 2014-03-28 | Information processing apparatus, program, and information processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014070289A JP6344009B2 (en) | 2014-03-28 | 2014-03-28 | Information processing apparatus, program, and information processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015191598A JP2015191598A (en) | 2015-11-02 |
| JP6344009B2 true JP6344009B2 (en) | 2018-06-20 |
Family
ID=54425998
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014070289A Expired - Fee Related JP6344009B2 (en) | 2014-03-28 | 2014-03-28 | Information processing apparatus, program, and information processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6344009B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4981875B2 (en) * | 2009-11-13 | 2012-07-25 | 株式会社エヌ・ティ・ティ・ドコモ | Accompanying determination device and accompanying determination method |
| JP5664098B2 (en) * | 2010-10-05 | 2015-02-04 | 富士通株式会社 | Composite event distribution apparatus, composite event distribution method, and composite event distribution program |
| JP5664383B2 (en) * | 2011-03-18 | 2015-02-04 | 富士通株式会社 | Event processing method, event processing apparatus, and event processing program |
-
2014
- 2014-03-28 JP JP2014070289A patent/JP6344009B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015191598A (en) | 2015-11-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109165152B (en) | Method, system and storage medium for monitoring performance of WEB system | |
| US20140378165A1 (en) | Methods, systems and computer-readable media for tracking a position of an object | |
| CN115713749B (en) | Training method, device, electronic device and storage medium for autonomous driving model | |
| CN105100128A (en) | Server cluster log acquiring and providing methods, log server and node server | |
| US20160006633A1 (en) | Monitoring item selection method and device, and storage medium | |
| CN112799948A (en) | Web page data processing method, device, electronic device and storage medium | |
| CN114443910B (en) | Data storage methods, search methods, devices and electronic equipment | |
| CN106909544A (en) | A data processing method and device | |
| JP5153677B2 (en) | Sequential clustering apparatus, method and program | |
| CN111076741B (en) | Navigation state acquisition method and device, storage medium and electronic equipment | |
| JP6344009B2 (en) | Information processing apparatus, program, and information processing method | |
| JP2014010772A (en) | System management device, system management method, and system management program | |
| CN107357864B (en) | File processing method and terminal | |
| CN110708355A (en) | File uploading method, system, device and readable storage medium | |
| JP6780498B2 (en) | Information processing equipment, control methods and programs for information processing equipment | |
| US20150142965A1 (en) | Distributed deployment device and method | |
| CN116912760B (en) | Internet of things data processing method and device, electronic equipment and storage medium | |
| CN114281486B (en) | Data processing method, device, computing equipment and medium | |
| CN114116142B (en) | Identification generation method and device, electronic equipment and storage medium | |
| CN108595262B (en) | Data processing method and device | |
| CN111078711A (en) | Block chain data storage and acquisition method and device based on data index | |
| JP7105717B2 (en) | Information processing device, extraction method, and program | |
| CN114579594A (en) | Information updating method and device, electronic equipment and storage medium | |
| JP7355769B2 (en) | Information processing device, information processing method, and program | |
| CN106909546A (en) | A data processing method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161206 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171003 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170929 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171130 |
|
| 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: 20180424 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180507 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6344009 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |