Domestic CPU server fault diagnosis system and method based on embedded AI
By introducing an embedded AI-based fault diagnosis system into the server, using low-power SOC chips and natural language processing models, combined with BMC data, fault warning and intuitive description are achieved, and the problems of poor log readability and lack of early warning are solved. Improves fault detection efficiency and server reliability.
Patent Information
- Application Number
- CN202411262989.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-06
AI Technical Summary
The prior art in servers based on Feiteng and Loongson processors has poor log readability, large analysis workload, and lack of fault warning functions, resulting in low fault detection efficiency and inability to detect abnormalities in time, affecting the operating reliability of the server.
Adopt the domestic CPU server fault diagnosis system based on embedded AI, including low-power SOC chips, data acquisition programs, preprocessing modules and machine learning models based on natural language processing. Combined with the data collected by BMC, it realizes fault warning and intuitive faults. Description, simplify the troubleshooting process.
It improves fault detection efficiency, shortens fault detection time, provides intuitive fault description information, facilitates non-professional users to understand, reduces the time and labor cost of fault processing, and improves the operating reliability and maintenance efficiency of the server.
Smart Images

Figure CN119088608A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer fault diagnosis, and in particular to a domestic CPU server fault diagnosis system and method based on embedded AI. Background Art
[0002] During the startup and operation of servers based on Feiteng and Loongson processors, a large amount of debugging information will be output through the debugging serial port to indicate the operating status of the hardware of each part of the server. In the existing technical solution, this serial port information will be collected and stored through the BMC (baseboard management controller), and users can view it at any time. This solution can collect error information for analysis when a server fails, but it has the following disadvantages:
[0003] The logs are not easy to read: only professionals can analyze them.
[0004] Large analysis workload: When the server works for a long time, a large amount of logs will be accumulated, which takes a long time to complete the analysis.
[0005] Lack of fault warning function: It is impossible to detect abnormalities in the serial port log in time during daily use. The cause of the fault can only be analyzed through the log when a fault occurs.
[0006] Servers have high requirements for operational reliability. In this era of big data, once a server function fails, the consequences are disastrous. Therefore, improving the efficiency of fault detection methods and shortening fault discovery time are of great significance for rapid fault repair. Summary of the invention
[0007] The technical task of the present invention is to address the above shortcomings and provide a domestic CPU server fault diagnosis system and method based on embedded AI, which can provide users with instant and intuitive error information, making server fault handling simpler and faster.
[0008] The technical solution adopted by the present invention to solve its technical problem is:
[0009] A domestic CPU server fault diagnosis system based on embedded AI, the system includes:
[0010] A low-power embedded system-on-chip (SOC), wherein the SOC chip is integrated with a neural network processing unit (NPU) for receiving and analyzing error information output by a server serial port;
[0011] A data acquisition program is used to read error information from the debugging serial port of the server and store it in the memory of the SOC chip;
[0012] The preprocessing module is used to preprocess the collected error information for processing by the machine learning model;
[0013] A machine learning model based on natural language processing (NLP) technology is used to analyze the pre-processed error information and identify abnormal situations;
[0014] Communication interface with BMC, used to transmit analysis results;
[0015] The fault warning module is used to monitor the server status in real time based on the data collected by the BMC and implement the fault warning function.
[0016] The SOC is selected from low-cost, energy-efficient chips with sufficient processing power and storage space, as well as NPU, to support the operation of AI analysis tools; the machine learning model can automatically identify abnormal patterns in error information through training, and provide intuitive and timely fault description information for easy understanding by non-professional users; the fault warning module can monitor the server operation status in real time, and when a potential fault is detected, it immediately generates warning information to improve the fault response speed.
[0017] Furthermore, the preprocessing module includes:
[0018] Text cleaning algorithm to remove irrelevant characters to ensure data quality;
[0019] Standardization algorithms for unifying data formats;
[0020] The word segmentation algorithm is used to decompose the error message into analyzable units.
[0021] Furthermore, the machine learning model based on natural language processing (NLP) technology is a Transformer-based model.
[0022] Furthermore, the communication interface with the BMC is implemented through UART or I2C.
[0023] Furthermore, the data collected by the BMC includes voltage, current, and temperature data.
[0024] The present invention also claims a method for diagnosing faults of a domestically produced CPU server based on embedded AI, the implementation of which includes:
[0025] S1. Read error information from the server serial port;
[0026] S2. Preprocess the error information, including text cleaning, standardization, and word segmentation;
[0027] S3, using machine learning models based on natural language processing (NLP) technology to analyze the pre-processed information and identify abnormal situations;
[0028] S4. Combine the server operating parameters collected by the BMC, including voltage, current, and temperature, and conduct a comprehensive analysis to determine the fault type.
[0029] S5. Provide intuitive and timely fault description information to improve the user experience of server fault diagnosis.
[0030] Furthermore, the implementation of this method also includes:
[0031] When the server is running normally, it continuously monitors log information to implement fault warning function and prevent potential faults from occurring in advance.
[0032] Furthermore, the server includes a server based on domestic Feiteng and Loongson processors; the server has an embedded system-on-chip SOC, and the SOC chip is integrated with a neural network processing unit (NPU) for receiving and analyzing error information output by the server serial port.
[0033] The present invention also claims a device for realizing fault diagnosis of a domestically produced CPU server, comprising: at least one memory and at least one processor;
[0034] The at least one memory is used to store a machine-readable program;
[0035] The at least one processor is used to call the machine-readable program to implement the above method.
[0036] The present invention also claims protection for a computer-readable medium having computer instructions stored thereon, which can implement the above method when executed by a processor.
[0037] Compared with the prior art, the domestic CPU server fault diagnosis system and method based on embedded AI of the present invention has the following beneficial effects:
[0038] The present invention adds an offline AI analysis tool based on a low-power embedded SOC to the BMC, performs real-time analysis on the error information output through the server serial port, compares the difference with the normal startup, and performs intelligent analysis on the difference items. Combined with the voltage, current, temperature and other data collected by the BMC, the present invention provides users with intuitive and timely fault description information, thereby improving the user experience of the server fault diagnosis system.
[0039] The present invention combines embedded system development, machine learning and natural language processing technologies. With the improvement of embedded system processing power and the continuous optimization of AI models, this solution is completely feasible and has high value in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a structural diagram of a domestic CPU server fault diagnosis system based on embedded AI provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0042] The embodiment of the present invention provides a domestic CPU server fault diagnosis system based on embedded AI, the system comprising:
[0043] A low-power embedded system-on-chip (SOC), wherein the SOC chip is integrated with a neural network processing unit (NPU) for receiving and analyzing error information output by the server serial port;
[0044] A data acquisition program, used to read the error information from the server's debugging serial port and store it in the memory of the SOC chip;
[0045] A preprocessing module, which is used to clean, standardize and segment the collected error information for processing by the machine learning model;
[0046] A machine learning model based on natural language processing (NLP) technology, such as a Transformer-based model, is used to analyze the pre-processed error information and identify abnormal situations;
[0047] A communication interface with the BMC, used to transmit analysis results, which can be implemented through UART or I2C;
[0048] A fault warning module is used to monitor the server status in real time and implement fault warning function by combining the voltage, current, temperature and other data collected by BMC.
[0049] The SOC is selected from low-cost, energy-efficient chips with sufficient processing power and storage space, as well as NPU to support the operation of AI analysis tools.
[0050] The preprocessing module comprises:
[0051] Text cleaning algorithm to remove irrelevant characters to ensure data quality;
[0052] Standardization algorithms for unifying data formats;
[0053] The word segmentation algorithm is used to decompose the error message into analyzable units.
[0054] The machine learning model can automatically identify abnormal patterns in error messages through training, and provide intuitive and timely fault description information, which is easy for non-professional users to understand.
[0055] The fault warning module can monitor the server operation status in real time, and when a potential fault is detected, it immediately generates warning information to improve the fault response speed.
[0056] When a server based on the domestic Loongson or Feiteng CPU fails, the machine can identify the fault and issue an alarm. The fault information is given in an intuitive text form. The equipment inspector can remotely determine the cause of the fault without the need for professionals to analyze complex log files.
[0057] When the server is running normally, the system will continue to work and continuously analyze the logs generated during the server operation to realize the fault warning function.
[0058] The embodiment of the present invention also provides a method for diagnosing faults of a domestically produced CPU server based on embedded AI, the implementation of which includes:
[0059] S1. Read error information from the server serial port;
[0060] S2. Preprocess the error information, including text cleaning, standardization, and word segmentation;
[0061] S3, using machine learning models based on natural language processing (NLP) technology to analyze the pre-processed information and identify abnormal situations;
[0062] S4. Combine the server operating parameters collected by the BMC, including voltage, current, and temperature, and conduct a comprehensive analysis to determine the fault type.
[0063] S5. Provide intuitive and timely fault description information to improve the user experience of server fault diagnosis.
[0064] S6. When the server is running normally, continuously monitor the log information to implement the fault warning function and prevent potential faults from occurring in advance.
[0065] The method uses embedded AI technology to realize the automatic analysis and diagnosis of server fault information, reducing the time and labor cost of fault handling.
[0066] The hardware design includes:
[0067] SOC: Choose a low-cost SOC with sufficient processing power and storage space and an NPU.
[0068] Serial communication module: ensures that the SOC can receive data output by the server serial port.
[0069] Interface with BMC: Communicate with BMC through serial port, I2C, etc. to transmit analysis results.
[0070] Software design includes:
[0071] Data acquisition program: used to read error information from the server serial port and store it in the SOC's memory.
[0072] Preprocessing: This includes steps such as text cleaning (removing irrelevant characters), standardization (unified format), and word segmentation to facilitate subsequent machine learning model processing. When new error information arrives, it is immediately preprocessed and sent to the model for prediction.
[0073] Model selection: Use natural language processing (NLP) techniques such as Transformer-based models, which perform well on text tasks.
[0074] The server includes a server based on domestic Feiteng and Loongson processors, which improves the operational reliability and maintenance efficiency of the server. The server has an embedded system-on-chip SOC, and the SOC chip is integrated with a neural network processing unit (NPU) for receiving and analyzing error information output by the server serial port.
[0075] This method can remotely diagnose server faults without the need for professionals to analyze complex logs on site, thus simplifying the fault handling process.
[0076] The embodiment of the present invention also provides a device for implementing fault diagnosis of a domestic CPU server, comprising: at least one memory and at least one processor;
[0077] The at least one memory is used to store a machine-readable program;
[0078] The at least one processor is used to call the machine-readable program to implement the domestic CPU server fault diagnosis method based on embedded AI described in the above embodiment.
[0079] The embodiment of the present invention also provides a computer-readable medium, on which computer instructions are stored, and when the computer instructions are executed by the processor, the method for diagnosing faults of a domestically produced CPU server based on embedded AI described in the above embodiment can be implemented. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code for implementing the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or device is enabled to read and execute the program code stored in the storage medium.
[0080] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
[0081] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.
[0082] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.
[0083] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
[0084] The present invention is shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the code review methods in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.
Claims
1. A domestic CPU server fault diagnosis system based on embedded AI, It is characterized in that The system includes: A low-power embedded system-on-chip (SOC), wherein the SOC chip is integrated with a neural network processing unit for receiving and analyzing error information output by a server serial port; A data acquisition program is used to read error information from the debugging serial port of the server and store it in the memory of the SOC chip; The preprocessing module is used to preprocess the collected error information for processing by the machine learning model; A machine learning model based on natural language processing technology is used to analyze the pre-processed error information and identify abnormal situations; Communication interface with BMC, used to transmit analysis results; The fault warning module is used to monitor the server status in real time based on the data collected by the BMC and implement the fault warning function.
2. According to claim 1, a domestic CPU server fault diagnosis system based on embedded AI, It is characterized in that The preprocessing modules include: Text cleaning algorithm to remove irrelevant characters to ensure data quality; Standardization algorithms to unify data formats; The word segmentation algorithm is used to decompose the error message into analyzable units.
3. According to claim 1, a domestic CPU server fault diagnosis system based on embedded AI, It is characterized in that The machine learning model based on natural language processing technology is a Transformer-based model.
4. According to claim 1, a domestic CPU server fault diagnosis system based on embedded AI, It is characterized in that The communication interface with the BMC is implemented through UART or I2C.
5. According to claim 1, a domestic CPU server fault diagnosis system based on embedded AI, It is characterized in that The data collected by the BMC includes voltage, current, and temperature data.
6. A domestic CPU server fault diagnosis method based on embedded AI, It is characterized in that The implementation of this method includes: S1. Read error information from the server serial port; S2. Preprocess the error information, including text cleaning, standardization, and word segmentation; S3, using machine learning models based on natural language processing technology to analyze the pre-processed information and identify abnormal situations; S4. Combine the server operating parameters collected by the BMC, including voltage, current, and temperature, and conduct a comprehensive analysis to determine the fault type. S5. Provide intuitive and timely fault description information.
7. According to claim 6, a method for diagnosing faults of a domestically produced CPU server based on embedded AI, It is characterized in that The implementation of this method also includes: When the server is operating normally, the log information is continuously monitored to implement fault warning function.
8. According to claim 7, a method for diagnosing faults of a domestically produced CPU server based on embedded AI, It is characterized in that The server includes a server based on domestic Feiteng and Loongson processors; the server has an embedded system-on-chip SOC, and the SOC chip is integrated with a neural network processing unit for receiving and analyzing error information output by the server serial port.
9. A device for realizing fault diagnosis of domestic CPU servers, It is characterized in that include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is configured to call the machine-readable program to implement the method according to any one of claims 6 to 8.
10. A computer readable medium, It is characterized in that The computer readable medium stores computer instructions, which, when executed by a processor, can implement the method according to any one of claims 6 to 8.
