Server memory detection method, device, electronic device and storage medium

Through the substrate management controller BMC, the BMC automatically detects the memory status and determines the slot installation error, the inefficient memory detection problem caused by relying on manual judgment in the prior art is solved, and fast and accurate memory exception handling is achieved.

CN115827376BActive Publication Date: 2025-08-12INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211447747.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-18
Publication Date
2025-08-12
Estimated Expiration
2042-11-18

AI Technical Summary

Technical Problem

In the prior art, server memory detection relies on manual judgment, resulting in low detection efficiency and inability to handle exceptions in time. Especially for servers with different CPU topology designs and memory channel designs of different manufacturers, it is difficult for maintenance personnel to effectively solve the memory exception problem.

Method used

The baseboard management controller BMC automatically detects the memory status, generates memory detection logs, extracts exception logs and obtains error types, combines CPU information and memory information to determine slot installation errors, and outputs exception prompt information and slot installation information.

Benefits of technology

It realizes fast and automated memory detection, improves detection efficiency, promptly reminds operation and maintenance personnel for maintenance, and provides targeted solutions to improve the efficiency and accuracy of memory detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115827376B_ABST
    Figure CN115827376B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a memory detection method, device, electronic device and storage medium for a server, which are applied to a baseboard management controller (BMC). The BMC is configured in a server, and the server includes at least one CPU and a plurality of memories. In response to a detection instruction for the memory, a status detection for the memory is performed, and a corresponding memory detection log is generated according to the status detection result. In response to obtaining a memory error instruction corresponding to the memory, a memory exception log for characterizing the memory exception is extracted from the memory detection log, and an error type corresponding to each memory exception log is obtained. CPU information corresponding to the CPU and memory information corresponding to the memory are obtained according to the error type. If it is determined that the memory slot of the memory is installed incorrectly according to the CPU information and the memory information, the memory is used as the target memory, and abnormal prompt information and slot installation information for the target memory are output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of device memory detection, and in particular to a server memory detection method, a server memory detection device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the development of network technology, the demand for servers is increasing. Servers enable massive data storage and cloud computing. However, due to the varying topology designs of CPUs (Central Processing Units) from different manufacturers, memory channel designs and installation methods vary significantly. Therefore, for different memory configurations, it is necessary to test the server's memory and determine whether any memory anomalies exist based on the test results. In the related art, server memory testing is performed using the Basic Input Output System (BIOS). If a memory anomaly is detected, an error message is generated. This allows maintenance personnel to view the anomaly information on the corresponding page and manually determine the specific cause of the memory anomaly. This reliance on manual memory anomaly detection in this process not only fails to ensure efficient exception handling, but also fails to effectively resolve memory anomaly issues if maintenance personnel are unfamiliar with the architecture and lack experience in handling them. Summary of the Invention

[0003] An embodiment of the present invention provides a server memory detection method, device, electronic device and computer-readable storage medium to solve or partially solve the problems of relying on manual judgment, low detection efficiency and inability to handle exceptions in a timely manner during the process of detecting the memory of the device.

[0004] An embodiment of the present invention discloses a memory detection method for a server, which is applied to a baseboard management controller (BMC). The BMC is configured in a server, and the server includes at least one CPU and a plurality of memories. The method includes:

[0005] In response to a detection instruction for the memory, performing a status detection for the memory, and generating a memory detection log corresponding to the memory according to a status detection result;

[0006] In response to obtaining a memory error reporting instruction corresponding to the memory, extracting a memory exception log for characterizing a memory exception from the memory detection log, and obtaining an error reporting type corresponding to each of the memory exception logs;

[0007] Acquire CPU information corresponding to the CPU and memory information corresponding to the memory according to the error type;

[0008] If it is determined based on the CPU information and the memory information that the memory slot of the memory is incorrectly installed, the memory in the memory slot with the error is used as the target memory, and abnormal prompt information and slot installation information for the target memory are output.

[0009] Optionally, the error type includes an unavailable type, the CPU information includes a CPU type, and the memory information includes a memory capacity. The acquiring, according to the error type, the CPU information corresponding to the CPU and the memory information corresponding to the memory includes:

[0010] If the error type of the memory exception log is an unavailable type, the CPU type corresponding to the CPU and the memory capacity corresponding to the memory are obtained.

[0011] Optionally, if it is determined based on the CPU information and the memory information that the memory slot of the memory is incorrectly installed, the memory slot in which the memory is incorrectly installed is used as the target memory, and abnormal prompt information and slot installation information for the target memory are output, including:

[0012] If it is determined that the memory slot of the memory is incorrectly installed based on the CPU type and the memory capacity, an unavailable target memory is located from the memory, and abnormal prompt information and slot installation information for the target memory are output.

[0013] Optionally, the method further includes:

[0014] If it is determined according to the CPU type and the memory capacity that the memory slot of the memory is installed normally, an unavailable target memory is located from the memory, and device incompatibility information for the target memory is output.

[0015] Optionally, if it is determined according to the CPU type and the memory capacity that the memory slot of the memory is incorrectly installed, locating an unavailable target memory from the memory includes:

[0016] Obtaining standard slot installation information corresponding to the CPU type and current slot installation information corresponding to each memory;

