Method and device for assisting server BMC operation and maintenance based on artificial intelligence model

By integrating the artificial intelligence model in the server BMC, using natural language input to analyze operation and maintenance logs, and generating operation and maintenance solutions, the problem of low operation and maintenance efficiency in the existing technology is solved, and rapid troubleshooting and improvement of operation and maintenance efficiency are achieved.

CN118394605BActive Publication Date: 2024-10-01NEW H3C AI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410822220.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-01
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

Existing server operation and maintenance relies on manual analysis of operation and maintenance logs, which is inefficient, resulting in low operation and maintenance efficiency and high costs.

Method used

Adopt the BMC operation and maintenance method based on artificial intelligence model assistance, obtain natural language input through the BMC assistant, use the trained artificial intelligence model to analyze operation and maintenance logs, and generate operation and maintenance solutions, including exception analysis, script coding, and problem query.

Benefits of technology

It reduces labor costs and operation and maintenance waiting time, improves operation and maintenance efficiency, reduces interaction delays, and can quickly eliminate server faults and resume operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118394605B_ABST
    Figure CN118394605B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method and device for assisting the operation and maintenance of a server BMC based on an artificial intelligence model. In this embodiment, the natural language input by the user is obtained through the BMC assistant configured on the server, and the natural language is sent to the trained artificial intelligence model in the BMC through model extraction integration configuration, the target intent identified by the artificial intelligence model from the natural language is obtained, and an operation and maintenance solution that meets the target intent is generated based on the target intent. This no longer relies on manual operation and maintenance solutions, but uses artificial intelligence models to provide operation and maintenance solutions, which can reduce labor costs and operation and maintenance waiting time, thereby improving operation and maintenance efficiency, eliminating server failures in a timely manner, and quickly restoring server operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server operation and maintenance technology, and in particular to a method and device for server BMC operation and maintenance assisted by an artificial intelligence model. Background Art

[0002] In the field of server operation and maintenance, operation and maintenance solutions are usually given manually. For example, when the baseboard management controller (BMC) in the server detects that the server has a fault, it will send the server's operation log to the operation and maintenance personnel. The operation and maintenance personnel will manually analyze the operation log one by one to locate the root cause of the exception and the solution to solve the exception.

[0003] However, this operation and maintenance method relies too much on manual labor, resulting in low server operation and maintenance efficiency. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a method and device for assisting server BMC operation and maintenance based on an artificial intelligence model, which utilizes an artificial intelligence model to assist operation and maintenance to improve the efficiency of server operation and maintenance.

[0005] The embodiment of the present application provides a method for operating and maintaining a server BMC based on an artificial intelligence model. The server is configured with a BMC assistant, which provides an input port for inputting natural language; and provides an interface for interacting with a trained artificial intelligence model. The artificial intelligence model is trained in the cloud, and after training, it is integrated into the server BMC through model extraction. The method includes:

[0006] Through the BMC assistant, the natural language input by the user is obtained and sent to the artificial intelligence model;

[0007] Obtain the target intent identified by the artificial intelligence model from natural language;

[0008] Generate an operation and maintenance solution that meets the target intent based on the target intent;

[0009] Among them, when the target intent is to analyze the cause of the server exception, generating an operation and maintenance solution that meets the target intent based on the target intent includes: calling the BMC to provide the server's operation log data to the artificial intelligence model, so that the artificial intelligence model analyzes the cause of the exception based on the operation log data and provides a solution to resolve the exception.

[0010] As an embodiment, when the target intent is to analyze the operation log data of the server within a specified period of time, generating an operation and maintenance solution that meets the target intent based on the target intent includes:

[0011] Analyze the operation log data within a specified period of time;

[0012] When it is determined that the server is abnormal based on analyzing the operation log data within a specified period of time, the operation log data within the specified period of time is fed to the artificial intelligence model;

[0013] Output the exception, the cause of the exception obtained from the artificial intelligence model, and the solution to resolve the exception.

[0014] As an embodiment, when the target intent is to write an operation and maintenance script, generating an operation and maintenance solution that meets the target intent based on the target intent includes:

