Operation and maintenance management method and device of cloud server, equipment and storage medium

By monitoring cloud servers in real time and using machine learning models for fault prediction and recovery strategy generation, it solves the problem of cloud service providers having difficulty in quickly locating faults, improves service stability and reliability, and reduces operation and maintenance costs.

CN118550791APending Publication Date: 2024-08-27SOUNDAI TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410575703.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the field of cloud technology, it is difficult for cloud service providers to quickly locate faults and restore services in a timely manner, resulting in service stability and reliability being affected and operation and maintenance costs being high.

Method used

By monitoring the operating data of cloud servers in real time, using machine learning models to predict faults, generate fault recovery strategies, and determine early warning methods and implement fault recovery measures based on the expected fault time, we can achieve automated and intelligent operation and maintenance management.

Benefits of technology

It improves the stability and reliability of the cloud service platform, reduces manual intervention, enables rapid fault diagnosis and pre-emptive fault repair, and reduces operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550791A
    Figure CN118550791A
Patent Text Reader

Abstract

The invention discloses an operation and maintenance management method and device of a cloud server, equipment and a storage medium, and belongs to the technical field of cloud. According to the invention, predictive maintenance for the cloud server is realized. In detail, according to the scheme, the cloud server can be monitored in real time, the operation data of the cloud server can be obtained, then fault prediction is carried out according to the obtained operation data, fault reasons are positioned, and a recovery strategy for potential faults is automatically put forward. According to the scheme, the cloud server is monitored in real time, the possible problems of the cloud server in the future can be predicted, and corresponding measures are taken in advance before the fault occurs, so that the stability and the reliability of the whole cloud service platform are remarkably improved. In other words, according to the scheme, through an automatic and intelligent operation and maintenance management means, manual intervention is greatly reduced, rapid fault diagnosis and pre-fault repair are achieved, service availability and reliability are improved, and operation and maintenance cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud technology, and in particular to a method, device, equipment and storage medium for operation and maintenance management of a cloud server. Background Art

[0002] Cloud refers to servers or server clusters. The services provided by these servers or server clusters are called cloud services, which can also be described as cloud computing services. Customers obtain the resource services they need from the cloud through the network. The ownership, operation, governance, update and evolution of cloud services are the responsibility of cloud service providers. In the field of cloud technology, cloud service providers can greatly reduce customers' operating costs by providing cloud service support to customers (such as enterprise-level customers).

[0003] In recent years, with the rapid development of mobile communication technology and cloud computing technology, as well as the increasing reliance of customers on cloud services, the demand for rapid fault location and timely service restoration is also growing. This requires cloud service providers to pay more attention to operation and maintenance management. In other words, how to automatically diagnose cloud server faults and quickly restore services is an issue that needs to be continuously addressed in this field. Summary of the invention

[0004] The embodiment of the present application provides a cloud server operation and maintenance management method, device, equipment and storage medium. The technical solution is as follows:

[0005] In one aspect, a method for operation and maintenance management of a cloud server is provided, wherein the cloud server is used to provide cloud services; the method comprises:

[0006] Obtaining operation data of the cloud server;

[0007] Performing fault prediction on the cloud server based on the operation data to obtain a fault prediction result; wherein the fault prediction result includes a potential fault type and fault cause of the cloud server;

[0008] Generate a fault recovery strategy based on the potential fault type and the fault cause;

[0009] Based on the potential failure type, determining the probability of failure of the cloud server; in response to the probability being greater than a probability threshold, obtaining an estimated failure time of the cloud server, and determining an early warning method based on the estimated failure time;

[0010] Outputting fault warning information according to the warning method; wherein the fault warning information at least includes the potential fault type and the fault recovery strategy.

[0011] In a possible implementation, the obtaining the operating data of the cloud server includes one or more of the following:

[0012] Periodically acquiring the operating status data of the cloud server; wherein the operating status of the cloud server includes at least: a startup status, a fault status, and a shutdown status;

[0013] Periodically obtaining performance indicator data of the cloud server;

[0014] Periodically obtaining log data of the cloud server;

[0015] Periodically acquiring the operating status data of the cloud server; wherein the operating status of the cloud server includes at least: the hardware operating status, software operating status, load status, network connection status and security status of the cloud server;

[0016] According to the set monitoring requirements, the customized monitoring data of the cloud server is periodically obtained.

[0017] In another possible implementation, the performing fault prediction on the cloud server based on the operation data to obtain a fault prediction result includes:

[0018] Performing data cleaning on the operation data;

[0019] Normalize the cleaned operation data;

[0020] Perform feature extraction on the normalized running data;

[0021] Inputting the extracted features into a fault prediction network to perform fault prediction, thereby obtaining the fault prediction result;

[0022] The fault prediction network is a machine learning network trained based on first sample data; the first sample data is operation data collected when the cloud server has a historical fault.

[0023] In another possible implementation, the fault prediction network includes a reasoning module and an interpretation module;

[0024] The step of inputting the extracted features into a fault prediction network for fault prediction to obtain the fault prediction result includes:

[0025] Inputting the extracted features into the reasoning module of the fault prediction network; performing fault prediction through the reasoning module and the knowledge base to obtain a reasoning result;

[0026] The knowledge base is used to store data related to cloud server failures; the inference results include potential failure types and failure causes of the cloud server;

[0027] Obtaining explanatory information of the reasoning result through the explanation module;

[0028] Among them, the explanation module is a local approximation of the reasoning module; the explanatory information provides the decision basis when the reasoning module outputs the reasoning result; and the fault prediction result includes the reasoning result and the explanatory information.