[0017] If the memory slots on the server are not fully populated with the memory, and the current slot installation information is different from the standard slot installation information, the target memory that is not populated according to the standard slot installation information is located from the memory.

[0018] Optionally, if it is determined according to the CPU type and the memory capacity that the memory slot of the memory is properly installed, locating an unavailable target memory from the memory includes:

[0019] The CPU bandwidth corresponding to the CPU type and the memory bandwidth corresponding to each memory are obtained, and the memory whose memory bandwidth is less than or equal to the CPU bandwidth, the memory capacity is 0, and the memory corresponding to the in-place status flag is installed as the memory slot normally and unavailable target memory.

[0020] Optionally, the error reporting type further includes a repairable type, and the method further includes:

[0021] If the error reporting type of the memory exception log is a repairable type, BMC log warning information for the repairable type of memory exception log is output.

[0022] Optionally, the error type further includes an unrepairable type, and the method further includes:

[0023] If the error type of the memory exception log is an unrepairable type, BMC memory alarm information for the unrepairable memory exception log is output.

[0024] Optionally, the server includes a plurality of memory slots, and in response to a detection instruction for the memory, performing a status detection on the memory, and generating a memory detection log corresponding to the memory according to a status detection result, includes:

[0025] Obtaining a level signal corresponding to a memory slot into which the memory is plugged;

[0026] The memory corresponding to the memory slot where the level signal is greater than the preset level value is used as the first memory, and an in-place state flag corresponding to the first memory is generated;

[0027] The memory corresponding to the memory slot where the level signal is less than or equal to the preset level value is used as the second memory, and an in-position state flag corresponding to the second memory is generated;

[0028] The memory capacity corresponding to each memory is obtained respectively, and a memory detection log corresponding to the memory is generated according to the in-place state identifier and / or the out-of-place state identifier and the memory capacity corresponding to each memory.

[0029] An embodiment of the present invention further discloses a memory detection device for a server, which is applied to a baseboard management controller (BMC). The BMC is configured in a server, and the server includes at least one CPU and a plurality of memories. The device includes:

[0030] a memory detection log generating module, configured to, in response to a detection instruction for the memory, perform a status detection on the memory, and generate a memory detection log corresponding to the memory according to a status detection result;

[0031] an error type acquisition module for extracting, in response to obtaining a memory error instruction corresponding to the memory, a memory exception log for characterizing a memory exception from the memory detection log, and obtaining an error type corresponding to each of the memory exception logs;

[0032] An information acquisition module, configured to acquire CPU information corresponding to the CPU and memory information corresponding to the memory according to the error type;

[0033] A memory slot installation error judgment module is used to, if it is determined based on the CPU information and the memory information that the memory slot of the memory is incorrectly installed, use the memory with the incorrect memory slot installation as the target memory, and output abnormal prompt information and slot installation information for the target memory.

[0034] Optionally, the error type includes an unavailable type, the CPU information includes a CPU type, the memory information includes a memory capacity, and the information acquisition module is specifically configured to:

[0035] If the error type of the memory exception log is an unavailable type, the CPU type corresponding to the CPU and the memory capacity corresponding to the memory are obtained.

[0036] Optionally, the memory slot installation error determination module includes:

[0037] The memory slot installation error judgment submodule is used to locate the unavailable target memory from the memory if it is determined that the memory slot installation error of the memory is determined based on the CPU type and the memory capacity, and output abnormal prompt information and slot installation information for the target memory.

[0038] Optionally, the device further comprises:

[0039] The memory slot installation normal determination module is used to locate the unavailable target memory from the memory if it is determined according to the CPU type and the memory capacity that the memory slot of the memory is installed normally, and output device incompatibility information for the target memory.

[0040] Optionally, the memory slot installation error determination submodule is specifically configured to:

[0041] Obtaining standard slot installation information corresponding to the CPU type and current slot installation information corresponding to each memory;

[0042] If the memory slots on the server are not fully populated with the memory, and the current slot installation information is different from the standard slot installation information, the target memory that is not populated according to the standard slot installation information is located from the memory.

[0043] Optionally, the memory slot installation normal determination module is specifically used to:

[0044] The CPU bandwidth corresponding to the CPU type and the memory bandwidth corresponding to each memory are obtained, and the memory whose memory bandwidth is less than or equal to the CPU bandwidth, the memory capacity is 0, and the memory corresponding to the in-place status flag is installed as the memory slot normally and unavailable target memory.

[0045] Optionally, the error reporting type further includes a repairable type, and the apparatus further includes:

[0046] The BMC log warning information output module is configured to output BMC log warning information for the repairable memory exception log if the error reporting type of the memory exception log is a repairable type.

[0047] Optionally, the error reporting type further includes an unrepairable type, and the device further includes:

[0048] The BMC memory alarm information output module is configured to output BMC memory alarm information for the unrepairable memory exception log if the error reporting type of the memory exception log is an unrepairable type.

[0049] Optionally, the server includes a plurality of memory slots, and the memory detection log generation module is specifically configured to:

[0050] Obtaining a level signal corresponding to a memory slot into which the memory is plugged;

