Time series data processing method, time series data processing device, time series data processing system, and recording medium
By comparing feature amounts and positional relationships within specific periods of time-series data, the method effectively detects specific states like anomalies, addressing the challenges of period length in existing technologies.
Patent Information
- Application Number
- JP2022533018
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-07-03
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2040-07-03
AI Technical Summary
Existing methods struggle to accurately detect specific situations from time-series data due to issues with the length of feature waveform periods, leading to difficulties in preparing learning data for various partial time series data, or increasing false detections when periods are too short.
A method that compares feature amounts and positional relationships between specific periods in time-series data sets, using a comparison means to detect specific states by analyzing segments of data with defined positional relationships.
This approach allows for accurate detection of specific conditions, such as anomalies, even when the segment time width is short, reducing false positives and improving detection accuracy.
Smart Images

Figure 0007533582000005 
Figure 0007533582000011 
Figure 0007533582000013
Abstract
Description
[Technical field]
[0001] The present invention relates to a time series data processing method, a time series data processing device, a time series data processing system, and a recording medium. [Background technology]
[0002] There are industrial plants that manufacture energy (electricity, gas, clean water, etc.), petrochemical products (crude oil, gasoline, plastics, etc.), food, pharmaceuticals, etc., and chemical plants, such as factory facilities and equipment that produce chemical products. In these plants and facilities and large machines such as information processing systems, time-series data, which are measurement values from various sensors, are analyzed, and the occurrence of an abnormal state is detected and output. For example, in Patent Document 1, feature quantities of multiple characteristic waveforms are used to detect an abnormality from time-series data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-205994 A Summary of the Invention [Problem to be solved by the invention]
[0004] Here, when detecting an anomaly in time series data from a feature waveform as described above, the length of the time width of the feature waveform, that is, the length of the period of the partial time series data from which the feature amount is extracted, becomes an issue. For example, if the period is long, it is difficult to prepare learning data that covers the features of various partial time series data to be detected. On the other hand, if the period is short, there is a problem that the variation in the features of the partial time series data is small, and it will match a large number of partial time series data, resulting in an increase in false positives. As a result, there is a problem that it is difficult to appropriately detect a specific situation such as an anomaly from time series data.
[0005] Therefore, an object of the present invention is to provide a time series data processing method that can solve the above-mentioned problem of the difficulty in appropriately detecting a specific situation from time series data. [Means for solving the problem]
[0006] A time series data processing method according to one aspect of the present invention includes the steps of: comparing respective feature amounts of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature amounts of partial time series data in a plurality of periods located in correspondence with a positional relationship between the plurality of specific periods in the second time series data; detecting a specific state in the second time-series data based on a result of the comparison; The structure is as follows.
[0007] Moreover, a time series data processing device according to one aspect of the present invention comprises: a comparison means for comparing respective feature values of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature values of partial time series data in a plurality of periods located corresponding to the positional relationship between the plurality of specific periods in the second time series data; a detection means for detecting a specific state in the second time-series data based on a result of the comparison; Equipped with The structure is as follows.
[0008] In addition, a program according to one aspect of the present invention includes: In the information processing device, a comparison means for comparing respective feature values of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature values of partial time series data in a plurality of periods located corresponding to the positional relationship between the plurality of specific periods in the second time series data; a detection means for detecting a specific state in the second time-series data based on a result of the comparison; To achieve this, The structure is as follows. Effect of the Invention
[0009] With the above-described configuration, the present invention can appropriately detect a specific situation from time-series data. [Brief description of the drawings]
[0010] [Figure 1] 1 is a block diagram showing a configuration of a time-series data processing device according to a first embodiment of the present invention. [Diagram 2] 2 is a diagram showing how time series data is processed by the time series data processing device disclosed in FIG. 1. [Diagram 3] 2 is a diagram showing how time series data is processed by the time series data processing device disclosed in FIG. 1. [Figure 4] 2 is a diagram showing how time series data is processed by the time series data processing device disclosed in FIG. 1. [Diagram 5] 2 is a diagram showing how time series data is processed by the time series data processing device disclosed in FIG. 1. [Figure 6] 2 is a diagram showing how time series data is processed by the time series data processing device disclosed in FIG. 1. [Figure 7] 2 is a diagram showing how time series data is processed by the time series data processing device disclosed in FIG. 1. [Figure 8] 2 is a diagram showing how time series data is processed by the time series data processing device disclosed in FIG. 1. [Figure 9] 2 is a flowchart showing the operation of the time-series data processing device disclosed in FIG. 1. [Figure 10] 2 is a flowchart showing the operation of the time-series data processing device disclosed in FIG. 1. [Figure 11] FIG. 11 is a block diagram showing a hardware configuration of a time-series data processing device according to a second embodiment of the present invention. [Figure 12] FIG. 11 is a block diagram showing a configuration of a time-series data processing device according to a second embodiment of the present invention. [Figure 13] 10 is a flowchart showing the operation of a time series data processing device according to a second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] <Embodiment 1> A first embodiment of the present invention will be described with reference to Fig. 1 to Fig. 10. Fig. 1 is a diagram for explaining the configuration of a time series data processing device, and Fig. 2 to Fig. 10 are diagrams for explaining the processing operation of the time series data processing device.
[0012] [composition] The time series data processing device 10 in the present invention is connected to a monitoring target P such as a plant. The time series data processing device 10 acquires and analyzes the measured values of at least one or more data items of the monitoring target P, and monitors the state of the monitoring target P based on the analysis result. For example, the monitoring target P is a plant such as a manufacturing factory or a processing facility, and the measured values of each data item are made up of values of multiple types of data items such as temperature, pressure, flow rate, power consumption value, and raw material supply amount and remaining amount in the plant. In this embodiment, the state of the monitoring target P to be monitored is a state of the monitoring target P that has been determined to be abnormal in advance, and an abnormal state is detected from the feature value of the measured value of each data item. However, the state of the monitoring target P to be monitored is not necessarily limited to an abnormal state, and may be a specific state that is not abnormal but is set in advance. The specific state that is not abnormal but is set in advance is, for example, a sign of abnormality.
[0013] The monitoring target P in the present invention is not limited to a plant, and may be any equipment such as an information processing system. For example, when the monitoring target P is an information processing system, the CPU (Central Processing Unit) usage rate, memory usage rate, disk access frequency, number of input / output packets, input / output packet rate, power consumption value, etc. of each information processing device such as a terminal or server constituting the information processing system may be measured as the measurement value of each data item, and the state of the information processing system may be monitored by analyzing such measurement values.
[0014] The time series data processing device 10 is composed of one or more information processing devices each having a calculation device and a storage device. As shown in FIG. 1, the time series data processing device 10 includes a measurement unit 11, a learning unit 12, an anomaly detection unit 13, and an output unit 14. The functions of the measurement unit 11, the learning unit 12, the anomaly detection unit 13, and the output unit 14 can be realized by the calculation device executing a program for realizing each function stored in the storage device. The time series data processing device 10 also includes a measurement data storage unit 16, a learning data storage unit 17, and a detection data storage unit 18. The measurement data storage unit 16, the learning data storage unit 17, and the detection data storage unit 18 are each composed of a storage device. Each component will be described in detail below.
[0015] The measurement unit 11 acquires the measurement values of each element measured by various sensors installed on the monitoring target P as time series data at a predetermined time interval and stores the measurement values in the measurement data storage unit 16. At this time, since there are multiple types of elements to be measured, the measurement unit 11 acquires a time series data set which is a collection of time series data A, B, C, and D of multiple elements as shown in FIG. 2. For example, in this embodiment, the measurement unit 11 acquires the measurement values of each element at one-minute intervals and records them as time series data, but the measurement values of each element may be acquired at any time interval. The acquisition and storage of the time series data set by the measurement unit 11 is performed continuously or at predetermined time intervals, and the acquired time series data set is a time series data set for learning (first time series data) used to generate a model representing an abnormal state of the monitoring target P, as described later, or a time series data set for abnormality detection (second time series data) used when monitoring the state of the monitoring target P. However, the time series data acquired by the measurement unit 11 is not necessarily limited to being composed of the measurement values of multiple elements, and may be the measurement value of one element.
[0016] The learning unit 12 learns based on a learning time-series data set (first time-series data) measured when the monitoring target P was determined to be in an abnormal state in the past, and information indicating the type of the determined abnormal state, which are stored in the measurement data storage unit 16. In particular, the learning unit 12 calculates a feature amount of the time-series data set in a specific abnormal state, and generates coded data indicating the feature amount as an abnormal state model indicating the specific abnormal state. Then, the learning unit 12 stores a model consisting of the generated coded data in the learning data storage unit 17 together with information indicating the specific abnormal state.
[0017] Here, the specific contents of the learning process by the learning unit 12 will be described. The learning unit 12 first inputs a time series data set measured from the monitoring target P, and extracts a segment set consisting of multiple segments (multiple specific periods) from among the segments, which are periods obtained by dividing the time series data set around the time when a specific abnormal state occurs on the time axis by a predetermined time. At this time, the multiple segments constituting the segment set consist of one segment (target period) and one or more other segments (different periods) that have a positional relationship in which the one segment is located at a specific position set in advance.
[0018] As an example, a case where a segment set is extracted in the case of the time series data set shown in FIG. 2 will be described. In this time series data set, when time t is a specific abnormal state, the learning unit 12 first extracts a predetermined period including time t as one "target segment" indicated by a frame surrounded by a solid line. In addition, the learning unit 12 extracts each of the predetermined periods including other times t-1 and t+1 before and after the target segment on the time axis as "peripheral segments" indicated by frames surrounded by dotted lines. That is, in the example of FIG. 2, the peripheral segments are two predetermined periods adjacent to each other on the time axis before and after the target segment. Note that both the target segment and the peripheral segments are periods of the same time width, for example, 10 minutes.
[0019] Then, the learning unit 12 calculates the feature amount of the partial time series data included in each segment constituting the segment set extracted as described above. In the example of FIG. 2, the feature amount f t and the feature value f of each partial time series data included in each of the two surrounding segments t-1 ,f t+1 and are calculated. At this time, the learning unit 12 calculates the feature amount of the partial time series data in each segment from, for example, the measurement value of each element with respect to the time in the segment in the partial time series data in each segment and the correlation between the measurement values of each element. Then, the learning unit 12 stores the feature amount of each segment in the learning data storage unit 17 as an abnormal state model as coded data represented by a binary code such as 0 and 1 in association with information representing a specific abnormal state. At this time, the learning unit 12 may also store information representing the positional relationship between each segment, that is, the positional relationship of the surrounding segments with respect to the target segment. In the example of FIG. 2, positional relationship information representing that the surrounding segments are located adjacent to each other on the time axis before and after the target segment constituting the segment set is stored. Note that the method of calculating the feature amount of the partial time series data in each segment is not limited to the above-mentioned method, and any method may be used. Note that, although the above describes the case of learning the abnormal state of the monitoring target P, the learning unit 12 may also learn the normal state of the monitoring target P. In this case, the learning unit 12 generates a normal state model for the normal state of the monitoring target P based on the time-series data of each element when the monitoring target P is in a normal state.
[0020] The anomaly detection unit 13 (comparison means, detection means) reads out a time series data set (second time series data) for anomaly detection of the monitoring target P measured by the measurement unit 11 or stored in the measurement data storage unit 16, and detects a specific abnormal state from the time series data set. At this time, the anomaly detection unit 13 reads out each feature amount of the target segment and the surrounding segments described above as an abnormal state model stored in the learning data storage unit 17, and compares each feature amount with each feature amount of each partial time series data set for a plurality of periods in the time series data set for anomaly detection, thereby detecting a specific abnormal state.
[0021] Specifically, the anomaly detection unit 13 first extracts a comparison segment set consisting of a plurality of segments located in correspondence with the positional relationship on the time axis of the segment set consisting of the target segment and the peripheral segments from the time series data set for anomaly detection. For example, the anomaly detection unit 13 first extracts a segment having a time width of, for example, 10 minutes at any position on the time axis of the time series data set for anomaly detection as a "comparison target segment" corresponding to the target segment. In addition, the anomaly detection unit 13 extracts each segment having a time width of, for example, 10 minutes located adjacent to the comparison target segment on the time axis before and after the comparison target segment as a "comparison peripheral segment" corresponding to the peripheral segment. Here, the upper diagram of FIG. 3 shows the time series data set for learning, and the lower diagram of FIG. 3 shows the time series data set for anomaly detection. As shown in this figure, in the time series data set for anomaly detection, the anomaly detection unit 13 first extracts a specified period including time T as a "comparison target segment" indicated by a frame surrounded by a solid line, and then extracts each of the specified periods including adjacent times T-1 and T+1 before and after it as "comparison surrounding segments" indicated by frames surrounded by dotted lines, and these are regarded as a comparison segment set.
[0022] Then, the anomaly detection unit 13 calculates the feature amounts of the partial time series data in the comparison segment set in the time series data set for anomaly detection, that is, the feature amounts of the comparison target segment and the comparison target surrounding segment set, in the same manner as the feature amounts calculated for the target segment and the surrounding segments in the time series data set for learning described above. Then, the anomaly detection unit 13 compares each feature amount of each segment in the time series data set for learning with each feature amount of each segment in the time series data set for anomaly detection. At this time, as shown by the arrows in FIG. 3, the anomaly detection unit 13 compares the feature amounts of the segments whose positional relationship on the time axis of each time series data set corresponds to each other. That is, in the example of FIG. 3, the feature amount of the target segment (time t) in the time series data set for learning is compared with the feature amount of the comparison target segment (time T) in the time series data for anomaly detection. Also, the feature amount of the surrounding segment (time t-1) located adjacent to and before the target segment in the time series data set for learning on the time axis is compared with the feature amount of the comparison target surrounding segment (time T-1) located adjacent to and before the comparison target segment in the time series data for anomaly detection. Furthermore, the feature values of a neighboring segment (time t+1) located adjacent to and after the target segment on the time axis in the learning time series data set are compared with the feature values of a comparison neighboring segment (time T+1) located adjacent to and after the comparison target segment in the time series data for anomaly detection.
[0023] At this time, when comparing feature amounts between segments as described above, the anomaly detection unit 13 calculates the similarity between the feature amounts. As an example, when the feature amounts are expressed as coded data such as binary vectors, the anomaly detection unit 13 calculates the distance between the binary vectors and calculates the similarity between the feature amounts from the distance. Here, in the example of FIG. 3, the similarity S t is calculated, and the similarity S t-1 ,S t+1 is to be calculated.
[0024] Furthermore, the anomaly detection unit 13 compares the feature amounts of each segment as described above, that is, calculates the similarity S t ,S t-1 ,S t+1 Based on the calculated similarity scores S t ,S t-1 ,S t+1 The anomaly detection unit 13 calculates a score by summing up the similarities S by a preset summation method, and detects an abnormal state based on the score that is the summation result. t ,S t-1 ,S t+1 The anomaly detection unit 13 calculates the average similarity by adding up the similarity scores S and dividing the sum by the number of segments, and sets the average similarity score as the score. t are added as they are, and the similarity S t-1 ,S t+1 The weight w is lowered and added, and the average value is calculated to obtain the score. For example, in the example of Figure 3, the similarity S t = 0.9, w(t) = 1.0, and the similarity of each of the surrounding segments is S t-1 =0.85, S t+1 = 0.70, then the weights w(t-1) = w(t+1) = 0.9. If the number of segments is n, the score can be calculated as "Score = ΣS(t) * w(t) / n", and is calculated as "(0.9 * 1.0 + 0.85 * 0.9 + 0.70 * 0.9) / 3".
[0025] The weight value applied to the similarity of the surrounding segment as described above may be set according to the position of the surrounding segment relative to the target segment. For example, the weight value applied to the similarity of the surrounding segment may be set according to whether the surrounding segment is located before or after the target segment on the time axis, or, as described below, if the surrounding segment is not located adjacent to the target segment, may be set according to the distance from the target segment to the surrounding segment. As an example, the weight value applied to the similarity of the surrounding segment may be set lower as the distance from the target segment to the surrounding segment increases.
[0026] Then, the anomaly detection unit 13 changes the position of the comparison segment set on the time series data set for anomaly detection and repeats the above-mentioned anomaly detection process. For example, the anomaly detection unit 13 first calculates the score for the comparison target segment set shown in FIG. 3, and then calculates the score for the comparison segment set at a different time axis position by setting the segment located at time T+1 as the comparison target segment and the adjacent segments before and after it as the comparison peripheral segments as shown in FIG. 4. After that, the anomaly detection unit 13 further calculates the score for the comparison segment set at a different time axis position by setting the segment located at time T+2 as the comparison target segment and the adjacent segments before and after it as the comparison peripheral segments as shown in FIG. 5. In this way, the anomaly detection unit 13 extracts comparison segment sets at multiple time axis positions on the time series data set for anomaly detection, and compares them with the abnormal state model to calculate the score.
[0027] Then, the anomaly detection unit 13 detects whether an anomaly has occurred in the time-series data set for anomaly detection from the scores for the multiple comparison segment sets calculated as described above. For example, the anomaly detection unit 13 detects that an abnormal state has occurred when the score is equal to or greater than a preset threshold. However, the anomaly detection unit 13 may use any method to detect an anomaly from the score value.
[0028] In the above, the segment set extracted on the time series data set for learning is exemplified as consisting of one target segment and two peripheral segments located adjacent to the target segment on the time axis, respectively, before and after the target segment, but the number and positions of the peripheral segments are not limited to those described above. In other words, the peripheral segments may be any number and may be located in any positional relationship with respect to the target segment. Accordingly, the comparison segment set extracted on the time series data set for anomaly detection is also extracted in accordance with the positional relationship between the target segment and the peripheral segments in the segment set. At this time, the peripheral segments constituting the segment set may be located within a range that is preset on the time axis with respect to the target segment. In other words, the peripheral segments may be extracted within a range that is not too far away from the target segment on the time axis and is preset as the peripheral time with respect to the time of the target segment.
[0029] For example, as shown in FIG. 6(1), a segment set may be composed of one target segment at time t and surrounding segments (times t-2, t-1, t+1, t+2) that are adjacent to and located before and after the target segment on the time axis. Also, as shown in FIG. 6(2), a segment set may be composed of one target segment at time t and surrounding segments (times t-2, t-1, t+1, t+2) that are adjacent to and located only before the target segment on the time axis. Although not shown, a segment set may be composed of one target segment at time t and surrounding segments that are adjacent to and located only after the target segment on the time axis. Also, as shown in FIG. 7(1), a segment set may be composed of one target segment at time t and surrounding segments (times t-2, t+2) that are adjacent to and located before and after the target segment with a predetermined time between the segments. Also, for example, as shown in Fig. 7(2), a segment set may be composed of one target segment at time t and multiple peripheral segments (times t-2, t-4) that are arranged with a predetermined time between the segments and located only before the target segment. Although not shown, a segment set may be composed of one target segment at time t and multiple peripheral segments that are arranged with a predetermined time between the segments and located only after the target segment. When the learning unit 12 generates a normal state model of the monitoring target P, the abnormality detection unit 13 detects that the monitoring target P is in an abnormal state when it deviates from the normal state based on the normal state model.
[0030] As described above, the output unit 14 (detection means) outputs the comparison result of the feature amounts between the segments, that is, the anomaly detection result and the calculated score, to a terminal device (e.g., a portable terminal such as a smartphone, a mobile phone, or a tablet) used by a monitor (not shown). For example, when the output unit 14 performs the anomaly detection process as described above on a time-series data set for anomaly detection immediately after measurement and detects an anomaly, the output unit 14 may transmit information indicating that an anomaly has been detected to a preset terminal device operated by the monitor, or may output information indicating that an anomaly has been detected to be displayed on a monitor installed in a monitoring room.
[0031] Also, as shown in FIG. 8, the output unit 14 may output a ranking of scores when an anomaly detection process is performed on a time series data set for anomaly detection in the past. In this case, the time on the time series data set for anomaly detection at which the score was calculated, the score, and information based on the similarity calculated for each segment may be output in descending order of the score. For example, the output unit 14 displays each box corresponding to the position of each segment in the "similarity map" field, and displays the inside of each box by filling it with a color according to the similarity calculated for each corresponding segment. In the example of FIG. 8, a box corresponding to the target segment is illustrated in the center of the "similarity map" field by surrounding it with a solid line, and boxes corresponding to peripheral segments in a positional relationship set with respect to the target segment are illustrated on both sides of the box. Then, the higher the similarity calculated for each segment, the darker the color of the box corresponding to each segment is filled in and displayed. However, the output unit 14 may output information based on the similarity calculated for each segment by another method. The output unit 14 may also output the location of the observer closest to the abnormality detection location based on the location where the abnormality was detected and the location information of the terminal device carried by the observer. This makes it possible to quickly respond to the abnormality that has occurred.
[0032] [Operation] Next, the operation of the above-mentioned time series data processing device 10 will be described mainly with reference to the flowcharts of Figures 9 and 10. First, with reference to the flowchart of Figure 9, the operation when generating an abnormal state model for detecting an abnormal state of a monitoring target P will be described.
[0033] The time series data processing device 10 acquires a learning time series data set (first time series data) measured when the monitoring target P is determined to be in an abnormal state from among the time series data already measured and stored from the monitoring target P (step S1). Then, the time series data processing device 10 extracts a segment set consisting of multiple segments (multiple specific periods) from among the segments obtained by dividing the time series data set around the time when a specific abnormal state occurred on the time axis by predetermined time periods. For example, as shown in FIG. 2, the time series data processing device 10 extracts one "target segment" including time t and two "peripheral segments" including other times t-1 and t+1 before and after the target segment on the time axis, as a segment set. Then, the time series data processing device 10 calculates the feature amount f of partial time series data included in each segment. t ,f t-1 ,f t+1 are calculated respectively (step S2).
[0034] Then, the time series data processing device 10 associates the feature amount of each segment constituting the segment set with information representing a specific abnormal state and stores it as an abnormal state model (step S3). At this time, the time series data processing device 10 also stores information representing the positional relationship between each segment constituting the segment set, that is, the positional relationship of the surrounding segments with respect to the target segment. Note that the time series data processing device 10 is not limited to extracting a segment set having the positional relationship between the target segment and the surrounding segments as shown in FIG. 2 above, but may extract a segment set having the positional relationship as shown in FIG. 6 to FIG. 7.
[0035] Next, an operation for detecting an abnormal state of the monitoring target P will be described with reference to the flowchart in Fig. 10. The time series data processing device 10 acquires a measured or stored time series data set (second time series data) for detecting an abnormality of the monitoring target P (step S11). In addition, the time series data processing device 10 reads out each feature amount of the above-mentioned target segment and surrounding segments as a stored abnormal state model.
[0036] Then, the time series data processing device 10 extracts a comparison segment set consisting of a plurality of segments located in a position corresponding to the positional relationship on the time axis of the segment set consisting of the above-mentioned target segment and surrounding segments from the time series data set for anomaly detection. For example, as shown in FIG. 3, the time series data processing device 10 extracts a comparison segment set located in a positional relationship similar to that of the segment set extracted during learning in the upper diagram, centered on a predetermined time T on the time series data set for anomaly detection in the lower diagram. Then, the time series data processing device 10 calculates the feature quantities of the partial time series data sets in the "comparison target segment" at time T constituting the comparison segment set, and the "comparison surrounding segments" including other adjacent times T-1 and T+1 before and after the "comparison target segment" (step S12).
[0037] Next, the time series data processing device 10 compares each feature of each segment constituting the segment set in the learning time series data set with each feature of each segment constituting the comparison segment set in the anomaly detection time series data set. At this time, the time series data processing device 10 calculates the similarity S of the feature between the segments whose positional relationship on the time axis of each time series data set corresponds to each other, as shown by the arrows in FIG. t ,S t-1 ,S t+1 is calculated (step S13).
[0038] Next, the time series data processing device 10 calculates the similarity S for each segment as described above. t ,S t-1 ,St+1 (step S14), and judges whether or not an abnormal state, which is a specific state, occurs in the time-series data set for anomaly detection (step S15). For example, the time-series data processing device 10 calculates the similarity S according to the position of each segment. t ,S t-1 ,S t+1 The average value is calculated by weighting the data, and abnormal conditions are detected based on the score that is the result of the calculation.
[0039] When no abnormality is detected from the time series data set for abnormality detection (No in step S15), the time series data processing device 10 extracts a comparison segment set located at a different time in the time series data set. Then, as described above, the time series data processing device 10 calculates the feature amount of each segment constituting the comparison segment set (step S12), calculates the similarity with the abnormal condition model (steps S13 and S14), and judges whether an abnormal condition has occurred (step S15).
[0040] When an anomaly is detected in the time-series data set for anomaly detection from the collected scores (Yes in step S15), the time-series data processing device 10 outputs the anomaly detection (step S16). For example, the time-series data processing device 10 transmits information that an anomaly has been detected to a preset email address of a monitor, or outputs information that an anomaly has been detected to be displayed on a monitor installed in a monitoring room. The time-series data processing device 10 may output the collected results of anomaly detection so far in a ranking format, as shown in FIG. 8.
[0041] As described above, in this embodiment, a specific state such as an abnormality in time series data for anomaly detection is detected using the feature amounts of partial time series data of multiple segments (periods) on the time series data measured from the monitoring target P. In this way, since a specific state is detected using a set of feature amounts of multiple segments, even if the time width of a segment is set to be short, it is possible to prevent matching with a large number of partial time series data, and it is possible to appropriately detect a specific situation such as an abnormality from the time series data.
[0042] <Embodiment 2> Next, a second embodiment of the present invention will be described with reference to Fig. 11 to Fig. 13. Fig. 11 to Fig. 12 are block diagrams showing the configuration of a time series data processing device in the second embodiment, and Fig. 13 is a flowchart showing the operation of the time series data processing device. Note that this embodiment shows an outline of the configuration of the time series data processing device and the time series data processing method described in the above-mentioned embodiments.
[0043] First, the hardware configuration of the time series data processing device 100 in this embodiment will be described with reference to Fig. 11. The time series data processing device 100 is configured as a general information processing device, and is equipped with the following hardware configuration as an example. ·CPU(Central Processing Unit)101(Arithmetic unit) ROM (Read Only Memory) 102 (storage device) RAM (Random Access Memory) 103 (storage device) · Programs 104 loaded into RAM 103 A storage device 105 for storing a program group 104 A drive device 106 that reads and writes data from a storage medium 110 external to the information processing device A communication interface 107 for connecting to a communication network 111 outside the information processing device Input / output interface 108 for inputting and outputting data Bus 109 connecting each component
[0044] The time-series data processing device 100 can be equipped with the comparison means 121 and the detection means 122 shown in Fig. 12 by the CPU 101 acquiring the program group 104 and executing it. The program group 104 is stored in the storage device 105 or the ROM 102 in advance, for example, and the CPU 101 loads the program group 104 into the RAM 103 and executes it as necessary. The program group 104 may be supplied to the CPU 101 via the communication network 111, or may be stored in the storage medium 110 in advance, and the drive device 106 may read out the program and supply it to the CPU 101. However, the comparison means 121 and the detection means 122 described above may be constructed of dedicated electronic circuits for realizing such means.
[0045] 11 shows an example of the hardware configuration of the information processing device which is the time-series data processing device 100, and the hardware configuration of the information processing device is not limited to the above-mentioned case. For example, the information processing device may be configured with a part of the above-mentioned configuration, such as not having the drive device 106.
[0046] The time series data processing device 100 executes the time series data processing method shown in the flowchart of FIG. 13 by the functions of the comparison means 121 and the detection means 122 constructed by the program as described above.
[0047] As shown in FIG. 13, the time series data processing device 100 A feature amount of each of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data is compared with a feature amount of each of partial time series data in a plurality of periods located in correspondence with a positional relationship between the plurality of specific periods in the second time series data (step S101); Detecting a specific state in the second time-series data based on a result of the comparison (step S102); The following process is executed.
[0048] With the above-described configuration, the present invention detects a specific state, such as an anomaly, in time series data for anomaly detection using feature amounts of partial time series data of multiple periods on the time series data. In this way, since a specific state is detected using a set of feature amounts of multiple periods, even if the time width of the period is set to be short, it is possible to prevent matching with a large number of partial time series data, and it is possible to appropriately detect a specific situation, such as an anomaly, from the time series data.
[0049] The above-mentioned program can be stored and supplied to a computer using various types of non-transitory computer readable media. The non-transitory computer readable medium includes various types of tangible storage media. Examples of the non-transitory computer readable medium include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may also be supplied to a computer by various types of transitory computer readable media. Examples of the transitory computer readable medium include electric signals, optical signals, and electromagnetic waves. The transitory computer readable medium can supply the program to a computer via a wired communication path such as an electric wire and an optical fiber, or via a wireless communication path.
[0050] Although the present invention has been described above with reference to the above-mentioned embodiment, the present invention is not limited to the above-mentioned embodiment. Various modifications that can be understood by a person skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. In addition, at least one or more functions of the above-mentioned comparison means 121 and detection means 122 may be executed by an information processing device installed and connected anywhere on a network, that is, they may be executed by so-called cloud computing.
[0051] <Additional Notes> A part or all of the above-described embodiments can be described as follows. The following is an outline of the configurations of the time series data processing method, the time series data processing device, the time series data processing system, and the program according to the present invention. However, the present invention is not limited to the following configurations. (Appendix 1) comparing respective feature amounts of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature amounts of partial time series data in a plurality of periods located in correspondence with a positional relationship between the plurality of specific periods in the second time series data; detecting a specific state in the second time-series data based on a result of the comparison; Time series data processing methods. (Appendix 2) 2. The time series data processing method according to claim 1, comparing feature amounts of partial time series data between the plurality of specific periods of the first time series data and the plurality of periods of the second time series data, the feature amounts being between periods that correspond to each other in positional relationship on a time axis; Time series data processing methods. (Appendix 3) 3. The time series data processing method according to claim 1, further comprising: the plurality of specific periods include one target period in the first time series data and at least one other period located at a specific position, which is a preset position on a time axis with respect to the target period; comparing a feature amount of partial time series data in the target period of the first time series data with a feature amount of partial time series data in a predetermined period of the second time series data, and also comparing a feature amount of partial time series data in the at least one other period of the first time series data with a feature amount of partial time series data in at least one period of the second time series data located at the specific position with respect to the predetermined period; Time series data processing methods. (Appendix 4) 4. The time series data processing method according to claim 3, The specific position represents a position on a time axis before and / or after the target period. Time series data processing methods. (Appendix 5) 5. The time series data processing method according to claim 3, further comprising: The specific position represents a position within a preset range on a time axis for the target period. Time series data processing methods. (Appendix 6) 6. The time series data processing method according to any one of claims 3 to 5, The specific position represents a position adjacent to the target period on a time axis. Time series data processing methods. (Appendix 7) 7. The time series data processing method according to claim 3, further comprising: The specific positions represent a plurality of positions adjacent to each other on a time axis with respect to the target period. Time series data processing methods. (Appendix 8) A time series data processing method according to any one of claims 1 to 7, Calculate the similarity between the features to be compared for each period, Detecting a specific state in the second time-series data based on all the calculated similarities. Time series data processing methods. (Appendix 9) A time series data processing method according to any one of Supplementary Note 3 to 7, Calculating a similarity between the feature amounts compared for the target period and a similarity between the feature amounts compared for the different period; aggregating the similarity for the target period and the similarity for the different period using different methods, and detecting a specific state in the second time-series data based on the aggregation results. Time series data processing methods. (Appendix 10) 10. The time series data processing method according to claim 9, further comprising: and aggregating the similarity for the different period by weighting the similarity for the target period lower than the weighting of the similarity for the different period. Time series data processing methods. (Appendix 11) A time series data processing method according to any one of Supplementary Notes 1 to 10, Output the results of comparing features for each period. Time series data processing methods. (Appendix 12) a comparison means for comparing respective feature values of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature values of partial time series data in a plurality of periods located corresponding to the positional relationship between the plurality of specific periods in the second time series data; a detection means for detecting a specific state in the second time-series data based on a result of the comparison; A time series data processing device comprising: (Appendix 13) 13. The time series data processing device according to claim 12, the comparing means compares feature amounts of partial time series data between the specific periods of the first time series data and the periods of the second time series data, the feature amounts being between periods that correspond to each other in positional relationship on a time axis; Time series data processing device. (Appendix 14) 14. The time series data processing device according to claim 12, the plurality of specific periods include one target period in the first time series data and at least one other period located at a specific position, which is a preset position on a time axis with respect to the target period; the comparing means compares a feature amount of partial time series data in the target period of the first time series data with a feature amount of partial time series data in a predetermined period of the second time series data, and also compares a feature amount of partial time series data in the at least one other period of the first time series data with a feature amount of partial time series data in at least one period of the second time series data located at the specific position with respect to the predetermined period; Time series data processing device. (Appendix 14.1) 15. The time series data processing device according to claim 14, The specific position represents a position on a time axis before and / or after the target period. Time series data processing device. (Appendix 14.2) A time series data processing device according to claim 14 or 14.1, The specific position represents a position within a preset range on a time axis for the target period. Time series data processing device. (Appendix 14.3) A time series data processing device according to any one of claims 14 to 14.2, The specific position represents a position adjacent to the target period on a time axis. Time series data processing device. (Appendix 14.4) A time series data processing device according to any one of claims 14 to 14.3, The specific positions represent a plurality of positions adjacent to each other on a time axis with respect to the target period. Time series data processing device. (Appendix 15) 15. A time series data processing device according to any one of claims 12 to 14, The comparison means calculates a similarity between the feature amounts to be compared for each period, the detection means detects a specific state in the second time-series data based on all of the calculated similarities. Time series data processing device. (Appendix 16) 15. The time series data processing device according to claim 14, the comparing means calculates a similarity between the feature amounts to be compared for the target period and a similarity between the feature amounts to be compared for the different period; the detection means aggregates the similarity for the target period and the similarity for the different period using different methods, and detects a specific state in the second time-series data based on the aggregation results. Time series data processing device. (Appendix 17) 17. The time-series data processing device according to claim 16, the detection means performs aggregation by weighting the similarity for the different period lower than the similarity for the target period. Time series data processing device. (Appendix 18) 18. A time series data processing device according to any one of claims 12 to 17, The detection means outputs a result of comparing the feature amounts for each period. Time series data processing device. (Appendix 19) In the information processing device, a comparison means for comparing respective feature values of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature values of partial time series data in a plurality of periods located corresponding to the positional relationship between the plurality of specific periods in the second time series data; a detection means for detecting a specific state in the second time-series data based on a result of the comparison; A program to achieve this. (Appendix 20) a comparison means for comparing respective feature values of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature values of partial time series data in a plurality of periods located corresponding to the positional relationship between the plurality of specific periods in the second time series data; a detection means for detecting a specific state in the second time-series data based on a result of the comparison; A time series data processing system comprising: [Explanation of symbols]
[0052] 10 Time series data processing device 11 Measurement section 12 Learning Department 13 Anomaly detection section 14 Output section 16 Measurement data storage unit 17 Learning data storage unit 18 Detection data storage unit 100 Time series data processing device 101 CPU 102 ROM 103 RAM 104 Programs 105 Storage device 106 Drive device 107 Communication Interface 108 Input / Output Interface 109 Bus 110 Storage medium 111 Communication Network 121 Means of comparison 122 Detection Methods
Claims
1. comparing respective feature amounts of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature amounts of partial time series data in a plurality of periods located in correspondence with a positional relationship between the plurality of specific periods in the second time series data; detecting a specific state in the second time-series data based on a result of the comparison; A time series data processing method, comprising: the plurality of specific periods include one target period in the first time series data and at least one other period located at a specific position, which is a preset position on a time axis with respect to the target period; comparing a feature amount of partial time series data in the target period of the first time series data with a feature amount of partial time series data in a predetermined period of the second time series data, and also comparing a feature amount of partial time series data in the at least one other period of the first time series data with a feature amount of partial time series data in at least one period of the second time series data located at the specific position with respect to the predetermined period; Further, a similarity between the feature amounts compared for the target period and a similarity between the feature amounts compared for the different period are calculated; aggregating the similarity for the target period and the similarity for the different period using different methods, and detecting a specific state in the second time-series data based on the aggregation results. Time series data processing methods.
2. 2. The time series data processing method according to claim 1, comparing feature amounts of partial time series data between the plurality of specific periods of the first time series data and the plurality of periods of the second time series data, the feature amounts being between periods that correspond to each other in positional relationship on a time axis; Time series data processing methods.
3. 3. The time series data processing method according to claim 1, further comprising: Calculate the similarity between the features to be compared for each period, Detecting a specific state in the second time-series data based on all the calculated similarities. Time series data processing methods.
4. 4. A time series data processing method according to claim 1, further comprising: and aggregating the similarity for the different period by weighting the similarity for the target period lower than the weighting of the similarity for the different period. Time series data processing methods.
5. a comparison means for comparing respective feature values of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature values of partial time series data in a plurality of periods located corresponding to the positional relationship between the plurality of specific periods in the second time series data; a detection means for detecting a specific state in the second time-series data based on a result of the comparison; Equipped with the plurality of specific periods include one target period in the first time series data and at least one other period located at a specific position, which is a preset position on a time axis with respect to the target period; the comparing means compares a feature amount of partial time series data in the target period of the first time series data with a feature amount of partial time series data in a predetermined period of the second time series data, and also compares a feature amount of partial time series data in the at least one other period of the first time series data with a feature amount of partial time series data in at least one period of the second time series data located at the specific position with respect to the predetermined period; Furthermore, the comparison means calculates a similarity between the feature amounts to be compared for the target period and a similarity between the feature amounts to be compared for the different period; the detection means aggregates the similarity for the target period and the similarity for the different period using different methods, and detects a specific state in the second time-series data based on the aggregation results. Time series data processing device.
6. In the information processing device, a comparison means for comparing respective feature values of partial time series data in a plurality of specific periods having different positions on a time axis in the first time series data with respective feature values of partial time series data in a plurality of periods located corresponding to the positional relationship between the plurality of specific periods in the second time series data; a detection means for detecting a specific state in the second time-series data based on a result of the comparison; While realizing this, the plurality of specific periods include one target period in the first time series data and at least one other period located at a specific position, which is a preset position on a time axis with respect to the target period; the comparing means compares a feature amount of partial time series data in the target period of the first time series data with a feature amount of partial time series data in a predetermined period of the second time series data, and also compares a feature amount of partial time series data in the at least one other period of the first time series data with a feature amount of partial time series data in at least one period of the second time series data located at the specific position with respect to the predetermined period; Furthermore, the comparison means calculates a similarity between the feature amounts to be compared for the target period and a similarity between the feature amounts to be compared for the different period; the detection means aggregates the similarity for the target period and the similarity for the different period using different methods, and detects a specific state in the second time-series data based on the aggregation results. A program to make this happen.
Citation Information
Patent Citations
Method and apparatus for providing video-related advertisements.
JP2012513645A
Video group reconfiguration / summarizing device, video group reconfiguration / summarizing method, and video group reconfiguration / summarizing program
JP2014112280A
Time series data analysis device, time series data analysis method, and computer program
JP2018205994A
Time-series data processing device
WO2020049666A1