[0015] Call the artificial intelligence model to generate a script coding strategy, which is used to indicate the coding logic of the operation and maintenance script.

[0016] As an embodiment, when the target intent is an answer to a query target question, generating an operation and maintenance solution that satisfies the target intent based on the target intent includes:

[0017] Based on the target intent, search for a text question and a text answer to the text question that matches the target intent from the deployed database;

[0018] Output the found text question and the text answer to the text question.

[0019] As an embodiment, the artificial intelligence model is trained using the historical operation log data of the server as training samples, and the anomalies existing in the historical operation log data and the solutions corresponding to the anomalies are the sample labels of the training samples; the historical operation log data includes at least: server register manual, server configuration file, server hardware parameters, and server operation parameters.

[0020] The embodiment of the present application also provides a server BMC operation and maintenance device based on an artificial intelligence model. The server is configured with a BMC assistant, which provides an input port for inputting natural language; and provides an interface for interacting with a trained artificial intelligence model; the artificial intelligence model is trained in the cloud, and after training, it is integrated into the server BMC through model extraction. The device includes:

[0021] The first acquisition module is used to obtain the natural language input by the user through the BMC assistant and send the natural language to the artificial intelligence model;

[0022] The second acquisition module is used to obtain the target intention recognized by the artificial intelligence model from the natural language;

[0023] A generation module is used to generate an operation and maintenance solution that meets the target intent based on the target intent;

[0024] Among them, when the target intent is to analyze the cause of the server exception, generating an operation and maintenance solution that meets the target intent based on the target intent includes: calling the BMC to provide the server's operation log data to the artificial intelligence model, so that the artificial intelligence model analyzes the cause of the exception based on the operation log data and provides a solution to resolve the exception.

[0025] As an embodiment, when the target intent is to analyze the operation log data of the server within a specified period of time, generating an operation and maintenance solution that meets the target intent based on the target intent includes:

[0026] Analyze the operation log data within a specified period of time;

[0027] When it is determined that the server is abnormal based on analyzing the operation log data within a specified period of time, the operation log data within the specified period of time is fed to the artificial intelligence model;

[0028] Output the exception, the cause of the exception obtained from the artificial intelligence model, and the solution to resolve the exception.

[0029] As an embodiment, when the target intent is to write an operation and maintenance script, generating an operation and maintenance solution that meets the target intent based on the target intent includes:

[0030] Call the artificial intelligence model to generate a script coding strategy, which is used to indicate the coding logic of the operation and maintenance script.

[0031] As an embodiment, when the target intent is an answer to a query target question, generating an operation and maintenance solution that satisfies the target intent based on the target intent includes:

[0032] Based on the target intent, search for a text question and a text answer to the text question that matches the target intent from the deployed database;

[0033] Output the found text question and the text answer to the text question.

[0034] As an embodiment, the artificial intelligence model is trained using the historical operation log data of the server as training samples, and the anomalies existing in the historical operation log data and the solutions corresponding to the anomalies are the sample labels of the training samples; the historical operation log data includes at least: server register manual, server configuration file, server hardware parameters, and server operation parameters.

[0035] An embodiment of the present application also provides an electronic device, including: a processor and a memory for storing computer program instructions, and when the computer program instructions are executed by the processor, the processor executes the steps of the above method.

[0036] An embodiment of the present application also provides a computer program product, which, when executed by a processor, implements the steps of the above method.

[0037] An embodiment of the present application also provides a machine-readable storage medium, which stores computer program instructions. When the computer program instructions are executed, the steps of the above method can be implemented.

[0038] It can be seen from the above technical solution that in this embodiment, the natural language input by the user is obtained through the configured BMC assistant, and the natural language is sent to the trained artificial intelligence model to obtain the target intent recognized by the artificial intelligence model from the natural language, and an operation and maintenance solution that meets the target intent is generated based on the target intent. This does not rely on manual operation and maintenance solutions, but uses artificial intelligence models to provide operation and maintenance solutions, which can reduce labor costs and operation and maintenance waiting time, thereby improving operation and maintenance efficiency.