[0051] The memory corresponding to the memory slot where the level signal is greater than the preset level value is used as the first memory, and an in-place state flag corresponding to the first memory is generated;

[0052] The memory corresponding to the memory slot where the level signal is less than or equal to the preset level value is used as the second memory, and an in-position state flag corresponding to the second memory is generated;

[0053] The memory capacity corresponding to each memory is obtained respectively, and a memory detection log corresponding to the memory is generated according to the in-place state identifier and / or the out-of-place state identifier and the memory capacity corresponding to each memory.

[0054] An embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0055] The memory is used to store computer programs;

[0056] The processor is configured to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0057] An embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon. When executed by one or more processors, the processors are enabled to execute the method according to the embodiment of the present invention.

[0058] The embodiments of the present invention include the following advantages:

[0059] In an embodiment of the present invention, a baseboard management controller (BMC) is applied to a server including at least one CPU and a plurality of memories. In response to a detection instruction for the memory, the BMC performs a status detection on the memory and generates a memory detection log corresponding to the memory based on the status detection result. In response to obtaining a memory error reporting instruction corresponding to the memory, the memory detection log extracts a memory exception log for indicating a memory exception from the memory detection log and obtains an error type corresponding to each memory exception log. CPU information corresponding to the CPU and memory information corresponding to the memory are obtained based on the error type. If a memory slot installation error is determined based on the CPU information and the memory information, the memory is used as the target memory and abnormality prompt information and slot installation information for the target memory are output. Thus, by detecting the memory status, the memory exception log with abnormal status can be quickly extracted when a memory error is reported. By classifying the memory exception logs, corresponding detection methods can be automatically and targetedly adopted for memory with different error types, greatly improving the efficiency of memory detection. At the same time, by generating abnormality prompt information indicating a slot installation error, an operation and maintenance personnel is promptly reminded to maintain the target memory and the slot installation information corresponding to the target memory is provided, so that the operation and maintenance personnel can effectively maintain the memory. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 This is a flowchart of a method for detecting memory of a server provided in an embodiment of the present invention;

[0061] Figure 2 This is a flowchart of the steps for online memory detection provided in an embodiment of the present invention;

[0062] Figure 3 This is a structural block diagram of a memory detection device for a server provided in an embodiment of the present invention;

[0063] Figure 4 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0064] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0065] Reference Figure 1 , shows a flowchart of the steps of a server memory detection method provided in an embodiment of the present invention, which is applied to a baseboard management controller BMC. The BMC is configured in a server, and the server includes at least one CPU and multiple memories. Specifically, the method may include the following steps:

[0066] As an example, after a server is powered on, the BIOS performs a startup check on the memory information. The BMC (Baseboard Management Controller) communicates with the CPLD (Complex Programmable Logic Device) via the I2C bus (Inter-Integrated Circuit, a two-wire serial bus) to obtain the memory's in-place status. If the BIOS detects memory errors such as ECC (Error Correcting Code) check failure or POR (Power-On Reset), it transmits the error log to the BMC log management system via the LPC bus (Low Pin Count Bus). The BMC log management system can classify the memory error information reported by the BIOS and generate corresponding error logs. Operations and maintenance personnel need to log in to the BMC webpage for viewing the error log and manually analyze the error log on the BMC webpage. This method of relying on manual judgment of memory anomalies cannot guarantee the efficiency of exception handling. Moreover, if the operations and maintenance personnel are unfamiliar with the server architecture and lack handling experience, they cannot effectively and quickly resolve the memory anomaly problem.

[0067] In this regard, one of the core inventions of the embodiment of the present invention is to apply to a baseboard management controller BMC, which is configured in a server. The server includes at least one CPU and a plurality of memories. In response to a detection instruction for the memory, a status detection for the memory is performed, and a memory detection log corresponding to the memory is generated according to the status detection result. In response to obtaining a memory error instruction corresponding to the memory, a memory abnormality log for characterizing memory abnormality is extracted from the memory detection log, and an error type corresponding to each memory abnormality log is obtained. According to the error type, CPU information corresponding to the CPU and memory information corresponding to the memory are obtained. If the CPU information and the memory error instruction are obtained, the memory abnormality log is generated. If the memory information determines that the memory slot is installed incorrectly, the memory will be used as the target memory, and the abnormal prompt information and slot installation information for the target memory will be output. Therefore, by detecting the status of the memory, the abnormal memory log with abnormal status can be quickly extracted when the memory reports an error. By classifying the memory abnormal log, the corresponding detection method can be automatically taken for the memory with different error types in a targeted manner, which greatly improves the efficiency of memory detection. At the same time, by generating abnormal prompt information of the slot installation error, the operation and maintenance personnel are reminded in time to maintain the target memory, and the slot installation information corresponding to the target memory is provided, so that the operation and maintenance personnel can effectively maintain the memory.

[0068] Step 101: In response to a detection instruction for the memory, perform a status detection on the memory, and generate a memory detection log corresponding to the memory according to the status detection result;

[0069] In the embodiment of the present invention, in response to a detection instruction for the memory, the state of the memory is detected through the detection instruction, and a memory detection log corresponding to the memory is generated according to the detected state detection result.