[0029] In another possible implementation, the updating process of the fault prediction network includes:

[0030] In the case of newly added operating data, updating the network parameters of the fault prediction network based on the newly added operating data to obtain an updated fault prediction network; or,

[0031] In the case of newly added operating data, the network parameters of the fault prediction network are updated based on the first sample data and the newly added operating data to obtain an updated fault prediction network.

[0032] In another possible implementation, the updating process of the fault prediction network includes:

[0033] Obtain feedback data from the operation and maintenance object regarding the output fault warning information;

[0034] Based on the acquired feedback data, the network parameters of the fault prediction network are updated to obtain an updated fault prediction network.

[0035] In another possible implementation, obtaining the estimated failure time of the cloud server includes:

[0036] Acquire second sample data; wherein the second sample data is operation data within a preset time range before the same type of failure occurred in the cloud server in the past;

[0037] Establishing a time series analysis model by performing time series analysis on the operation data within the preset time range;

[0038] The current operation data of the cloud server is input into the timing analysis model to obtain the estimated failure time of the cloud server.

[0039] In another possible implementation, the generating a fault recovery strategy based on the potential fault type and the fault cause includes:

[0040] Under the constraints of the service interaction graph, based on the potential fault type and the fault cause, generating the fault recovery strategy;

[0041] The service interaction graph is used to record the association relationship between different cloud services and the propagation path of faults between different cloud services through a graph structure.

[0042] In another possible implementation, determining the early warning method based on the expected failure time includes:

[0043] Determine the warning level based on the time difference between the expected failure time and the current time; wherein the smaller the time difference between the expected failure time and the current time, the higher the warning level;

[0044] The warning method corresponding to the warning level is used as the warning method corresponding to the expected failure time.

[0045] In another possible implementation, the method further includes:

[0046] In response to a time difference between the predicted failure time and the current time being smaller than a time threshold, executing the failure recovery strategy.

[0047] On the other hand, an operation and maintenance management device of a cloud server is provided, wherein the cloud server is used to provide cloud services; the device comprises:

[0048] A data acquisition module, configured to acquire the operation data of the cloud server;

[0049] A fault prediction module is configured to perform fault prediction on the cloud server based on the operation data to obtain a fault prediction result; wherein the fault prediction result includes a potential fault type and fault cause of the cloud server;

[0050] A first management module is configured to generate a fault recovery strategy based on the potential fault type and the fault cause;

[0051] A second management module is configured to determine a probability of failure of the cloud server based on the potential failure type; in response to the probability being greater than a probability threshold, obtain an estimated failure time of the cloud server, and determine an early warning method based on the estimated failure time;

[0052] The warning output module is configured to output fault warning information according to the warning method; wherein the fault warning information at least includes the potential fault type and the fault recovery strategy.

[0053] In a possible implementation, the data acquisition module is configured to perform one or more of the following:

[0054] Periodically acquiring the operating status data of the cloud server; wherein the operating status of the cloud server includes at least: a startup status, a fault status, and a shutdown status;

[0055] Periodically obtaining performance indicator data of the cloud server;

[0056] Periodically obtaining log data of the cloud server;

[0057] Periodically acquiring the operating status data of the cloud server; wherein the operating status of the cloud server includes at least: the hardware operating status, software operating status, load status, network connection status and security status of the cloud server;

[0058] According to the set monitoring requirements, the customized monitoring data of the cloud server is periodically obtained.

[0059] In another possible implementation, the fault prediction module is configured as follows:

[0060] Performing data cleaning on the operation data;

[0061] Normalize the cleaned operation data;

[0062] Perform feature extraction on the normalized running data;

[0063] Inputting the extracted features into a fault prediction network to perform fault prediction, thereby obtaining the fault prediction result;

[0064] The fault prediction network is a machine learning network trained based on first sample data; the first sample data is operation data collected when the cloud server has a historical fault.

[0065] In another possible implementation, the fault prediction network includes a reasoning module and an interpretation module;

[0066] The fault prediction module is configured as follows:

[0067] Inputting the extracted features into the reasoning module of the fault prediction network; performing fault prediction through the reasoning module and the knowledge base to obtain a reasoning result;

[0068] The knowledge base is used to store data related to cloud server failures; the inference results include potential failure types and failure causes of the cloud server;

[0069] Obtaining explanatory information of the reasoning result through the explanation module;

[0070] Among them, the explanation module is a local approximation of the reasoning module; the explanatory information provides the decision basis when the reasoning module outputs the reasoning result; and the fault prediction result includes the reasoning result and the explanatory information.

[0071] In another possible implementation, the updating process of the fault prediction network includes:

[0072] In the case of newly added operating data, updating the network parameters of the fault prediction network based on the newly added operating data to obtain an updated fault prediction network; or,

[0073] In the case of newly added operating data, the network parameters of the fault prediction network are updated based on the first sample data and the newly added operating data to obtain an updated fault prediction network.

[0074] In another possible implementation, the updating process of the fault prediction network includes:

[0075] Obtain feedback data from the operation and maintenance object regarding the output fault warning information;

[0076] Based on the acquired feedback data, the network parameters of the fault prediction network are updated to obtain an updated fault prediction network.

[0077] In another possible implementation, the second management module is configured to:

[0078] Acquire second sample data; wherein the second sample data is operation data within a preset time range before the same type of failure occurred in the cloud server in the past;

