Platform fault detection and self-healing method, system and equipment based on cloud native

By adopting cloud-native fault detection and self-healing methods on the cloud platform, unified modeling and fault coding of operation and maintenance objects are achieved, and the shortcomings in accuracy and efficiency of cloud platform fault detection and self-healing technology are solved, and the implementation of the implementation of the problem detection and self-healing technology in cloud platform is insufficient. The rapid detection and automatic recovery of cloud platform failures have been improved, and system stability and business continuity have been improved.

CN119415304APending Publication Date: 2025-02-11CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411607246.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

Existing cloud platform fault detection and self-healing technologies have shortcomings in the accuracy and efficiency of fault detection, the formulation and execution of automated recovery strategies, especially in the case of increasing scale and complexity of cloud platforms. Fault detection and self-healing systems to achieve rapid detection and automatic recovery have become technical problems that need to be solved urgently.

Method used

The cloud-native platform fault detection and self-healing method is adopted. By classifying and modeling the operation and maintenance objects and setting fault codes, collecting operation and maintenance data for fault detection, and performing fault recovery through the task center. This method includes unified modeling of operation and maintenance objects and unified coding of faults, realizing unified detection and self-healing of faults, and opening up the fault detection and recovery script library, supporting operation and maintenance personnel to customize monitoring items and collect scripts, and optimizing fault detection and self-healing of faults. Better system.

Benefits of technology

It realizes a unified resource model and fault coding for the entire cloud platform, improves the accuracy and efficiency of fault detection, ensures rapid detection and automatic recovery of cloud platform faults, and enhances business continuity and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119415304A_ABST
    Figure CN119415304A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of cloud platform fault detection, and provides a platform fault detection and self-healing method, system and device based on cloud native, and the method comprises the steps: carrying out the classification modeling of an operation and maintenance object, and setting a corresponding fault code; the fault detection module collects operation and maintenance data of an operation and maintenance object and performs fault detection on the collected operation and maintenance data; and when the fault detection module detects fault data from the operation and maintenance data, performing fault recovery on the operation and maintenance object through the task center. According to the platform fault detection and self-healing method, system and equipment based on the cloud native technology, the agent for fault detection and recovery can be automatically installed through the cloud native technology, unified detection and self-healing of faults are achieved through unified coding of the faults, a fault detection and recovery script library is opened, and continuous optimization of fault detection and recovery is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cloud platform fault detection, and in particular to a cloud-native-based platform fault detection and self-healing method, system and device. Background Art

[0002] Cloud platform fault detection and self-healing technology is a key technology in the field of cloud computing. By integrating monitoring, log analysis, alarm notification, and automated operation and maintenance tools, it can achieve comprehensive monitoring of the cloud platform's operating status and rapid response to faults. When a cloud platform fails, this technology can automatically detect the fault point, analyze the cause of the failure, and take appropriate measures to recover, thereby ensuring the stable operation of the cloud platform. With the popularization of cloud computing and the rise of cloud-native architecture, cloud platforms have become more and more complex, including more and more components and services. This complexity increases the risk of cloud platform failures and poses a threat to business continuity.

[0003] In practical applications, cloud platform fault detection and self-healing technology still has shortcomings in terms of fault detection accuracy and efficiency, formulation and implementation of automated recovery strategies, etc. Especially with the continuous increase in the scale and complexity of cloud platforms, how to effectively manage and optimize cloud platform fault detection and self-healing systems, and more efficiently and accurately achieve rapid detection and automatic recovery of cloud platform faults has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] In view of this, in order to overcome the shortcomings of the prior art, the present invention aims to provide a cloud-native based platform fault detection and self-healing method, system and device.

[0005] According to a first aspect of the present invention, a cloud-native-based platform fault detection and self-healing method is provided, the method comprising: Classify and model the operation and maintenance objects, and set corresponding fault codes; The fault detection module collects the operation and maintenance data of the operation and maintenance object and performs fault detection on the collected operation and maintenance data; When the fault detection module detects fault data from the operation and maintenance data, the task center performs fault recovery on the operation and maintenance object.

