Process information analysis device, process information analysis method, and program
The process information analysis device generates a bipartite graph to analyze process relationships and calculate an index value, addressing the limitations of existing technologies in detecting anomalies and estimating causes of complex failures in ICT systems.
Patent Information
- Application Number
- JP2023523840
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-26
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2041-05-26
AI Technical Summary
Existing anomaly detection and factor estimation technologies in ICT systems fail to effectively analyze the internal state of systems with complex functions, as they rely on explicit data that do not represent the detailed operation of processes, making it difficult to detect anomalies and estimate causes of complex failures.
A process information analysis device that generates a bipartite graph based on process information, including CPU usage, memory usage, and file references, to calculate an index value for detecting anomalies and estimating factors in complex failures.
The device accurately detects anomalies and estimates causes of complex failures by analyzing parent-child relationships and file reference changes, improving monitoring and factor estimation accuracy.
Smart Images

Figure 0007552895000008 
Figure 0007552895000006 
Figure 0007552895000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a process information analysis device, a process information analysis method, and a program. [Background technology]
[0002] ICT (Information and Communication Technology) systems have become important infrastructure that supports our lives and the social and economic foundations. However, because various functions operate in a connected manner, system failures tend to be difficult to detect in advance and the causes are also difficult to understand, and in some cases it can take anywhere from half a day to a day to restore the system. This means that the impact on users lasts for a long period of time, resulting in significant business losses. Therefore, technology is needed that can detect abnormalities before the failure becomes apparent and identify the causes, thereby minimizing the impact on users.
[0003] Currently, anomaly detection and cause estimation technologies are being considered from the perspective of automating responses to ICT system failures. Anomaly detection technologies for detecting the occurrence of a failure include a method of analyzing the correlation between multiple numerical data using an autoencoder (Non-Patent Document 1), and a method of expressing temporal changes in numerical data using a mathematical model and analyzing the deviation of observed values from the model (Non-Patent Document 2). Cause estimation technologies for estimating the main cause of a failure include a method of creating a causal graph showing the causal relationship between anomalies in each device and observed data and estimating the location of the anomaly (Non-Patent Document 3), a method of creating a causal graph showing the causal relationship between multiple alarms generated at the time of a failure and estimating the alarm that is the main cause (Non-Patent Document 4), and a method of extracting events from log data such as syslog, creating a causal graph showing the causal relationship between events, and analyzing it (Non-Patent Document 3).
[0004] There is also a known method of expressing the internal state of a system, i.e., process generation and file references, using a graph to detect anomalies and estimate their causes. One existing anomaly detection method using a graph is to analyze changes in the relationships between fixed vertices (Non-Patent Document 5). [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Yasuhiro Ikeda, Yusuke Nakano, Keishiro Watanabe, Keisuke Ishibashi, Ryoichi Kawahara. Deep Learning-Based Anomaly Detection Technology - DeAnoS: Deep Anomaly Surveillance, NTT Technical Journal, May 2019. [Non-Patent Document 2] J. Takeuchi and K. Yamanishi. A unifying framework for detecting outliers and change points from time series. IEEE Transactions on Knowledge and Data Engineering, 18(4):482-492, 2006. [Non-Patent Document 3] Y. Matsuo, Y. Nakano, A. Watanabe, K. Watanabe, K. Ishibashi, and K. Kawahara. Root-cause diagnosis for rare failures using Bayesian network with dynamic modification, Proc. IEEE, ICC, 2018. [Non-Patent Document 4] B. Zong, JSY Wu, AK Singh, H. Cam, J. Han, and X. Yan. Towards scalable critical alert mining. KDD '14, pages 1057- 1066, 2014. [Non-Patent Document 5] Y. Park, CE Priebe, and A. Youssef. Anomaly detection in time series of graphs using fusion of graph invariants. IEEE Journal of Selected Topics in Signal Processing, 7(1):67-75, 2013. Summary of the Invention [Problem to be solved by the invention]
[0006] In a system where various functions are operating in a linked manner, it is difficult to detect problems in advance and to understand the causes because the system's internal state has an influence. A system is realized by the operation of a group of processes (commands executed by the system). Process operations include the creation of new processes, access to other processes, and file references, so the "internal state" of a system corresponds to the parent-child relationships between processes and the reference relationships between processes and files.
[0007] Therefore, it is expected that anomaly detection and cause inference for complex failures can be achieved by analyzing the process / file relationships. However, the technologies currently under consideration use explicit data such as traffic volume, CPU usage, and logs. Although this data may be generated by the operation of a process, it does not represent the detailed operation of the process itself, and is therefore insufficient for analyzing the internal state. For this reason, existing technologies are insufficient for anomaly detection and cause inference for complex failures involving internal states.
[0008] It is necessary to focus on changes in parent-child relationships, such as vertices that are not fixed and whose number of generated processes or the number of referenced files changes over time, or processes that are caused by a certain process disappearing. However, with the conventional techniques described above, it is difficult to handle graphs with unfixed vertices, and it is also not possible to generate graphs that focus on changes in parent-child relationships.
[0009] In addition, it is necessary to determine whether an anomaly has occurred by focusing on changes in parent-child relationships, such as the disappearance of a process caused by a certain process, rather than on minute changes in the shape of the graph. This is because abnormal behavior of a process affects its child processes, causing changes in parent-child relationships. Considering these factors, existing anomaly detection methods for graphs are unable to detect anomalies or infer the causes of complex failures.
[0010] The disclosed technology aims to calculate index values for detecting anomalies or estimating the causes of complex faults. [Means for solving the problem]
[0011] The disclosed technology is a process information analysis device that includes a process information acquisition unit that acquires process information indicating information of a target process group, an inter-process relationship estimation unit that estimates a relationship between the target process group and child processes of a process included in the process group and generates a bipartite graph, and an index value calculation unit that calculates an index value based on the bipartite graph. Effect of the Invention
[0012] It is possible to calculate index values for detecting abnormalities or estimating the causes of complex faults. [Brief description of the drawings]
[0013] [Figure 1] FIG. 2 is a functional configuration diagram of a process information analysis device. [Diagram 2] FIG. 1 is a diagram illustrating an example of a bipartite graph. [Diagram 3] 13 is a flowchart showing an example of the flow of an index value calculation process. [Figure 4] FIG. 1 is a first diagram showing experimental results. [Diagram 5] FIG. 2 is a second diagram showing the experimental results. [Figure 6] FIG. 2 illustrates an example of a hardware configuration of a computer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, an embodiment of the present invention (the present embodiment) will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment.
[0015] (Outline of this embodiment) The process information analysis device according to this embodiment is a device that analyzes process information to generate a bipartite graph showing similarity relationships between processes, and calculates index values of a group of processes to be monitored based on the generated bipartite graph.
[0016] A process is a program running on an operating system (OS) of an information processing device. The process group to be monitored includes a plurality of processes.
[0017] (Functional configuration of the process information analysis device) The process information analysis device 10 includes a process information acquisition unit 11, an inter-process relationship estimation unit 12, an index value calculation unit 13, and an output unit .
[0018] The process information acquisition unit 11 acquires process information indicating information on a target process group. The process information includes information on child processes whose parent processes are the target process group. A child process is a process generated by a parent process. Since abnormal behavior of a parent process affects its child processes, the process information analysis device 10 uses the information on the child processes to monitor the parent process.
[0019] Specifically, the process information acquisition unit 11 periodically acquires information on the CPU (Central Processing Unit) usage rate and memory usage rate of a process using a ps command in a UNIX (registered trademark) OS. The process information acquisition unit 11 also executes a strace command to acquire information on file references, other process references, and child process generation of a process.
[0020] The inter-process relationship estimation unit 12 estimates the relationships between processes and generates a bipartite graph. Specifically, the inter-process relationship estimation unit 12 generates a graph at time t by using, with a time span of Δt, information by the strace command from time t to t+Δt among the process information and information by the ps command at time t.
[0021] The generated bipartite graph is a bipartite graph for vertex set V1, which is a set of processes to be monitored (parent processes), and vertex set V2, which is a set of other processes (child processes of the processes to be monitored). In addition, the weight of the edges of the bipartite graph is the similarity of the file names referenced by each process (vertex) and the sum of the number of accesses between the processes.
[0022] The similarity of referenced files is expressed by the dot product of the numerical vectors of how many times each character (0-9, a-z) appears in the paths of files referenced by each process, counting from the root directory to the nth directory.
[0023] The similarity may be calculated by other methods than those described above, for example, the number of times the same word appears, the number of times file extensions match, etc. The natural number n is set arbitrarily in advance.
[0024] The index value calculation unit 13 calculates an index value based on the generated bipartite graph. Specifically, the index value calculation unit 13 calculates an eigenvalue w t Calculate.
[0025] The index value calculation unit 13 also calculates the number of file references for each process V1 and V2. The index value calculation unit 13 also determines that a process p in V2, whose edge weight is β or more, has a strong relationship with each parent process P, and adds the number of file references for p to the number of file references for P to calculate the number of file references for each parent process. This is vectorized and expressed as u. (t,FILE) Here, β is a preset threshold value.
[0026] Furthermore, the index value calculation unit 13 obtains and vectorizes the CPU utilization rate and memory utilization rate of each parent process, and calculates them as u (t,CPU) , u (t,MEM) Let us assume that.
[0027] Then, the index value calculation unit 13 calculates the weighted sum of the calculated values as the index value at each time t.
[0028]
number
[0029]
number
[0030] 2 is a diagram showing an example of a bipartite graph. The bipartite graph generated by the inter-process relationship estimation unit 12 has edge weights that are the sum of the similarity of the file names referenced by each process (vertex) and the number of accesses between the processes.
[0031] (Operation of the process information analyzer) Next, a description will be given with reference to the drawings of the operation of the process information analysis device 10. The process information analysis device 10 starts the index value calculation process in response to a user operation or the like.
[0032] 3 is a flowchart showing an example of the flow of the index value calculation process. The process information acquisition unit 11 acquires process information (step S11). Next, the inter-process relationship estimation unit 12 calculates the similarity of the reference file for each combination of a parent process and a child process (step S12). Next, the inter-process relationship estimation unit 12 generates a bipartite graph with the entire parent process V1 and the entire child process V2 as vertices (step S13).
[0033] Next, the index value calculation unit 13 calculates the eigenvalue w of the adjacency matrix of the bipartite graph. t(step S14). Then, index value calculation unit 13 calculates the number of file references of each process (step S15). Here, for each parent process P, if there is a process p in V2 whose edge weight is β or more, index value calculation unit 13 adds the number of file references of p to the number of file references of P to calculate the number of file references of each parent process.
[0034] Then, the index value calculation unit 13 vectorizes the CPU usage rate and memory usage rate of each parent process (step S16).The index value calculation unit 13 then calculates an index value that is a weighted sum of the values calculated from step S14 to step S16 (step S17).The output unit 14 outputs information indicating the calculated index value.
[0035] (Results of demonstration experiment) On a computing server used for research, we generated the following three simulated failures in 10 processes related to Kibana, elasticsearch, nginx, and cron, and their child processes, and monitored them for about a day.
[0036] Experiment 1: Do nothing → Run a program that puts a load on the CPU for 2 hours to reproduce the problem → Stop the program (return to normal).
[0037] Experiment 2: Do nothing → Run a program that generates files at regular intervals (every minute) for 2 hours and reproduce the problem → Stop the program (return it to normal).
[0038] Experiment 3: Do nothing → Run the program that repeatedly accesses the child process for 2 hours to reproduce the failure → Stop the program (return it to normal).
[0039] FIG. 4 is a first diagram showing the results of the experiment. FIG. 4(1) shows the results of the experiment 1 quantified by the process information analysis method according to the present embodiment. FIG. 4(2) shows the results of the experiment quantified simply by the sum of the number of reference files, CPU usage rate, and memory usage rate without using a bipartite graph. In addition to the pseudo-faults, cron operation and Kibana CPU load increase occurred during the experiment. The results of the experiment show that the index value increases in the present embodiment with respect to the occurrence of the pseudo-faults, cron operation, and Kibana CPU load increase. This means that the index value of the present embodiment captures the change in the process better.
[0040] FIG. 5 is a second diagram showing the experimental results. FIG. 5(1) shows the results of experiment 2 quantified by the process information analysis method according to the present embodiment. FIG. 5(2) shows the results of experiment 3 quantified by the process information analysis method according to the present embodiment. In both cases, cron operation occurred during the experiment. In both cases, the index value according to the present embodiment increased in value for the pseudo-fault and cron operation. Therefore, it can be said that the index value according to the present embodiment is an index value that captures the change in the process.
[0041] (Example of computer hardware configuration) Each of the functional units of the process information analysis device 10 described above can be realized by causing a computer to execute a program describing the processing contents described in this embodiment. Note that this "computer" may be a physical machine or a virtual machine on the cloud. When a virtual machine is used, the "hardware" described here is virtual hardware.
[0042] The above program can be recorded on a computer-readable recording medium (such as a portable memory) and can be stored or distributed. The above program can also be provided via a network such as the Internet or e-mail.
[0043] Fig. 6 is a diagram showing an example of the hardware configuration of the computer. The computer in Fig. 6 has a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, etc., which are all connected to each other via a bus B.
[0044] The program for realizing the processing on the computer is provided by a recording medium 1001 such as a CD-ROM or a memory card. When the recording medium 1001 storing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001, but may be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files, data, etc.
[0045] When a program start instruction is received, the memory device 1003 reads out and stores the program from the auxiliary storage device 1002. The CPU 1004 realizes the functions related to the device according to the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network. The display device 1006 displays a GUI (Graphical User Interface) or the like according to a program. The input device 1007 is composed of a keyboard, a mouse, a button, a touch panel, or the like, and is used to input various operation instructions. The output device 1008 outputs the calculation result. Note that the above computer may be equipped with a GPU (Graphics Processing Unit) or a TPU (Tensor processing unit) instead of the CPU 1004, or may be equipped with a GPU or a TPU in addition to the CPU 1004. In that case, the processes may be shared and executed, for example, the GPU or the TPU executes processes that require special calculations, and the CPU 1004 executes other processes.
[0046] (How to use this embodiment) The accuracy of the process abnormality monitoring device can be improved by using the index value output by the process information analysis device 10 according to this embodiment as the monitoring target of the monitoring device. Also, the accuracy of factor estimation can be improved by inputting the index value and the bipartite graph to a device that estimates the factor.
[0047] (Effects of this embodiment) According to the process information analysis device 10 of the present embodiment, a bipartite graph indicating the similarity of processes is generated based on the process information, and an index value is calculated based on the generated bipartite graph. This makes it possible to calculate an index value for performing anomaly detection or cause estimation for a complex fault in which the processes are interrelated with each other.
[0048] (Summary of the embodiment) This specification describes at least the process information analysis apparatus, the process information analysis method, and the program described in the following sections. (Section 1) a process information acquisition unit for acquiring process information indicating information on a target process group; an inter-process relationship estimation unit that estimates a relationship between the target process group and a child process of a process included in the process group, and generates a bipartite graph; An index value calculation unit that calculates an index value based on the bipartite graph. Process information analysis device. (Section 2) The process information includes file references, other process references, and child process creation information for the process. The bipartite graph has edges weighted by the similarity of the file names referenced by each process and the sum of the number of accesses between the processes. 2. The process information analysis device according to claim 1. (Section 3) the index value calculation unit calculates an eigenvalue of an adjacency matrix of the bipartite graph, and calculates the index value based on the calculated eigenvalue. 3. The process information analysis device according to claim 2. (Section 4) the index value calculation unit calculates the number of file references for each of the processes, and calculates the index value based on the number of file references. 4. The process information analysis device according to claim 3. (Section 5) the index value calculation unit determines, as the number of file references of each parent process, the number of file references obtained by adding the number of file references of child processes whose edge weights are equal to or greater than a threshold value; 5. The process information analysis device according to claim 4. (Section 6) 1. A computer-implemented method for analyzing process information, comprising: acquiring process information indicating information on a target process group; estimating a relationship between the target process group and a child process of a process included in the target process group, and generating a bipartite graph; and calculating an index value based on the bipartite graph. Methods for analyzing process information. (Section 7) A program for causing a computer to function as each unit in the process information analysis device according to any one of claims 1 to 5.
[0049] Although the present embodiment has been described above, the present invention is not limited to such a specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0050] 10. Process information analysis device 11 Process information acquisition unit 12 Inter-process Relationship Estimation Unit 13 Index value calculation section 14 Output section 1000 Drive Device 1001 Recording media 1002 Auxiliary storage device 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input Device 1008 Output device
Claims
1. a process information acquisition unit for acquiring process information indicating information on a target process group; an inter-process relationship estimation unit that estimates a relationship between the target process group and a child process of a process included in the process group, and generates a bipartite graph; An index value calculation unit that calculates an index value based on the bipartite graph. Process information analysis device.
2. The process information includes file references, other process references, and child process creation information for the process. The bipartite graph has edges weighted by the similarity of file names referenced by each process and the sum of the number of accesses between the processes. The process information analysis device according to claim 1 .
3. the index value calculation unit calculates an eigenvalue of an adjacency matrix of the bipartite graph, and calculates the index value based on the calculated eigenvalue; The process information analysis device according to claim 2 .
4. the index value calculation unit calculates the number of file references for each of the processes, and calculates the index value based on the number of file references. The process information analysis device according to claim 3 .
5. the index value calculation unit determines, as the number of file references of each parent process, the number of file references obtained by adding the number of file references of child processes whose edge weights are equal to or greater than a threshold value; The process information analysis device according to claim 4.
6. 1. A computer-implemented method for analyzing process information, comprising: acquiring process information indicating information on a target process group; estimating a relationship between the target process group and a child process of a process included in the process group, and generating a bipartite graph; and calculating an index value based on the bipartite graph. Methods for analyzing process information.
7. A program for causing a computer to function as each unit in the process information analysis device according to any one of claims 1 to 5.
Citation Information
Patent Citations
State determination device, state determination method, and program
JP2018124829A
Anomaly fusion in temporal causal graphs
JP2019502195A
Malicious Domain Scoping Recommendation System
US20190158520A1
Information processing device and monitoring method
WO2015141220A1