[0070] Optionally, the detection instruction can be an instruction automatically generated when the server is powered on and sent to the BIOS to enable the BIOS to detect whether there is an error message in the memory. The status detection result can include a normal memory status and an abnormal memory status.

[0071] BMC (Baseboard Management Controller) is a controller used to manage server boards. It can collect various information about a single server and provide the collected information to the upper-level operation and maintenance network management software. For example, BMC can provide interfaces to implement query functions, such as command line interface, IPMI (Intelligent Platform Management Interface) and other interfaces. The upper-level operation and maintenance network management can query relevant information based on different interfaces. When the BMC detects a fault, it can report the fault information to the server of the upper-level operation and maintenance network management software in the form of messages or packets, so that the operation and maintenance personnel can identify and handle the fault information in time. BMC can read and display memory information, such as reading memory location, presence, capacity, type, frequency, model and other memory information.

[0072] Memory is an important component of a computer, also known as internal memory and main memory. It is used to temporarily store the calculation data in the CPU and the data exchanged with external storage such as the hard disk. Memory is the bridge for communication between external storage and the CPU. When the computer starts running, the operating system will transfer the data to be calculated from the memory to the CPU for calculation. After the calculation is completed, the CPU will transmit the result.

[0073] As an example, if the BIOS detects error information such as ECC check failure and POR in the memory in response to a detection instruction for the memory, the memory status will be marked as a memory abnormal state, a memory detection log corresponding to the memory will be generated, and the memory detection log will be sent to the BMC. If the BIOS does not detect error information such as ECC check failure and POR in the memory in response to a detection instruction for the memory, the memory status will be marked as a memory normal state, and the memory will not be processed.

[0074] In a specific implementation, the server includes several memory slots, obtains level signals corresponding to memory slots in which memories are plugged in, takes the memory corresponding to the memory slot whose level signal is greater than a preset level value as the first memory, generates an in-place state identifier corresponding to the first memory, takes the memory corresponding to the memory slot whose level signal is less than or equal to the preset level value as the second memory, generates an out-of-place state identifier corresponding to the second memory, obtains the memory capacity corresponding to each memory respectively, and generates a memory detection log corresponding to the memory based on the in-place state identifier and / or the out-of-place state identifier and the memory capacity corresponding to each memory.

[0075] Specifically, a memory slot refers to a slot on a motherboard for inserting a memory stick. The type and capacity of memory supported by the motherboard are determined by the memory slot. A level signal refers to a signal represented by a level value. The preset level value can be a signal value set in advance according to actual needs and is used to determine the memory's in-place status. For example, the preset level value can be "0". In this case, the memory corresponding to a memory slot with a level signal greater than "0" is regarded as the first memory, and an in-place status flag corresponding to the first memory is generated. The memory corresponding to a memory slot with a level signal less than or equal to "0" is regarded as the second memory, and an out-of-place status flag corresponding to the second memory is generated. Memory capacity refers to the storage capacity of the memory stick and is a key parameter of the memory stick. Measured in MB, memory capacity is generally an integer power of 2, such as 64MB, 128MB, 256MB, etc. The larger the memory capacity, the better for system operation.

[0076] As an example, the server motherboard is configured with a module for detecting whether the memory is in place. The BMC can detect the level status of the in-place pin to determine whether the memory is in place and generate a corresponding status detection result. When the server is powered on, the BIOS starts a self-test and reads the location information, status detection result, capacity, type, frequency and model on the memory at the same time, and then sends the read information to the BMC. The BMC can determine the status detection result of the memory (in-place status flag and / or out-of-place status flag) based on the received information, and then retrieve the disabled (unavailable) keyword to determine the error memory slot (slot) position, and at the same time obtain the memory capacity corresponding to each memory respectively, and generate a memory detection log corresponding to the memory based on the in-place status flag and / or out-of-place status flag and the memory capacity corresponding to each memory.

[0077] Step 102: In response to obtaining a memory error reporting instruction corresponding to the memory, extracting a memory exception log representing a memory exception from the memory detection log, and obtaining an error reporting type corresponding to each memory exception log;

[0078] In an embodiment of the present invention, in response to obtaining a memory error instruction corresponding to the memory, a memory exception log for characterizing the memory exception is extracted from the memory detection log, and the error type corresponding to each content exception log is obtained, such as a repairable type, an unrepairable type, and an unavailable type, thereby dividing the memory logs with exceptions into different types, so that relevant technical personnel can process memories of different error types in a targeted manner.

[0079] Optionally, the memory exception log includes various information generated when the log is abnormal. Each memory exception log corresponds to a different error type. The error type can be used to classify the memory exception log, including a correctable type (Corrected Error, referred to as CE), an uncorrected type (UnCorrected Error, referred to as UCE), and a disabled type (Disabled). Among them, CE is a correctable error. Usually, the system hardware can use some resources to repair CE. However, if the memory CE accumulates too much and the system hardware cannot continue to repair itself, UCE may be generated. For example, when the memory is checked and the error is detected as 1 bit, it may be an ECC check code error that causes the memory error. In this case, the CPU can correct it without affecting any system processes. UCE is an uncorrectable error and may directly cause the server to crash. For example, when the memory is checked and the error is detected as multiple bits, UCE will be generated and the system hardware cannot directly repair it. The disabled type targets logs in the server BMC sel log (system event log) and idle (integrated development environment) log that are in a disabled state.