[0006] Preferably, the present invention classifies and models the operation and maintenance objects in the cloud-native platform fault detection and self-healing method, and sets corresponding fault codes, including: classifying the operation and maintenance objects from the resource dimension, classifying the resource instances in each type of resources, and setting corresponding fault codes for each type of resource instances.

[0007] Preferably, in the cloud-native platform fault detection and self-healing method of the present invention, the fault detection module collects operation and maintenance data of the operation and maintenance objects, including: collecting and storing object information and association relationship information of the operation and maintenance objects through the CMDB unit, using the monitoring alarm unit to collect and store monitoring data of the operation and maintenance objects, and using the log center to collect and store log data and event data of the operation and maintenance objects.

[0008] Preferably, in the cloud-native platform fault detection and self-healing method of the present invention, fault detection is performed on the collected operation and maintenance data, including: fault detection is performed on the collected operation and maintenance data in real time or at a set frequency.

[0009] Preferably, in the cloud-native platform fault detection and self-healing method of the present invention, when the fault detection module detects fault data from the operation and maintenance data, the task center performs fault recovery on the operation and maintenance object, including: When the fault detection module detects fault data from the operation and maintenance data, it sends the corresponding fault information to the task center; The task center queries the corresponding fault self-healing script based on the received fault information, and restores the corresponding operation and maintenance object by executing the self-healing script.

[0010] Preferably, in the cloud-native platform fault detection and self-healing method of the present invention, the fault information includes resource classification information of the operation and maintenance object, resource ID, region and cluster information where the resource is located, and fault code.

[0011] Preferably, in the cloud-native platform fault detection and self-healing method of the present invention, the task center queries the corresponding fault self-healing script based on the received fault information, and restores the corresponding operation and maintenance object by executing the self-healing script, including: the task center queries the corresponding fault self-healing script according to the resource classification information and fault code in the fault information, locates the target location of the resource according to the resource ID and the area and cluster information where the resource is located, and executes the query on the resource at the target location through the task execution agent to obtain the fault self-healing script.

[0012] Preferably, the cloud-native platform fault detection and self-healing method of the present invention also includes: collecting operation and maintenance data of operation and maintenance objects through customized operation and maintenance data collection scripts, and matching customized fault self-healing scripts for customized fault codes through customized fault codes.

[0013] According to a second aspect of the present invention, a cloud-native-based platform fault detection and self-healing system is provided, the system comprising a detection and self-healing server, the detection and self-healing server being used to: classify and model operation and maintenance objects, and set corresponding fault codes; a fault detection module collects operation and maintenance data of the operation and maintenance objects, and performs fault detection on the collected operation and maintenance data; when the fault detection module detects fault data from the operation and maintenance data, fault recovery is performed on the operation and maintenance objects through a task center.

[0014] According to a third aspect of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect of the present invention when executing the program.

[0015] The present invention is based on a cloud-native platform fault detection and self-healing method, system and device, automatically installs a fault detection and recovery agent through cloud-native technology, realizes unified fault detection and self-healing through unified coding of faults, and opens a fault detection and recovery script library to realize continuous optimization of fault detection and recovery, which has the following beneficial technical effects: 1. By uniformly modeling all operation and maintenance objects and uniformly coding faults, we can ensure a unified resource model and unified fault coding for the entire cloud platform. The task center can identify and handle faults according to unified rules and issue fault self-healing tasks to resources.

[0016] 2. Allow operation and maintenance personnel to customize monitoring items and collection scripts, collect monitoring data and log data, and customize fault codes. At the same time, customize fault recovery scripts for this type of fault, and continuously optimize the cloud platform fault detection and self-healing system.