[0079] Establishing a time series analysis model by performing time series analysis on the operation data within the preset time range;

[0080] The current operation data of the cloud server is input into the timing analysis model to obtain the estimated failure time of the cloud server.

[0081] In another possible implementation, the first management module is configured to:

[0082] Under the constraints of the service interaction graph, based on the potential fault type and the fault cause, generating the fault recovery strategy;

[0083] The service interaction graph is used to record the association relationship between different cloud services and the propagation path of faults between different cloud services through a graph structure.

[0084] In another possible implementation, the second management module is configured to:

[0085] Determine the warning level based on the time difference between the expected failure time and the current time; wherein the smaller the time difference between the expected failure time and the current time, the higher the warning level;

[0086] The warning method corresponding to the warning level is used as the warning method corresponding to the expected failure time.

[0087] In another possible implementation, the first management module is further configured to:

[0088] In response to a time difference between the predicted failure time and the current time being smaller than a time threshold, executing the failure recovery strategy.

[0089] On the other hand, a computer device is provided, the device comprising a processor and a memory, the memory storing at least one program code, the at least one program code being loaded and executed by the processor to implement the above-mentioned operation and maintenance management method of the cloud server.

[0090] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the above-mentioned operation and maintenance management method of the cloud server.

[0091] On the other hand, a computer program product or a computer program is provided, which includes a computer program code, and the computer program code is stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the computer device executes the above-mentioned operation and maintenance management method of the cloud server.

[0092] The operation and maintenance management solution provided in the embodiment of the present application realizes predictive maintenance for cloud servers. In detail, the solution monitors the cloud server in real time and obtains the operating data of the cloud server, and then predicts faults, locates the cause of faults and automatically proposes recovery strategies for potential faults based on the acquired operating data. Since the solution monitors the cloud server in real time, it can predict problems that may occur in the cloud server in the future and take corresponding measures in advance before the failure occurs, so the stability and reliability of the entire cloud service platform are significantly improved. In other words, the solution greatly reduces manual intervention through automated and intelligent operation and maintenance management methods, realizes rapid fault diagnosis and pre-emptive fault repair, which not only improves the availability and reliability of the service, but also reduces operation and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0094] Figure 1 It is a structural diagram of a fault diagnosis and recovery system provided in an embodiment of the present application;

[0095] Figure 2 It is a flow chart of an operation and maintenance management method of a cloud server provided in an embodiment of the present application;

[0096] Figure 3 It is a flow chart of another cloud server operation and maintenance management method provided in an embodiment of the present application;

[0097] Figure 4 It is a structural diagram of an operation and maintenance management device of a cloud server provided in an embodiment of the present application;

[0098] Figure 5 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0099] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0100] In this application, the terms "first", "second", etc. are used to distinguish the same or similar items with substantially the same role and function. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limitation on the quantity and execution order. It should also be understood that although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms.

[0101] These terms are only used to distinguish one element from another element. For example, without departing from the scope of various examples, a first element can be referred to as a second element, and similarly, a second element can also be referred to as a first element. Both the first element and the second element can be elements, and in some cases, can be separate and different elements.

[0102] Here, at least one means one or more than one, for example, at least one element can be one element, two elements, three elements, or any other integer greater than or equal to one. And multiple means two or more than two, for example, multiple elements can be two elements, three elements, or any other integer greater than or equal to two.

[0103] The "and / or" mentioned in this article indicates that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship.

[0104] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions.

[0105] Figure 1 It is a structural diagram of a fault diagnosis and recovery system provided in an embodiment of the present application.

[0106] See also Figure 1 The system includes the following units: a monitoring and data acquisition unit 101, an automatic fault diagnosis unit 102, a recovery and execution unit 103, an early warning and safety assurance unit 104, a learning and optimization unit 105, and an interaction and management unit 106.

[0107] The monitoring and data collection unit 101 is used to monitor the cloud server and collect data on the operation of the cloud server. Exemplarily, the system uses an out-of-band BMC (Baseboard Management Controller) as the central point for data collection, which is not limited in this application.

[0108] The automatic fault diagnosis unit 102 is used to build and train a machine learning model, and use the machine learning model to analyze the data collected by the monitoring and data acquisition unit 101 to identify potential abnormal patterns and fault signs of the cloud server.

[0109] In addition, the system will also use graph databases (such as Neo4j) to store the relationships between cloud services (such as call relationships), analyze the relationships between performance indicators, capture the root causes of cloud server failures and the propagation paths of failures between cloud services, which is not limited in this application.

[0110] In addition, the system will also be combined with an expert system to locate the cause of the fault, which is not limited in this application.

[0111] The recovery and execution unit 103 is used to automatically formulate a targeted fault recovery strategy according to the diagnosis result given by the fault automatic diagnosis unit 102. Exemplarily, the fault recovery strategy includes but is not limited to: starting a backup service or reconfiguring resources, etc., which is not limited in this application.

[0112] In addition, the system also has a real-time risk warning function, which provides warnings before failures occur through the warning and security assurance unit 104 to help managers (also known as operation and maintenance objects) take timely measures. In addition, the unit will also use security tools to achieve log customization and transparent security management to ensure data security and operation traceability during fault diagnosis and service recovery.

[0113] In addition, after each fault processing, the system will learn and optimize the fault diagnosis and fault recovery strategies through the learning and optimization unit 105 to improve the efficiency and accuracy of handling similar faults in the future.

[0114] In addition, the system also provides an interaction and management module 106. Through the user interaction interface provided by the interaction and management module 106, the administrator can monitor the system status in real time, review the diagnosis results and fault recovery strategies, and access the decision-making process when necessary.