[0080] Step 103: acquiring CPU information corresponding to the CPU and memory information corresponding to the memory according to the error type;

[0081] In the embodiment of the present invention, the CPU information may include information such as the CPU type and the number of CPUs, and the memory information may include information such as the memory capacity and the number of memories, which is not limited in the present invention.

[0082] In an example of the present invention, if the error type of the memory exception log is determined to be an unavailable type, the CPU type corresponding to the CPU and the memory capacity corresponding to the memory are obtained, and the corresponding exception prompt information and slot installation information are output according to the CPU type and memory capacity.

[0083] Alternatively, the CPU (Central Processing Unit) is one of the core components of an electronic computer. Its primary function is to interpret computer instructions and process data in computer software. The CPU consists of an arithmetic unit, a controller, registers, and a data, control, and status bus that connects them. Its operating principle can be divided into four stages: fetch, decode, execute, and writeback. Specifically, the CPU can fetch instructions from memory or cache memory, place them in the instruction register, decode the instructions, and execute them. CPU parameters include at least computing speed, main frequency, cache memory, and number of cores. Therefore, if the CPU is classified according to parameters, the CPU can at least be divided into dual-core, quad-core, hexa-core, and octa-core core types, and dual-thread, quad-thread, and eight-thread thread types. If the CPU is classified according to the manufacturer, the CPU can be divided into INTEL (Intel Corporation) and AMD (Advanced Micro Devices) manufacturer types. If the CPU model is classified, the CPU can at least be divided into Intel's Core i3, i5, i7, and i9 series and AMD's Ryzen R3, R5, R7, and R9 series. There are differences in the installation directions of CPUs produced by different manufacturers. For example, INTEL's CPU is installed on the CPU slot of the motherboard, and the groove of the CPU needs to be aligned with the convex groove on the motherboard. AMD's CPU is installed in a way that the golden triangle of the golden mountain corner corresponds to the golden triangle of the base. When installing, pay attention to installing them neatly and correspondingly.

[0084] In another example of the present invention, if it is determined that the error type of the memory exception log is a repairable type, the BMC log warning information for the repairable type of memory exception log is output. The BMC log warning information can be information used to remind that there is a correctable error in the memory. The user can know the location of the fault and the specific fault content based on the BMC log warning information. When the BMC determines that the error type of the memory exception log is a repairable type, the BMC log warning information for the repairable type of memory exception log is output.

[0085] In another example of the present invention, if it is determined that the error type of the memory exception log is an unrepairable type, BMC memory alarm information for the unrepairable memory exception log is output. The BMC memory alarm information can be information used to remind that an uncorrectable error exists in the memory.

[0086] Step 104: If it is determined based on the CPU information and the memory information that the memory slot of the memory is incorrectly installed, the memory slot with the incorrect installation is used as the target memory, and abnormal prompt information and slot installation information for the target memory are output.

[0087] In an embodiment of the present invention, if a memory slot installation error is determined based on the CPU type and memory capacity, the unavailable target memory is located from the memory in the memory slot with the error, and abnormal prompt information and slot installation information for the target memory are output.

[0088] Optionally, the abnormal prompt information may include prompt information of the BMC program regarding memory slot installation errors and memory incompatibility information. The slot information may be correct installation slot information provided by the BMC program according to CPU SPEC (Standard Performance Evaluation Corporation).

[0089] For example, the BMC identifies the CPU type, the memory capacity corresponding to each memory, and the status detection results. If the memory capacity and in-place status are normal, it determines that the memory is disabled and reports a memory incompatibility error, and outputs a memory incompatibility prompt message. If the memory capacity and in-place status are abnormal, it outputs a slot installation error prompt message and correct installation position information based on the CPU type, so that relevant technicians can adjust the memory slot installation method in time according to the prompt message and correct installation position information, thereby improving processing efficiency.

[0090] In an example of the present invention, if a memory slot installation error is determined based on the CPU type and memory capacity, the standard slot installation information corresponding to the CPU type and the current slot installation information corresponding to each current memory are obtained. If the memory slot on the server is not fully populated with memory, and the current slot installation information is different from the standard slot installation information, the target memory that is not inserted according to the standard slot installation information is located from the memory.

[0091] In another example of the present invention, if it is determined based on the CPU type and memory capacity that the memory slot is installed normally, the unavailable target memory is located from the memory, and the CPU bandwidth corresponding to the CPU type and the memory bandwidth corresponding to each memory are obtained. The memory bandwidth is less than or equal to the CPU bandwidth, the memory capacity is 0, and the memory with an in-place status identifier is used as the memory slot that is installed normally and is unavailable target memory, indicating that the memory is incompatible. At this time, the operating frequency identification is normal, the memory can be detected to be in place, but the memory capacity cannot be read (the memory capacity is 0).