[0039] Furthermore, when the goal is to analyze the cause of the server exception, the BMC is called to provide the server's operation log data to the artificial intelligence model, so that the artificial intelligence model analyzes the cause of the exception based on the operation log data and provides a solution to the exception. This method does not require manual analysis of logs one by one to determine the root cause of the exception and provide a solution to the exception. It can reduce labor costs and operation and maintenance waiting time, thereby improving operation and maintenance efficiency, eliminating server failures in a timely manner, and quickly restoring server operation.

[0040] Furthermore, by setting up a BMC assistant on the server, which serves as an input port for natural language and also as an interface for calling artificial intelligence models for interaction, users can perform operation and maintenance through natural language. Compared with the existing technology in which users and servers perform operation and maintenance through interface interaction, this effectively reduces interaction delays, further improving operation and maintenance efficiency.

[0041] Furthermore, the trained artificial intelligence model is integrated into the BMC through model extraction, and the artificial intelligence model is called with the help of the BMC assistant. This solves the problem that the BMC has limited computing power and is unable to support the artificial intelligence model that requires greater computing power. The method provided in this embodiment enables users to interact with the artificial intelligence model through natural language to achieve operation and maintenance even in the BMC scenario with limited computing power. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of a process for a method provided in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of generating an operation and maintenance solution that meets the target intent provided in an embodiment of the present application;

[0044] Figure 3 A schematic diagram of generating an operation and maintenance solution that meets the target intent provided in an embodiment of the present application;

[0045] Figure 4 A schematic diagram of the structure of the device provided in the embodiment of the present application;

[0046] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.

[0048] See also Figure 1 , Figure 1 A flow chart of the method provided for the embodiment of the present application. As an embodiment, the process is applied to a server. The server is configured with a BMC assistant (BMC Copilot), which provides an input port for inputting natural language, and an interface for interacting with the artificial intelligence model. The artificial intelligence model is trained in the cloud, and then the artificial intelligence model is deployed in the BMC through model extraction techniques such as pruning, quantization, and distillation. Through the above-mentioned model extraction method, the size of the model can be reduced, the reasoning speed can be accelerated, and the artificial intelligence model that requires greater computing power can be integrated into the BMC, so that the artificial intelligence model can be fully utilized in the BMC scenario with limited computing power.

[0049] like Figure 1 As shown, the process may include the following steps:

[0050] S101, obtaining natural language input by the user, and sending the natural language to the trained artificial intelligence model.

[0051] As an embodiment, the server is configured with a BMC assistant (BMC Copilot), which provides an input port for inputting natural language, and an interface for interacting with the artificial intelligence model. For example, the BMC assistant is integrated into the server BMC management interface, and the user inputs natural language through the BMC assistant, and the server also calls the artificial intelligence model through the BMC assistant. As an embodiment, a plug-in is configured in the BMC interface that has been configured on the server. This plug-in is the above-mentioned BMC interface, and the plug-in can call the artificial intelligence model. In this way, the artificial intelligence model is integrated into the BMC user interaction interface to realize the deployment and application of the artificial intelligence model.

[0052] S102, obtaining the target intent recognized by the artificial intelligence model from the natural language.

[0053] In this embodiment, since the artificial intelligence model is trained with the trained large language model as the initial model, the artificial intelligence model has semantic recognition capability, and it can recognize the target intention from natural language. As for how the artificial intelligence model specifically performs speech recognition, the embodiment of the application does not specifically limit it.

[0054] S103, generating an operation and maintenance solution that meets the target intent based on the target intent.

[0055] In this embodiment, when the target intent is different, the specific implementation method of generating an operation and maintenance solution that meets the target intent is also different, which will be explained in the form of a specific embodiment later and will not be repeated here.

[0056] So far, completed Figure 1 The process shown.

[0057] pass Figure 1 As can be seen from the process shown, the natural language input by the user is obtained through the configured BMC assistant, and the natural language is sent to the trained artificial intelligence model to obtain the target intent recognized by the artificial intelligence model from the natural language, and an operation and maintenance solution that meets the target intent is generated based on the target intent. This does not rely on manual operation and maintenance solutions, but uses artificial intelligence models to provide operation and maintenance solutions, which can reduce labor costs and operation and maintenance waiting time, thereby improving operation and maintenance efficiency.