[0115] In summary, the system can monitor cloud servers in real time, quickly and accurately identify potential failures of cloud servers and locate the causes of failures, and automatically propose targeted fault recovery strategies, thereby improving the availability and reliability of services.

[0116] The operation and maintenance management solution based on this system is introduced in detail through the following implementation method.

[0117] Figure 2 1 is a flow chart of a cloud server operation and maintenance management method provided in an embodiment of the present application. The execution subject of the method is a computer device or a computer device cluster, such as Figure 1 The fault diagnosis and recovery system shown. Figure 2 , the method comprising:

[0118] 201. Obtain operation data of a cloud server providing cloud services; perform fault prediction on the cloud server based on the obtained operation data to obtain a fault prediction result; wherein the fault prediction result includes potential fault types and fault causes of the cloud server.

[0119] In the embodiments of the present application, Figure 1 The monitoring and data collection unit 101 shown is responsible for obtaining the operation data of the cloud server. Exemplarily, the monitoring and data collection unit 101 collects the data of the operation of the cloud server through the monitoring tool Prometheus or Zabbix, ELK (Elasticsearch, Logstash, Kibana) stack, ipmitool tool or ipmiutil tool, etc., which is not limited in this application.

[0120] In a possible implementation, obtaining the operating data of the cloud server providing the cloud service includes one or more of the following:

[0121] 1. Periodically obtain the operating status data of the cloud server, wherein the operating status of the cloud server includes at least: startup status, fault status and shutdown status.

[0122] 2. Periodically obtain the performance indicator data of the cloud server. The performance indicators include but are not limited to:

[0123] CPU (Central Processing Unit) performance: refers to the processor performance of the cloud server, including the number of cores, main frequency, cache and other indicators of the processor. Among them, the higher the CPU performance, the stronger the computing power of the cloud server.

[0124] Memory performance: refers to the memory capacity and bandwidth of the cloud server. The memory capacity determines the number of tasks and data that the cloud server can process simultaneously, while the memory bandwidth determines the speed at which the cloud server can read and write memory.

[0125] Storage performance: refers to the storage media and storage bandwidth of the cloud server. The storage media can be hard disks, solid-state drives, or NVMe, and the storage bandwidth determines the speed at which the cloud server can read and write storage.

[0126] Network performance: refers to the network bandwidth and network latency of the cloud server. Network bandwidth determines the data transmission rate between the cloud server and the outside world, while network latency affects the response speed between the cloud server and the client.

[0127] 3. Periodically obtain the log data of the cloud server. The log data includes but is not limited to: application logs, system logs or security logs, etc., which are not limited in this application.

[0128] 4. Periodically obtain the operating status data of the cloud server; the operating status of the cloud server includes at least: the hardware operating status, software operating status, load status, network connection status and security status of the cloud server.

[0129] 5. According to the set monitoring requirements, periodically obtain the customized monitoring data of the cloud server.

[0130] In this case, managers can customize monitoring according to actual monitoring needs, thereby collecting customized monitoring data.

[0131] 202. Generate a fault recovery strategy based on potential fault types and fault causes of the cloud server.

[0132] This step is done by Figure 1 The restore and execution unit 103 is shown to execute.

[0133] For example, when generating a fault recovery strategy, you can use Python or Go and other programming languages ​​to write an automation script, and execute the automation script to achieve automatic fault repair. In the embodiment of the present application, the recovery and execution unit 103 achieves close integration with the management tool of the cloud service platform by generating and executing the fault recovery strategy, thereby automating the fault recovery process.

[0134] 203. Based on the potential failure types of the cloud server, determine the probability of failure of the cloud server; in response to the probability of failure being greater than a probability threshold, obtain an estimated failure time of the cloud server, and determine an early warning method based on the obtained estimated failure time.

[0135] In a possible implementation, in response to the probability of a failure being less than or equal to the probability threshold, a failure recovery strategy may be directly executed without outputting a failure warning, which is not limited in the present application.

[0136] In another possible implementation, based on the acquired expected failure time, the warning method is determined in the following manner: first, based on the time difference between the expected failure time and the current time, the warning level is determined; wherein, the smaller the time difference between the expected failure time and the current time, the higher the warning level; thereafter, the warning method corresponding to the determined warning level is used as the warning method corresponding to the expected failure time.

[0137] For example, the early warning methods include but are not limited to: Figure 1 The user interaction interface provided by the interaction and management module 106 is shown to perform visual notification, short message notification, email notification or voice notification, etc., which is not limited in this application. Among them, the higher the warning level, the higher the reminder level of the corresponding warning method, and the faster the management personnel will receive the notification.

[0138] 204. Output fault warning information according to the determined warning method; wherein the fault warning information at least includes potential fault types and fault recovery strategies.

[0139] The fault warning information may be in the form of text and pictures, or in the form of voice, or in the form of a combination of text and pictures and voice, which is not limited in the present application.

[0140] The operation and maintenance management solution provided in the embodiment of the present application realizes predictive maintenance for cloud servers. In detail, the solution monitors the cloud server in real time and obtains the operating data of the cloud server, and then predicts faults, locates the cause of faults and automatically proposes recovery strategies for potential faults based on the acquired operating data. Since the solution monitors the cloud server in real time, it can predict problems that may occur in the cloud server in the future and take corresponding measures in advance before the failure occurs, so the stability and reliability of the entire cloud service platform are significantly improved. In other words, the solution greatly reduces manual intervention through automated and intelligent operation and maintenance management methods, realizes rapid fault diagnosis and pre-emptive fault repair, which not only improves the availability and reliability of the service, but also reduces operation and maintenance costs.

