Data analysis device and data analysis method
The data analysis device addresses the challenge of identifying event combinations by calculating co-occurrence probabilities and selecting matching patterns, ensuring accurate recognition of event origins and preventing false abnormalities.
Patent Information
- Application Number
- PCT/JP2023/037946
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2023-10-20
- Publication Date
- 2024-08-29
AI Technical Summary
Existing data analysis devices fail to accurately identify combinations of events that may have occurred from the same origin due to limitations in sorting and frequency processing, leading to missed co-occurrence relationships and incomplete pattern recognition.
A data analysis device that acquires time-series data to identify transactions across different periods, calculates co-occurrence probabilities, and selects combinations of events as matching patterns based on these probabilities, enabling the identification of events originating from the same source.
The device effectively specifies combinations of events that may have occurred from the same origin, enhancing pattern recognition and preventing false abnormalities by determining correct co-occurrence intervals within normal ranges.
Smart Images

Figure JP2023037946_29082024_PF_FP_ABST
Abstract
Description
Data analysis device and data analysis method
[0001] The present disclosure relates to a data analysis device and a data analysis method.
[0002] A data analysis device identifies, as a matching pattern, a combination of multiple events that may have been caused by the same origin, based on time series data indicating the occurrence times of the multiple events occurring in a system in which multiple events occur during normal operation. When determining whether a system is abnormal, the data analysis device determines whether the multiple events occurring in the system contain a matching pattern. Patent Document 1, for example, discloses an example of such a data analysis device, including a sorting processor and a frequency processor. The sorting processor identifies transactions, which are groups of events that occurred in multiple different time periods among the multiple events occurring in the system, based on the occurrence times indicated by the time series data. The multiple time periods have the same length, and each time period does not overlap with the other time periods. The frequency processor identifies a set of transactions that have a co-occurrence relationship among the multiple transactions identified by the sorting processor. Each of the co-occurrence-related transactions includes multiple events that may have been caused by the same origin.
[0003] Japanese Patent Application Publication No. 10-134086
[0004] In the device disclosed in Patent Document 1, depending on the relationship between the occurrence time of each event and the respective period, the sorting processor may identify a transaction that includes all of the multiple events that may have been caused by the same origin and a transaction that includes only some of the multiple events that may have been caused by the same origin. There is a problem in that the frequency processor cannot identify such a pair of transactions as a pair of transactions that have a co-occurrence relationship. If the frequency processor cannot identify a pair of transactions that have a co-occurrence relationship, the combination of multiple events that may have been caused by the same origin will not be identified as a matching pattern.
[0005] The present disclosure has been made to solve the above-mentioned problems, and aims to provide a data analysis device that can identify, as a matching pattern, a combination of two or more events that may have arisen from the same origin among multiple events that occur in a system.
[0006] A data analysis apparatus according to the present disclosure includes a first time-series data acquisition unit that acquires first time-series data indicating the occurrence time of each of multiple events occurring in a system in which multiple events occur during normal operation, and a first transaction identification unit that identifies, from the multiple events occurring in the system, transactions that are collections of events that occurred in each of multiple different time periods based on the occurrence times indicated by the first time-series data acquisition unit. The data analysis apparatus also includes a matching pattern selection unit that calculates, for each combination of two or more events included in the multiple events occurring in the system, a co-occurrence probability that the two or more events co-occur, and selects, from the transactions for each period identified by the first transaction identification unit, a combination of two or more events that may have been caused by the same origin, as a matching pattern based on the co-occurrence probability.
[0007] According to the present disclosure, among multiple events occurring in a system, a combination of two or more events that may have been caused by the same origin can be identified as a matching pattern.
[0008] 1 is a configuration diagram showing a data analysis apparatus 1 according to a first embodiment. FIG. 1 is a configuration diagram showing a matching pattern extraction unit 11 of the data analysis apparatus 1 according to the first embodiment. FIG. 2 is a hardware configuration diagram showing the hardware of the matching pattern extraction unit 11. FIG. 3 is a hardware configuration diagram of a computer in the case where the matching pattern extraction unit 11 is realized by software, firmware, or the like. FIG. 4 is a configuration diagram showing an analysis processing unit 12 of the data analysis apparatus 1 according to the first embodiment. FIG. 5 is a hardware configuration diagram showing the hardware of the analysis processing unit 12. FIG. 6 is a hardware configuration diagram of a computer in the case where the analysis processing unit 12 is realized by software, firmware, or the like. FIG. 7 is a flowchart showing the processing content of the matching pattern extraction unit 11. FIG. 8 is an explanatory diagram showing an example of a transaction identified by a first transaction identifying unit 22. FIG. 9 is a flowchart showing the processing content of the analysis processing unit 12. FIG. 10A is an explanatory diagram of a statistical distribution showing the statistics of the time difference between events L3 and L5, and FIG. 10B is an explanatory diagram of a statistical distribution showing the statistics of the time difference between events L2 and L1. 1 is an explanatory diagram showing each of corrected complete pattern occurrence information and corrected incomplete pattern occurrence information. FIG. 2 is a configuration diagram showing the matching pattern extraction unit 11 of the data analysis apparatus 1 according to embodiment 2. FIG. 3 is a hardware configuration diagram showing the hardware of the matching pattern extraction unit 11. FIG. 4 is a configuration diagram showing the analysis processing unit 12 of the data analysis apparatus 1 according to embodiment 3. FIG. 5 is a hardware configuration diagram showing the hardware of the analysis processing unit 12. FIG. 6 is a configuration diagram showing the analysis processing unit 12 of the data analysis apparatus 1 according to embodiment 4. FIG. 7 is a hardware configuration diagram showing the hardware of the analysis processing unit 12. FIG. 8 is a configuration diagram showing the analysis processing unit 12 of the data analysis apparatus 1 according to embodiment 5. FIG.
[0009] In order to explain the present disclosure in more detail, embodiments of the present disclosure will be described below with reference to the accompanying drawings.
[0010] First Embodiment. FIG. 1 is a configuration diagram showing a data analysis apparatus 1 according to a first embodiment. The data analysis apparatus 1 shown in FIG. 1 includes a matching pattern extraction unit 11 and an analysis processing unit 12. The data analysis apparatus 1 is an apparatus for identifying, as a matching pattern, a combination of multiple events that may have arisen from the same origin when a system in which multiple events occur during operation is normal. The data analysis apparatus 1 is also an apparatus for determining whether a matching pattern is included among multiple events that have occurred in the system when determining whether the system is abnormal. The system in question may be any system in which multiple events occur during operation. For convenience of explanation, the system will be described here as an information system that receives or transmits information.
[0011] The matching pattern extraction unit 11 is provided with learning data from the outside when the information system is operating normally. The learning data is character string data indicating each of the time-series events that have occurred in the information system when the information system is operating normally, or numerical data indicating each of the time-series events that have occurred in the information system. The analysis processing unit 12 is provided with inference data from the outside when a determination is made as to whether the system is abnormal. The inference data is, for example, character string data indicating each of the time-series events that have occurred in the information system when a determination is made as to whether the information system is abnormal by an external device (not shown), or numerical data indicating each of the time-series events that have occurred in the information system.
[0012] The matching pattern extraction unit 11 generates a matching pattern, which is a combination of two or more events that may have been caused by the same origin, based on the learning data, and stores the matching pattern in the matching pattern storage unit 2. The analysis processing unit 12 generates time-series data from the inference data and determines whether or not the time-series data contains a matching pattern by comparing the time-series data with the matching patterns stored in the matching pattern storage unit 2. The analysis processing unit 12 outputs pattern generation information indicating whether or not the matching pattern is contained to, for example, an external device (not shown).
[0013] The matching pattern storage unit 2 is a storage medium that stores the matching patterns output from the data analysis apparatus 1. In FIG. 1 , the matching pattern storage unit 2 is provided outside the data analysis apparatus 1. However, this is merely an example, and the matching pattern storage unit 2 may also be provided inside the data analysis apparatus 1.
[0014] Fig. 2 is a configuration diagram showing the matching pattern extraction unit 11 of the data analysis apparatus 1 according to the first embodiment. Fig. 3 is a hardware configuration diagram showing the hardware of the matching pattern extraction unit 11. The matching pattern extraction unit 11 shown in Fig. 2 includes a first time-series data acquisition unit 21, a first transaction identification unit 22, a matching pattern selection unit 23, and a normal range estimation unit 24.
[0015] The first time series data acquisition unit 21 is realized, for example, by the time series data acquisition circuit 31 shown in FIG. 3. Learning data is provided to the first time series data acquisition unit 21 from an external device. The first time series data acquisition unit 21 generates, from the learning data, first time series data indicating the occurrence times of multiple events that occurred in the information system. The first time series data acquisition unit 21 outputs the first time series data to each of the first transaction identification unit 22 and the normal range estimation unit 24. In the matching pattern extraction unit 11 shown in FIG. 2, learning data is provided to the first time series data acquisition unit 21 from an external device. However, this is merely an example, and the first time series data may be provided to the first time series data acquisition unit 21 from an external device.
[0016] The first transaction identification unit 22 is realized, for example, by the transaction identification circuit 32 shown in FIG. 3 . The first transaction identification unit 22 acquires first time series data from the first time series data acquisition unit 21. Based on the occurrence times indicated by the first time series data, the first transaction identification unit 22 identifies transactions that are a collection of events that occurred in each of multiple different time periods among multiple events that occurred in the information system. Specifically, the first transaction identification unit 22 identifies transactions that are a collection of events that occurred in each of multiple different time periods that partially overlap with other time periods among multiple events that occurred in the information system. The first transaction identification unit 22 outputs the transactions for each time period to the matching pattern selection unit 23. In the matching pattern extraction unit 11 shown in FIG. 2 , the first transaction identification unit 22 identifies transactions that are a collection of events that occurred in each of multiple different time periods that partially overlap with other time periods among multiple events that occurred in the information system. However, this is just one example, and the first transaction identification unit 22 may also identify a transaction that is a collection of events that occurred in each of multiple different periods, some of which do not overlap with other periods, among multiple events that occurred in the information system.
[0017] The match pattern selection unit 23 is realized, for example, by the match pattern selection circuit 33 shown in FIG. 3 . The match pattern selection unit 23 acquires transactions for each period from the first transaction identification unit 22. The match pattern selection unit 23 calculates a co-occurrence probability, which is the probability that two or more events co-occur, for each combination of two or more events included in multiple events that occurred in the information system. The match pattern selection unit 23 selects, based on the co-occurrence probability, a combination of two or more events that may have been caused by the same origin from the transactions for each period identified by the first transaction identification unit 22 as a match pattern. The match pattern selection unit 23 outputs each of the one or more selected match patterns to the normal range estimation unit 24.
[0018] The normal range estimation unit 24 is realized by, for example, the normal range estimation circuit 34 shown in FIG. 3 . The normal range estimation unit 24 acquires first time series data from the first time series data acquisition unit 21, and acquires each matching pattern from the matching pattern selection unit 23. The normal range estimation unit 24 estimates the occurrence interval of a normal range between two or more events included in each matching pattern based on the first time series data. The normal range estimation unit 24 stores the matching pattern with time information indicating the occurrence interval of the normal range in the matching pattern storage unit 2.
[0019] Specifically, when the match pattern selection unit 23 does not select multiple identical match patterns, the normal range estimation unit 24 calculates, for each match pattern selected by the match pattern selection unit 23, the occurrence interval between two or more events included in the match pattern based on the occurrence time indicated by the first time series data as the occurrence interval within the normal range between two or more events included in the match pattern. When the match pattern selection unit 23 selects multiple identical match patterns, the normal range estimation unit 24 calculates the occurrence interval between two or more events included in each of the multiple selected match patterns based on the occurrence time indicated by the first time series data. Then, the normal range estimation unit 24 calculates statistics of the occurrence interval between two or more events included in each of the multiple selected match patterns as the occurrence interval within the normal range. In the match pattern extraction unit 11 shown in FIG. 2 , the normal range estimation unit 24 calculates the occurrence interval between two or more events included in the match pattern based on the occurrence time indicated by the first time series data as the occurrence interval within the normal range between two or more events included in the match pattern. However, this is merely an example, and the normal range estimation unit 24 searches for one event of two or more events having a co-occurrence relationship among the multiple events included in the first time series data.The normal range estimation unit 24 then searches for the remaining event of the two or more events having a co-occurrence relationship among the multiple events included in the first time series data that exist around the single event searched for.The normal range estimation unit 24 may then calculate the occurrence interval between these two or more searched events based on the occurrence times indicated in the first time series data.
[0020] 2, it is assumed that each of the components of the collation pattern extraction unit 11, namely, the first time-series data acquisition unit 21, the first transaction identification unit 22, the collation pattern selection unit 23, and the normal range estimation unit 24, is realized by dedicated hardware such as that shown in FIG. 3. That is, it is assumed that the collation pattern extraction unit 11 is realized by a time-series data acquisition circuit 31, a transaction identification circuit 32, a collation pattern selection circuit 33, and a normal range estimation circuit 34. Each of the time-series data acquisition circuit 31, the transaction identification circuit 32, the collation pattern selection circuit 33, and the normal range estimation circuit 34 corresponds to, for example, a single circuit, a composite circuit, a programmed processor, a parallel-programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.
[0021] The components of the match pattern extraction unit 11 are not limited to those realized by dedicated hardware, and the match pattern extraction unit 11 may be realized by software, firmware, or a combination of software and firmware. The software or firmware is stored in the memory of a computer as a program. The computer refers to hardware that executes a program, and includes, for example, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, a processor, or a DSP (Digital Signal Processor).
[0022] 4 is a hardware configuration diagram of a computer when the matching pattern extraction unit 11 is realized by software, firmware, etc. When the matching pattern extraction unit 11 is realized by software, firmware, etc., a program for causing a computer to execute the respective processing procedures of the first time-series data acquisition unit 21, the first transaction identification unit 22, the matching pattern selection unit 23, and the normal range estimation unit 24 is stored in a memory 41. A processor 42 of the computer then executes the program stored in the memory 41.
[0023] 3 shows an example in which each of the components of the matching pattern extraction unit 11 is realized by dedicated hardware, while Fig. 4 shows an example in which the matching pattern extraction unit 11 is realized by software, firmware, etc. However, this is merely an example, and some of the components in the matching pattern extraction unit 11 may be realized by dedicated hardware, and the remaining components may be realized by software, firmware, etc.
[0024] Fig. 5 is a configuration diagram showing the analysis processing unit 12 of the data analysis apparatus 1 according to embodiment 1. Fig. 6 is a hardware configuration diagram showing the hardware of the analysis processing unit 12. The analysis processing unit 12 shown in Fig. 5 includes a second time-series data acquisition unit 51, a second transaction identification unit 52, and a determination unit 53.
[0025] The second time series data acquisition unit 51 is realized, for example, by a time series data acquisition circuit 61 shown in FIG. 6 . The second time series data acquisition unit 51 receives inference data from an external device, for example, when an external device determines whether an abnormality has occurred in the information system. The second time series data acquisition unit 51 generates second time series data indicating the occurrence times of multiple events that have occurred in the information system from the inference data. The second time series data acquisition unit 51 outputs the second time series data to the second transaction identification unit 52. In the analysis processing unit 12 shown in FIG. 5 , inference data is externally provided to the second time series data acquisition unit 51. However, this is merely an example, and the second time series data may be externally provided to the second time series data acquisition unit 51.
[0026] The second transaction identification unit 52 is realized, for example, by the transaction identification circuit 62 shown in FIG. 6 . The second transaction identification unit 52 acquires second time series data from the second time series data acquisition unit 51. When determining whether an abnormality exists in the information system, the second transaction identification unit 52 identifies transactions that are a collection of events that occurred in each of multiple different time periods among multiple events that occurred in the information system based on the occurrence times indicated by the second time series data. Specifically, the second transaction identification unit 52 identifies transactions that are a collection of events that occurred in each of multiple different time periods that partially overlap with other time periods among multiple events that occurred in the information system. The second transaction identification unit 52 outputs the transactions for each time period to the determination unit 53. In the analysis processing unit 12 shown in FIG. 5 , the second transaction identification unit 52 identifies transactions that are a collection of events that occurred in each of multiple different time periods that partially overlap with other time periods among multiple events that occurred in the information system. However, this is just one example, and the second transaction identification unit 52 may also identify a transaction that is a collection of events that occurred in each of multiple different periods, some of which do not overlap with other periods, among multiple events that occurred in the information system.
[0027] The determination unit 53 is realized, for example, by the determination circuit 63 shown in FIG. 6 . The determination unit 53 acquires transactions for each period from the second transaction identification unit 52 and acquires one or more matching patterns with time information from the matching pattern storage unit 2. The determination unit 53 determines whether each matching pattern is included in the transactions for each period. The determination unit 53 also determines whether only one of the events included in any of the matching patterns is included in the transactions for each period. If only one of the events is included, the determination unit 53 determines whether the other event included in the matching pattern including the one event is included in a transaction of a different period from the transaction including the one event. If the other event is included in a transaction of a different period from the transaction including the one event, the determination unit 53 compares the occurrence interval between the one event and the other event with the normal range of occurrence intervals indicated by the time information added to the matching pattern. If the occurrence interval between the one event and the other event is within the normal range of occurrence intervals, the determination unit 53 determines that the one event and the other event are included in the same transaction. If the occurrence interval between one event and the other event is longer than the normal range of occurrence intervals, the determination unit 53 determines that the other event is missing.
[0028] 5, it is assumed that each of the components of the analysis processing unit 12, that is, the second time-series data acquisition unit 51, the second transaction identification unit 52, and the determination unit 53, is realized by dedicated hardware as shown in Fig. 6. That is, it is assumed that the analysis processing unit 12 is realized by a time-series data acquisition circuit 61, a transaction identification circuit 62, and a determination circuit 63. Each of the time-series data acquisition circuit 61, the transaction identification circuit 62, and the determination circuit 63 corresponds to, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof.
[0029] The components of the analysis processing unit 12 are not limited to those realized by dedicated hardware, and the analysis processing unit 12 may be realized by software, firmware, or a combination of software and firmware. Fig. 7 is a hardware configuration diagram of a computer when the analysis processing unit 12 is realized by software, firmware, or the like. When the analysis processing unit 12 is realized by software, firmware, or the like, programs for causing a computer to execute the respective processing procedures of the second time-series data acquisition unit 51, the second transaction identification unit 52, and the determination unit 53 are stored in a memory 71. Then, a processor 72 of the computer executes the programs stored in the memory 71.
[0030] 6 shows an example in which each of the components of the analysis processing unit 12 is realized by dedicated hardware, while Fig. 7 shows an example in which the analysis processing unit 12 is realized by software, firmware, etc. However, this is merely an example, and some of the components in the analysis processing unit 12 may be realized by dedicated hardware, and the remaining components may be realized by software, firmware, etc.
[0031] Next, the operation of the data analysis apparatus 1 shown in FIG. 1 will be described. First, the operation of the matching pattern extraction unit 11 will be described. The matching pattern extraction unit 11 generates a matching pattern that is a combination of two or more events that may have been caused by the same origin. For simplicity of explanation, an example will be described below in which the matching pattern extraction unit 11 generates a matching pattern that is a combination of two events that may have been caused by the same origin. FIG. 8 is a flowchart showing the processing content of the matching pattern extraction unit 11. Learning data is provided from the outside to the first time-series data acquisition unit 21 of the matching pattern extraction unit 11. The learning data is character string data indicating each of the time-series events that occurred in the information system when the information system is normal, or numerical data indicating each of the time-series events that occurred in the information system.
[0032] Examples of such character string data include the data shown below. <Character string data> Occurrence time Character string data Oct 10 0:00:00 received from xxx Oct 10 0:00:01 error Oct 10 0:00:02 sent to abc Oct 10 0:00:03 connected to z Oct 10 0:00:04 received from yyy Oct 10 0:00:05 sent to abd Oct 10 0:00:06 resent to qqq Oct 10 0:00:07 error Oct 10 0:00:08 connected to z
[0033] Examples of such numeric data include the following: <Numeric data> Occurrence time Numeric data Oct 10 0:00:00 12345 67 Oct 10 0:00:01 678 Oct 10 0:00:02 98765 74 Oct 10 0:00:03 13579 53 Oct 10 0:00:04 12345 18 Oct 10 0:00:05 98765 79 Oct 10 0:00:06 2468 62 Oct 10 0:00:07 678 Oct 10 0:00:08 13579 31
[0034] For example, the internal memory of the first time-series data acquisition unit 21 stores a correspondence table A showing the correspondence between events and character string data, as shown below. The following <*> denotes any character string. <Correspondence table A> Event Character string data L1 ⇔ connected to <*> L2 ⇔ error L3 ⇔ received from <*> L4 ⇔ resent to <*> L5 ⇔ sent to <*> L6 ⇔ sum <*>
[0035] Furthermore, for example, the internal memory of the first time-series data acquisition unit 21 stores a correspondence table B showing the correspondence between events and numerical data, as shown below. The following <*> denotes an arbitrary numerical value. <Correspondence table B> Event Numerical data L1 ⇔ 13579 <*> L2 ⇔ 678 L3 ⇔ 12345 <*> L4 ⇔ 2468 <*> L5 ⇔ 98765 <*> L6 ⇔ 723 <*>
[0036] If the learning data is character string data as described above, the first time-series data acquiring unit 21 refers to correspondence table A and generates the following first time-series data from the character string data (step ST1 in FIG. 8 ). If the learning data is numeric data as described above, the first time-series data acquiring unit 21 refers to correspondence table B and generates the following first time-series data from the numeric data (step ST1 in FIG. 8 ). The first time-series data acquiring unit 21 outputs the first time-series data to each of the first transaction identifying unit 22 and the normal range estimating unit 24.
[0037] <First time series data> Occurrence time Event Oct 10 0:00:00 L3 Oct 10 0:00:01 L2 Oct 10 0:00:02 L5 Oct 10 0:00:03 L1 Oct 10 0:00:04 L3 Oct 10 0:00:05 L5 Oct 10 0:00:06 L4 Oct 10 0:00:07 L2 Oct 10 0:00:08 L1
[0038] 2, the first time series data acquisition unit 21 generates the first time series data from the learning data by referring to the correspondence table. However, this is merely an example, and the first time series data acquisition unit 21 may provide the learning data to a learning model that learns the correspondence between the learning data and the first time series data, and acquire the first time series data from the learning model.
[0039] The first transaction identification unit 22 acquires first time series data from the first time series data acquisition unit 21. The first transaction identification unit 22 performs sliding window processing on the first time series data to identify transactions occurring in multiple different time periods that partially overlap with other time periods. That is, the first transaction identification unit 22 identifies transactions that are a collection of events occurring in multiple different time periods that partially overlap with other time periods, based on the occurrence times of each event indicated by the first time series data, as shown in, for example, FIG. 9 (step ST2 in FIG. 8). If the same event overlaps among one or more events included in each time period, the event with the overlaps removed is identified as the transaction. However, this is merely an example, and the same event may overlap or not. The first transaction identification unit 22 outputs the transactions for each time period to the matching pattern selection unit 23.
[0040] FIG. 9 is an explanatory diagram showing an example of transactions identified by the first transaction identification unit 22. The length of each period is within an arbitrary window width in sliding window processing. The window width may be stored in the internal memory of the first transaction identification unit 22 or may be provided to the first transaction identification unit 22 from an external device. For example, if the window width is "5," the length of each period is a maximum of "0.5" seconds. In the example of FIG. 9, all events occur at 1-second intervals, so the length of each period is "0.5" seconds. Specifically, the first period is from "Oct 10 0:00:00" to "Oct 10 0:00:04," the second period is from "Oct 10 0:00:01" to "Oct 10 0:00:05," and the third period is from "Oct 10 0:00:02" to "Oct 10 0:00:06." Furthermore, the fourth period is from "Oct 10 0:00:03" to "Oct 10 0:00:07," and the fifth period is from "Oct 10 0:00:04" to "Oct 10 0:00:08." In the example of FIG. 9 , the occurrence intervals of all events are 1 second, and the occurrence intervals of all events are uniform. However, this is merely an example, and the occurrence intervals of events may be non-uniform. For example, if the occurrence time of the last event L1 is "Oct 10 0:00:09" instead of "Oct 10 0:00:08," and the fifth period is from "Oct 10 0:00:04" to "Oct 10 0:00:09," the length of the fifth period will be "06" seconds, and the length of the fifth period will no longer be within the window width. Therefore, the fifth period is from "Oct 10 0:00:04" to "Oct 10 0:00:07".
[0041] In the first period, the events {L3, L2, L5, L1, L3} occur. Because event L3 overlaps in the first period, the first transaction identification unit 22 eliminates the overlap of event L3 and identifies a set of events {L3, L2, L5, L1} as the transaction for the first period. In the second period, the events {L2, L5, L1, L3, L5} occur. Because event L5 overlaps in the second period, the first transaction identification unit 22 eliminates the overlap of event L5 and identifies a set of events {L2, L5, L1, L3} as the transaction for the second period. In the third period, the events {L5, L1, L3, L5, L4} occur. In the third period, event L5 overlaps, so the first transaction identification unit 22 eliminates the overlap of event L5 and identifies a set of events {L5, L1, L3, L4} as the transaction for the third period. In the fourth period, events {L1, L3, L5, L4, L2} occur. There are no overlapping events in the fourth period. Therefore, the first transaction identification unit 22 identifies a set of events {L1, L3, L5, L4, L2} as the transaction for the fourth period. In the fifth period, events {L3, L5, L4, L2, L1} occur. There are no overlapping events in the fifth period. Therefore, the first transaction identification unit 22 identifies a set of events {L3, L5, L4, L2, L1} as the transaction for the fifth period.
[0042] The matching pattern selection unit 23 acquires transactions for each period from the first transaction identification unit 22. For each combination of two events among the multiple events included in any transaction, the matching pattern selection unit 23 calculates the co-occurrence probability of the two events. Specifically, the matching pattern selection unit 23 calculates the co-occurrence probability of the events L1 and L2 when the events occur in the order L1, L2, and calculates the co-occurrence probability of the events L2 and L1 when the events occur in the order L2, L1. The matching pattern selection unit 23 calculates the co-occurrence probability of the events L1 and L3 when the events occur in the order L1, L3, and calculates the co-occurrence probability of the events L3 and L1 when the events occur in the order L3, L1. The matching pattern selection unit 23 calculates the co-occurrence probability of the events L1 and L4 when the events occur in the order L1, L4, and calculates the co-occurrence probability of the events L4 and L1 when the events occur in the order L4, L1. The matching pattern selection unit 23 calculates the co-occurrence probability of the events L1 and L5 when the events L1 and L5 occur in this order, and calculates the co-occurrence probability of the events L5 and L1 when the events L5 and L1 occur in this order.
[0043] The matching pattern selection unit 23 also calculates the co-occurrence probability of events L2 and L4 when the events L2 and L4 occur in this order, and calculates the co-occurrence probability of events L4 and L2 when the events L4 and L2 occur in this order. The matching pattern selection unit 23 calculates the co-occurrence probability of events L2 and L5 when the events L2 and L5 occur in this order, and calculates the co-occurrence probability of events L5 and L2 when the events L5 and L2 occur in this order.
[0044] The matching pattern selection unit 23 also calculates the co-occurrence probability of events L3 and L4 when the events occur in the order L3, L4, and calculates the co-occurrence probability of events L4 and L3 when the events occur in the order L4, L3. The matching pattern selection unit 23 calculates the co-occurrence probability of events L3 and L5 when the events occur in the order L3, L5, and calculates the co-occurrence probability of events L5 and L3 when the events occur in the order L5, L3. The matching pattern selection unit 23 also calculates the co-occurrence probability of events L4 and L5 when the events occur in the order L4, L5, and calculates the co-occurrence probability of events L5 and L4 when the events occur in the order L5, L4.
[0045] The following calculation method can be used to calculate the co-occurrence probability of two events. Here, an example will be described in which the co-occurrence probability of events L3 and L5 is calculated as the co-occurrence probability of two events. The matching pattern selection unit 23 counts the number of transactions that include events L3 and L5 among the transactions for multiple periods identified by the first transaction identification unit 22. Then, the matching pattern selection unit 23 calculates the co-occurrence probability of events L3 and L5 by dividing the counted number of transactions by the total number of transactions identified by the first transaction identification unit 22, as shown in the following formula (1): Co-occurrence probability = (number of counted transactions / total number of transactions) × 100 (1)
[0046] Here, the match pattern selection unit 23 calculates the co-occurrence probability of two events using Equation (1). However, this is merely an example, and the match pattern selection unit 23 may calculate the co-occurrence probability of two events included in transactions over multiple time periods by, for example, performing association analysis on transactions over multiple time periods identified by the first transaction identification unit 22 or sequential pattern mining on transactions over multiple time periods. The process of calculating the co-occurrence probability of two events by performing association analysis or sequential pattern mining is a well-known technique, so a detailed description will be omitted. Incidentally, when the match pattern extraction unit 11 generates a match pattern that is a combination of three events that may have been caused by the same origin, the match pattern selection unit 23 calculates the co-occurrence probability of the three events. Furthermore, when the match pattern extraction unit 11 generates a match pattern that is a combination of four events that may have been caused by the same origin, the match pattern selection unit 23 calculates the co-occurrence probability of the four events. When calculating the co-occurrence probability of three events, for example, the co-occurrence probability of events L3, L5, and L2, the matching pattern selection unit 23 counts the number of transactions that include events L3, L5, and L2 among the transactions for multiple periods identified by the first transaction identification unit 22. Then, the matching pattern selection unit 23 calculates the co-occurrence probability of events L3, L5, and L2 by dividing the counted number of transactions by the total number of transactions identified by the first transaction identification unit 22, as shown in equation (1).
[0047] The matching pattern selection unit 23 compares these calculated co-occurrence probabilities with each other and, based on the results of this comparison, identifies the top N co-occurrence probabilities from among these co-occurrence probabilities. N is an integer equal to or greater than 1. For ease of explanation, it is assumed here that N=2. In this case, for example, the highest co-occurrence probability is the co-occurrence probability between events L3 and L5, and the second highest co-occurrence probability is the co-occurrence probability between events L2 and L1. In the example of FIG. 9 , the combination of events L3 and L5 is included in multiple transactions. Specifically, events L3, L5 occur in the order of transactions in the first period, the fourth period, and the fifth period. In the example of FIG. 9 , the combination of events L2 and L1 is included in multiple transactions. Specifically, events L2, L1 occur in the order of transactions in the first period, the second period, and the fifth period.
[0048] The matching pattern selection unit 23 selects, as matching patterns, combinations of two events with the first to Nth highest co-occurrence probabilities from among combinations of two events included in any transaction (step ST3 in FIG. 8 ). Specifically, if N=2 and the highest co-occurrence probability is the co-occurrence probability of events L3 and L5, the matching pattern selection unit 23 selects {L3 L5} as the matching pattern (Pattern 1). If N=2 and the second highest co-occurrence probability is the co-occurrence probability of events L2 and L1, the matching pattern selection unit 23 selects {L2 L1} as the matching pattern (Pattern 2). The matching pattern selection unit 23 outputs each of the matching patterns (Pattern 1) and (Pattern 2) to the normal range estimation unit 24.
[0049] The normal range estimation unit 24 acquires first time series data from the first time series data acquisition unit 21. The normal range estimation unit 24 acquires a matching pattern (Pattern 1) and a matching pattern (Pattern 2) from the matching pattern selection unit 23. The normal range estimation unit 24 estimates the occurrence interval of a normal range between two events included in the matching pattern (Pattern 1) based on the first time series data. The normal range estimation unit 24 also estimates the occurrence interval of a normal range between two events included in the matching pattern (Pattern 2) based on the first time series data.
[0050] 9 , the matching pattern (Pattern 1) {L3 L5} is included in the transactions of the first, fourth, and fifth periods. Therefore, the normal range estimation unit 24 calculates a time difference of 02 seconds between "Oct 10 0:00:00," the occurrence time of event L3 included in the transaction of the first period, and "Oct 10 0:00:02," the occurrence time of event L5. The normal range estimation unit 24 also calculates a time difference of 01 seconds between "Oct 10 0:00:04," the occurrence time of event L3 included in the transaction of the fourth period, and "Oct 10 0:00:05," the occurrence time of event L5. The normal range estimation unit 24 also calculates the time difference between "Oct 10 0:00:04", which is the occurrence time of event L3 included in the transaction of the fifth period, and "Oct 10 0:00:05", which is the occurrence time of event L5, as 01 (seconds). The normal range estimation unit 24 calculates statistics of the time difference from the calculated three time differences as the occurrence interval of the normal range between event L3 and event L5.
[0051] 9 , the matching pattern (Pattern 2), {L2 L1}, is included in the transactions of the first period, the second period, and the fifth period. Therefore, the normal range estimation unit 24 calculates the time difference of 02 seconds between "Oct 10 0:00:01," the occurrence time of event L2 included in the transaction of the first period, and "Oct 10 0:00:03," the occurrence time of event L1. The normal range estimation unit 24 also calculates the time difference of 02 seconds between "Oct 10 0:00:01," the occurrence time of event L2 included in the transaction of the second period, and "Oct 10 0:00:03," the occurrence time of event L1. The normal range estimation unit 24 also calculates the time difference between "Oct 10 0:00:07", which is the occurrence time of event L2 included in the transaction of the fifth period, and "Oct 10 0:00:08", which is the occurrence time of event L1, as 01 (seconds). The normal range estimation unit 24 calculates statistics of the time differences from the calculated three time differences as the occurrence intervals of the normal range between event L2 and event L1.
[0052] In calculating parameters characterizing the statistical distribution (see FIGS. 10A and 10B ) showing the statistical quantities of the time difference between two events, the normal range estimation unit 24 assumes a distribution function such as a normal distribution or a gamma distribution, and determines the parameters of the distribution function so that the distribution of each time difference matches the distribution function. If the distribution is, for example, a normal distribution, the parameters of the distribution function include the mean value μ and standard deviation σ of the normal distribution. FIG. 10A is an explanatory diagram of the statistical distribution showing the statistical quantities of the time difference between events L3 and L5, and FIG. 10B is an explanatory diagram of the statistical distribution showing the statistical quantities of the time difference between events L2 and L1. If there is a possibility that noise is included in the distribution of each time difference, the normal range estimation unit 24 can remove the influence of the noise by, for example, offsetting the entire histogram so that the minimum count value of each time difference histogram becomes 0.
[0053] The normal range estimation unit 24 adds time information indicating the occurrence interval within the normal range to the match pattern, and stores the match pattern with the time information in the match pattern storage unit 2. Specifically, the normal range estimation unit 24 adds time information indicating the occurrence interval within the normal range between events L3 and L5 to the match pattern (Pattern 1), and stores the match pattern (Pattern 1) with the time information in the match pattern storage unit 2. Furthermore, the normal range estimation unit 24 adds time information indicating the occurrence interval within the normal range between events L2 and L1 to the match pattern (Pattern 2), and stores the match pattern (Pattern 2) with the time information in the match pattern storage unit 2.
[0054] If the mean value μ of the normal distribution for events L3 and L5 is, for example, 1.5 seconds and the standard deviation σ of the normal distribution is, for example, 0.15 seconds, the normal range estimation unit 24 stores Pattern 1 with time information as shown below in the matching pattern storage unit 2. <Pattern 1 with time information> {L3 L5} μ: 1.5 sec σ: 0.15 sec If the mean value μ of the normal distribution for events L2 and L1 is, for example, 2 seconds and the standard deviation σ of the normal distribution is, for example, 0.1 seconds, the normal range estimation unit 24 stores Pattern 2 with time information as shown below in the matching pattern storage unit 2. <Pattern 2 with time information> {L2 L1} μ: 2 sec σ: 0.1 sec
[0055] In the example of Figure 9, events L3 and L5 are included in transactions in three periods. If events L3 and L5 are included in transactions in only one period, the normal range estimation unit 24 may determine that the time difference between the occurrence time of event L3 and the occurrence time of event L5, which are included in transactions in one period, is an occurrence interval within the normal range. Also, in the example of Figure 9, events L2 and L1 are included in transactions in three periods. If events L2 and L1 are included in transactions in only one period, the normal range estimation unit 24 may determine that the time difference between the occurrence time of event L2 and the occurrence time of event L1, which are included in transactions in one period, is an occurrence interval within the normal range.
[0056] Next, the operation of the analysis processing unit 12 will be described. FIG. 11 is a flowchart showing the processing content of the analysis processing unit 12. Inference data is provided from the outside to the second time-series data acquisition unit 51 of the analysis processing unit 12. The inference data is, for example, character string data indicating each of the time-series events that occurred in the information system when an external device (not shown) determines whether there is an abnormality in the information system, or numerical data indicating each of the time-series events that occurred in the information system. The character string data related to the inference data is character string data in the same expression format as the character string data related to the training data. The numerical data related to the inference data is numerical data in the same expression format as the numerical data related to the training data.
[0057] Examples of character string data related to inference data include the following: <Character string data> Occurrence time Character string data Nov 15 0:00:00 received from xxx Nov 15 0:00:01 error Nov 15 0:00:02 sent to abc Nov 15 0:00:03 connected to z Nov 15 0:00:06 sum aaa bbb Nov 15 0:00:07 received from xxx Nov 15 0:00:08 error Nov 15 0:00:50 sent to abc
[0058] Examples of numerical data related to inference data include the following: <Numerical data> Occurrence time Numerical data Nov 15 0:00:00 12345 67 Nov 15 0:00:01 678 Nov 15 0:00:02 98765 74 Nov 15 0:00:03 13579 53 Nov 15 0:00:06 723 54 78 Nov 15 0:00:07 12345 67 Nov 15 0:00:08 678 Nov 15 0:00:50 98765 74
[0059] For example, the internal memory of the second time series data acquisition unit 51 stores the above-mentioned correspondence table A, which shows the correspondence between events and character string data, and the above-mentioned correspondence table B, which shows the correspondence between events and numerical data.
[0060] If the data for inference is character string data as described above, the second time-series data acquisition unit 51 refers to correspondence table A and generates second time-series data from the character string data as shown below (step ST11 in FIG. 11 ). If the data for inference is numerical data as described above, the second time-series data acquisition unit 51 refers to correspondence table B and generates second time-series data from the numerical data as shown below (step ST11 in FIG. 11 ). The second time-series data acquisition unit 51 outputs the second time-series data to the second transaction identification unit 52.
[0061] <Second time series data> Occurrence time Event Nov 15 0:00:00 L3 Nov 15 0:00:01 L2 Nov 15 0:00:02 L5 Nov 15 0:00:03 L1 Nov 15 0:00:06 L6 Nov 15 0:00:07 L3 Nov 15 0:00:08 L2 Nov 15 0:00:50 L5
[0062] 5, the second time series data acquisition unit 51 generates the second time series data from the inference data by referring to the correspondence table. However, this is merely an example, and the second time series data acquisition unit 51 may provide the inference data to a learning model that learns the correspondence between the inference data and the second time series data, and acquire the second time series data from the learning model.
[0063] The second transaction identification unit 52 acquires second time series data from the second time series data acquisition unit 51. Based on the occurrence times of each event indicated by the second time series data, the second transaction identification unit 52 identifies each transaction in a plurality of different periods that partially overlap with other periods, as shown in FIG. 12 (step ST12 in FIG. 11 ). If the same event overlaps with one or more events included in each period, the event with the overlap removed is identified as the transaction. However, this is merely an example, and even if the same event overlaps, the overlap does not necessarily have to be removed. The second transaction identification unit 52 outputs the transactions for each period to the determination unit 53.
[0064] FIG. 12 is an explanatory diagram showing an example of transactions identified by the second transaction identification unit 52. The length of each period is within an arbitrary window width in sliding window processing. The window width may be stored in the internal memory of the second transaction identification unit 52, or may be provided to the second transaction identification unit 52 from an external device. For example, if the window width is "5," the length of each period is a maximum of "0.5" seconds. Specifically, the first period is from "Nov 15 0:00:00" to "Nov 15 0:00:03," the second period is from "Nov 15 0:00:01" to "Nov 15 0:00:03," and the third period is from "Nov 15 0:00:02" to "Nov 15 0:00:06." The fourth period is from "Nov 15 0:00:03" to "Nov 15 0:00:07", the fifth period is from "Nov 15 0:00:06" to "Nov 15 0:00:08", and the sixth period is from "Nov 15 0:00:50" to "Nov 15 0:00:50".
[0065] In the first period, events {L3, L2, L5, L1} occur. There are no overlapping events in the first period. Therefore, the second transaction identification unit 52 identifies a set of events {L3, L2, L5, L1} as the transactions in the first period. In the second period, events {L2, L5, L1} occur. There are no overlapping events in the second period. Therefore, the second transaction identification unit 52 identifies a set of events {L2, L5, L1} as the transactions in the second period. In the third period, events {L5, L1, L6} occur. There are no overlapping events in the third period. Therefore, the second transaction identification unit 52 identifies a set of events {L5, L1, L6} as the transactions in the third period. In the fourth period, events {L1, L6, L3} occur. There are no overlapping events in the fourth period. Therefore, the second transaction identification unit 52 identifies a set of events {L1, L6, L3} as transactions for the fourth period. Events {L6, L3, L2} occur in the fifth period. There are no overlapping events in the fifth period. Therefore, the second transaction identification unit 52 identifies a set of events {L6, L3, L2} as transactions for the fifth period. Event {L5} occurs in the sixth period. There are no overlapping events in the sixth period. Therefore, the second transaction identification unit 52 identifies a set of events {L5} as transactions for the sixth period. Note that there are no events before or after event L5 occurring in the sixth period whose occurrence interval with event L5 is within the window width, so the sixth period does not overlap with other periods.
[0066] The determination unit 53 acquires transactions for each period from the second transaction identification unit 52. In the example of Fig. 12, the determination unit 53 acquires transactions for each of the first to sixth periods. The determination unit 53 acquires one or more matching patterns with time information from the matching pattern storage unit 2. Specifically, the determination unit 53 acquires a matching pattern with time information (Pattern 1) and a matching pattern with time information (Pattern 2).
[0067] The determination unit 53 determines whether or not each matching pattern is included in the transactions of each period (step ST13 in FIG. 11 ). In the example of FIG. 12 , {L3, L2, L5, L1}, which are transactions of the first period, includes {L3 L5}, which is Pattern 1 with time information, and also includes {L2 L1}, which is Pattern 2 with time information. {L2, L5, L1}, which are transactions of the second period, includes {L2 L1}, which is Pattern 2 with time information. {L3 L5}, which is Pattern 1 with time information, is not included in {L2, L5, L1}. Transactions of the third to sixth periods do not include {L3 L5}, which is Pattern 1 with time information, and also do not include {L2 L1}, which is Pattern 2 with time information.
[0068] Furthermore, the determination unit 53 determines whether or not only one of the events included in any of the matching patterns is included in the transactions of each period. If only one of the events is included, the determination unit 53 determines whether or not the other event included in the matching pattern including one of the events is included in a transaction of a different period from the transaction including the one of the events.
[0069] The determination unit 53 outputs complete pattern occurrence information such as that shown in FIG. 13 to, for example, an external device (not shown) as complete pattern occurrence information, which is information indicating a transaction that includes all of the events included in the match pattern. The determination unit 53 also outputs incomplete pattern occurrence information such as that shown in FIG. 13 to, for example, an external device (not shown) as incomplete pattern occurrence information, which is information indicating a transaction that includes only one of the events included in the match pattern and does not include the other event included in the match pattern. FIG. 13 is an explanatory diagram illustrating complete pattern occurrence information and incomplete pattern occurrence information. In the example of FIG. 13, the complete pattern occurrence information indicates that Pattern 1 and Pattern 2 are included in a transaction of a first period whose start occurrence time is "Nov 15 0:00:00." In the example of FIG. 13, the complete pattern occurrence information indicates that only Pattern 2 is included in a transaction of a second period whose start occurrence time is "Nov 15 0:00:01."
[0070] In the example of FIG. 13 , the incomplete pattern occurrence information indicates that only event L5 is included as one of the events in Pattern 1 in a transaction of the second period whose start time is "Nov 15 0:00:01." This is expressed as Pattern1(L5) in FIG. 13 . In the example of FIG. 13 , the incomplete pattern occurrence information indicates that only event L5 is included as one of the events in Pattern 1 in a transaction of the third period whose start time is "Nov 15 0:00:02," and that only event L1 is included as one of the events in Pattern 2. This is expressed as Pattern1(L5) and Pattern2(L1) in FIG. 13 . 13, the incomplete pattern occurrence information indicates that in the transactions of the fourth period, whose start occurrence time is "Nov 15 0:00:03," only event L3 is included as one of the events in Pattern 1, and only event L1 is included as one of the events in Pattern 2. In FIG. 13, this is expressed as Pattern 1 (L3) and Pattern 2 (L1).
[0071] If a transaction that includes one event is included in a different period from the transaction that includes the other event, the determination unit 53 compares the occurrence interval between the one event and the other event with the normal range of occurrence intervals indicated by the time information added to the matching pattern.If the occurrence interval between the one event and the other event is within the normal range of occurrence intervals, the determination unit 53 determines that the one event and the other event are included in the same transaction.If the occurrence interval between the one event and the other event is longer than the normal range of occurrence intervals, the determination unit 53 determines that the other event is missing.
[0072] Specifically, for example, in the case of Pattern 1 (L5) related to a transaction in the second period, event L3, which is included in Pattern 1 together with event L5, is included in a transaction in the first period. Therefore, the determination unit 53 calculates the occurrence interval, which is the time difference between the occurrence time "Nov 15 0:00:00" of event L3 included in the transaction in the first period and the occurrence time "Nov 15 0:00:02" of event L5 included in the transaction in the second period. In this case, the occurrence interval is 02 seconds. The determination unit 53 compares the occurrence interval between events L3 and L5, which is 02 seconds, with the occurrence interval within the normal range between events L3 and L5. In this case, if the occurrence interval within the normal range between events L3 and L5 is 02 seconds or more, the determination unit 53 determines that events L3 and L5 are included in the same transaction. When the determination unit 53 determines that events L3 and L5 are included in the same transaction, it performs a modification to delete Pattern1 (L5), which is incomplete pattern occurrence information written in the transaction of the second period, as shown in Fig. 14. Then, the determination unit 53 performs a modification to include complete pattern occurrence information indicating that events L3 and L5 are included in the transaction of the second period. Fig. 14 is an explanatory diagram showing the modified complete pattern occurrence information and the modified incomplete pattern occurrence information.
[0073] For example, in the case of Pattern 1 (L3) for a transaction in the fourth period, event L5, which is included in Pattern 1 together with event L3, is included in a transaction in the sixth period. Therefore, the determination unit 53 calculates the occurrence interval, which is the time difference between the occurrence time "Nov 15 0:00:07" of event L3 included in the transaction in the fourth period and the occurrence time "Nov 15 0:00:50" of event L5 included in the transaction in the sixth period. In this case, the occurrence interval is 43 seconds. The determination unit 53 compares the occurrence interval between events L3 and L5, 43 seconds, with the occurrence interval within the normal range between events L3 and L5. In this case, if the occurrence interval within the normal range between events L3 and L5 is less than 43 seconds, the determination unit 53 does not consider events L3 and L5 to be included in the same transaction and determines that the other event is missing. If the determination unit 53 determines that the other event is missing, it leaves Pattern 1 (L3), which is the incomplete pattern occurrence information written in the transaction of the fourth period, as shown in Figure 14.
[0074] For example, in the case of Pattern 2 (L1) related to a transaction in the fourth period, event L2, which is included in Pattern 2 together with event L1, is included in a transaction in the second period. Therefore, the determination unit 53 calculates the occurrence interval, which is the time difference between the occurrence time "Nov 15 0:00:03" of event L1 included in the transaction in the fourth period and the occurrence time "Nov 15 0:00:01" of event L2 included in the transaction in the second period. In this case, the occurrence interval is 02 seconds. The determination unit 53 compares the occurrence interval between events L2 and L1, 02 seconds, with the occurrence interval within the normal range between events L2 and L1. In this case, if the occurrence interval within the normal range between events L2 and L1 is equal to or greater than 02 seconds, the determination unit 53 determines that events L2 and L1 are included in the same transaction. When the determination unit 53 determines that events L2 and L1 are included in the same transaction, it performs a modification to delete Pattern2 (L1), which is incomplete pattern occurrence information written in the transaction of the fourth period, as shown in Fig. 14. Then, the determination unit 53 performs a modification to include complete pattern occurrence information indicating that events L2 and L1 are included in the transaction of the fourth period. The determination unit 53 outputs each of the modified complete pattern occurrence information and the modified incomplete pattern occurrence information to, for example, an external device (not shown).
[0075] In the first embodiment described above, the data analysis apparatus 1 is configured to include a first time series data acquisition unit 21 that acquires first time series data indicating the occurrence time of each of multiple events occurring in the system when the system is normal, and a first transaction identification unit 22 that identifies, from among the multiple events occurring in the system, a transaction that is a collection of events that occurred in each of multiple different time periods based on the occurrence times indicated by the first time series data acquisition unit 21. The data analysis apparatus 1 also includes a matching pattern selection unit 23 that calculates a co-occurrence probability, which is the probability that the two or more events co-occur, for each combination of two or more events included in the multiple events occurring in the system, and selects, from the transactions for each period identified by the first transaction identification unit 22, a combination of two or more events that may have been caused by the same origin as a matching pattern based on the co-occurrence probability. Thus, the data analysis apparatus 1 can identify, from among the multiple events occurring in the system, a combination of two or more events that may have been caused by the same origin as a matching pattern.
[0076] Furthermore, in the first embodiment, the data analysis apparatus 1 is configured to include a second time series data acquisition unit 51 that acquires second time series data indicating the occurrence time of each of multiple events that occurred in the system when determining whether the system has an abnormality, and a second transaction identification unit 52 that identifies transactions, which are a collection of events that occurred in each of multiple different time periods, among the multiple events that occurred in the system when determining whether the system has an abnormality, based on the occurrence time indicated by the second time series data acquired by the second time series data acquisition unit 51. The data analysis apparatus 1 also includes a determination unit 53 that determines whether the transactions for each time period identified by the second transaction identification unit 52 include the matching pattern selected by the matching pattern selection unit 23. Therefore, the data analysis apparatus 1 can detect an abnormality that occurred in each time period.
[0077] Furthermore, in the first embodiment, the data analysis device 1 is configured so that, when transactions for each period identified by the second transaction identification unit 52 include only one of the events included in the matching pattern and the other event included in the matching pattern is included in a transaction of a different period from the transaction including the one event, the determination unit 53 determines that the one event and the other event are included in the same transaction if the occurrence interval between the one event and the other event is within the normal range of occurrence intervals estimated by the normal range estimation unit 24. Therefore, the data analysis device 1 can prevent erroneous detection, as a situation in which an abnormality has occurred, of a situation in which transactions for each period include only one of the events included in the matching pattern, if the occurrence interval between the one event and the other event is within the normal range of occurrence intervals.
[0078] Embodiment 2 In embodiment 2, a data analysis device 1 including a designation receiving unit 25 that receives designations of weightings for two or more events will be described. FIG. 15 is a configuration diagram showing the matching pattern extraction unit 11 of the data analysis device 1 according to embodiment 2. In FIG. 15, the same reference numerals as in FIG. 2 indicate the same or corresponding parts, and detailed description thereof will be omitted. FIG. 16 is a hardware configuration diagram showing the hardware of the matching pattern extraction unit 11. In FIG. 16, the same reference numerals as in FIG. 3 indicate the same or corresponding parts, and detailed description thereof will be omitted. The matching pattern extraction unit 11 shown in FIG. 15 includes a first time-series data acquisition unit 21, a first transaction identification unit 22, a designation receiving unit 25, a matching pattern selection unit 26, and a normal range estimation unit 24.
[0079] The designation receiving unit 25 is realized, for example, by a designation receiving circuit 35 shown in FIG. 16 . For example, when a user operates a man-machine interface such as a mouse or a touch panel, the designation receiving unit 25 acquires user operation information from the man-machine interface. If the user operation information indicates weighting for two or more events, the designation receiving unit 25 accepts designation of weighting for two or more events. The designation receiving unit 25 outputs designation information indicating the weighting for two or more events to the matching pattern selecting unit 26.
[0080] The match pattern selection unit 26 is realized, for example, by the match pattern selection circuit 36 shown in FIG. 16 . The match pattern selection unit 26 acquires transactions for each period from the first transaction identification unit 22 and acquires designation information from the designation reception unit 25. Similar to the match pattern selection unit 23 shown in FIG. 2 , the match pattern selection unit 26 calculates a co-occurrence probability, which is the probability that two or more events co-occur, for each combination of two or more events included in multiple events that occurred in the information system. The match pattern selection unit 26 selects, from the transactions for each period, a combination of two or more events that may have been caused by the same origin as a match pattern, based on the co-occurrence probability of the two or more events and the weighting indicated by the designation information. The match pattern selection unit 26 outputs each of the one or more selected match patterns to the normal range estimation unit 24.
[0081] 15 assumes that each of the components of the collation pattern extraction unit 11, namely, the first time-series data acquisition unit 21, the first transaction identification unit 22, the designation reception unit 25, the collation pattern selection unit 26, and the normal range estimation unit 24, is realized by dedicated hardware such as that shown in FIG. 16. That is, it assumes that the collation pattern extraction unit 11 is realized by a time-series data acquisition circuit 31, a transaction identification circuit 32, a designation reception circuit 35, a collation pattern selection circuit 36, and a normal range estimation circuit 34. Each of the time-series data acquisition circuit 31, the transaction identification circuit 32, the designation reception circuit 35, the collation pattern selection circuit 36, and the normal range estimation circuit 34 corresponds to, for example, a single circuit, a composite circuit, a programmed processor, a parallel-programmed processor, an ASIC, an FPGA, or a combination thereof.
[0082] The components of the matching pattern extraction unit 11 are not limited to those realized by dedicated hardware, and the matching pattern extraction unit 11 may be realized by software, firmware, or a combination of software and firmware. When the matching pattern extraction unit 11 is realized by software, firmware, or the like, programs for causing a computer to execute the respective processing procedures of the first time-series data acquisition unit 21, the first transaction identification unit 22, the designation acceptance unit 25, the matching pattern selection unit 26, and the normal range estimation unit 24 are stored in a memory 41 shown in FIG. 4. Then, a processor 42 shown in FIG. 4 executes the programs stored in the memory 41.
[0083] 16 shows an example in which each of the components of the matching pattern extraction unit 11 is realized by dedicated hardware, while Fig. 4 shows an example in which the matching pattern extraction unit 11 is realized by software, firmware, etc. However, this is merely an example, and some of the components in the matching pattern extraction unit 11 may be realized by dedicated hardware, and the remaining components may be realized by software, firmware, etc.
[0084] Next, the operation of the matching pattern extraction unit 11 shown in Fig. 15 will be described. Except for the specification acceptance unit 25 and the matching pattern selection unit 26, the matching pattern extraction unit 11 is the same as the matching pattern extraction unit 11 shown in Fig. 2. Therefore, only the operations of the specification acceptance unit 25 and the matching pattern selection unit 26 will be described here. For the sake of simplicity, an example will be described in which the matching pattern extraction unit 11 shown in Fig. 15 generates a matching pattern that is a combination of two events that may have arisen from the same origin.
[0085] When a user weights any two events by operating the man-machine interface, the designation receiving unit 25 acquires operation information indicating the weighting of the two events from the man-machine interface. The designation receiving unit 25 receives the designation of the weighting of the two events indicated by the operation information. The designation receiving unit 25 outputs the designation information indicating the weighting of the two events to the matching pattern selecting unit 26. For example, the designation receiving unit 25 assigns a weighting coefficient w greater than 1 to the events L3 and L2. 3,2 When the specification of event L3 is accepted, the co-occurrence probability of event L2 is weighted by a weighting factor w 3,2 As a result, the possibility that the combination of event L3 and event L2 will be selected as the matching pattern by the matching pattern selection unit 26 increases. For example, the designation receiving unit 25 may assign a weighting coefficient w smaller than 1 to the events L2 and L1. 2,1 When the specification of event L2 is accepted, the co-occurrence probability of event L1 is weighted by a weighting factor w 2,1 As a result, the possibility that the match pattern selection unit 26 will select the combination of event L2 and event L1 as the match pattern decreases.
[0086] The match pattern selector 26 acquires transactions for each period from the first transaction identifying unit 22 and acquires designation information from the designation receiving unit 25. The match pattern selector 26 calculates the co-occurrence probability of two events, similar to the match pattern selector 23 shown in FIG. 2. The match pattern selector 26 multiplies the co-occurrence probability of each of the two events by a weighting factor w indicated by the designation information. For convenience, the designation receiving unit 25 acquires, for example, the weighting factor w for events L3 and L2. 3,2 and a weighting factor w for the event L2 and the event L1. 2,1 In this case, the matching pattern selection unit 26 applies a weighting factor w 3,2 and multiplying the co-occurrence probability of event L2 and event L1 by a weighting factor w 2,1 In this case, the weighting coefficients w for the events L3 and L5 are multiplied by the weighting coefficients w 3,5 is not provided to the matching pattern selection unit 26, the matching pattern selection unit 26 applies the weighting factor w 3,5 The multiplication process is not performed.
[0087] After performing the weighting process, the matching pattern selection unit 26 compares the multiple co-occurrence probabilities with each other and, based on the results of this comparison, identifies the top N co-occurrence probabilities from the multiple co-occurrence probabilities. N is an integer equal to or greater than 1. For ease of explanation, N=2 is assumed here. In the first embodiment, the second-highest co-occurrence probability was the co-occurrence probability between event L2 and event L1. However, by performing the weighting process, the second-highest co-occurrence probability may become, for example, the co-occurrence probability between event L3 and event L2. This increases the likelihood that the combination of two events L3 and L2 desired by the user will be selected as a matching pattern. From the transactions of each period, the matching pattern selection unit 26 selects, as a matching pattern, a combination of two events that may have been caused by the same origin, based on the co-occurrence probability of the two events after the weighting process. The matching pattern selection unit 26 outputs each of the selected one or more matching patterns to the normal range estimation unit 24.
[0088] In the second embodiment described above, the data analysis apparatus 1 is configured to include a designation receiving unit 25 that receives designation of weights for two or more events, and a matching pattern selecting unit 26 that selects, as a matching pattern, a combination of two or more events that may have been caused by the same origin from among the transactions for each period identified by the first transaction identifying unit 22, based on the co-occurrence probability and the weights whose designation is received by the designation receiving unit 25. Therefore, the data analysis apparatus 1 can select, as a matching pattern, a combination of two or more events desired by the user.
[0089] Embodiment 3 In embodiment 3, a data analysis apparatus 1 will be described that includes an information output unit 54 that outputs information indicating whether the occurrence interval between one event included in a matching pattern and the other event included in the matching pattern is within the occurrence interval of the normal range estimated by the normal range estimation unit 24.
[0090] FIG. 17 is a configuration diagram showing the analysis processing unit 12 of the data analysis apparatus 1 according to the third embodiment. In FIG. 17, the same reference numerals as those in FIG. 5 indicate the same or corresponding parts, and therefore detailed description thereof will be omitted. FIG. 18 is a hardware configuration diagram showing the hardware of the analysis processing unit 12. In FIG. 18, the same reference numerals as those in FIG. 6 indicate the same or corresponding parts, and therefore detailed description thereof will be omitted. The analysis processing unit 12 shown in FIG. 17 includes a second time-series data acquisition unit 51, a second transaction identification unit 52, a determination unit 53, and an information output unit 54.
[0091] The information output unit 54 is realized, for example, by the information output circuit 64 shown in FIG. 18 . The information output unit 54 acquires transactions for each period from the second transaction identification unit 52 and acquires one or more matching patterns with time information from the matching pattern storage unit 2. The information output unit 54 also acquires second time series data from the second time series data acquisition unit 51. Similar to the determination unit 53, the information output unit 54 determines whether only one of the events included in the matching pattern is included in the transactions for each period, and whether the other event included in the matching pattern is included in a transaction from a different period from the transaction containing the one event. If the other event is included in a transaction from a different period from the transaction containing the one event, the information output unit 54 calculates the occurrence interval between the one event and the other event based on the occurrence times of each event indicated by the second time series data. The information output unit 54 compares the occurrence interval between the one event and the other event with the normal range of occurrence intervals indicated by the time information added to the matching pattern. The information output unit 54 outputs, to an external device, for example, comparison result information indicating whether the occurrence interval between one event and the other event is within the normal range of occurrence intervals, as information indicating the comparison result between the occurrence interval between one event and the other event and the normal range of occurrence intervals.
[0092] 17, the information output unit 54 determines whether or not only one of the events included in the matching pattern is included in the transactions of each period, and whether or not the other event included in the matching pattern is included in a transaction of a different period from the transaction that includes the one event. However, this is merely an example, and the information output unit 54 may acquire the determination result of the determination unit 53 instead of making the above determination.
[0093] 17, it is assumed that each of the components of the analysis processing unit 12, that is, the second time-series data acquisition unit 51, the second transaction identification unit 52, the determination unit 53, and the information output unit 54, is realized by dedicated hardware as shown in Fig. 18. That is, it is assumed that the analysis processing unit 12 is realized by a time-series data acquisition circuit 61, a transaction identification circuit 62, a determination circuit 63, and an information output circuit 64. Each of the time-series data acquisition circuit 61, the transaction identification circuit 62, the determination circuit 63, and the information output circuit 64 corresponds to, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof.
[0094] The components of the analysis processing unit 12 are not limited to those realized by dedicated hardware, and the analysis processing unit 12 may be realized by software, firmware, or a combination of software and firmware. When the analysis processing unit 12 is realized by software, firmware, or the like, programs for causing a computer to execute the respective processing procedures of the second time-series data acquisition unit 51, the second transaction identification unit 52, the determination unit 53, and the information output unit 54 are stored in a memory 71 shown in Fig. 7. Then, a processor 72 shown in Fig. 7 executes the programs stored in the memory 71.
[0095] 18 shows an example in which each of the components of the analysis processing unit 12 is realized by dedicated hardware, while Fig. 7 shows an example in which the analysis processing unit 12 is realized by software, firmware, etc. However, this is merely an example, and some of the components in the analysis processing unit 12 may be realized by dedicated hardware, and the remaining components may be realized by software, firmware, etc.
[0096] Next, the operation of the analysis processing unit 12 shown in Fig. 17 will be described. Except for the information output unit 54, the analysis processing unit 12 is the same as that shown in Fig. 5. Therefore, only the operation of the information output unit 54 will be described here.
[0097] The information output unit 54 acquires transactions for each period from the second transaction identification unit 52 and acquires one or more matching patterns with time information from the matching pattern storage unit 2. The information output unit 54 also acquires second time series data from the second time series data acquisition unit 51. The information output unit 54 determines whether only one of the events included in the matching pattern is included in the transactions for each period, and whether the other event included in the matching pattern is included in a transaction of a different period from the transaction including the one event. For example, when the matching pattern with time information is <Pattern 1 with time information>, focusing on the transactions for the second period shown in FIG. 12 , the transactions for the second period include event L5 included in Pattern 1. However, event L3 included in Pattern 1 is not included in the transactions for the second period, but is included in the transactions for the first period. Therefore, in this example, event L5 included in Pattern 1 and event L3 included in Pattern 1 are included in transactions for different periods.
[0098] If the other event is included in a transaction from a different period than the transaction containing the first event, the information output unit 54 calculates the occurrence interval between the first event and the other event based on the occurrence times of the respective events indicated by the second time-series data. Specifically, the information output unit 54 calculates the occurrence interval, which is the time difference between the occurrence time of event L3 included in a transaction from the first period and the occurrence time of event L5 included in a transaction from the second period. The information output unit 54 compares the occurrence interval between the first event and the other event with the normal range of occurrence intervals indicated by the time information added to the matching pattern. Specifically, the information output unit 54 compares the occurrence interval between events L3 and L5 with the normal range of occurrence intervals indicated by the time information added to Pattern 1. The information output unit 54 outputs, as information indicating the result of this comparison, comparison result information indicating whether the occurrence interval between the first event and the other event is within the normal range of occurrence intervals, to, for example, an external device. This enables, for example, the external device to quantitatively analyze the occurrence interval between the first event and the other event.
[0099] In the third embodiment described above, the data analysis device 1 is configured to include an information output unit 54 that outputs information indicating whether the occurrence interval between one event and the other event is within the normal range of occurrence intervals estimated by the normal range estimation unit 24, when only one of the events included in the matching pattern is included in the transactions for each period identified by the second transaction identification unit 52 and the other event included in the matching pattern is included in a transaction for a different period from the transaction including the one event. Therefore, the data analysis device 1 can perform quantitative analysis of the occurrence interval between one event and the other event.
[0100] 17, the information output unit 54 outputs comparison result information indicating whether the occurrence interval between one event included in the matching pattern and the other event included in the matching pattern is within a normal range of occurrence intervals. However, this is merely an example, and the information output unit 54 may also output information indicating whether the occurrence interval between two events other than the matching pattern, among transactions that include the matching pattern among transactions for each period identified by the second transaction identification unit 52, is within a normal range of occurrence intervals.
[0101] Specifically, the process is as follows. Among the transactions for each period identified by the second transaction identification unit 52, transactions containing the matching pattern are assumed to be, for example, {L3, L5, L4, L1}. In this example, the transactions {L3, L5, L4, L1} contain the matching pattern Pattern 1. Furthermore, the transactions {L3, L5, L4, L1} contain two events L4 and L1 other than Pattern 1. The information output unit 54 calculates the occurrence interval, which is the time difference between the occurrence time of event L4 and the occurrence time of event L1, based on the occurrence times of each event indicated by the second time-series data. The information output unit 54 compares the occurrence interval between event L4 and event L1 with the occurrence interval within the normal range between event L4 and event L1. The information output unit 54 outputs, to an external device, for example, comparison result information indicating whether the occurrence interval between event L4 and event L1 is within the normal range between event L4 and event L1, as information indicating the result of this comparison. The occurrence interval within the normal range may be stored in the internal memory of the information output unit 54, or may be provided from outside the analysis processing unit 12. The occurrence interval within the normal range may also be calculated based on the occurrence time indicated by the first time series data or the occurrence time indicated by the second time series data. This enables, for example, an external device to quantitatively analyze the occurrence interval between two events other than the matching pattern.
[0102] Fourth Embodiment In a fourth embodiment, a data analysis apparatus 1 will be described that includes a certainty calculation unit 55 that calculates a certainty that the other event is missing if the determination unit 53 determines that the occurrence interval between one event and the other event is not within the occurrence interval of the normal range estimated by the normal range estimation unit 24.
[0103] FIG. 19 is a configuration diagram showing the analysis processing unit 12 of the data analysis apparatus 1 according to the fourth embodiment. In FIG. 19, the same reference numerals as those in FIGS. 5 and 17 indicate the same or corresponding parts, and therefore detailed description thereof will be omitted. FIG. 20 is a hardware configuration diagram showing the hardware of the analysis processing unit 12. In FIG. 20, the same reference numerals as those in FIGS. 6 and 18 indicate the same or corresponding parts, and therefore detailed description thereof will be omitted. The analysis processing unit 12 shown in FIG. 19 includes a second time-series data acquisition unit 51, a second transaction identification unit 52, a determination unit 53, and a certainty factor calculation unit 55.
[0104] The certainty factor calculation unit 55 is realized by, for example, a certainty factor calculation circuit 65 shown in Fig. 20. The certainty factor calculation unit 55 acquires the determination result from the determination unit 53, and acquires the second time-series data from the second time-series data acquisition unit 51. If the determination unit 53 determines that the occurrence interval between one event and the other event is not within the occurrence interval of the normal range estimated by the normal range estimation unit 24, the certainty factor calculation unit 55 calculates the certainty that the other event is missing.
[0105] The analysis processing unit 12 shown in Fig. 19 is obtained by applying a certainty factor calculation unit 55 to the analysis processing unit 12 shown in Fig. 5. However, this is merely an example, and the certainty factor calculation unit 55 may also be applied to the analysis processing unit 12 shown in Fig. 17.
[0106] 19 assumes that each of the components of the analysis processing unit 12, namely, the second time-series data acquisition unit 51, the second transaction identification unit 52, the determination unit 53, and the certainty factor calculation unit 55, is realized by dedicated hardware as shown in Fig. 20. That is, it assumes that the analysis processing unit 12 is realized by a time-series data acquisition circuit 61, a transaction identification circuit 62, a determination circuit 63, and a certainty factor calculation circuit 65. Each of the time-series data acquisition circuit 61, the transaction identification circuit 62, the determination circuit 63, and the certainty factor calculation circuit 65 corresponds to, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof.
[0107] The components of the analysis processing unit 12 are not limited to those realized by dedicated hardware, and the analysis processing unit 12 may be realized by software, firmware, or a combination of software and firmware. When the analysis processing unit 12 is realized by software, firmware, or the like, programs for causing a computer to execute the respective processing procedures of the second time-series data acquisition unit 51, the second transaction identification unit 52, the determination unit 53, and the certainty factor calculation unit 55 are stored in a memory 71 shown in Fig. 7. Then, a processor 72 shown in Fig. 7 executes the programs stored in the memory 71.
[0108] 20 shows an example in which each of the components of the analysis processing unit 12 is realized by dedicated hardware, while Fig. 7 shows an example in which the analysis processing unit 12 is realized by software, firmware, etc. However, this is merely an example, and some of the components in the analysis processing unit 12 may be realized by dedicated hardware, and the remaining components may be realized by software, firmware, etc.
[0109] Next, the operation of the analysis processing unit 12 shown in Fig. 19 will be described. The components other than the certainty factor calculation unit 55 are the same as those of the analysis processing unit 12 shown in Fig. 5. Therefore, only the operation of the certainty factor calculation unit 55 will be described here.
[0110] The certainty factor calculation unit 55 acquires the determination result from the determination unit 53, and acquires one or more match patterns with time information from the match pattern storage unit 2. The certainty factor calculation unit 55 also acquires second time series data from the second time series data acquisition unit 51. For example, if the match pattern is Pattern 1, the time information added to Pattern 1 indicates the occurrence interval between events L3 and L5, which is within the normal range. If the match pattern is Pattern 2, the time information added to Pattern 2 indicates the occurrence interval between events L2 and L1, which is within the normal range.
[0111] If the determination unit 53 determines that the occurrence interval between one event and the other event is not within the normal range of occurrence intervals estimated by the normal range estimation unit 24, the certainty calculation unit 55 calculates the certainty that the other event is missing. Specifically, this is as follows. For example, when the collation pattern with time information is Pattern 1, focusing on the transactions of the second period shown in FIG. 12 , the transactions of the second period include event L5 included in Pattern 1. However, event L3 included in Pattern 1 is not included in the transactions of the second period, but is included in the transactions of the first period. Therefore, in this example, event L5 included in Pattern 1 and event L3 included in Pattern 1 are included in transactions of different periods.
[0112] The certainty factor calculation unit 55 calculates an occurrence interval, which is the time difference between the occurrence time of event L3 included in a transaction of the first period and the occurrence time of event L5 included in a transaction of the second period, based on the occurrence times of each event indicated by the second time-series data. The certainty factor calculation unit 55 compares the occurrence interval between events L3 and L5 with the occurrence interval within the normal range indicated by the time information added to Pattern 1.
[0113] The certainty calculation unit 55 assumes that the statistical distribution indicating the statistics of the time difference between events L3 and L5 is a normal distribution. Regarding the occurrence interval between events L3 and L5, the certainty calculation unit 55 determines the probability of the occurrence interval indicated by the normal distribution as the certainty that events L3 and L5 co-occur normally. If the occurrence interval between events L3 and L5 is longer than the normal range of occurrence intervals, the certainty calculation unit 55 integrates the normal distribution within the range of the occurrence interval between events L3 and L5. The certainty calculation unit 55 then determines the integrated value as the certainty that the other event, event L3, is missing. The certainty calculation unit 55 outputs the certainty to, for example, an external device. This enables, for example, the external device to quantitatively analyze the occurrence interval between the two events.
[0114] Fifth Embodiment In a fifth embodiment, a data analysis device 1 including a normality calculation unit 56 that calculates the normality of the occurrence interval between two events will be described.
[0115] FIG. 21 is a configuration diagram showing the analysis processing unit 12 of the data analysis apparatus 1 according to the fifth embodiment. In FIG. 21, the same reference numerals as those in FIGS. 5, 17, and 19 indicate the same or corresponding parts, and therefore detailed description thereof will be omitted. FIG. 22 is a hardware configuration diagram showing the hardware of the analysis processing unit 12. In FIG. 22, the same reference numerals as those in FIGS. 6, 18, and 20 indicate the same or corresponding parts, and therefore detailed description thereof will be omitted. The analysis processing unit 12 shown in FIG. 21 includes a second time-series data acquisition unit 51, a second transaction identification unit 52, a determination unit 53, and a normality calculation unit 56.
[0116] The normality calculation unit 56 is realized, for example, by the normality calculation circuit 66 shown in FIG. 22 . If the determination unit 53 determines that the matching pattern selected by the matching pattern selection unit 23 is included in the transactions for each period identified by the second transaction identification unit 52, the normality calculation unit 56 calculates the normality of the occurrence interval between two events other than the matching pattern among the transactions including the matching pattern. Furthermore, when a transaction including one event is different from a transaction including the other event, the normality calculation unit 56 calculates the normality shown below. The normality calculated by the normality calculation unit 56 is the normality of the occurrence interval between an event different from the one event among transactions including the one event, and an event different from the other event among transactions including the other event.
[0117] The analysis processing unit 12 shown in Fig. 21 is obtained by applying a normality calculation unit 56 to the analysis processing unit 12 shown in Fig. 5. However, this is merely an example, and the normality calculation unit 56 may be applied to the analysis processing unit 12 shown in Fig. 17 or the analysis processing unit 12 shown in Fig. 19.
[0118] 21 assumes that each of the components of the analysis processing unit 12, that is, the second time-series data acquisition unit 51, the second transaction identification unit 52, the determination unit 53, and the normality calculation unit 56, is realized by dedicated hardware as shown in Fig. 22. That is, it assumes that the analysis processing unit 12 is realized by a time-series data acquisition circuit 61, a transaction identification circuit 62, a determination circuit 63, and a normality calculation circuit 66. Each of the time-series data acquisition circuit 61, the transaction identification circuit 62, the determination circuit 63, and the normality calculation circuit 66 corresponds to, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof.
[0119] The components of the analysis processing unit 12 are not limited to those realized by dedicated hardware, and the analysis processing unit 12 may be realized by software, firmware, or a combination of software and firmware. When the analysis processing unit 12 is realized by software, firmware, or the like, programs for causing a computer to execute the respective processing procedures of the second time-series data acquisition unit 51, the second transaction identification unit 52, the determination unit 53, and the normality calculation unit 56 are stored in a memory 71 shown in Fig. 7. Then, a processor 72 shown in Fig. 7 executes the programs stored in the memory 71.
[0120] 22 shows an example in which each of the components of the analysis processing unit 12 is realized by dedicated hardware, while Fig. 7 shows an example in which the analysis processing unit 12 is realized by software, firmware, etc. However, this is merely an example, and some of the components in the analysis processing unit 12 may be realized by dedicated hardware, and the remaining components may be realized by software, firmware, etc.
[0121] Next, the operation of the analysis processing unit 12 shown in Fig. 21 will be described. Except for the normality calculation unit 56, the analysis processing unit 12 is the same as that shown in Fig. 5. Therefore, only the operation of the normality calculation unit 56 will be described here.
[0122] The normality calculation unit 56 obtains the judgment result from the judgment unit 53. The normality calculation unit 56 checks whether the judgment result of the judgment unit 53 indicates that the matching pattern selected by the matching pattern selection unit 23 is included in the transactions for each period identified by the second transaction identification unit 52. When the normality calculation unit 56 confirms that the matching pattern is included in the transactions for each period, it calculates the normality of the occurrence interval between two events other than the matching pattern among the transactions that include the matching pattern.
[0123] Specifically, the process is as follows. Among the transactions for each period identified by the second transaction identifying unit 52, assume that the transactions containing the matching pattern are, for example, {L3, L5, L4, L1}. In this example, the transactions {L3, L5, L4, L1} contain Pattern 1, which is a matching pattern. Furthermore, the transactions {L3, L5, L4, L1} contain two events L4 and L1 other than Pattern 1. The normality calculation unit 56 calculates the normality of the occurrence interval between the events L4 and L1. Specifically, the normality calculation unit 56 assumes that the statistical distribution indicating the statistics of the time difference between the events L4 and L1 is a normal distribution. The normality calculation unit 56 then determines that the probability of the events L4 and L1 occurring in the normal distribution is the normality of the occurrence interval between the events L4 and L1. The statistical distribution indicating the statistical quantity of the time difference between the event L4 and the event L1 may be stored in the internal memory of the normality calculation unit 56, or may be provided from outside the analysis processing unit 12. Furthermore, the statistical distribution may be calculated based on the occurrence time indicated by the first time series data or the occurrence time indicated by the second time series data.
[0124] When a transaction including one event is different from a transaction including the other event, the normality calculation unit 56 checks whether the determination result of the determination unit 53 indicates that the occurrence interval between one event and the other event is within the normal range of occurrence intervals estimated by the normal range estimation unit 24. If the normality calculation unit 56 confirms the above, it calculates the normality of the occurrence interval between an event different from the one event in a transaction including the one event, and an event different from the other event in a transaction including the other event.
[0125] Specifically, it is as follows: For example, when the matching pattern is Pattern 1, suppose that event L3, which is one of the events included in Pattern 1, is included in, for example, transaction {L3, L2, L4}, and event L5, which is the other of the events included in Pattern 1, is included in, for example, transaction {L1, L5}. It is also assumed that the occurrence interval between event L3 included in transaction {L3, L2, L4} and event L5 included in transaction {L1, L5} is within the normal range of occurrence intervals between events L3 and L5.
[0126] In this example, the normality calculation unit 56 calculates the normality of the occurrence interval between event L2 included in transaction {L3, L2, L4} and event L1 included in transaction {L1, L5}. That is, the normality calculation unit 56 assumes that the statistical distribution indicating the statistics of the time difference between event L2 and event L1 is a normal distribution. The normality calculation unit 56 then determines that the probability of the occurrence of the corresponding occurrence interval between event L2 and event L1 indicated by the normal distribution is the normality. The statistical distribution indicating the statistics of the time difference between event L2 and event L1 may be stored in the internal memory of the normality calculation unit 56 or may be provided from outside the analysis processing unit 12. Furthermore, the statistical distribution may be calculated based on the occurrence times indicated by the first time series data or the occurrence times indicated by the second time series data.
[0127] The normality calculation unit 56 also calculates the normality of the occurrence interval between event L4 included in transaction {L3, L2, L4} and event L1 included in transaction {L1, L5}. That is, the normality calculation unit 56 assumes that the statistical distribution indicating the statistics of the time difference between event L4 and event L1 is a normal distribution. The normality calculation unit 56 then determines that the probability of the occurrence of the corresponding occurrence interval between event L4 and event L1 indicated by the normal distribution is the normality.
[0128] The normality calculation unit 56 outputs the calculated normality to, for example, an external device, which enables the external device to quantitatively analyze the occurrence interval between two events.
[0129] In addition, the present disclosure allows for free combination of the respective embodiments, modification of any of the components of the respective embodiments, or omission of any of the components of the respective embodiments.
[0130] The present disclosure makes it possible to identify, as a matching pattern, a combination of two or more events that may have arisen from the same origin among multiple events that occur in a system, and is suitable for use in data analysis devices and data analysis methods.
[0131] REFERENCE SIGNS LIST 1 Data analysis device, 2 Matching pattern storage unit, 11 Matching pattern extraction unit, 12 Analysis processing unit, 21 First time series data acquisition unit, 22 First transaction identification unit, 23 Matching pattern selection unit, 24 Normal range estimation unit, 25 Designation reception unit, 26 Matching pattern selection unit, 31 Time series data acquisition circuit, 32 Transaction identification circuit, 33 Matching pattern selection circuit, 34 Normal range estimation circuit, 35 Designation reception circuit, 36 Matching pattern selection circuit, 41 Memory, 42 Processor, 51 Second time series data acquisition unit, 52 Second transaction identification unit, 53 Determination unit, 54 Information output unit, 55 Certainty factor calculation unit, 56 Normality calculation unit, 61 Time series data acquisition circuit, 62 Transaction identification circuit, 63 Determination circuit, 64 Information output circuit, 65 Certainty factor calculation circuit, 66 Normality calculation circuit, 71 Memory, 72 Processor.
Claims
1. A data analysis device comprising: a first time series data acquisition unit that acquires first time series data indicating the occurrence time of each of a plurality of events occurring in a system in which a plurality of events occur during operation when the system is normal; a first transaction identification unit that identifies a transaction, which is a collection of events that occurred in each of a plurality of different time periods among the plurality of events occurring in the system, based on the occurrence time indicated by the first time series data acquired by the first time series data acquisition unit; and a matching pattern selection unit that calculates a co-occurrence probability, which is the probability that the two or more events co-occur, for each combination of two or more events included in the plurality of events occurring in the system, and selects, from the transactions for each period identified by the first transaction identification unit, a combination of two or more events that may have been caused by the same origin, as a matching pattern, based on the co-occurrence probability.
2. The data analysis device according to claim 1, characterized in that the first transaction identification unit identifies a transaction that is a collection of events that occurred in each of a plurality of different periods that partially overlap with other periods, among a plurality of events that occurred in the system, based on the occurrence time indicated by the first time series data acquired by the first time series data acquisition unit.
3. The data analysis device according to claim 1, further comprising a normal range estimation unit that estimates the normal range of occurrence intervals between two or more events included in the match pattern selected by the match pattern selection unit based on the occurrence time indicated by the first time series data acquired by the first time series data acquisition unit.
4. The data analysis device according to claim 3, characterized in that the normal range estimation unit calculates the occurrence interval between two or more events included in the match pattern selected by the match pattern selection unit as the occurrence interval of the normal range between two or more events included in the match pattern based on the occurrence time indicated by the first time series data acquired by the first time series data acquisition unit.
5. The data analysis device of claim 3, characterized in that when multiple identical match patterns are selected by the match pattern selection unit, the normal range estimation unit calculates the occurrence interval between two or more events contained in each of the multiple selected match patterns based on the occurrence time indicated by the first time series data acquired by the first time series data acquisition unit, and calculates statistics of the occurrence interval between two or more events contained in each of the multiple selected match patterns as the occurrence interval of the normal range.
6. A data analysis device as described in claim 1, further comprising a specification receiving unit that receives specification of weightings for two or more events, and the matching pattern selection unit selects, as a matching pattern, a combination of two or more events that may have arisen from the same origin from among the transactions for each period identified by the first transaction identification unit, based on the co-occurrence probability and the weightings specified and accepted by the specification receiving unit.
7. The data analysis device according to claim 1, further comprising: a second time series data acquisition unit that acquires second time series data indicating the occurrence time of each of a plurality of events occurring in the system when determining whether or not there is an abnormality in the system; a second transaction identification unit that identifies a transaction, which is a collection of events that occurred in each of a plurality of different time periods, among the plurality of events occurring in the system when determining whether or not there is an abnormality in the system, based on the occurrence time indicated by the second time series data acquired by the second time series data acquisition unit; and a determination unit that determines whether the matching pattern selected by the matching pattern selection unit is included in the transactions for each of the periods identified by the second transaction identification unit.
8. The data analysis device according to claim 7, characterized in that the second transaction identification unit, when determining whether or not there is an abnormality in the system, identifies a transaction that is a collection of events that occurred in each of a plurality of different periods that partially overlap with other periods among a plurality of events that occurred in the system based on the occurrence time indicated by the second time series data acquired by the second time series data acquisition unit.
9. The data analysis device according to claim 3, further comprising: a second time series data acquisition unit that acquires second time series data indicating the occurrence time of each of a plurality of events occurring in the system when an abnormality in the system is determined; a second transaction identification unit that identifies a transaction which is a collection of events which occurred in each of a plurality of different time periods among the plurality of events occurring in the system when an abnormality in the system is determined based on the occurrence time indicated by the second time series data acquired by the second time series data acquisition unit; and a determination unit that determines whether or not the matching pattern selected by the matching pattern selection unit is included in the transactions of each period identified by the second transaction identification unit, wherein the determination unit is configured to determine whether or not the matching pattern selected by the matching pattern selection unit is included in the transactions of each period identified by the second transaction identification unit, and 10. The data analysis device according to claim 9, characterized in that the second transaction identification unit, when determining whether or not there is an abnormality in the system, identifies a transaction that is a collection of events that occurred in each of a plurality of different periods that partially overlap with other periods among a plurality of events that occurred in the system based on the occurrence time indicated by the second time series data acquired by the second time series data acquisition unit.
11. The data analysis device according to claim 9, further comprising an information output unit which outputs information indicating whether or not the occurrence interval between the one event and the other event is within the normal range of occurrence intervals estimated by the normal range estimation unit when only one of the events included in the matching pattern is included in the transactions of each period identified by the second transaction identification unit, and the other event included in the matching pattern is included in a transaction of a different period from the transaction including the one event.
12. The data analysis device according to claim 9, further comprising an information output unit which outputs information indicating whether or not the occurrence interval between two events other than the matching pattern, among transactions for each period identified by the second transaction identification unit and which contain the matching pattern selected by the matching pattern selection unit, is within a normal range of occurrence intervals.
13. The data analysis device according to claim 9, further comprising a certainty calculation unit which calculates a certainty that the other event is missing if the judgment unit determines that the occurrence interval between the one event and the other event is not within the normal range of occurrence intervals estimated by the normal range estimation unit.
14. The data analysis device of claim 9, further comprising a normality calculation unit which, if the judgment unit determines that the matching pattern selected by the matching pattern selection unit is included in the transactions of each period identified by the second transaction identification unit, calculates the normality of the occurrence interval between two events other than the matching pattern among transactions that include the matching pattern.
15. The data analysis device according to claim 9, further comprising a normality calculation unit which, if the judgment unit determines that the occurrence interval between the one event and the other event is within the normal range of occurrence intervals estimated by the normal range estimation unit, calculates the normality of the occurrence interval between an event different from the one event in a transaction containing the one event, and an event different from the other event in a transaction containing the other event.
16. The data analysis device according to claim 1, characterized in that the first time series data acquisition unit acquires, instead of the first time series data, character string data indicating each of the time series events that occurred in the system when the system is normal, or numerical data indicating each of the time series events that occurred in the system, generates the first time series data from the character string data or the numerical data, and outputs the first time series data to the first transaction identification unit.
17. The data analysis device according to claim 7, characterized in that the second time series data acquisition unit acquires, instead of the second time series data, character string data indicating each of the time series events that occurred in the system or numerical data indicating each of the time series events that occurred in the system when an abnormality in the system is determined, generates the second time series data from the character string data or the numerical data, and outputs the second time series data to the second transaction identification unit.
18. A data analysis method in which a first time series data acquisition unit acquires first time series data indicating the occurrence time of each of a plurality of events occurring in a system in which a plurality of events occur during operation when the system is normal; a first transaction identification unit identifies a transaction, which is a collection of events that occurred in each of a plurality of different time periods, among the plurality of events occurring in the system, based on the occurrence time indicated by the first time series data acquired by the first time series data acquisition unit; a matching pattern selection unit calculates a co-occurrence probability, which is the probability that the two or more events co-occur, for each combination of two or more events included in the plurality of events occurring in the system, and selects, from the transactions for each period identified by the first transaction identification unit, a combination of two or more events that may have been caused by the same origin, as a matching pattern, based on the co-occurrence probability.
Citation Information
Patent Citations
Filter rule creation device, method and program for creating filter rule
JP2016076075A
Information processing device, information processing method, recording medium, information processing system
WO2021199160A1