[0058] Furthermore, by setting up a BMC assistant on the server, which serves as an input port for natural language and also as an interface for calling artificial intelligence models for interaction, users can perform operation and maintenance through natural language. Compared with the prior art in which users and servers perform operation and maintenance through interface interaction, this effectively reduces interaction delays, further improving operation and maintenance efficiency.

[0059] Furthermore, the trained artificial intelligence model is integrated into the BMC through model extraction, and the artificial intelligence model is called with the help of the BMC assistant. This solves the problem that the BMC has limited computing power and is unable to support the artificial intelligence model that requires greater computing power. The method provided in this embodiment enables users to interact with the artificial intelligence model through natural language to achieve operation and maintenance even in the BMC scenario with limited computing power.

[0060] The specific implementation method of generating the operation and maintenance solution that meets the target intent based on the target intent is described in detail below in conjunction with specific embodiments.

[0061] Embodiment 1:

[0062] In this embodiment, the BMC in the server will monitor the operation log data of the server in real time. When there are abnormal parameters in the monitored operation log data, such as the current temperature value of the CPU in the operation log data exceeds the set temperature threshold, there are abnormal parameters in the operation log, and an abnormal alarm is generated. At this time, the user will input natural language to indicate that an abnormal cause analysis is required. At this time, the target intent is "analyze the cause of the server abnormality." Accordingly, the specific implementation method of generating an operation and maintenance solution that meets the target intent based on the target intent is: call the BMC to provide the server's operation log data to the artificial intelligence model, so that the artificial intelligence model analyzes the cause of the abnormality based on the operation log data and provides a solution to the abnormality.

[0063] In this embodiment, the artificial intelligence model is trained using a trained large language model as the initial model, the historical operation log data of the server as the training sample, the anomalies existing in the historical operation log data, and the solutions corresponding to the anomalies as the sample labels of the training samples, so that the artificial intelligence model has the ability to generate the cause of the anomaly and provide a solution to the anomaly based on the input operation log data. The specific training process of the artificial intelligence model will be explained later and will not be repeated here.

[0064] In this embodiment, the target intention of analyzing the cause of the server exception is input through natural language, and the artificial intelligence model analyzes the cause of the exception based on the operation log data and provides a solution to the exception. This method does not need to rely on manual analysis of logs one by one to determine the root cause of the exception and provide a solution to the exception. It can reduce labor costs and operation and maintenance waiting time, thereby improving operation and maintenance efficiency, eliminating server failures in a timely manner, and quickly restoring server operations.

[0065] Embodiment 2:

[0066] In this embodiment, when the user inputs natural language, the target intent analyzed by the artificial intelligence model is "analyzing the operation log data of the server within a specified period of time". Accordingly, the specific implementation method of generating the operation and maintenance solution that meets the target intent based on the target intent is: analyzing the operation log data within a specified period of time. When it is determined that the server has an abnormality based on the analysis of the operation log data within a specified period of time, the operation log data within the specified period of time is sent to the artificial intelligence model. Output the abnormality, the cause of the abnormality obtained from the artificial intelligence model, and the solution to resolve the abnormality.

[0067] Optionally, in one implementation, the server may compare the operation log data with the standard data of the server during normal operation to determine whether there is an abnormality. When it is determined that there is an abnormality, the operation log data within a specified period of time is input into the artificial intelligence model so that the artificial intelligence model can generate the cause of the abnormality and a solution to the abnormality. The server outputs the abnormality, the cause of the abnormality, and the solution to the abnormality.

[0068] In another implementation, the operation log data within a specified period of time can be directly input into the artificial intelligence model, which analyzes whether there are any anomalies, and if an anomaly is determined, analyzes the cause of the anomaly and the solution to the anomaly. The server converts the cause of the anomaly and the solution to the anomaly into text information and outputs it through the existing artificial intelligence generated content (AIGC) method.