[0092] For example, assuming there are two CPUs, 24 Registered DIMMs (RDIMMs), and the memory is installed according to the recommended method to build a 2-way X86 server, then ① power on the server and log in to the BMC web management control interface; ② flash the developed BMC firmware with server memory online detection and diagnosis functions and restart the BMC; ③ log in to the BMC web management interface again; ④ enter the System Information - Memory Management interface to view memory details, prompts, and SEL log information. If the memory is not installed according to the recommended method, start the server and enter the BMC web management interface, enter the System Information - Memory Management interface, and view memory details, prompts, and SEL log information.

[0093] In one example of the present invention, referring to Figure 2 The flowchart shows the steps for online memory detection. After the server is powered on, the BIOS will perform a startup memory detection. At the same time, the BMC can communicate with the CPLD through the I2C bus to obtain the memory status. If the BIOS detects a memory error, it will transmit the error log to the BMC log management system through the LPC bus. The BMC log management system classifies abnormal logs into CE ERROR logs, UCE ERROR logs, and DISABLED logs according to the error type, making it easier for operation and maintenance personnel to view server memory information and determine the error type of the memory log. For CEERROR logs, a BMC log warning message is directly generated. For UCE ERROR logs, a BMC memory alarm message is directly generated. For DISABLED logs, further detection of the CPU type, number of CPUs, and memory capacity is required to determine whether the memory installation method is correct. If the memory slot is installed correctly, it indicates that the memory is incompatible, and the BMC generates an incompatibility exception prompt message. If the slot is installed incorrectly, the correct installation method is provided, and the BMC generates an exception prompt message indicating the correctly installed slot, improving the efficiency of handling abnormal memory.

[0094] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that under the guidance of the ideas of the embodiments of the present invention, those skilled in the art can make settings according to actual conditions, and the present invention is not limited to this.

[0095] In an embodiment of the present invention, a baseboard management controller (BMC) is applied to a server including at least one CPU and a plurality of memories. In response to a detection instruction for the memory, the BMC performs a status detection on the memory and generates a memory detection log corresponding to the memory based on the status detection result. In response to obtaining a memory error reporting instruction corresponding to the memory, the memory detection log extracts a memory exception log for indicating a memory exception from the memory detection log and obtains an error type corresponding to each memory exception log. CPU information corresponding to the CPU and memory information corresponding to the memory are obtained based on the error type. If a memory slot installation error is determined based on the CPU information and the memory information, the memory is used as the target memory and abnormality prompt information and slot installation information for the target memory are output. Thus, by detecting the memory status, the memory exception log with abnormal status can be quickly extracted when a memory error is reported. By classifying the memory exception logs, corresponding detection methods can be automatically and targetedly adopted for memory with different error types, greatly improving the efficiency of memory detection. At the same time, by generating abnormality prompt information indicating a slot installation error, an operation and maintenance personnel is promptly reminded to maintain the target memory and the slot installation information corresponding to the target memory is provided, so that the operation and maintenance personnel can effectively maintain the memory.

[0096] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0097] Reference Figure 3 , shows a structural block diagram of a server memory detection device provided in an embodiment of the present invention, which is applied to a baseboard management controller BMC. The BMC is configured in a server, and the server includes at least one CPU and several memories, and specifically may include the following modules:

[0098] A memory detection log generating module 301 is configured to perform a status detection on the memory in response to a detection instruction for the memory, and generate a memory detection log corresponding to the memory according to a status detection result;

[0099] an error type acquisition module 302 for extracting memory exception logs representing memory exceptions from the memory detection logs in response to obtaining a memory error instruction corresponding to the memory, and obtaining an error type corresponding to each memory exception log;

[0100] An information acquisition module 303 is configured to acquire CPU information corresponding to the CPU and memory information corresponding to the memory according to the error type;

[0101] The memory slot installation error judgment module 304 is used to, if it is determined based on the CPU information and the memory information that the memory slot of the memory is installed incorrectly, use the memory with the memory slot installed incorrectly as the target memory, and output abnormal prompt information and slot installation information for the target memory.

[0102] In an optional embodiment of the embodiment of the present invention, the error type includes an unavailable type, the CPU information includes a CPU type, and the memory information includes a memory capacity. The information acquisition module 303 is specifically configured to:

[0103] If the error type of the memory exception log is an unavailable type, the CPU type corresponding to the CPU and the memory capacity corresponding to the memory are obtained.

[0104] In an optional embodiment of the embodiment of the present invention, the memory slot installation error determination module 304 includes:

[0105] The memory slot installation error judgment submodule locates the unavailable target memory from the memory if it is determined that the memory slot of the memory is installed incorrectly based on the CPU type and the memory capacity, and outputs abnormal prompt information and slot installation information for the target memory.

[0106] In an optional embodiment of the embodiment of the present invention, the device further includes:

[0107] The memory slot installation is normal determination module is used to locate the unavailable target memory from the memory if it is determined based on the CPU type, the number of CPUs and the memory capacity that the memory slot of the memory is installed normally, and output device incompatibility information for the target memory.

[0108] In an optional embodiment of the embodiment of the present invention, the memory slot installation error determination submodule is specifically configured to:

[0109] Obtaining standard slot installation information corresponding to the CPU type and current slot installation information corresponding to each memory;