[0017] 3. Allow operation and maintenance personnel to configure automatic execution or manual confirmation for specific faults, and allow modification of self-healing scripts to ensure the accuracy and safety of self-healing, prevent unexpected faults, and prevent errors in the execution of the self-healing system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 This is an example diagram of the architecture of a cloud-native-based platform fault detection and self-healing system according to an embodiment of the present invention; Figure 2A flowchart of a method for cloud-native platform fault detection and self-healing according to an embodiment of the present invention; Figure 3 A technical schematic diagram of a cloud-native-based platform fault detection and self-healing method according to an embodiment of the present invention; Figure 4 This is an example diagram of operation and maintenance object modeling of a cloud-native-based platform fault detection and self-healing method according to an embodiment of the present invention; Figure 5 A schematic diagram of the structure of the device provided by the present invention. DETAILED DESCRIPTION

[0020] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0021] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.

[0022] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0023] Figure 1 FIG. 1 is an example diagram of an architecture of a cloud-native platform fault detection and self-healing system according to an embodiment of the present invention. Figure 1 As shown, the system may include a detection and self-healing server 101, a communication network 102 and / or one or more detection and self-healing clients 103. Figure 1 The example shown is a plurality of detection and self-healing clients 103 .

[0024] The detection and self-healing server 101 can be any appropriate server for storing information, data, programs and / or any other suitable type of content. In some embodiments, the detection and self-healing server 101 can perform appropriate functions. For example, in some embodiments, the detection and self-healing server 101 can be used to detect and self-heal platform faults based on cloud native. As an optional example, in some embodiments, the detection and self-healing server 101 can be used to: classify and model operation and maintenance objects, and set corresponding fault codes; the fault detection module collects operation and maintenance data of the operation and maintenance objects, and performs fault detection on the collected operation and maintenance data; when the fault detection module detects fault data from the operation and maintenance data, it performs fault recovery on the operation and maintenance objects through the task center.

[0025] As another example, in some embodiments, the detection and self-healing server 101 may send a cloud-native-based platform fault detection and self-healing method to the detection and self-healing client 103 for user use based on a request of the detection and self-healing client 103 .

[0026] As an optional example, in some embodiments, the detection and self-healing client 103 is used to provide a visual detection and self-healing interface, which is used to receive a user's selection input operation for detecting and self-healing platform failures based on cloud native, and, in response to the selection input operation, obtain the detection and self-healing interface corresponding to the option selected by the selection input operation from the detection and self-healing server 101 and display the detection and self-healing interface, wherein the detection and self-healing interface at least displays information on detecting and self-healing platform failures based on cloud native and operation options for the information on detecting and self-healing platform failures based on cloud native.

[0027] In some embodiments, the communication network 102 can be any suitable combination of one or more wired and / or wireless networks. For example, the communication network 102 can include any one or more of the following: the Internet, an intranet, a wide area network (WAN), a local area network (LAN), a wireless network, a digital subscriber line (DSL) network, a frame relay network, an asynchronous transfer mode (ATM) network, a virtual private network (VPN), and / or any other suitable communication network. The detection and self-healing client 103 can be connected to the communication network 102 via one or more communication links (e.g., communication link 104), and the communication network 102 can be linked to the detection and self-healing server 101 via one or more communication links (e.g., communication link 105). The communication link can be any communication link suitable for transmitting data between the detection and self-healing client 103 and the detection and self-healing server 101, such as a network link, a dial-up link, a wireless link, a hard-wired link, any other suitable communication link, or any suitable combination of such links.

[0028] The detection and self-healing client 103 may include any one or more clients that present an interface related to the detection and self-healing of platform failures based on cloud native in an appropriate form for user use and operation. In some embodiments, the detection and self-healing client 103 may include any suitable type of device. For example, in some embodiments, the detection and self-healing client 103 may include a mobile device, a tablet computer, a laptop computer, a desktop computer, and / or any other suitable type of client device.

[0029] Although the detection and self-healing server 101 is illustrated as one device, in some embodiments, any appropriate number of devices may be used to perform the functions performed by the detection and self-healing server 101. For example, in some embodiments, multiple devices may be used to implement the functions performed by the detection and self-healing server 101. Alternatively, a cloud service may be used to implement the functions of the detection and self-healing server 101.

