NVMe hard disk failure warning method, system and computer device
Through the collaborative work of the central processor and complex programmable logic devices, the status of the NVMe hard drive is monitored in real time and a fault warning is triggered, which solves the problem of the lack of NVMe hard drive fault warning function in the existing technology and improves the stability and availability of the system.
Patent Information
- Application Number
- CN202210429927.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-04-22
AI Technical Summary
Existing technology cannot monitor NVMe hard drive failures in real time, resulting in a lack of fault warning functions, increased manpower and time costs, and may lead to data loss in severe cases.
Obtain NVMe hard drive status information through the central processing unit, reset the abnormal hard drive and record the number of resets. If the preset value is reached, a fault warning is triggered. Complex programmable logic devices and baseboard management controllers are used to generate log files and alarm signals to realize the recovery of NVMe hard drives. Failure warning.
It realizes automatic detection and prediction of NVMe hard disk failures, reduces manpower and material consumption, improves the high availability and stability of the system, and reduces the risk of data loss.
Smart Images

Figure CN114924929B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of hardware monitoring technology, and in particular to an NVMe hard disk failure early warning method, system and computer device. Background Art
[0002] With the popularity of cloud computing and data centers, the scale of servers has reached tens of thousands, and the application of NVMe hard drives is even greater. Although the failure rate of NVMe hard drives is relatively low, with the increase in the number and the increase in the service life of NVMe hard drives, the failure rate will also increase. Therefore, it is very necessary to use an automatic fault warning method to predict NVMe hard drive failures so as to replace the damaged NVMe hard drives in time to improve the service quality of NVMe hard drives and even the entire system.
[0003] In the existing technology, NVMe hard disks can only rely on automatic monitoring, analysis and reporting technology to record NVMe hard disk information. When a fault occurs and the system starts, the user will be prompted with fault information. It cannot provide automatic prediction functions. When the NVMe hard disk is large in scale and the service life of the NVMe hard disk is long, it will have a negative impact on the service quality of the NVMe hard disk, and in severe cases, it may even cause data loss. In order to reduce the adverse effects caused by NVMe hard disk failures, operation and maintenance intervention is required to monitor the operating status of the NVMe hard disk in real time, but relying on manual maintenance will increase labor costs and time costs.
[0004] Therefore, it is urgent to propose an NVMe hard disk failure warning method, system and computer device that can monitor the working efficiency of the server NVMe hard disk in real time and provide a fault warning before the NVMe hard disk is about to fail. Summary of the invention
[0005] Based on this, it is necessary to provide an NVMe hard disk failure warning method, device, computer equipment and computer equipment that can automatically reset the outbound link port to address the above technical problems.
[0006] On the one hand, a NVMe hard disk fault warning method is provided, the method comprising: a central processing unit obtains NVMe hard disk status information; if the NVMe hard disk status information is abnormal, the central processing unit resets the NVMe hard disk and obtains the number of NVMe hard disk resets; a complex programmable logic device sends the NVMe hard disk status information and the number of NVMe hard disk resets to a baseboard management controller; if the number of NVMe hard disk resets is not less than a first preset value, a fault warning is triggered.
[0007] Furthermore, the method also includes: the baseboard management controller obtains the abnormal status information of the NVMe hard disk and generates a log file; based on the log file and the preset abnormal status information category, obtains the number of occurrences of any abnormal status information category of the NVMe hard disk; if the number of occurrences of any abnormal status information category of the NVMe hard disk is not less than a second preset value, the corresponding abnormal status information triggers a fault warning.
[0008] Furthermore, before triggering the fault warning, the method also includes: detecting whether the VMD drive is in an available state; if the VMD drive is in an available state, the central processing unit sends a fault warning signal to the complex programmable logic device to perform a VPP fault warning; if the VMD drive is in an unavailable state, the baseboard management controller sends a fault warning signal to the complex programmable logic device to perform a baseboard management controller fault warning.
[0009] Furthermore, when performing VPP fault warning, the method also includes: the central processing unit sends a fault warning signal to the complex programmable logic device through the VPP IIC; the complex programmable logic device parses the fault warning signal, and sets the VMD driver to a fault warning dedicated state to perform VPP fault warning.
[0010] Furthermore, the method also includes: based on the NVMe hard disk, corresponding to each of the abnormal status information, setting a number of third alarm devices; if the number of occurrences of any of the abnormal status information categories of the NVMe hard disk is not less than a second preset value, then corresponding to the abnormal status information, triggering the third alarm device to issue a fault warning.
[0011] Furthermore, the NVMe hard disk status information includes: the NVMe hard disk location information and the NVMe hard disk working status information; the central processing unit resets the NVMe hard disk, including: monitoring whether the NVMe hard disk working status information is abnormal, if the NVMe hard disk working status information is abnormal, then the central processing unit resets the NVMe hard disk based on the NVMe hard disk location information.
[0012] Furthermore, obtaining the first preset value includes: establishing a training model based on the basic information of the NVMe hard disk and the fault information of the NVMe hard disk; based on the training model, obtaining the number of fault warnings that occurred before the NVMe hard disk was damaged; based on the number of fault warnings, obtaining the first preset value, the first preset value being less than the number of fault warnings.
[0013] Furthermore, the fault warning includes: the complex programmable logic device detects the in-place status information of the NVMe hard disk, and sends the hard disk in-place status information to the baseboard management controller; the baseboard management controller sends a fault warning signal to the complex programmable logic device based on the hard disk in-place status information; the complex programmable logic device parses the fault warning signal and performs a fault warning.
[0014] On the other hand, an NVMe hard disk fault warning system is provided, the system comprising: a complex programmable logic device, a baseboard management controller, a central processing unit and an NVMe hard disk; the central processing unit is communicatively connected with the NVMe hard disk to obtain the NVMe hard disk status information, and if the NVMe hard disk status information is abnormal, it is also used to reset the NVMe hard disk and obtain the number of NVMe hard disk resets, and if the number of NVMe hard disk resets is not less than a first preset value, it is also used to trigger a fault warning; the complex programmable logic device is communicatively connected with the NVMe hard disk to obtain the NVMe hard disk status information and the number of NVMe hard disk resets; the baseboard management controller is communicatively connected with the complex programmable logic device to receive the NVMe hard disk status information and the number of NVMe hard disk resets sent by the complex programmable logic device, and if the number of NVMe hard disk resets is not less than a first preset value, it is also used to trigger a fault warning.
[0015] Furthermore, the baseboard management controller is also used to obtain the abnormal status information of the NVMe hard disk, generate a log file, and based on the log file and the preset abnormal status information category, obtain the number of occurrences of any abnormal status information category of the NVMe hard disk; if the number of occurrences of any abnormal status information category of the NVMe hard disk is not less than a second preset value, it is also used to trigger a fault warning corresponding to the abnormal status information.
[0016] On the other hand, a computer-readable computer device is provided, on which a computer program is stored, and the computer program implements the following steps when executed by a processor: a central processing unit obtains NVMe hard disk status information, and if the NVMe hard disk status information is abnormal, the central processing unit resets the NVMe hard disk and obtains the number of NVMe hard disk resets; a complex programmable logic device sends the NVMe hard disk status information and the number of NVMe hard disk resets to a baseboard management controller; if the number of NVMe hard disk resets is not less than a first preset value, a fault warning is triggered.
[0017] In the above-mentioned NVMe hard disk fault warning method, system and computer equipment, the central processing unit obtains the NVMe hard disk status information. If the NVMe hard disk status information is abnormal, the central processing unit resets the NVMe hard disk and obtains the number of times the NVMe hard disk is reset; the complex programmable logic device sends the NVMe hard disk status information and the number of times the NVMe hard disk is reset to the baseboard management controller; if the number of times the NVMe hard disk is reset is not less than the first preset value, a fault warning is triggered. In this way, the baseboard management controller can monitor the operating parameters and health status of the NVMe hard disk in real time, and can detect and predict NVMe hard disk failures, better evaluate the NVMe hard disk operation risks, speed up the efficiency of solving NVMe hard disk operation failures, and effectively achieve high availability of the entire system under the premise of reducing manpower and material consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flowchart of an NVMe hard disk failure warning method in one embodiment;
[0019] Figure 2 It is a flowchart of an NVMe hard disk failure warning method in one embodiment;
[0020] Figure 3 It is a structural block diagram of an NVMe hard disk failure warning system in one embodiment;
[0021] Figure 4 It is a structural block diagram of an NVMe hard disk failure warning system in one embodiment;
[0022] Figure 5 FIG. 4 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0024] In the existing technology, NVMe hard disks can only rely on automatic monitoring, analysis and reporting technology to record NVMe hard disk information. When a fault occurs and the system starts, the user will be prompted with fault information. It cannot provide automatic prediction functions. When the NVMe hard disk is large in scale and the service life of the NVMe hard disk is long, it will have a negative impact on the service quality of the NVMe hard disk, and in severe cases, it may even cause data loss. In order to reduce the adverse effects caused by NVMe hard disk failures, operation and maintenance intervention is required to monitor the operating status of the NVMe hard disk in real time, but relying on manual maintenance will increase labor costs and time costs.
[0025] Embodiment 1
[0026] Based on the existing technology, the present invention provides a NVMe hard disk failure warning method. Figure 1 and Figure 2 As shown, the NVMe hard disk fault warning method includes: the central processing unit obtains the NVMe hard disk status information, if the NVMe hard disk status information is abnormal, the central processing unit resets the NVMe hard disk, and obtains the number of NVMe hard disk resets, the number of NVMe hard disks is at least one; the complex programmable logic device sends the NVMe hard disk status information and the number of NVMe hard disk resets to the baseboard management controller; if the number of NVMe hard disk resets is not less than the first preset value, a fault warning is triggered. Among them, it should be understood that the NVMe hard disk is NVMe SSD.
[0027] Through the above method, fault warnings will be issued for NVMe hard disks that may fail. Based on the fault warnings, operation and maintenance personnel can promptly identify NVMe hard disks that may fail, thereby helping operation and maintenance personnel to achieve fault warnings, predictions, diagnosis, isolation and recovery of NVMe hard disks, which is conducive to preventing data loss, reducing the consumption of manpower and material resources, and improving system stability.
[0028] In one embodiment, when the baseboard management controller detects that the NVMe hard disk is reset through a complex programmable logic device, that is, the baseboard management controller will add 1 to the number of NVMe hard disk resets in the counting stack until the number of NVMe hard disk resets exceeds the first preset value, and then a fault warning is issued. The initial value of the counting stack is 0. Among them, the method of the fault warning can be a flashing alarm method by lighting up the breathing light, or a buzzer alarm method. There is no limitation on the method of fault warning. Technical personnel in this field can make a reasonable choice according to the actual situation, as long as it can serve to warn the operation and maintenance personnel.
[0029] In one embodiment, the method further includes: the baseboard management controller obtains the abnormal status information of the NVMe hard disk and generates a log file; based on the log file and the preset abnormal status information category, the number of occurrences of any abnormal status information category of the NVMe hard disk is obtained; if the number of occurrences of any abnormal status information category of the NVMe hard disk is not less than the second preset value, the corresponding abnormal status information triggers a fault warning. Among them, the abnormal status information of the NVMe hard disk at least includes abnormal status information such as disk drop and data transmission abnormality. Taking disk drop and data transmission abnormality as examples, in the process of fault warning for the NVMe hard disk, the number of occurrences of abnormal status information of NVMe hard disk data transmission abnormality and disk drop are counted respectively. At the same time, the abnormal status information of the NVMe hard disk is recorded in the form of a log file to help the operation and maintenance personnel to review the operating status information of the NVMe hard disk, which is conducive to the operation and maintenance personnel to conduct in-depth analysis of the cause of the NVMe hard disk failure.
[0030] In one embodiment, the method further includes: if the central processing unit resets the NVMe hard disk, the first alarm device is triggered to issue a fault warning; if the number of resets of the NVMe hard disk is not less than the first preset value, the second alarm device is triggered to issue a fault warning; the fault warning frequency of the second alarm device is higher than the fault warning frequency of the first alarm device. As long as the NVMe hard disk is reset, a fault warning is issued based on the first alarm device to help operation and maintenance personnel obtain the operating status information of the NVMe hard disk in a timely manner. When the number of resets of the NVMe hard disk is not less than the first preset value, it means that the probability of failure of the NVMe hard disk is extremely high. The second alarm device with a higher fault warning frequency than the first alarm device is used to issue an alarm, which increases the conspicuousness of the fault warning and helps operation and maintenance personnel to find and solve problems in a timely manner.
[0031] In one embodiment, obtaining the first preset value includes: establishing a training model based on the basic information of the NVMe hard disk and the fault information of the NVMe hard disk; based on the training model, obtaining the number of fault warnings that occurred before the NVMe hard disk was damaged; based on the number of fault warnings, obtaining the first preset value, the first preset value is less than the number of fault warnings. In the present application, when a fault warning is performed based on the NVMe hard disk, the first preset value is 15. The technicians built a model based on the fault logs of the NVMe hard disks of 38 product projects. Through the generated model, the probability statistics show that the number of fault warnings that occurred before the NVMe hard disk was damaged is between 18 and 20 times. In order to ensure that a fault warning can be performed before the NVMe hard disk is damaged, the present application sets the first preset value to 15. It should be understood that the present application does not limit the size of the first preset value, and technicians in this field can reasonably select the first preset value based on the project characteristics and the NVMe hard disk category.
[0032] In one embodiment, the method further includes: based on the NVMe hard disk, corresponding to each of the abnormal status information, a plurality of third alarm devices are set; if the number of occurrences of any of the abnormal status information categories of the NVMe hard disk is not less than the second preset value, then the third alarm device is triggered to issue a fault warning corresponding to the abnormal status information. Similarly, taking the NVMe hard disk data transmission abnormality and the NVMe hard disk drop as examples for explanation, the corresponding third alarm devices are set corresponding to the NVMe hard disk data transmission abnormality and the NVMe hard disk drop respectively; when the NVMe hard disk data transmission abnormality and / or the NVMe hard disk drop abnormal status information occur, the number of occurrences of the NVMe hard disk data transmission abnormality and the NVMe hard disk drop abnormal status information are respectively obtained in real time, if the number of occurrences of the NVMe hard disk data transmission abnormality is not less than the second preset value, then the third alarm device corresponding to the NVMe hard disk data transmission abnormality is triggered, and if the number of occurrences of the NVMe hard disk drop is not less than the second preset value, then the third alarm device corresponding to the NVMe hard disk drop is triggered. The cause of the NVMe hard disk failure is used as an alarm device for fault warning, which helps the operation and maintenance personnel to determine and solve the NVMe hard disk failure in a timely and efficient manner. It should be understood that there is no limitation on the specific size of the second preset value, and those skilled in the art can determine it according to actual conditions.
[0033] In one embodiment, the NVMe hard drive status information includes: the NVMe hard drive location information and the NVMe hard drive working status information; the central processing unit resets the NVMe hard drive, including: monitoring whether the NVMe hard drive working status information is abnormal, if the NVMe hard drive working status information is abnormal, then the central processing unit resets the NVMe hard drive based on the NVMe hard drive location information.
[0034] In one embodiment, when there are multiple NVMe hard disks, the central processing unit obtains the status information of each NVMe hard disk respectively. If the status information of any NVMe hard disk is abnormal, the central processing unit resets the NVMe hard disk; the complex programmable logic device obtains the status information of each NVMe hard disk and the number of resets of each NVMe hard disk based on each NVMe hard disk, and sends it to the baseboard management controller. The baseboard management controller compares the number of resets of each NVMe hard disk obtained with the first preset value. If the number of resets of the NVMe hard disk is not less than the first preset value, the baseboard management controller triggers a fault warning. In other words, a number of fourth alarm devices can be set corresponding to each NVMe hard disk. When the number of resets of the NVMe hard disk is not less than the first preset value, the fourth alarm device corresponding to the NVMe hard disk performs a fault warning to help the operation and maintenance personnel to determine the faulty NVMe hard disk at the first time.
[0035] In one embodiment, before triggering the fault warning, the method further includes: detecting whether the VMD driver is in an available state; if the VMD driver is in an available state, the central processing unit sends a fault warning signal to the complex programmable logic device to perform a VPP fault warning; if the VMD driver is in an unavailable state, the baseboard management controller sends a fault warning signal to the complex programmable logic device to perform a baseboard management controller fault warning. It should be understood that if the VMD driver is in an unavailable state, that is, in VMD Disable or PCH AHCI mode, the baseboard management controller can actively send a fault warning instruction to the complex programmable logic device through the IIC bus to obtain fault warning control authority.
[0036] In one embodiment, when performing VPP fault warning, the method further includes: the central processor sends a fault warning signal to the complex programmable logic device through VPPIIC; the complex programmable logic device analyzes the fault warning signal, and sets the VMD driver to a fault warning dedicated state to perform VPP lighting alarm. The VMD driver is set to a fault warning dedicated state to ensure that the fault warning signal sent by the central processor through VPP IIC can be sent smoothly.
[0037] In the prior art, the system cannot predict the failure of server storage devices. Only when the server storage device has failed will the system issue a warning to inform the operation and maintenance personnel, and the direct cause of the server storage device failure will not be explicitly stated. Only the operating status information of the server storage device will be displayed in the log file. In the present application, the central processing unit obtains the NVMe hard disk status information in real time, and resets the NVMe hard disk with abnormal status information; the baseboard management controller obtains the NVMe hard disk status information and the number of NVMe hard disk resets through a complex programmable logic device; the number of NVMe hard disk resets is compared with the first preset value, and a fault warning is issued before the NVMe hard disk is damaged. Informing the operation and maintenance personnel before the NVMe hard disk is damaged reduces the maintenance cost and maintenance time of the system, helps to reduce the data loss rate, and improves the high availability of the system. It should be understood that the fault warning described in this application document is different from the fault warning described in the accompanying drawings in the specification. Figure 1 and Figure 2 The fault alarms described above are the same concept.
[0038] It should be understood that although Figure 1 and Figure 2The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 and Figure 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0039] Embodiment 2
[0040] In one embodiment, Figure 3 and Figure 4 As shown, a NVMe hard disk fault warning system is provided, the system includes: a complex programmable logic device, a baseboard management controller, a central processing unit and an NVMe hard disk; the central processing unit is connected in communication with the NVMe hard disk to obtain the NVMe hard disk status information, if the NVMe hard disk status information is abnormal, it is also used to reset the NVMe hard disk and obtain the number of resets of the NVMe hard disk, if the number of resets of the NVMe hard disk is not less than a first preset value, it is also used to trigger a fault warning; the complex programmable logic device is connected in communication with the NVMe hard disk to obtain the NVMe hard disk status information and the number of resets of the NVMe hard disk; the baseboard management controller is connected in communication with the complex programmable logic device to receive the NVMe hard disk status information and the number of resets of the NVMe hard disk sent by the complex programmable logic device, if the number of resets of the NVMe hard disk is not less than a first preset value, it is also used to trigger a fault warning. Wherein, the baseboard management controller is connected in communication with the NVMe hard disk to obtain the status information of the NVMe hard disk backplane, such as reading the operating temperature of the NVMe hard disk backplane, obtaining the material number of the NVMe hard disk backplane and the shape of the NVMe hard disk backplane and other information.
[0041] In one embodiment, the baseboard management controller is also used to obtain the abnormal status information of the NVMe hard disk, generate a log file, and based on the log file and the preset abnormal status information category, obtain the number of occurrences of any abnormal status information category of the NVMe hard disk; if the number of occurrences of any abnormal status information category of the NVMe hard disk is not less than a second preset value, it is also used to trigger a fault warning corresponding to the abnormal status information.
[0042] For the specific limitations of the NVMe hard disk fault warning system, please refer to the limitations of the NVMe hard disk fault warning method above, which will not be repeated here. Each module in the above-mentioned NVMe hard disk fault warning system can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0043] Embodiment 3
[0044] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile computer device and an internal memory. The non-volatile computer device stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile computer device. When the computer program is executed by the processor, an NVMe hard disk failure warning method is implemented.
[0045] In one embodiment, a computer-readable computer device is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: a central processing unit obtains NVMe hard disk status information, and if the NVMe hard disk status information is abnormal, the central processing unit resets the NVMe hard disk and obtains the number of times the NVMe hard disk is reset; a complex programmable logic device sends the NVMe hard disk status information and the number of times the NVMe hard disk is reset to a baseboard management controller; if the number of times the NVMe hard disk is reset is not less than a first preset value, a fault warning is triggered. Among them, the NVMe hard disk location information and the NVMe hard disk working status information; the central processing unit resets the NVMe hard disk, including: monitoring whether the NVMe hard disk working status information is abnormal, and if the NVMe hard disk working status information is abnormal, the central processing unit resets the NVMe hard disk based on the NVMe hard disk location information.
[0046] In one embodiment, when the computer program is executed by the processor, the following steps are implemented: the baseboard management controller obtains the abnormal status information of the NVMe hard disk and generates a log file; based on the log file and the preset abnormal status information category, the number of occurrences of any abnormal status information category of the NVMe hard disk is obtained; if the number of occurrences of any abnormal status information category of the NVMe hard disk is not less than a second preset value, a fault warning is triggered corresponding to the abnormal status information.
[0047] In one embodiment, when the computer program is executed by the processor, the following steps are implemented: detecting whether the VMD driver is in an available state; if the VMD driver is in an available state, the central processing unit sends a fault warning signal to the complex programmable logic device to perform a VPP fault warning; if the VMD driver is in an unavailable state, the baseboard management controller sends a fault warning signal to the complex programmable logic device to perform a baseboard management controller fault warning. Among them, the central processing unit sends a fault warning signal to the complex programmable logic device through a VPP IIC; the complex programmable logic device parses the fault warning signal, and sets the VMD driver to a fault warning dedicated state to perform a VPP fault warning.
[0048] In one embodiment, when the computer program is executed by the processor, the following steps are implemented: if the number of occurrences of any of the abnormal status information categories of the NVMe hard disk is not less than a second preset value, then corresponding to the abnormal status information, the third alarm device is triggered to issue a fault warning. Wherein, the third alarm device is based on the NVMe hard disk and is set corresponding to each of the abnormal status information categories.
[0049] In one embodiment, when the computer program is executed by the processor, the following steps are implemented: based on the basic information of the NVMe hard disk and the fault information of the NVMe hard disk, a training model is established; based on the training model, the number of fault warnings that occurred before the NVMe hard disk was damaged is obtained; based on the number of fault warnings, the first preset value is obtained, and the first preset value is less than the number of fault warnings.
[0050] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable computer device. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0051] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0052] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. An NVMe hard disk failure warning system, characterized in that: The system includes: a complex programmable logic device, a baseboard management controller, a central processing unit and an NVMe hard disk; the central processing unit is connected to the NVMe hard disk in communication to obtain the NVMe hard disk status information, and if the NVMe hard disk status information is abnormal, it is also used to reset the NVMe hard disk and obtain the number of resets of the NVMe hard disk, and if the number of resets of the NVMe hard disk is not less than a first preset value, it is also used to trigger a fault warning; The complex programmable logic device is communicatively connected with the NVMe hard disk to obtain the NVMe hard disk status information and the number of resets of the NVMe hard disk; The baseboard management controller is communicatively connected with the complex programmable logic device to receive the NVMe hard disk status information and the number of NVMe hard disk resets sent by the complex programmable logic device, and is also used to trigger a fault warning if the number of NVMe hard disk resets is not less than a first preset value; The baseboard management controller is further used to obtain the abnormal state information of the NVMe hard disk, generate a log file, and obtain the number of occurrences of any abnormal state information category of the NVMe hard disk based on the log file and the preset abnormal state information category; if the number of occurrences of any abnormal state information category of the NVMe hard disk is not less than a second preset value, it is also used to trigger a fault warning corresponding to the abnormal state information; The baseboard management controller is also used to detect whether the VMD driver is in an available state before triggering the fault warning; if the VMD driver is in an available state, the central processing unit sends a fault warning signal to the complex programmable logic device to perform a VPP fault warning; if the VMD driver is in an unavailable state, the baseboard management controller sends a fault warning signal to the complex programmable logic device to perform a baseboard management controller fault warning; The central processor is also used to send a fault warning signal to the complex programmable logic device through the VPP IIC; the complex programmable logic device is used to analyze the fault warning signal and set the VMD driver to a fault warning dedicated state to perform VPP fault warning; The central processing unit is also used to establish a training model based on the basic information of the NVMe hard disk and the fault information of the NVMe hard disk; based on the training model, obtain the number of fault warnings that occurred before the NVMe hard disk was damaged; based on the number of fault warnings, obtain the first preset value, and the first preset value is less than the number of fault warnings; Based on the NVMe hard disk, corresponding to each of the abnormal status information categories, several third alarm devices are set; if the number of occurrences of any of the abnormal status information categories of the NVMe hard disk is not less than a second preset value, the third alarm device is triggered to issue a fault warning corresponding to the abnormal status information.
2. The NVMe hard disk failure warning system according to claim 1, characterized in that: The NVMe hard disk status information includes: the NVMe hard disk location information and the NVMe hard disk working status information; the central processing unit resets the NVMe hard disk, including: monitoring whether the NVMe hard disk working status information is abnormal, and if the NVMe hard disk working status information is abnormal, the central processing unit resets the NVMe hard disk based on the NVMe hard disk location information.
Citation Information
Patent Citations
Remote out-of-band SSD monitoring method and device and controlled terminal
CN109032901A