[0110] If the memory slots on the server are not fully populated with the memory, and the current slot installation information is different from the standard slot installation information, the target memory that is not populated according to the standard slot installation information is located from the memory.

[0111] In an optional embodiment of the embodiment of the present invention, the memory slot installation normal determination module is specifically used to:

[0112] The CPU bandwidth corresponding to the CPU type and the memory bandwidth corresponding to each memory are obtained, and the memory whose memory bandwidth is less than or equal to the CPU bandwidth, the memory capacity is 0, and the memory corresponding to the in-place status flag is installed as the memory slot normally and unavailable target memory.

[0113] In an optional embodiment of the embodiment of the present invention, the error reporting type further includes a repairable type, and the apparatus further includes:

[0114] The BMC log warning information output module is configured to output BMC log warning information for the repairable memory exception log if the error reporting type of the memory exception log is a repairable type.

[0115] In an optional embodiment of the embodiment of the present invention, the error reporting type further includes an unrepairable type, and the apparatus further includes:

[0116] The BMC memory alarm information output module is configured to output BMC memory alarm information for the unrepairable memory exception log if the error reporting type of the memory exception log is an unrepairable type.

[0117] In an optional embodiment of the embodiment of the present invention, the server includes a plurality of memory slots, and the memory detection log generation module 301 is specifically configured to:

[0118] Obtaining a level signal corresponding to a memory slot into which the memory is plugged;

[0119] The memory corresponding to the memory slot where the level signal is greater than the preset level value is used as the first memory, and an in-place state flag corresponding to the first memory is generated;

[0120] The memory corresponding to the memory slot where the level signal is less than or equal to the preset level value is used as the second memory, and an in-position state flag corresponding to the second memory is generated;

[0121] The memory capacity corresponding to each memory is obtained respectively, and a memory detection log corresponding to the memory is generated according to the in-place state identifier and / or the out-of-place state identifier and the memory capacity corresponding to each memory.

[0122] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0123] In addition, an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, the various processes of the memory detection method embodiment of the above-mentioned server are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0124] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the various processes of the above-mentioned server memory detection method embodiment are implemented, and the same technical effects are achieved. To avoid repetition, the details are not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0125] Figure 4 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0126] The electronic device 400 includes, but is not limited to, components such as a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411. It will be understood by those skilled in the art that the electronic device structure involved in the embodiments of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle terminal, a wearable device, and a pedometer.

[0127] It should be understood that in this embodiment of the present invention, the RF unit 401 can be used to receive and transmit signals during information transmission or calls. Specifically, it receives downlink data from the base station and transmits it to the processor 410 for processing; in addition, it transmits uplink data to the base station. Typically, the RF unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like. Furthermore, the RF unit 401 can communicate with the network and other devices via a wireless communication system.

[0128] The electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0129] The audio output unit 403 can convert audio data received by the RF unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. In addition, the audio output unit 403 can also provide audio output related to a specific function performed by the electronic device 400 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, etc.

[0130] The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 processes image data of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frames can be displayed on the display unit 406. The image frames processed by the graphics processor 4041 can be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound and process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode.

[0131] The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and / or the backlight when the electronic device 400 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 405 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0132] The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0133] The user input unit 407 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel 4071). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 410, which receives and executes the command sent by the processor 410. In addition, the touch panel 4071 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0134] Furthermore, the touch panel 4071 may be overlaid on the display panel 4061. When the touch panel 4071 detects a touch operation on or near the touch panel 4071, the touch operation is transmitted to the processor 410 to determine the type of touch event. The processor 410 then provides a corresponding visual output on the display panel 4061 based on the type of touch event. It will be understood that in one embodiment, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device. However, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device. The specific details are not limited here.

[0135] The interface unit 408 is an interface for connecting external devices to the electronic device 400. For example, the external devices may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from the external device and transmit the received input to one or more elements within the electronic device 400, or may be used to transmit data between the electronic device 400 and the external device.

[0136] Memory 409 can be used to store software programs and various data. Memory 409 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function or an image playback function); the data storage area may store data generated based on the use of the mobile phone (such as audio data, a phone book, etc.). Furthermore, memory 409 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0137] Processor 410 is the control center of the electronic device. It connects all parts of the electronic device using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 409 and accessing data stored in memory 409, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Processor 410 may include one or more processing units; preferably, processor 410 may integrate an application processor and a modem processor, wherein the application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 410.

[0138] The electronic device 400 may also include a power supply 411 (such as a battery) to supply power to each component. Preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption.

[0139] In addition, the electronic device 400 includes some functional modules not shown, which will not be described here.

[0140] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0141] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0142] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are protected by the present invention.

[0143] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0144] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0145] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0146] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0147] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0148] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, ROM, RAM, a magnetic disk, or an optical disk.