[0141] Above Figure 2 The following is only a basic process of the embodiment of the present application. The solution provided by the present application is further described based on a specific implementation method. Figure 3 1 is a flowchart of another cloud server operation and maintenance management method provided by an embodiment of the present application. The execution subject of the method is a computer device or a computer device cluster, such as Figure 1 The fault diagnosis and recovery system shown in FIG. Figure 3 As shown, the method flow includes the following steps:

[0142] 301. Obtain operation data of a cloud server providing cloud services; perform fault prediction on the cloud server based on the obtained operation data to obtain a fault prediction result; wherein the fault prediction result includes potential fault types and fault causes of the cloud server.

[0143] In the embodiments of the present application, Figure 1 The automatic fault diagnosis unit 102 shown is responsible for fault prediction.

[0144] In a possible implementation, the automatic fault diagnosis unit 102 predicts the fault of the cloud server based on the acquired operation data in the following manner:

[0145] First, the acquired operation data is cleaned to remove invalid, incomplete or erroneous data.

[0146] After that, the cleaned operational data is normalized to ensure consistency when analyzing data from different sources or different types.

[0147] Next, feature extraction is performed on the normalized running data. Feature extraction is used to extract representative and distinguishing features (also called key features) from the original data, which are used for subsequent data analysis.

[0148] Afterwards, the extracted features are input into the fault prediction network for fault prediction to obtain a fault prediction result. Exemplarily, the fault prediction network uses machine learning and natural language processing technology for data analysis.

[0149] The first point to be explained is that the fault prediction network is a machine learning network trained based on the first sample data, wherein the first sample data is the operation data collected when the cloud server has a historical fault.

[0150] In another possible implementation, the fault prediction network includes a reasoning module and an interpretation module.

[0151] Accordingly, the extracted features are input into the fault prediction network to perform fault prediction to obtain fault prediction results, including but not limited to the following methods:

[0152] First, the extracted features are input into the reasoning module of the fault prediction network. Fault prediction is performed through the reasoning module and the knowledge base to obtain the reasoning results. The knowledge base is used to store data related to cloud server failures. The reasoning results include potential failure types and causes of cloud servers.

[0153] Next, the explanation information of the reasoning result is obtained through the explanation module; wherein the explanation information provides the decision basis when the reasoning module outputs the reasoning result.

[0154] The fault prediction result includes the above-mentioned reasoning result and the above-mentioned explanatory information.

[0155] The second point that needs to be explained is that, in response to the black box problem of the fault prediction network, when a fault is detected, the embodiment of the present application can also output corresponding explanatory information together with the above-mentioned reasoning results to explain the decision-making basis of the system when determining the fault situation, thereby enhancing the interpretability of the system. Among them, explanatory technology can provide transparency in the network decision-making process. Exemplarily, the embodiment of the present application applies an explanation module to provide a detailed explanation for the anomaly detection results to help managers understand why the network makes such a judgment. That is, the present application implements the explanatory information of the above-mentioned reasoning results obtained based on the explanation module. Among them, the explanation module is a local approximation of the reasoning module. In addition, explanatory technology can also help developers improve the reasoning module and guide future model training and optimization by identifying unreasonable aspects in the network decision-making process.

[0156] In another possible implementation, after being deployed, the fault prediction network can also be used to Figure 1 The learning and optimization module 105 shown performs updating and continuous optimization.

[0157] Exemplarily, for network updates, an incremental learning mechanism can be introduced, which allows the network to accept new running data without retraining, so as to improve the real-time performance of the system and reduce dependence on computing resources. In detail, incremental learning focuses on how to gradually integrate new data into the existing model without retraining the entire model. This method is often used in scenarios where data streams are constantly arriving. Among them, the data arriving each time may only be a small batch. In incremental learning, the focus of model updates is to retain the knowledge that has been learned (to avoid catastrophic forgetting) while integrating new knowledge. This requires the model to remember the old data features while quickly adapting to the changes brought about by the new data. Incremental learning usually does not need to store old data sets because it assumes that new data arrives continuously and once the new data is used for training, it is no longer needed.

[0158] Exemplarily, the embodiment of the present application adopts a continuous training update strategy to update the deployed fault prediction network:

[0159] Method 1: Use the old network as the basis and only use new data to update the network.

[0160] For this method, when new operating data is added, the network parameters of the fault prediction network are updated based on the new operating data, thereby obtaining an updated fault prediction network.

[0161] Method 2: Use the old network as the basis and use the old data and new data to update the network.

[0162] For this method, that is, when new operating data is added, the network parameters of the fault prediction network are updated based on the first sample data and the new operating data, thereby obtaining an updated fault prediction network.

[0163] In another possible implementation, the updating process of the fault prediction network further includes:

[0164] Obtain feedback data from the operation and maintenance object regarding the output fault warning information; based on the obtained feedback data, update the network parameters of the fault prediction network to obtain an updated fault prediction network.

[0165] Exemplarily, the feedback data may be a comment operation of the target object on the fault warning information, or an operation taken after receiving the fault warning information, which is not limited in the present application.

[0166] In another possible implementation, in the face of ever-changing service relationships and network topologies, the present embodiment of the present application will also dynamically adjust the fault prediction results to adapt to these changes. In other words, the method provided by the embodiment of the present application also includes:

[0167] Obtain a server interaction graph; wherein the service interaction graph is used to record the association relationship between different cloud services and the propagation path of faults between different cloud services through a graph structure; and adjust the fault prediction result output by the fault prediction network according to the obtained service interaction graph.

[0168] 302. Generate a fault recovery strategy based on potential fault types and fault causes of the cloud server.

[0169] In another possible implementation, in the face of ever-changing service relationships and network topologies, the embodiments of the present application will also dynamically adjust the fault recovery strategy to adapt to these changes.

[0170] In other words, based on potential fault types and fault causes, a fault recovery strategy is generated, including but not limited to the following methods: under the constraints of the service interaction graph, a fault recovery strategy is generated based on potential fault types and fault causes; wherein the service interaction graph is used to record the association relationship between different cloud services and the propagation path of faults between different cloud services through a graph structure.

[0171] 303. Based on the potential failure types of the cloud server, determine the probability of failure of the cloud server; in response to the probability of failure being greater than a probability threshold, obtain an estimated failure time of the cloud server, and determine an early warning method based on the obtained estimated failure time.

[0172] In a possible implementation, a correlation table between fault types and fault probabilities may be pre-built. Based on the potential fault types of the cloud server, the probability of the cloud server fault may be obtained by querying the correlation table.

[0173] In another possible implementation, the probability of a cloud server failure may also be given by a fault prediction network, which is not limited in this application.

[0174] In another possible implementation, the embodiment of the present application obtains the estimated failure time of the cloud server in the following manner:

[0175] First, obtain the second sample data. The second sample data is the operating data within a preset time range before the same type of failure occurred in the cloud server in the past. Exemplarily, the preset time range can be one day, three days, or seven days before the same type of failure occurred in the past, and the present application does not limit this. Afterwards, a timing analysis model is established by performing a timing analysis on the operating data within the preset time range. Next, the current operating data of the cloud server is input into the established timing analysis model to obtain the estimated failure time of the cloud server.

[0176] 304. In response to the time difference between the acquired estimated failure time and the current time being less than the time threshold, execute the failure recovery strategy and output failure warning information according to the determined warning method; wherein the failure warning information at least includes potential failure types and failure recovery strategies.

[0177] In one possible implementation, if the expected failure time is close to the current time, Figure 1 The recovery and execution unit 103 shown will automatically execute the fault recovery strategy to ensure the stable operation of the system.

[0178] In summary, the operation and maintenance management solution provided in the embodiment of the present application realizes predictive maintenance for cloud servers. In detail, the solution will monitor the cloud server in real time and obtain the operating data of the cloud server, and then predict faults, locate the causes of faults and automatically propose recovery strategies for potential faults based on the acquired operating data. Since the solution monitors the cloud server in real time, it can predict problems that may occur in the cloud server in the future and take corresponding measures in advance before the failure occurs, so the stability and reliability of the entire cloud service platform are significantly improved. In other words, the solution can dynamically adapt to the ever-changing cloud service environment through automated and intelligent operation and maintenance management methods, greatly reducing manual intervention, realizing rapid fault diagnosis and pre-fault repair, which not only improves the availability and reliability of the service, but also reduces operation and maintenance costs.

[0179] In addition, the solution provided in the embodiment of the present application is based on machine learning technology to perform data analysis and complete fault prediction. Since machine learning technology can not only automatically learn key features in operating data, but also accurately capture complex nonlinear relationships, fault prediction based on machine learning technology is more efficient and more accurate. In other words, the use of advanced machine learning algorithms can more accurately identify potential abnormal patterns and signs of faults.

[0180] In addition, after deployment, the fault prediction network can be updated and continuously optimized through learning and optimization modules, thereby providing decision support for operation and maintenance objects, helping them to better solve and manage complex cloud service environments.

[0181] Figure 4 It is a structural diagram of an operation and maintenance management device for a cloud server provided in an embodiment of the present application.

[0182] The cloud server is used to provide cloud services. Figure 4 , the device comprises:

[0183] The data acquisition module 401 is configured to acquire the operation data of the cloud server;

[0184] A fault prediction module 402 is configured to perform fault prediction on the cloud server based on the operation data to obtain a fault prediction result; wherein the fault prediction result includes a potential fault type and fault cause of the cloud server;

[0185] A first management module 403 is configured to generate a fault recovery strategy based on the potential fault type and the fault cause;

[0186] The second management module 404 is configured to determine the probability of failure of the cloud server based on the potential failure type; in response to the probability being greater than a probability threshold, obtain an estimated failure time of the cloud server, and determine an early warning method based on the estimated failure time;

[0187] The warning output module 405 is configured to output fault warning information according to the warning method; wherein the fault warning information at least includes the potential fault type and the fault recovery strategy.

[0188] The operation and maintenance management solution provided in the embodiment of the present application realizes predictive maintenance for cloud servers. In detail, the solution monitors the cloud server in real time and obtains the operating data of the cloud server, and then predicts faults, locates the cause of faults and automatically proposes recovery strategies for potential faults based on the acquired operating data. Since the solution monitors the cloud server in real time, it can predict problems that may occur in the cloud server in the future and take corresponding measures in advance before the failure occurs, so the stability and reliability of the entire cloud service platform are significantly improved. In other words, the solution greatly reduces manual intervention through automated and intelligent operation and maintenance management methods, realizes rapid fault diagnosis and pre-emptive fault repair, which not only improves the availability and reliability of the service, but also reduces operation and maintenance costs.

