Apparatus, method and program for identifying cause of failure regarding event that affects service
By embedding identification information in Open telemetry trace information and using supervised machine learning, the system effectively monitors and automatically recovers from failures in cloud-native environments, addressing the challenge of identifying service impacts.
Patent Information
- Application Number
- JP2023023767
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-17
- Publication Date
- 2024-08-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing systems fail to accurately identify and automatically recover from failures affecting end-to-end services in cloud-native environments due to the difficulty in determining service impacts using metric and log information alone.
Embedding identification information such as IMEI in Open telemetry trace information, linking trace information with metric information, and using supervised machine learning to identify failure causes, enabling real-time E2E transaction monitoring and automated recovery.
Enables real-time monitoring and accurate identification of failure causes, reducing the time required to resolve issues and facilitating automated recovery from failures.
Smart Images

Figure 2024117591000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a fault cause identification device for an event that affects services in a cloud-native environment. Cloud-native is a software development approach that utilizes various cloud-related technologies such as containers and microservices. [Background technology]
[0002] In recent years, terminals with communication capabilities, such as smartphones and IoT (Internet of Things) devices, have come to be connected to servers in the cloud via networks and to receive services from those servers. One example of such terminals with communication capabilities is an on-board device installed in an automobile. Fig. 1 is a diagram showing a service providing system 100 in which such an on-board device is connected to a network. Referring to Fig. 1, a cloud server 110 is connected to a communication module in an on-board device 140 of an automobile 130 via a network 120. The on-board device 140 is, for example, a car navigation system. An example of the communication module in the on-board device 140 is a communication unit capable of communicating with a data collection device for map generation of Patent Document 1.
[0003] The connection state as shown in Fig. 1 is configured as shown in Fig. 2, for example. From the viewpoint of domains, it can be divided into an in-vehicle domain 220, a network domain 230, and a cloud domain 240. From the viewpoint of layers for users, it can be divided into platforms and services.
[0004] The platform of the vehicle-mounted device domain 220 includes an OS (Operating System) 221. Optionally, virtualization technology (e.g., VM (Virtual Machine) 222 or container) The on-board device is equipped with multiple ECUs (Electronic Control Units), some of which are DCMs (Data Communication Modules) that communicate with the external Internet. Also, the on-board device has a self-repair function 223 as a platform for the on-board device domain 220.
[0005] The platform of the network domain 230 includes a plurality of slices (eg, slices 1 to 3), and includes a self-repair function 232 as the platform of the network domain 230. The platform of the cloud domain 240 includes an OS 241. As an example, a container controlled by the VM 241 or the container platform 243 may exist. The container platform 243 is a program that automatically deploys multiple containers, and examples of the container platform 243 include Kubernetes (registered trademark) and OpenShift (registered trademark). A container application is executed on a container node (not shown) generated by the container platform 243. That is, the container node is a machine that executes the container application. The container node itself is a physical server or a virtual machine. Hereinafter, the container node is abbreviated to "node". In addition, the platform of the cloud domain 240 includes a self-repair function 244.
[0006] The applicant has filed an application in 2023 for a server management device and a server management method that start up a physical server before transaction demand increases even if the physical server is powered off. The platform of cloud domain 240 in FIG. 1 of the present application corresponds to the physical server / container platform / container node of the "server management device and server management method." The service (API-related) of cloud domain 240 in FIG. 1 of the present application corresponds to the container app of the "server management device and server management method."
[0007] In this way, the platform for each domain is equipped with a self-healing function and realizes declarative (intent-based) self-healing by setting thresholds for metric information such as CPU usage and memory usage, and operational information such as log information such as event errors. This configuration enables each platform to self-repair failures. However, it is difficult to determine whether there is an impact on E2E (End to End) services simply by comparing metric information and log information with thresholds. [Prior art documents] [Patent documents]
[0008] [Patent Document 1] Patent No. 7136138 Summary of the Invention [Problem to be solved by the invention]
[0009] If the self-repair function of each platform cannot recover from the failure, an event occurs that affects services, such as a state in which users can perceive a delay. However, as described above, simply comparing metric information and log information with thresholds makes it impossible to determine whether an event that affects services, such as a state in which users can perceive a delay, has occurred.
[0010] The present invention aims to establish a method for recognizing service-affecting events and automatically recovering from them. [Means for solving the problem]
[0011] The present invention has three features. The first point is to embed identification information that identifies a terminal with communication capabilities, such as an IMEI (International Mobile Equipment Identifier), in the Open telemetry trace information. Open telemetry is a tool for collecting telemetry data that describes the performance and health of cloud-native applications and their infrastructure.
[0012] Open telemetry telemetry data includes trace information, and in some cases metrics information and logs. If Open telemetry telemetry data does not include metrics information and logs, applications can be configured to acquire metrics information and logs as in the past. Trace information is data that represents the processing path of a request in a distributed system in E2E. Trace information is data that indicates, for example, a collection of spans for a certain request, and the processing time for each span can be saved as a group of information called a trace, with a parent-child relationship in chronological order, for example. When a request is executed, various operations are performed, and these operations are called "spans." A span includes, for example, the status of each process within the request, such as the process name, execution time, and status code. Since the entire request is processed by individual components working together, recording the process of each component in chronological order in a span as described above makes it easier to identify the location of an error if one occurs. Metric information is a numerical value that represents the state of a system, measured over a period of time.
[0013] By embedding identification information such as IMEI that identifies a terminal having a communication function in the trace information, it becomes possible to identify transactions in the network domain using the Call Trace Log information of the 5G slice. Therefore, the trace information can be used to monitor E2E transactions efficiently in real time.
[0014] The second point is to provide new metric information for manually identifying the cause of a failure when the cause cannot be identified automatically. Metric information is, for example, information on indicators defined in advance for each Pod, and may include, for example, CPU utilization rate, memory utilization rate, and the number of pending communication sessions. A Pod is a unit for managing one or more containers in Kubernetes.
[0015] The third point is to link trace information with metric information for the same period as the trace information, which makes it possible to automatically identify the cause of a failure from the next time onwards if the same cause occurs.
[0016] The inventors have discovered that the occurrence of an event that affects a service can be detected by trace information including an ID that identifies a terminal having a communication function, and the cause of the failure can be identified based on the trace information, metric information linked to the trace information, and configuration management information, and have completed the present invention. Here, the configuration management information includes information regarding which API is running on which node or in which Pod.
[0017] (1) a monitoring information collection unit that collects trace information including an ID for identifying a terminal having a communication function, metric information for a period corresponding to the trace information, and configuration management information; a fault cause identification unit that identifies a cause of a fault based on the trace information, the metric information, and the configuration management information collected by the monitoring information collection unit when a fault occurs; A fault cause identification device comprising:
[0018] (2) The fault cause identification device according to (1) above, wherein the fault cause identification unit is provided with a trained model created by supervised machine learning using training data in which trace information and metric information associated with the trace information are input data and the identified fault cause is used as label data. In particular, the input data may be time series information on the processing time for each request as the trace information and time series information on the statistical values of predefined indicators as the metric information.
[0019] (3) The fault cause identification device according to (2) above, characterized in that the fault cause identification unit identifies the cause of a fault by ranking the multiple fault cause candidates output by the trained model using weighting set based on platform characteristics.
[0020] (4) a monitoring information collection step of collecting, by a computer, trace information including an ID for identifying a terminal having a communication function, metric information for a period corresponding to the trace information, and configuration management information; a fault cause identification step of identifying a cause of the fault based on the trace information, the metric information, and the configuration management information collected in the monitoring information collection step when a fault occurs; A method for identifying the cause of a failure.
[0021] (5) The method for identifying a cause of a fault according to (4) above, wherein the step of identifying a cause of the fault includes a step of outputting candidate causes of the fault by a trained model created by supervised machine learning using training data having trace information and metric information linked to the trace information as input data and having identified causes of the fault as label data.
[0022] (6) The method for identifying a cause of a fault according to (5) above, wherein the step of identifying the cause of the fault includes a step of identifying a cause of the fault by ranking a plurality of candidate cause of the fault output by the trained model using weighting set based on platform characteristics.
[0023] (7) A computer a monitoring information collection unit that collects trace information including an ID for identifying a terminal having a communication function, metric information for a period corresponding to the trace information, and configuration management information; a fault cause identification unit that identifies a cause of a fault based on the trace information, the metric information, and the configuration management information collected by the monitoring information collection unit when a fault occurs; A program to identify the cause of a fault in order to function as a
[0024] (8) The fault cause identification program according to (7) above, wherein the fault cause identification unit has a trained model created by supervised machine learning using training data that uses trace information and metric information linked to the trace information as input data and has the identified fault cause as label data.
[0025] (9) The fault cause identification program according to (8) above, characterized in that the fault cause identification unit identifies the cause of the fault by ranking multiple fault cause candidates output by the trained model using weighting set based on platform characteristics. Effect of the Invention
[0026] According to the present invention, E2E transactions are monitored in real time, and the cause of a failure can be correctly identified from E2E transaction monitoring information, and the time required to identify the cause of the failure can be reduced. [Brief description of the drawings]
[0027] [Figure 1] FIG. 1 is a diagram showing an entire system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating a configuration of a service and a platform according to an embodiment of the present invention. [Diagram 3] 2 is a functional block diagram showing functions of a fault cause identification device according to an embodiment of the present invention; FIG. [Figure 4] FIG. 1 is a conceptual diagram of an embodiment of the present invention. [Diagram 5] FIG. 13 is a diagram showing a processing flow in the case of a first cause of failure according to an embodiment of the present invention. [Figure 6] FIG. 11 is a diagram illustrating a process flow in the case where a failure occurs for the second or subsequent times according to the embodiment of the present invention. [Figure 7] FIG. 11 is a diagram illustrating an operation of a failure cause identification unit according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0028] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a diagram showing an overall service providing system according to an embodiment of the present invention. As shown in Fig. 1, the service providing system 100 includes a cloud server 110, a network 120, and an automobile 130. Here, the automobile 130 is, for example, a connected car.
[0029] 2 is a diagram showing a configuration of services and a platform according to an embodiment of the present invention. As described above, the services provided are executed on a platform that is composed of an in-vehicle domain 220, a network domain 230, and a cloud domain 240.
[0030] 3 is a diagram showing functional blocks of a fault cause identification device 300 according to an embodiment of the present invention. As shown in FIG.
[0031] The monitoring information collection unit 320 collects, for example, trace information including an ID for identifying a terminal having a communication function, metric information for the same period as the period of the trace information, and configuration management information as telemetry data from Open telemetry. The ID for identifying the terminal having a communication function is, for example, an IMEI. The trace information is, for example, time series information on the processing time for each request. The metric information is, for example, time series information on statistical values of predefined indicators. The configuration management information is, for example, information on which API is running on which node or which Pod.
[0032] When a failure occurs, the failure cause identification unit 330 identifies the cause of the failure based on the trace information 311, metric information 312, and configuration management information 313 collected by the monitoring information collection unit 320, and outputs the identified failure cause 314. The fault cause identification unit 330 may include a trained model that is machine-learned using training data in which, for example, trace information and metric information for the same period as the period of the trace information are used as input data, and the identified fault cause is used as label data. By inputting the trace information and metric information for the period in which the fault occurred into the trained model, one or more fault cause candidates can be obtained from the trained model.
[0033] The failure cause identification unit 330 may identify one failure cause from multiple failure cause candidates based on information of a predefined index for each Pod, which is a type of metric information, and configuration management information. Details of the failure cause identification unit 330 will be described later with reference to FIG. 7.
[0034] FIG. 4 is a conceptual diagram of an embodiment of the present invention. Trace information 411, metric information 412, and configuration management information 413 in Fig. 4 correspond to trace information 311, metric information 312, and configuration management information 313 in Fig. 3, respectively. Moreover, fault cause identification 420 in Fig. 4 corresponds to fault cause identification unit 330 in Fig. 3. Moreover, the arrow from fault cause identification 420 in Fig. 4 to fault recovery response 430 corresponds to identified fault cause 314 in Fig. 3.
[0035] As shown in FIG. 4, trace information 411 (e.g., time series information on the processing time for each request) and metric information 412 (e.g., time series information on the statistical values of predefined indicators) are input into a trained model (not shown) that has been generated in advance by supervised machine learning, whereby potential causes of failure are output, and in block 420, the cause of the failure is automatically identified from the potential causes of failure based on, for example, dynamic configuration management information 413 (e.g., information on which API is running on which node or which Pod). Then, based on the identified cause of the failure, corresponding measures are taken to automatically recover from the failure in block 430. Next, based on the updated trace information 441, the updated metric information 442, and the updated dynamic configuration management information 443, it is automatically confirmed in block 450 that the service has been recovered.
[0036] FIG. 4 shows a flow in which a candidate cause of a failure is output by inputting trace information 411 (e.g., time series information on processing time for each request, etc.) and metric information 412 (e.g., time series information on statistical values of predefined indicators, etc.) into a trained model (not shown), and the cause of the failure is automatically identified from the output candidate cause of the failure based on, for example, dynamic configuration management information 413 (e.g., information on which API is running on which node or which Pod, etc.), and the failure is automatically restored. However, the cause of the failure cannot always be identified automatically. If the cause of the failure cannot be identified automatically, the failure is not automatically restored, but simply affects the service, and the user is made aware that a failure has occurred. If the cause of the failure cannot be identified automatically, human intervention is required.
[0037] Figure 5 shows the processing flow when the cause of the failure cannot be identified automatically and human intervention is required. As shown in Fig. 5, in step S501, the occurrence of a state violating an SLA (Service Level Agreement) is detected, and trace information is acquired. This process is performed automatically or manually. Note that the states detected in step S501 may include, in addition to a state violating an SLA, a violation of an SLO (Service Level Objective), a violation of a KPI (Key Performance Indicator), and a state in which metric information exceeds a threshold value. In step S503, a human being identifies the cause of the failure based on the log and configuration management information.
[0038] In step S505, a human being repairs the failure. In step S507, a person updates the trouble ticket information. This trouble ticket is a trouble processing slip that is created every time a trouble occurs, and records the time when the trouble occurred, the details of the trouble, the time when the trouble was resolved, the time when the resolution of the trouble was confirmed, and so on.
[0039] In step S509, new metric information that can identify the cause of the failure is provided. The new metric information is, for example, the number of pending processes in an API (Application Programming Interface).
[0040] In this way, when the cause of the failure cannot be identified automatically (for example, when this is the first case of the failure), human intervention is necessary; however, in step S509, new metric information capable of identifying the cause of the failure is provided, and the identified trace information 411 and metric information 412 are used as input data, and an updated learned model (not shown) is obtained by machine learning using training data with the cause of the failure as label data. This makes it possible to automatically identify the cause of the failure and automatically recover from the failure the next time the same failure occurs.
[0041] FIG. 6 shows a flow of processing when a failure occurs due to the same failure cause as in FIG. 5 after metric information capable of identifying the failure cause is newly provided in step S509 in FIG. 6, in step S601, the occurrence of a state violating the SLA is detected and trace information is acquired. This process is performed automatically. As in step S501, the states detected in step S601 may include, in addition to a state violating the SLA, a violation of an SLO (Service Level Objective), a violation of a KPI (Key Performance Indicator), and a state in which metric information exceeds a threshold.
[0042] In step S603, the cause of the failure is automatically identified based on the trace information, metric information, and configuration management information. To be more specific, a trained model created from the trace information and metric information is used to identify the cause of the failure, the details of which will be described later. In step S605, the failure is automatically restored based on the identified cause of the failure.
[0043] In step S607, the trouble ticket information is automatically updated. In step S609, it is automatically confirmed that the failure has been recovered from, based on the updated trace information.
[0044] When it is confirmed that the failure has been recovered from, in step S611, the ticket management system automatically updates the ticket information. In step S603 in FIG. 6, the cause of the failure is automatically identified based on the trace information, metric information, and configuration management information.
[0045] FIG. 7 is a diagram for explaining details of the fault cause identification unit 330 that performs the process of step S603. First, the input data is trace information 711, which is time-series information on the processing time for each request, and metric information (1) 712, which is time-series information on the statistical values of predefined indicators. Using training data in which the identified causes of failures are used as label data, a learned model 720 is created through supervised machine learning.
[0046] Since this trained model 720 has already been created, the trained model 720 outputs multiple fault cause candidates 730 in response to newly input trace information 711 and newly input metric information (1) 712.
[0047] In step S701, an abnormal API is identified based on time-series information on the processing time for each API in the trace information 711. For example, an API with a long processing time is extracted and identified as an abnormal API.
[0048] In step S702, the Pod in which the abnormal API is running is identified using configuration management information, which is information regarding which API is running on which node and in which Pod.
[0049] Upon completion of the processing in step S702, the following information is assumed to be known: (1) Which API caused the KPI (Key Performance Indicator) violation? (2) Which node (including cluster information) and which Pod is running the abnormal API? (3) During what time period did the KPI violation occur? (4) Based on the time series change pattern of the metric information during the time period when the KPI violation occurred, the trained model 720 identifies several possible causes of the failure.
[0050] The cluster in which the Pod that runs the abnormal API is determined by the SLO (Service Level Objective). Therefore, it is considered that the weight of the possibility that each of the multiple failure cause candidates is the cause of the failure is different. The multiple failure cause candidates are ranked according to the weight.
[0051] In step S703, a cause of failure is identified from among a plurality of possible causes of failure 730 based on metric information (2) 714, which is information on indices predefined for each Pod.
[0052] The selection of the cause of the failure in step S703 is configured, for example, as follows. The platform on which the Pod on which the API runs is determined by the SLO. It is considered that the types of failure causes that are likely to occur differ between a low-speed, large-capacity platform and a high-speed, small-capacity platform. Therefore, based on the characteristics of the platform, a human weights the candidate causes of the failure, and the cause of the failure is automatically identified based on the weights.
[0053] As described above, in this embodiment, since only the IMEI, trace ID, and span ID of Open telemetry trace information can be collected at all times in E2E, constant monitoring is possible in IoT services.
[0054] In addition, in this embodiment, trace information can be collected directly from the API itself, so there is no need to be concerned about log format deficiencies, and by standardizing API development, "Operation As a Service" can be realized.
[0055] Furthermore, in this embodiment, the combination of [trace information from the service perspective] + [metric information from the platform perspective] + [configuration management information] makes it possible to realize automated service recovery for events that have an impact on services.
[0056] The functional configuration of the above-described embodiment may be modified. That is, the functional configuration of Fig. 3 is merely an example, and does not limit the functional configuration of the present embodiment. That is, it is sufficient to have a function capable of executing a series of processes related to the function of the fault cause identification device 300 of the present invention as a whole, and the type of functional block used to realize this function is not particularly limited to the example of Fig. 3. Moreover, each function of the fault cause identification device 300 may be distributed among a plurality of server devices as appropriate to form a distributed processing system. Moreover, each function of the fault cause identification device 300 may be realized by using a virtual server function or the like on a cloud.
[0057] The functions related to the fault cause identification device 300 are realized by software. When realized by software, a program constituting this software is installed in an information processing device (computer). These programs may be recorded on a removable medium such as a CD-ROM and distributed to users, or may be distributed by being downloaded to the user's computer via a network. Furthermore, these programs may be provided to the user's computer as a Web service via a network without being downloaded.
[0058] This invention will develop information and communications technology infrastructure, making it possible to contribute to Goal 9 of the United Nations-led Sustainable Development Goals (SDGs), which is to "develop resilient infrastructure, promote sustainable industrialization and foster innovation." [Explanation of symbols]
[0059] 100 Service Delivery System 110 Cloud Server 120 Network 130 Automobiles 140 Onboard equipment 300 Fault Cause Identification Device 320 Surveillance and Information Collection Division 330 Fault Identification Department 611 Trace Information 612 Metric Information (1) 613 Configuration management information 614 Metric Information (2)
Claims
1. a monitoring information collection unit that collects trace information including an ID for identifying a terminal having a communication function, metric information for a period corresponding to the trace information, and configuration management information; a fault cause identification unit that identifies a cause of a fault based on the trace information, the metric information, and the configuration management information collected by the monitoring information collection unit when a fault occurs; A fault cause identification device comprising:
2. 2. The fault cause identification device according to claim 1, wherein the fault cause identification unit has, as input data, trace information and metric information linked to the trace information, and is provided with a trained model created by supervised machine learning using training data having identified fault causes as label data.
3. 3. The fault cause identification device according to claim 2, wherein the fault cause identification unit identifies the fault cause by prioritizing the multiple fault cause candidates output by the trained model using weighting set based on platform features.
4. By computer, a monitoring information collecting step of collecting trace information including an ID for identifying a terminal having a communication function, metric information for a period corresponding to the trace information, and configuration management information; a fault cause identification step of identifying a cause of the fault based on the trace information, the metric information, and the configuration management information collected in the monitoring information collection step when a fault occurs; A method for identifying the cause of a failure.
5. 5. The method for identifying a cause of a fault according to claim 4, wherein the step of identifying a cause of a fault includes a step of outputting fault cause candidates by a learned model created by supervised machine learning using training data having trace information and metric information linked to the trace information as input data and having identified fault causes as label data.
6. 6. The fault cause identification method according to claim 5, wherein the fault cause identification step includes a step of identifying a fault cause by ranking a plurality of fault cause candidates output by the trained model using weighting set based on platform features.
7. Computer, a monitoring information collection unit that collects trace information including an ID for identifying a terminal having a communication function, metric information for a period corresponding to the trace information, and configuration management information; a fault cause identification unit that identifies a cause of a fault based on the trace information, the metric information, and the configuration management information collected by the monitoring information collection unit when a fault occurs; A program to identify the cause of a fault in order to function as a
8. 8. The fault cause identification program according to claim 7, wherein the fault cause identification unit has a trained model created by supervised machine learning using training data having trace information and metric information linked to the trace information as input data and identified fault causes as label data.
9. 9. The fault cause identification program according to claim 8, wherein the fault cause identification unit identifies the fault cause by prioritizing the multiple fault cause candidates output by the trained model using weighting set based on platform features.
Citation Information
Patent Citations
Data collection device for map generation, data collection method for map generation, and vehicle
JP7136138B2
Cited By
Anomaly diagnosis method, device, computer program product, and storage medium
WO2025202730A1