[0149] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A memory detection method for a server, characterized in that: Applied to a baseboard management controller (BMC), the BMC is configured in a server, the server includes at least one CPU and a plurality of memories, and the method includes: In response to a detection instruction for the memory, performing a status detection for the memory, and generating a memory detection log corresponding to the memory according to a status detection result; In response to obtaining a memory error reporting instruction corresponding to the memory, extracting a memory exception log for characterizing a memory exception from the memory detection log, and obtaining an error reporting type corresponding to each of the memory exception logs; Acquire CPU information corresponding to the CPU and memory information corresponding to the memory according to the error type; If it is determined according to the CPU information and the memory information that the memory slot of the memory is incorrectly installed, the memory slot in which the memory is incorrectly installed is used as the target memory, and abnormal prompt information and slot installation information for the target memory are output; The error type includes an unavailable type, the CPU information includes a CPU type, and the memory information includes a memory capacity. The acquiring, according to the error type, the CPU information corresponding to the CPU and the memory information corresponding to the memory includes: If the error type of the memory exception log is unavailable, obtain the CPU type corresponding to the CPU and the memory capacity corresponding to the memory; The error reporting type also includes a repairable type, and the method further includes: If the error type of the memory exception log is a repairable type, output BMC log warning information for the repairable type of memory exception log; The error reporting type also includes an unrepairable type, and the method further includes: If the error type of the memory exception log is an unrepairable type, BMC memory alarm information for the unrepairable memory exception log is output.

2. The method according to claim 1, characterized in that If it is determined according to the CPU information and the memory information that the memory slot of the memory is incorrectly installed, the memory slot in which the memory is incorrectly installed is used as the target memory, and abnormal prompt information and slot installation information for the target memory are output, including: If it is determined that the memory slot of the memory is incorrectly installed based on the CPU type and the memory capacity, an unavailable target memory is located from the memory, and abnormal prompt information and slot installation information for the target memory are output.

3. The method according to claim 1, characterized in that Also includes: If it is determined according to the CPU type and the memory capacity that the memory slot of the memory is installed normally, an unavailable target memory is located from the memory, and device incompatibility information for the target memory is output.

4. The method according to claim 2, characterized in that If it is determined according to the CPU type and the memory capacity that the memory slot of the memory is incorrectly installed, locating an unavailable target memory from the memory includes: Obtaining standard slot installation information corresponding to the CPU type and current slot installation information corresponding to each memory; If the memory slots on the server are not fully populated with the memory, and the current slot installation information is different from the standard slot installation information, the target memory that is not populated according to the standard slot installation information is located from the memory.

5. The method according to claim 3, characterized in that If it is determined according to the CPU type and the memory capacity that the memory slot of the memory is properly installed, locating an unavailable target memory from the memory includes: The CPU bandwidth corresponding to the CPU type and the memory bandwidth corresponding to each memory are obtained, and the memory whose memory bandwidth is less than or equal to the CPU bandwidth, the memory capacity is 0, and the memory corresponding to the in-place status flag is installed as the memory slot normally and unavailable target memory.

6. The method according to claim 1, characterized in that The server includes a plurality of memory slots, and in response to a detection instruction for the memory, performing a status detection for the memory, and generating a memory detection log corresponding to the memory according to the status detection result, including: Obtaining a level signal corresponding to a memory slot into which the memory is plugged; The memory corresponding to the memory slot where the level signal is greater than the preset level value is used as the first memory, and an in-place state flag corresponding to the first memory is generated; The memory corresponding to the memory slot where the level signal is less than or equal to the preset level value is used as the second memory, and an in-position state flag corresponding to the second memory is generated; The memory capacity corresponding to each memory is obtained respectively, and a memory detection log corresponding to the memory is generated according to the in-place state identifier and / or the out-of-place state identifier and the memory capacity corresponding to each memory.

7. A memory detection device for a server, characterized in that: Applied to a baseboard management controller (BMC), the BMC is configured in a server, the server includes at least one CPU and several memories, and the device includes: a memory detection log generating module, configured to, in response to a detection instruction for the memory, perform a status detection on the memory, and generate a memory detection log corresponding to the memory according to a status detection result; an error type acquisition module for extracting, in response to obtaining a memory error instruction corresponding to the memory, a memory exception log for characterizing a memory exception from the memory detection log, and obtaining an error type corresponding to each of the memory exception logs; An information acquisition module, configured to acquire CPU information corresponding to the CPU and memory information corresponding to the memory according to the error type; a memory slot installation error determination module, configured to, if it is determined based on the CPU information and the memory information that the memory slot of the memory is incorrectly installed, use the memory slot with the incorrect installation as the target memory, and output abnormal prompt information and slot installation information for the target memory; The error type includes an unavailable type, the CPU information includes a CPU type, and the memory information includes a memory capacity. The information acquisition module is further configured to obtain the CPU type corresponding to the CPU and the memory capacity corresponding to the memory if the error type of the memory exception log is an unavailable type; The device further comprises: A BMC log warning information output module is configured to output BMC log warning information for the repairable memory exception log if the error reporting type of the memory exception log is a repairable type; The BMC memory alarm information output module is configured to output BMC memory alarm information for the unrepairable memory exception log if the error reporting type of the memory exception log is an unrepairable type.

8. An electronic device, characterized in that: comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is configured to implement the method according to any one of claims 1 to 6 when executing a program stored in the memory.

9. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Memory fault monitoring method and system, storage medium and equipment

    CN115114066A

  • Method and Device for Detecting Memory Downgrade Error

    US20220342740A1