[0030] Based on the above system, an embodiment of the present invention provides a cloud-native-based platform fault detection and self-healing method, which is described below through the following embodiments.

[0031] Figure 2 A flowchart of a method for cloud-native platform fault detection and self-healing according to an embodiment of the present invention; Figure 3 is a technical principle diagram of a cloud-native-based platform fault detection and self-healing method according to an embodiment of the present invention; the cloud-native-based platform fault detection and self-healing method of this embodiment can be executed on the detection and self-healing server side, such as Figure 2 and Figure 3 As shown, the cloud-native-based platform fault detection and self-healing method includes the following steps: Step S201: classify and model the operation and maintenance objects, and set corresponding fault codes.

[0032] As an optional example, this embodiment classifies operation and maintenance objects from the dimension of resources, classifies resource instances in each type of resources, and sets corresponding fault codes for each type of resource instances. Figure 4 This is an example diagram of operation and maintenance object modeling of a cloud-native based platform fault detection and self-healing method according to an embodiment of the present invention.

[0033] Step S202: The fault detection module collects operation and maintenance data of the operation and maintenance object, and performs fault detection on the collected operation and maintenance data.

[0034] As an optional example, this embodiment collects and stores object information and association relationship information of operation and maintenance objects through the CMDB unit, uses the monitoring and alarm unit to collect and store monitoring data of operation and maintenance objects, and uses the log center to collect and store log data and event data of operation and maintenance objects. It should be noted that this embodiment performs fault detection on the collected operation and maintenance data in real time or at a set frequency. In actual applications, the CMDB unit, monitoring and alarm unit, and log center of this embodiment respectively use corresponding agents to collect data of operation and maintenance objects.

[0035] Step S203: When the fault detection module detects fault data from the operation and maintenance data, the task center performs fault recovery on the operation and maintenance object.

[0036] As an optional example, in this embodiment, when the fault detection module detects fault data from the operation and maintenance data, it sends corresponding fault information to the task center. The fault information includes resource classification information of the operation and maintenance object, resource ID, area and cluster information where the resource is located, and fault code.

[0037] The task center queries the corresponding fault self-healing script based on the received fault information, and restores the corresponding operation and maintenance object by executing the self-healing script. As an optional example, the task center queries the corresponding fault self-healing script based on the resource classification information and fault code in the fault information, locates the target location of the resource based on the resource ID and the region and cluster information where the resource is located, and executes the query to obtain the fault self-healing script on the resource at the target location through the task execution agent.

[0038] It should be noted that, in this embodiment, the operation and maintenance data of the operation and maintenance object can also be collected through a customized operation and maintenance data collection script, and a customized fault self-healing script can be matched for the customized fault code through a customized fault code. For example, in order to meet the comprehensiveness and accuracy of monitoring data and log data collection and the correctness of fault recovery, the operation and maintenance personnel are allowed to customize monitoring items and collection scripts, collect monitoring data and log data, and customize fault codes. At the same time, the fault recovery script is customized for this type of fault, and the cloud platform fault detection and self-healing system is continuously optimized. The operation and maintenance personnel are allowed to configure automatic execution or manual confirmation for specific faults to ensure the accuracy and safety of fault self-healing.

[0039] This embodiment is based on the cloud-native platform fault detection and self-healing method and system, automatically installs the fault detection and recovery agent through cloud-native technology, realizes unified fault detection and self-healing through unified coding of faults, and opens a fault detection and recovery script library to realize continuous optimization of fault detection and recovery, which has the following beneficial technical effects: 1. By uniformly modeling all operation and maintenance objects and uniformly coding faults, we can ensure a unified resource model and unified fault coding for the entire cloud platform. The task center can identify and handle faults according to unified rules and issue fault self-healing tasks to resources.

[0040] 2. Allow operation and maintenance personnel to customize monitoring items and collection scripts, collect monitoring data and log data, and customize fault codes. At the same time, customize fault recovery scripts for this type of fault, and continuously optimize the cloud platform fault detection and self-healing system.