[0069] For example, if Figure 2 As shown in the figure, if the target intent is "Please help me analyze the SDS log data of the past week", the artificial intelligence model will analyze the SDS log data of that week and output whether an abnormality has occurred. If an abnormality is determined, the artificial intelligence model will also output the cause of the abnormality and the solution to resolve the abnormality. This avoids manual analysis of each log to determine whether an abnormality has occurred and manual analysis of the cause when an abnormality is determined, which can improve operation and maintenance efficiency.

[0070] Embodiment 3:

[0071] In this embodiment, when the user inputs natural language, the target intent analyzed by the artificial intelligence model is "write an operation and maintenance script". The specific implementation method of generating an operation and maintenance solution that meets the target intent based on the target intent is: calling the artificial intelligence model to generate a script coding strategy, and the script coding strategy is used to indicate the coding logic of the operation and maintenance script.

[0072] Since the AI ​​model is also trained using the script manual, the script manual records the API interfaces and functions required to write scripts to implement various functions. The trained AI model is already capable of generating a script coding strategy that indicates the coding logic of the operation and maintenance script when receiving a target intent to write an operation and maintenance script. The specific training process of the AI ​​model will be explained later and will not be repeated here.

[0073] For example, if Figure 3As shown, when the user inputs natural language, the target intent analyzed by the artificial intelligence model is "Please help me write a script to perform BMC firmware upgrade". The artificial intelligence model is called to generate a coding strategy for writing a BMC firmware upgrade script based on the target intent.

[0074] In this embodiment, operation and maintenance personnel do not need to manually query the script writing manual to edit the script. Instead, they rely on artificial intelligence models to write scripts, thereby reducing manual operations and improving operation and maintenance efficiency.

[0075] Embodiment 4:

[0076] In this embodiment, when the user inputs natural language, the target intent analyzed by the artificial intelligence model is "query the answer to the target question". The specific implementation method of generating the operation and maintenance solution that meets the target intent based on the target intent is as follows: each question text and the text answer corresponding to each text question are deployed in the deployed database. Based on the target intent, the text question and the text answer to the text question that match the target intent are searched from the deployed database. The found text question and the text answer to the text question are output.

[0077] The above-mentioned search for the text question and the text answer to the text question that matches the target intent from the deployed database can be queried by keyword matching or semantic matching, which is not specifically limited in the embodiments of the present application.

[0078] For example, if the user's target intent is "What should I do if a DNS resolution error occurs", then text questions and text answers that match the target intent will be found.

[0079] From the above description, we can know that the artificial intelligence model has the functions of semantic recognition, root cause location, and script coding strategy generation. Therefore, the artificial intelligence model is trained with a trained large language model as the initial model and historical operation log data and script manuals as training samples. A trained large language model refers to a large language model that has reached convergence after training with various language samples.

[0080] The following is a detailed description of the training process of the above target model:

[0081] The AI ​​model training process includes the following steps:

[0082] 1. Use the historical operation log data monitored by BMC in the historical time period to train the first type of parameters in the initial model until the first type of parameters in the initial model reach the first convergence condition. Among them, the anomaly in the historical operation log data, the cause of the anomaly, and the solution to solve the anomaly are sample labels.

[0083] The historical operation log data includes at least: a server register manual (the server manual records the actual physical meaning corresponding to the operation value of each register), a server configuration file, server hardware parameters, and server operation parameters.

[0084] 2. Use the script manual to continue training the second type of parameters in the initial model until the second type of parameters in the initial model reach the second convergence condition. The second type of parameters are different from the first type of parameters.

[0085] 3. Using the preset questions as training samples and the answers to the questions as sample labels of the training samples, continue to train the third type of model in the initial model until the third type of parameters in the initial model reach the third convergence condition. The third type of parameters are different from the first type of parameters and the second type of parameters.

[0086] The above-mentioned artificial intelligence model is obtained in this way.

[0087] It should be noted that the execution order of the above steps 1, 2 and 3 is not specifically limited in this application and can be appropriately adjusted according to the specific application situation.