[0189] In a possible implementation, the data acquisition module 401 is configured to perform one or more of the following:

[0190] Periodically acquiring the operating status data of the cloud server; wherein the operating status of the cloud server includes at least: a startup status, a fault status, and a shutdown status;

[0191] Periodically obtaining performance indicator data of the cloud server;

[0192] Periodically obtaining log data of the cloud server;

[0193] Periodically acquiring the operating status data of the cloud server; wherein the operating status of the cloud server includes at least: the hardware operating status, software operating status, load status, network connection status and security status of the cloud server;

[0194] According to the set monitoring requirements, the customized monitoring data of the cloud server is periodically obtained.

[0195] In another possible implementation, the fault prediction module 402 is configured to:

[0196] Performing data cleaning on the operation data;

[0197] Normalize the cleaned operation data;

[0198] Perform feature extraction on the normalized running data;

[0199] Inputting the extracted features into a fault prediction network to perform fault prediction, thereby obtaining the fault prediction result;

[0200] The fault prediction network is a machine learning network trained based on first sample data; the first sample data is operation data collected when the cloud server has a historical fault.

[0201] In another possible implementation, the fault prediction network includes a reasoning module and an interpretation module;

[0202] The fault prediction module 402 is configured to:

[0203] Inputting the extracted features into the reasoning module of the fault prediction network; performing fault prediction through the reasoning module and the knowledge base to obtain a reasoning result;

[0204] The knowledge base is used to store data related to cloud server failures; the inference results include potential failure types and failure causes of the cloud server;

[0205] Obtaining explanatory information of the reasoning result through the explanation module;

[0206] Among them, the explanation module is a local approximation of the reasoning module; the explanatory information provides the decision basis when the reasoning module outputs the reasoning result; and the fault prediction result includes the reasoning result and the explanatory information.

[0207] In another possible implementation, the updating process of the fault prediction network includes:

[0208] In the case of newly added operating data, updating the network parameters of the fault prediction network based on the newly added operating data to obtain an updated fault prediction network; or,

[0209] In the case of newly added operating data, the network parameters of the fault prediction network are updated based on the first sample data and the newly added operating data to obtain an updated fault prediction network.

[0210] In another possible implementation, the updating process of the fault prediction network includes:

[0211] Obtain feedback data from the operation and maintenance object regarding the output fault warning information;

[0212] Based on the acquired feedback data, the network parameters of the fault prediction network are updated to obtain an updated fault prediction network.

[0213] In another possible implementation, the second management module 404 is configured to:

[0214] Acquire second sample data; wherein the second sample data is operation data within a preset time range before the same type of failure occurred in the cloud server in the past;

[0215] Establishing a time series analysis model by performing time series analysis on the operation data within the preset time range;

[0216] The current operation data of the cloud server is input into the timing analysis model to obtain the estimated failure time of the cloud server.

[0217] In another possible implementation, the first management module 403 is configured to:

[0218] Under the constraints of the service interaction graph, based on the potential fault type and the fault cause, generating the fault recovery strategy;

[0219] The service interaction graph is used to record the association relationship between different cloud services and the propagation path of faults between different cloud services through a graph structure.

[0220] In another possible implementation, the second management module 404 is configured to:

[0221] Determine the warning level based on the time difference between the expected failure time and the current time; wherein the smaller the time difference between the expected failure time and the current time, the higher the warning level;

[0222] The warning method corresponding to the warning level is used as the warning method corresponding to the expected failure time.

[0223] In another possible implementation, the first management module 403 is further configured to:

[0224] In response to a time difference between the predicted failure time and the current time being smaller than a time threshold, executing the failure recovery strategy.

[0225] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0226] It should be noted that: the operation and maintenance management device of the cloud server provided in the above embodiment only uses the division of the above functional modules as an example when operating and maintaining the cloud service. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the operation and maintenance management device of the cloud server provided in the above embodiment and the operation and maintenance management method embodiment of the cloud server belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0227] Figure 5 It is a structural diagram of a computer device provided in an embodiment of the present application.

[0228] The computer 500 may be a server. The computer device 500 may have relatively large differences due to different configurations or performances, including one or more processors (Central Processing Units, CPU) 501 and one or more memories 502, wherein the memory 502 stores at least one program code, and the at least one program code is loaded and executed by the processor 501 to implement the above-mentioned cloud server operation and maintenance management method. Of course, the computer device 500 also has components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The computer device 500 also includes other components for realizing the functions of the device, which will not be repeated here.

[0229] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including a program code, and the program code can be executed by a processor in a computer device to complete the operation and maintenance management method of the cloud server. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device.

[0230] In an exemplary embodiment, a computer program product or a computer program is also provided, which includes a computer program code, and the computer program code is stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the computer device executes the above-mentioned operation and maintenance management method of the cloud server.

[0231] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0232] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A cloud server operation and maintenance management method, It is characterized in that The cloud server is used to provide cloud services; the method comprises: Obtaining operation data of the cloud server; Performing fault prediction on the cloud server based on the operation data to obtain a fault prediction result; wherein the fault prediction result includes a potential fault type and fault cause of the cloud server; Generate a fault recovery strategy based on the potential fault type and the fault cause; Based on the potential failure type, determining the probability of failure of the cloud server; in response to the probability being greater than a probability threshold, obtaining an estimated failure time of the cloud server, and determining an early warning method based on the estimated failure time; Outputting fault warning information according to the warning method; wherein the fault warning information at least includes the potential fault type and the fault recovery strategy.