[0041] 3. Allow operation and maintenance personnel to configure automatic execution or manual confirmation for specific faults, and allow modification of self-healing scripts to ensure the accuracy and safety of self-healing, prevent unexpected faults, and prevent errors in the execution of the self-healing system.

[0042] like Figure 5 As shown, the present invention also provides a device, including a processor 310, a communication interface 320, a memory 330 for storing a computer program executable by the processor, and a communication bus 340. The processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 implements the above-mentioned cloud-native-based platform fault detection and self-healing method by running the executable computer program.

[0043] Among them, the computer program in the memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0044] The system embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected based on actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0045] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0046] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A cloud-native platform fault detection and self-healing method, characterized in that: The method comprises: Classify and model the operation and maintenance objects, and set corresponding fault codes; The fault detection module collects the operation and maintenance data of the operation and maintenance object and performs fault detection on the collected operation and maintenance data; When the fault detection module detects fault data from the operation and maintenance data, the task center performs fault recovery on the operation and maintenance object.

2. The cloud-native platform fault detection and self-healing method according to claim 1, characterized in that: Classify and model the operation and maintenance objects, and set corresponding fault codes, including: classifying the operation and maintenance objects from the resource dimension, classifying the resource instances in each type of resources, and setting corresponding fault codes for each type of resource instances.

3. The cloud-native-based platform fault detection and self-healing method according to claim 1, characterized in that: The fault detection module collects operation and maintenance data of the operation and maintenance objects, including: collecting and storing object information and association relationship information of the operation and maintenance objects through the CMDB unit, using the monitoring alarm unit to collect and store monitoring data of the operation and maintenance objects, and using the log center to collect and store log data and event data of the operation and maintenance objects.

4. The cloud-native platform fault detection and self-healing method according to claim 1, characterized in that: Performing fault detection on the collected operation and maintenance data, including: performing fault detection on the collected operation and maintenance data in real time or at a set frequency.

5. The cloud-native-based platform fault detection and self-healing method according to claim 1, characterized in that: When the fault detection module detects fault data from the operation and maintenance data, the task center performs fault recovery on the operation and maintenance object, including: When the fault detection module detects fault data from the operation and maintenance data, it sends the corresponding fault information to the task center; The task center queries the corresponding fault self-healing script based on the received fault information, and restores the corresponding operation and maintenance object by executing the self-healing script.

6. The cloud-native-based platform fault detection and self-healing method according to claim 5, characterized in that: Fault information includes resource classification information of the operation and maintenance object, resource ID, region and cluster information where the resource is located, and fault code.

7. The cloud-native platform fault detection and self-healing method according to claim 5, characterized in that: The task center queries the corresponding fault self-healing script according to the received fault information, and restores the corresponding operation and maintenance object by executing the self-healing script, including: the task center queries the corresponding fault self-healing script according to the resource classification information and fault code in the fault information, locates the target location of the resource according to the resource ID and the region and cluster information where the resource is located, and executes the query to obtain the fault self-healing script on the resource at the target location through the task execution agent.

8. The cloud-native-based platform fault detection and self-healing method according to claim 1, characterized in that: The method further includes: collecting operation and maintenance data of the operation and maintenance object through a customized operation and maintenance data collection script, and matching a customized fault self-healing script for the customized fault code through a customized fault code.

9. A cloud-native platform fault detection and self-healing system, characterized in that: The system includes a detection and self-healing server, which is used to: classify and model the operation and maintenance objects and set corresponding fault codes; the fault detection module collects the operation and maintenance data of the operation and maintenance objects and performs fault detection on the collected operation and maintenance data; when the fault detection module detects fault data from the operation and maintenance data, the task center performs fault recovery on the operation and maintenance objects.

10. A computer device, characterized in that: The computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to any one of claims 1 to 8 when executing the program.

Citation Information

Cited By

  • Fault self-recovery method and device for cloud native platform

    CN120950302A