[0088] The above completes a detailed explanation of the training of artificial intelligence models. The artificial intelligence models trained in this way have the functions of root cause location analysis, generating script coding strategies, and querying answers to operation and maintenance problems.

[0089] It should be noted that the above external database and script manual will be updated in real time to regularly update the model.

[0090] As an example, the AI ​​model not only has the functions of root cause location analysis, script coding strategy generation, and querying answers to maintenance questions, but also has the functions of real-time monitoring of operation log data for fault prediction, security risk prediction, and server configuration file generation. Of course, this requires the AI ​​model to be trained using various databases so that it has the function of fault prediction.

[0091] For example, a memory failure database collects sample data of various memory failure conditions, trigger conditions of memory failure (such as temperature change, voltage fluctuation, short circuit, etc.), memory status data before and after failure and healthy state (such as memory attribute status, memory register information, datasheet data, etc.), and uses this database to train the model to learn to identify the characteristics of memory failure, so that the artificial intelligence model can have the ability to predict memory failure. Of course, other types of databases can also be used. This is just an example and is not specifically limited in this embodiment.

[0092] As an embodiment, after calling the BMC to provide the operation log data of the server, data preprocessing may be performed, and the data preprocessing is for data desensitization. For example, sensitive data such as company names may be filtered to reduce the leakage of confidential information and improve data security.

[0093] As an embodiment, the operation log data of the server is converted into unstructured data through data vectorization, RAG, langchain, Agent technology, etc. Unstructured data is high-quality training data in an AI-friendly format. Training the artificial intelligence model with unstructured data can make the artificial intelligence model more accurate.

[0094] As an embodiment, if a server cluster, each server adopts the method provided in the above embodiment for operation and maintenance. Each server is configured with a BMC assistant, which makes it an intelligent interface for server cluster operation and maintenance, thereby improving the overall intelligent operation and maintenance capability of the data center composed of the server cluster.

[0095] The method provided in the embodiment of the present application is described above. The device provided in the embodiment of the present application is described below:

[0096] See also Figure 4 , Figure 4 The device structure diagram provided in the embodiment of the present application. As an embodiment, the device is applied to a server, and the server is configured with a BMC assistant, which provides an input port for inputting natural language; and provides an interface for interacting with a trained artificial intelligence model; the artificial intelligence model is trained in the cloud, and after training, it is integrated into the server BMC through model extraction, such as Figure 4 As shown, the device may include: a first obtaining module 401, a second obtaining module 402, and a generating module 403.

[0097] A first obtaining module 401 is used to obtain the natural language input by the user through the BMC assistant, and send the natural language to the trained artificial intelligence model;

[0098] The second obtaining module 402 is used to obtain the target intent recognized by the artificial intelligence model from the natural language;

[0099] A generation module 403 is used to generate an operation and maintenance solution that meets the target intent based on the target intent;

[0100] Among them, when the target intent is to analyze the cause of the server exception, generating an operation and maintenance solution that meets the target intent based on the target intent includes: calling the BMC to provide the server's operation log data to the artificial intelligence model, so that the artificial intelligence model analyzes the cause of the exception based on the operation log data and provides a solution to resolve the exception.

[0101] Obtain natural language input by the user and send the natural language to the trained artificial intelligence model, obtain the target intent recognized by the artificial intelligence model from the natural language, and generate an operation and maintenance solution that meets the target intent based on the target intent. This does not rely on manual operation and maintenance solutions, but uses artificial intelligence models to provide operation and maintenance solutions, which can reduce labor costs and operation and maintenance waiting time, thereby improving operation and maintenance efficiency.

[0102] Furthermore, when the goal is to analyze the cause of the server exception, the BMC is called to provide the server's operation log data to the artificial intelligence model, so that the artificial intelligence model analyzes the cause of the exception based on the operation log data and provides a solution to the exception. This method does not require manual analysis of logs one by one to determine the root cause of the exception and provide a solution to the exception. It can reduce labor costs and operation and maintenance waiting time, thereby improving operation and maintenance efficiency, eliminating server failures in a timely manner, and quickly restoring server operation.