2. The method according to claim 1, It is characterized in that The obtaining of the operation data of the cloud server includes one or more of the following: Periodically acquiring the operating status data of the cloud server; wherein the operating status of the cloud server includes at least: a startup status, a fault status, and a shutdown status; Periodically obtaining performance indicator data of the cloud server; Periodically obtaining log data of the cloud server; Periodically acquiring the operating status data of the cloud server; wherein the operating status of the cloud server includes at least: the hardware operating status, software operating status, load status, network connection status and security status of the cloud server; According to the set monitoring requirements, the customized monitoring data of the cloud server is periodically obtained.

3. The method according to claim 1, It is characterized in that The performing fault prediction on the cloud server based on the operation data to obtain a fault prediction result includes: Performing data cleaning on the operation data; Normalize the cleaned operation data; Perform feature extraction on the normalized running data; Inputting the extracted features into a fault prediction network to perform fault prediction, thereby obtaining the fault prediction result; The fault prediction network is a machine learning network trained based on first sample data; the first sample data is operation data collected when the cloud server has a historical fault.

4. The method according to claim 3, It is characterized in that The fault prediction network includes a reasoning module and an interpretation module; the extracted features are input into the fault prediction network for fault prediction to obtain the fault prediction result, including: Inputting the extracted features into the reasoning module of the fault prediction network; performing fault prediction through the reasoning module and the knowledge base to obtain a reasoning result; The knowledge base is used to store data related to cloud server failures; the inference results include potential failure types and failure causes of the cloud server; Obtaining explanatory information of the reasoning result through the explanation module; Among them, the explanation module is a local approximation of the reasoning module; the explanatory information provides the decision basis when the reasoning module outputs the reasoning result; and the fault prediction result includes the reasoning result and the explanatory information.

5. The method according to claim 3, It is characterized in that The updating process of the fault prediction network includes: In the case of newly added operating data, updating the network parameters of the fault prediction network based on the newly added operating data to obtain an updated fault prediction network; or, In the case of newly added operating data, the network parameters of the fault prediction network are updated based on the first sample data and the newly added operating data to obtain an updated fault prediction network.

6. The method according to claim 3, It is characterized in that The updating process of the fault prediction network includes: Obtain feedback data from the operation and maintenance object regarding the output fault warning information; Based on the acquired feedback data, the network parameters of the fault prediction network are updated to obtain an updated fault prediction network.

7. The method according to claim 1, It is characterized in that The obtaining the estimated failure time of the cloud server includes: Acquire second sample data; wherein the second sample data is operation data within a preset time range before the same type of failure occurred in the cloud server in the past; Establishing a time series analysis model by performing time series analysis on the operation data within the preset time range; The current operation data of the cloud server is input into the timing analysis model to obtain the estimated failure time of the cloud server.

8. The method according to claim 1, It is characterized in that The generating a fault recovery strategy based on the potential fault type and the fault cause includes: Under the constraints of the service interaction graph, based on the potential fault type and the fault cause, generating the fault recovery strategy; The service interaction graph is used to record the association relationship between different cloud services and the propagation path of faults between different cloud services through a graph structure.

9. The method according to claim 1, It is characterized in that The method further comprises: Obtaining a server interaction graph; wherein the service interaction graph is used to record the association relationship between different cloud services and the propagation path of faults between different cloud services through a graph structure; The fault prediction result is adjusted according to the service interaction diagram.

10. The method according to claim 1, It is characterized in that The determining of the early warning method based on the expected failure time includes: Determine the warning level based on the time difference between the expected failure time and the current time; wherein the smaller the time difference between the expected failure time and the current time, the higher the warning level; The warning method corresponding to the warning level is used as the warning method corresponding to the expected failure time.

11. The method according to any one of claims 1 to 10, It is characterized in that The method further comprises: In response to a time difference between the predicted failure time and the current time being smaller than a time threshold, executing the failure recovery strategy.

12. An operation and maintenance management device for a cloud server, It is characterized in that The cloud server is used to provide cloud services; the device includes: A data acquisition module, configured to acquire the operation data of the cloud server; A fault prediction module is configured to perform fault prediction on the cloud server based on the operation data to obtain a fault prediction result; wherein the fault prediction result includes a potential fault type and fault cause of the cloud server; A first management module is configured to generate a fault recovery strategy based on the potential fault type and the fault cause; A second management module is configured to determine a probability of failure of the cloud server based on the potential failure type; in response to the probability being greater than a probability threshold, obtain an estimated failure time of the cloud server, and determine an early warning method based on the estimated failure time; The warning output module is configured to output fault warning information according to the warning method; wherein the fault warning information at least includes the potential fault type and the fault recovery strategy.

13. A computer device, It is characterized in that The device includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the operation and maintenance management method of the cloud server as claimed in any one of claims 1 to 11.

14. A computer-readable storage medium, It is characterized in that At least one program code is stored in the storage medium, and the at least one program code is loaded and executed by the processor to implement the operation and maintenance management method of the cloud server as claimed in any one of claims 1 to 11.

15. A computer program product or a computer program, It is characterized in that The computer program product or computer program includes a computer program code, which is stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the computer device executes the operation and maintenance management method of the cloud server as described in any one of claims 1 to 11.

Citation Information

Cited By

  • Cloud computing equipment operation and maintenance fault analysis and early warning method

    CN118885950A

  • Service operation and maintenance method and system based on cloud service architecture

    CN119383115A

  • Server fault prediction method and device, electronic equipment and storage medium

    CN119603175A