[0103] Furthermore, users can perform operation and maintenance through natural language, which effectively reduces interaction delay compared to the prior art in which users and servers perform operation and maintenance through interface interaction, further improving operation and maintenance efficiency.

[0104] As an embodiment, when the target intent is to analyze the operation log data of the server within a specified period of time, generating an operation and maintenance solution that meets the target intent based on the target intent includes:

[0105] Analyze the operation log data within a specified period of time;

[0106] When it is determined that the server is abnormal based on analyzing the operation log data within a specified period of time, the operation log data within the specified period of time is fed to the artificial intelligence model;

[0107] Output the exception, the cause of the exception obtained from the artificial intelligence model, and the solution to resolve the exception.

[0108] As an embodiment, when the target intent is to write an operation and maintenance script, generating an operation and maintenance solution that meets the target intent based on the target intent includes:

[0109] Call the artificial intelligence model to generate a script coding strategy, which is used to indicate the coding logic of the operation and maintenance script.

[0110] As an embodiment, when the target intent is an answer to a query target question, generating an operation and maintenance solution that satisfies the target intent based on the target intent includes:

[0111] Based on the target intent, search for a text question and a text answer to the text question that matches the target intent from the deployed database;

[0112] Output the found text question and the text answer to the text question.

[0113] As an embodiment, the artificial intelligence model is trained using the historical operation log data of the server as training samples, and the anomalies existing in the historical operation log data and the solutions corresponding to the anomalies are the sample labels of the training samples; the historical operation log data includes at least: server register manual, server configuration file, server hardware parameters, and server operation parameters.

[0114] So far, completed Figure 4 Structural description of the device shown.

[0115] See also Figure 5 , Figure 5 This is a structural diagram of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the hardware structure may include: a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the method disclosed in the above example of this application.

[0116] Based on the same application concept as the above method, an embodiment of the present application also provides a machine-readable storage medium, on which a number of computer instructions are stored. When the computer instructions are executed by a processor, the method disclosed in the above example of the present application can be implemented.

[0117] Exemplarily, the above-mentioned machine-readable storage medium can be any electronic, magnetic, optical or other physical storage device, which can contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium can be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof.

[0118] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for assisting server BMC operation and maintenance based on artificial intelligence model. It is characterized in that A BMC assistant is configured in the configured BMC management interface of the server, and the BMC assistant provides an input port for inputting natural language; and provides an interface for interacting with a trained artificial intelligence model; The artificial intelligence model is trained in the cloud, and after training is completed, it is integrated into the server BMC through model extraction; The artificial intelligence model is trained using a trained large language model as an initial model; the training process of the artificial intelligence model includes the following steps: Training the first type of parameters in the initial model using the historical operation log data of the server until the first type of parameters in the initial model reaches a first convergence condition; Continue training the second type of parameters in the initial model using the script manual until the second type of parameters in the initial model reach a second convergence condition; Using a preset question as a training sample and an answer corresponding to the question as a sample label of the training sample, continuing to train the third type of parameters in the initial model until the third type of parameters in the initial model reaches a third convergence condition, so as to obtain the artificial intelligence model; The first type of parameters, the second type of parameters and the third type of parameters are different; The method includes: Obtaining natural language input by the user through the BMC assistant, and sending the natural language to the artificial intelligence model; Obtaining the target intent identified by the artificial intelligence model from the natural language; the target intent at least includes: analyzing the cause of the abnormality of the server, writing an operation and maintenance script, and querying the answer to the target question; Generate an operation and maintenance solution that meets the target intent based on the target intent; Wherein, when the target intention is to analyze the cause of the abnormality of the server, the generating of the operation and maintenance solution that meets the target intention based on the target intention includes: calling the BMC to provide the operation log data of the server to the artificial intelligence model, so that the artificial intelligence model analyzes the cause of the abnormality based on the operation log data and provides a solution to solve the abnormality; When the target intention is to write an operation and maintenance script, generating an operation and maintenance solution that meets the target intention based on the target intention includes: Calling the artificial intelligence model to generate a script coding strategy, wherein the script coding strategy is used to indicate the coding logic of the operation and maintenance script; When the target intent is an answer to a query target question, generating an operation and maintenance solution that satisfies the target intent based on the target intent includes: Based on the target intent, searching a deployed database for a text question and a text answer to the text question that matches the target intent; Output the found text question and the text answer to the text question.

2. The method according to claim 1, It is characterized in that When the target intent is to analyze the operation log data of the server within a specified period of time, generating an operation and maintenance solution that meets the target intent based on the target intent includes: Analyze the operation log data within a specified period of time; When it is determined that the server is abnormal based on analyzing the operation log data within a specified period of time, the operation log data within the specified period of time is sent to the artificial intelligence model; Output the exception, the cause of the exception obtained from the artificial intelligence model, and the solution to resolve the exception.

3. The method according to claim 1, It is characterized in that The historical operation log data at least includes: server register manual, server configuration file, server hardware parameters, and server operation parameters.

4. An artificial intelligence model-based server BMC operation and maintenance device, It is characterized in that A BMC assistant is configured in the configured BMC management interface of the server, and the BMC assistant provides an input port for inputting natural language; and provides an interface for interacting with a trained artificial intelligence model; The artificial intelligence model is trained in the cloud, and after training is completed, it is integrated into the server BMC through model extraction; The artificial intelligence model is trained using a trained large language model as an initial model; the training process of the artificial intelligence model includes the following steps: Training the first type of parameters in the initial model using the historical operation log data of the server until the first type of parameters in the initial model reaches a first convergence condition; Continue training the second type of parameters in the initial model using the script manual until the second type of parameters in the initial model reach a second convergence condition; Using a preset question as a training sample and an answer corresponding to the question as a sample label of the training sample, continuing to train the third type of parameters in the initial model until the third type of parameters in the initial model reaches a third convergence condition, so as to obtain the artificial intelligence model; The first type of parameters, the second type of parameters and the third type of parameters are different; The device includes: A first obtaining module, configured to obtain a natural language input by a user through the BMC assistant, and send the natural language to the artificial intelligence model; A second acquisition module is used to obtain the target intent identified by the artificial intelligence model from the natural language; the target intent at least includes: analyzing the cause of the abnormality of the server, writing an operation and maintenance script, and querying the answer to the target question; A generation module, used to generate an operation and maintenance solution that meets the target intent based on the target intent; Wherein, when the target intention is to analyze the cause of the abnormality of the server, the generating of the operation and maintenance solution that meets the target intention based on the target intention includes: calling the BMC to provide the operation log data of the server to the artificial intelligence model, so that the artificial intelligence model analyzes the cause of the abnormality based on the operation log data and provides a solution to solve the abnormality; When the target intention is to write an operation and maintenance script, generating an operation and maintenance solution that meets the target intention based on the target intention includes: Calling the artificial intelligence model to generate a script coding strategy, wherein the script coding strategy is used to indicate the coding logic of the operation and maintenance script; When the target intent is an answer to a query target question, generating an operation and maintenance solution that satisfies the target intent based on the target intent includes: Based on the target intent, searching a deployed database for a text question and a text answer to the text question that matches the target intent; Output the found text question and the text answer to the text question.

5. The device according to claim 4, It is characterized in that When the target intent is to analyze the operation log data of the server within a specified period of time, generating an operation and maintenance solution that meets the target intent based on the target intent includes: Analyze the operation log data within a specified period of time; When it is determined that the server is abnormal based on analyzing the operation log data within a specified period of time, the operation log data within the specified period of time is sent to the artificial intelligence model; Output the exception, the cause of the exception obtained from the artificial intelligence model, and the solution to resolve the exception.

6. The device according to claim 4, It is characterized in that The historical operation log data at least includes: server register manual, server configuration file, server hardware parameters, and server operation parameters.

7. An electronic device, It is characterized in that include: processor; as well as A memory, in which computer program instructions are stored, and when the computer program instructions are executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 3.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer program instructions, which, when executed by a processor, enable the processor to perform the method according to any one of claims 1 to 3.