A solid state drive fault diagnosis method, device, equipment and medium
Through the automated fault detection method of the built-in diagnostic system, the problem of inefficient fault diagnosis of solid-state hard disks is solved, and fast and accurate fault positioning and maintenance plan determination is achieved, reducing the work burden of maintenance engineers.
Patent Information
- Application Number
- CN202111660319.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2041-12-30
AI Technical Summary
In the prior art, SSD fault diagnosis relies on manual experience, resulting in low diagnostic efficiency, heavy maintenance and R&D burden, and prone to accumulation of faulty SSDs.
The diagnostic equipment with a built-in diagnostic system is used to establish connection lines with the solid-state drive through the connector, fault analysis and self-diagnosis are carried out, and the diagnostic firmware is used to perform automated fault detection, and the hard disk status is determined based on the fault analysis results and self-diagnosis results.
It improves the speed and accuracy of fault detection, reduces the burden on maintenance engineers, realizes systematic fault diagnosis, and reduces the difficulty of fault analysis.
Smart Images

Figure CN114429782B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of fault detection, and in particular to a solid state hard disk fault diagnosis method, device, equipment and medium. Background Art
[0002] SSDs (Solid State Drives) are precision devices with complex production processes and large quantities of precise components. Any minor problem can cause the drive to malfunction. During the manufacturing process, some SSDs will inevitably experience a small probability of hardware failure. The problems that cause these failures may include PCB (Printed Circuit Board) manufacturing problems, SMT (Surface Mount Technology) process problems, component defects, etc. In actual situations, SSD failures are not the same. Each faulty SSD requires maintenance engineers to locate and resolve it one by one based on their experience. As production continues, faulty SSDs often accumulate. Due to product upgrades and iterations, the training of maintenance engineers has also increased the burden on R&D.
[0003] As can be seen from the above, in the process of solid-state drive fault diagnosis, how to avoid the low fault diagnosis efficiency and heavy maintenance and R&D burden of solid-state drives caused by manual fault diagnosis methods is a problem to be solved in this field. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a solid-state drive fault diagnosis method, apparatus, device, and medium, which can use diagnostic equipment to systematically diagnose faulty hard drives and improve the diagnostic efficiency of solid-state drive fault diagnosis. The specific solution is as follows:
[0005] In a first aspect, the present application discloses a solid-state drive fault diagnosis method, which is applied to a diagnostic device with a built-in diagnostic system, comprising:
[0006] Determining a solid-state drive to be diagnosed, and establishing a connection line with the solid-state drive to be diagnosed using a connector;
[0007] Performing fault analysis on the solid-state hard disk to be diagnosed by the diagnostic system to obtain corresponding fault analysis results;
[0008] Burning the diagnostic firmware to the solid-state drive to be diagnosed through the connection line, so that the solid-state drive to be diagnosed can use the diagnostic firmware to perform self-diagnosis on itself and obtain corresponding self-diagnosis results;
[0009] The self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line is obtained, and the fault state of the solid-state hard disk to be diagnosed is determined by using the fault analysis result and the self-diagnosis result.
[0010] Optionally, the step of establishing a connection line with the solid-state drive to be diagnosed by using a connector includes:
[0011] Establishing a data link with the solid-state drive to be diagnosed by using a high-speed serial high-bandwidth transmission connection line in the connector;
[0012] The extended connection line in the connector is used to respectively establish signal links with a preset test point on the solid state drive to be diagnosed and a preset control point for controlling the start-up burning mode.
[0013] Optionally, performing fault analysis on the solid-state drive to be diagnosed by the diagnostic system to obtain corresponding fault analysis results includes:
[0014] The diagnostic software in the diagnostic system and a preset fault analysis method are used to automatically perform fault analysis on the solid-state hard disk to be diagnosed to obtain corresponding fault analysis results; the fault analysis method includes any one or more combinations of power supply analysis, hardware connectivity analysis, and key waveform timing analysis.
[0015] Optionally, burning the diagnostic firmware to the solid-state drive to be diagnosed through the connection line so that the solid-state drive to be diagnosed performs self-diagnosis on itself using the diagnostic firmware to obtain corresponding self-diagnosis results includes:
[0016] Controlling the solid-state hard disk to be diagnosed to enter a burning mode through the high-speed serial high-bandwidth transmission connection line and the extension connection line in the connector;
[0017] The diagnostic firmware is burned into the solid-state hard disk to be diagnosed, so that the solid-state hard disk to be diagnosed can use the diagnostic firmware to perform self-diagnosis on itself through the local main control to obtain corresponding self-diagnosis results.
[0018] Optionally, after obtaining the self-diagnosis result returned by the solid-state drive to be diagnosed through the connection line, the method further includes:
[0019] Establish a connection with the host computer;
[0020] The fault analysis result and the self-diagnosis result are sent to the host computer so that the host computer can store and analyze fault data based on the fault analysis result and the self-diagnosis result.
[0021] Optionally, after obtaining the self-diagnosis result returned by the solid-state drive to be diagnosed through the connection line, the method further includes:
[0022] Performing statistical analysis on all acquired historical fault data by the host computer to obtain corresponding statistical analysis results;
[0023] A target optimization process for the solid-state hard disk is determined according to the statistical analysis result, so as to optimize the current solid-state hard disk production process by using the target optimization process.
[0024] Optionally, the solid-state drive fault diagnosis method further includes:
[0025] According to a preset upgrade cycle, upgrade data packets for the diagnostic software in the diagnostic system are regularly obtained, and the diagnostic software is upgraded and adjusted using the upgrade data packets.
[0026] In a second aspect, the present application discloses a solid-state hard drive fault diagnosis device, which is applied to a diagnostic device with a built-in diagnostic system, comprising:
[0027] A line establishment module is used to determine the solid-state hard disk to be diagnosed and establish a connection line with the solid-state hard disk to be diagnosed using a connector;
[0028] Analysis result acquisition module: used for performing fault analysis on the solid-state hard disk to be diagnosed through the diagnostic system to obtain corresponding fault analysis results;
[0029] Firmware burning module: used for burning the diagnostic firmware to the solid-state hard disk to be diagnosed through the connection line, so that the solid-state hard disk to be diagnosed can use the diagnostic firmware to perform self-diagnosis on itself and obtain corresponding self-diagnosis results;
[0030] Fault processing module: used for obtaining the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, and determining the fault status of the solid-state hard disk to be diagnosed by using the fault analysis result and the self-diagnosis result.
[0031] In a third aspect, the present application discloses an electronic device, comprising:
[0032] Memory, used to store computer programs;
[0033] The processor is used to execute the computer program to implement the aforementioned solid state drive fault diagnosis method.
[0034] In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned solid-state hard drive fault diagnosis method are implemented.
[0035] The present application first determines the solid-state hard disk to be diagnosed, and uses a connector to establish a connection line with the solid-state hard disk to be diagnosed, then performs a fault analysis on the solid-state hard disk to be diagnosed through the diagnostic system to obtain a corresponding fault analysis result, and burns the diagnostic firmware to the solid-state hard disk to be diagnosed through the connection line, so that the solid-state hard disk to be diagnosed uses the diagnostic firmware to self-diagnose itself and obtain a corresponding self-diagnosis result, and finally obtains the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, and uses the fault analysis result and the self-diagnosis result to determine the fault status of the solid-state hard disk to be diagnosed. The method described in the present application is applied to a diagnostic device with a built-in diagnostic system, first establishing a connection line through the diagnostic device and the connection line, and after using the diagnostic device to perform an automatic and systematic diagnosis of the solid-state hard disk to be diagnosed, the fault diagnosis result is transmitted through the connection line between the diagnostic device and the solid-state hard disk to be diagnosed, which greatly improves the detection speed and accuracy, determines the detection plan for the maintenance engineer, and reduces the maintenance burden of the maintenance engineer. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0037] Figure 1 Flowchart of the solid-state drive fault diagnosis method provided in this application;
[0038] Figure 2 A flowchart of a specific solid-state drive fault diagnosis method provided in this application;
[0039] Figure 3 A physical topology diagram of the device provided for this application;
[0040] Figure 4 A workflow diagram provided for this application;
[0041] Figure 5 This is a structural diagram of a solid state hard disk fault diagnosis device disclosed in this application;
[0042] Figure 6 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0044] In the existing technology, each faulty SSD requires a maintenance engineer to locate and resolve it one by one based on their experience, which results in low maintenance efficiency and a heavy burden on maintenance personnel. In this application, a diagnostic device is used to automatically and systematically diagnose faults on the SSD to be diagnosed, thereby improving fault detection efficiency and reducing the difficulty of fault analysis.
[0045] The embodiment of the present invention discloses a method for diagnosing a fault of a solid state hard disk, which is applied to a diagnostic device with a built-in diagnostic system. Figure 1 Said method comprises:
[0046] Step S11: determining a solid-state drive to be diagnosed, and establishing a connection line with the solid-state drive to be diagnosed using a connector;
[0047] It can be understood that the diagnostic device is a device for diagnosing solid state hard disk failures, the diagnostic system is installed in the diagnostic device, and the diagnostic system includes diagnostic software.
[0048] In this embodiment, the use of a connector to establish a connection line with the solid-state hard disk to be diagnosed may include: using a high-speed serial high-bandwidth transmission connection line in the connector to establish a data link with the solid-state hard disk to be diagnosed; using an extended connection line in the connector to respectively establish a signal link between a preset test point on the solid-state hard disk to be diagnosed and a preset control point for controlling the startup of the burning mode.
[0049] It can be understood that the connector is used to connect the diagnostic device and the solid-state drive to be diagnosed. The connector consists of two parts: a PCIe (i.e., peripheral component interconnect express, a high-speed serial computer expansion bus standard) line and an extension connection line. The PCIe line is the above-mentioned high-speed serial high-bandwidth transmission connection line, which is a line that complies with the high-speed serial computer expansion bus standard. In this embodiment, the PCIe line is used for data interaction between the diagnostic device and the solid-state drive to be diagnosed, and the extension connection line is used to connect the preset test point and the preset control point on the solid-state drive to be diagnosed. The purpose of the preset test point is the test point that the diagnostic device needs to connect when performing fault analysis on the solid-state drive to be diagnosed. The purpose of the preset control point is to use the preset control point to control the solid-state drive to be diagnosed to start the burning mode before the diagnostic device burns the diagnostic firmware to the solid-state drive to be diagnosed.
[0050] Step S12: performing fault analysis on the solid-state drive to be diagnosed by the diagnostic system to obtain corresponding fault analysis results;
[0051] In this embodiment, the fault analysis of the solid-state hard disk to be diagnosed by the diagnostic system to obtain the corresponding fault analysis results may include: automatically performing fault analysis on the solid-state hard disk to be diagnosed by the diagnostic software in the diagnostic system and using a preset fault analysis method to obtain the corresponding fault analysis results; the fault analysis method includes any one or more combinations of power supply analysis, hardware connectivity analysis, and key waveform timing analysis. It can be understood that the fault analysis of the solid-state hard disk to be diagnosed by the diagnostic system is a diagnostic process automatically performed by the diagnostic equipment, which is used to measure physical quantities that can be directly measured by physical connection, such as voltage, current and other physical quantities. Furthermore, after the diagnosis is completed, the fault analysis results will be automatically generated in the diagnostic equipment.
[0052] Step S13: Burning the diagnostic firmware to the solid-state drive to be diagnosed through the connection line, so that the solid-state drive to be diagnosed can use the diagnostic firmware to perform self-diagnosis on itself and obtain corresponding self-diagnosis results;
[0053] It is understandable that some test points in the SSD to be diagnosed that cannot be tested only through physical connection can be completed through this step by performing self-diagnosis operations on the local main control of the SSD to be diagnosed.
[0054] In this embodiment, the process of burning the diagnostic firmware to the solid-state drive to be diagnosed through the connection line so that the solid-state drive to be diagnosed uses the diagnostic firmware to perform self-diagnosis on itself and obtains corresponding self-diagnosis results may include: controlling the solid-state drive to be diagnosed to enter a burning mode through the high-speed serial high-bandwidth transmission connection line and the extension connection line in the connector; and burning the diagnostic firmware to the solid-state drive to be diagnosed so that the solid-state drive to be diagnosed uses the diagnostic firmware to perform self-diagnosis on itself through the local master control and obtains corresponding self-diagnosis results.
[0055] It should be noted that after the solid-state drive to be diagnosed performs self-diagnosis on itself using the diagnostic firmware to obtain a self-diagnosis result, the self-diagnosis result will be transmitted through the preset PCIe interface for connecting to the diagnostic device.
[0056] Step S14: obtaining the self-diagnosis result returned by the solid state drive to be diagnosed through the connection line, and determining the fault status of the solid state drive to be diagnosed by using the fault analysis result and the self-diagnosis result.
[0057] It can be understood that after obtaining the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, the maintenance personnel can combine the obtained self-diagnosis result with the fault analysis result in the diagnostic equipment to determine whether the current solid-state hard disk to be diagnosed is repairable. If the current solid-state hard disk to be diagnosed is repairable, the solid-state hard disk to be diagnosed is repaired according to the preset repair method, and the next hard disk fault diagnosis is performed according to the solid-state hard disk fault diagnosis method described in this embodiment; if the current solid-state hard disk to be diagnosed is not repairable, the current solid-state hard disk to be diagnosed is determined to be scrapped.
[0058] It should be noted that the SSD fault diagnosis method described in this embodiment may further include: regularly obtaining upgrade data packets for the diagnostic software in the diagnostic system according to a preset upgrade cycle, and using the upgrade data packets to upgrade and adjust the diagnostic software. It is understood that the diagnostic software can be regularly upgraded and updated to achieve continuous optimization of the diagnostic process.
[0059] Furthermore, the solid-state drive fault diagnosis method disclosed in the present application can be used to diagnose one or more solid-state drives at the same time, and the method of using the diagnostic equipment is used for manual use, automated testing equipment use, or manual and automated testing equipment use that complement each other.
[0060] In this embodiment, a solid-state drive to be diagnosed is first determined, and a connection line is established with the solid-state drive to be diagnosed using a connector. Then, a fault analysis is performed on the solid-state drive to be diagnosed by the diagnostic system to obtain a corresponding fault analysis result, and diagnostic firmware is burned to the solid-state drive to be diagnosed via the connection line so that the solid-state drive to be diagnosed uses the diagnostic firmware to perform self-diagnosis on itself to obtain a corresponding self-diagnosis result. Finally, the self-diagnosis result returned by the solid-state drive to be diagnosed via the connection line is obtained, and the fault state of the solid-state drive to be diagnosed is determined using the fault analysis result and the self-diagnosis result. The method described in this application is applied to a diagnostic device with a built-in diagnostic system, and a connection line is established between the diagnostic device and the connection line to automatically perform fault analysis on the solid-state drive to be diagnosed and burn diagnostic firmware to the solid-state drive to enable the hard drive to perform a self-diagnosis fault analysis process, thereby achieving a systematic diagnosis of the solid-state drive to be diagnosed, and transmitting the fault diagnosis result via the connection line between the diagnostic device and the solid-state drive to be diagnosed, quickly locating the fault of the faulty solid-state drive, reducing the difficulty of fault analysis, greatly improving the detection speed and accuracy, and helping maintenance engineers determine the detection plan and reducing the maintenance burden of maintenance engineers.
[0061] Figure 2 This is a flow chart of a specific solid state drive fault diagnosis method provided in an embodiment of the present application. Figure 2 As shown, the method includes:
[0062] Step S21: determining a solid-state drive to be diagnosed, and establishing a connection line with the solid-state drive to be diagnosed using a connector;
[0063] Step S22: performing fault analysis on the solid-state drive to be diagnosed by the diagnostic system to obtain corresponding fault analysis results;
[0064] Step S23: burning the diagnostic firmware to the solid-state drive to be diagnosed through the connection line, so that the solid-state drive to be diagnosed can use the diagnostic firmware to perform self-diagnosis on itself and obtain corresponding self-diagnosis results;
[0065] Step S24: obtaining the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, and determining the fault status of the solid-state hard disk to be diagnosed by using the fault analysis result and the self-diagnosis result;
[0066] Step S25: Establishing a connection with a host computer, and sending the fault analysis result and the self-diagnosis result to the host computer, so that the host computer can store and analyze fault data based on the fault analysis result and the self-diagnosis result.
[0067] It is understood that the diagnostic device is configured with an interface for connecting to a host computer. After the diagnostic device determines the fault analysis results of the solid-state drive to be diagnosed and receives the self-diagnosis results of the solid-state drive to be diagnosed, it can connect to the host computer and send the fault analysis results and the self-diagnosis results to the host computer. The host computer can store all received fault data and perform data analysis and statistics based on this fault data. It should be noted that the host computer can be a server or a PC (i.e., a personal computer).
[0068] like Figure 3 This is a physical topology diagram of the device, showing the physical topology relationship between a host computer, a diagnostic device, a connector, and a solid-state drive to be diagnosed. That is, the connector connects the solid-state drive to be diagnosed to the diagnostic device, and the host computer is connected to the external interface of the diagnostic device.
[0069] In this embodiment, after obtaining the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, it can also include: performing statistical analysis on all historical fault data obtained by the host computer to obtain corresponding statistical analysis results; determining the target optimization process for the solid-state hard disk based on the statistical analysis results, so as to use the target optimization process to optimize the current solid-state hard disk production process.
[0070] It is understandable that the host computer can perform statistical analysis on all historical fault data obtained, obtain statistical analysis results based on the fault data, use the statistical analysis results to optimize the corresponding production processes in the production process of solid-state drives, and provide experience for subsequent product development, completing the feedback from "production" to "defect discovery" to "optimization" and then to "production", thereby improving production capacity.
[0071] like Figure 4 A workflow diagram is disclosed. The workflow of the solid-state drive fault diagnosis method described in the present application is shown. Specifically, the workflow involves first performing a hard drive quality test on a finished solid-state drive as a solid-state drive to be diagnosed based on the solid-state drive fault diagnosis method described in the present application. If the solid-state drive to be diagnosed is in a faulty state, the solid-state drive is determined to be a faulty drive. If the faulty drive is repairable, maintenance personnel repair the current solid-state drive and re-test the repaired solid-state drive for hard drive quality. If the test result indicates that the repaired solid-state drive is not in a faulty state, the current solid-state drive is determined to be a qualified product. After multiple diagnostic processes such as the above are completed, the diagnostic data and processes can be summarized and analyzed to optimize the corresponding product processes in the production process. Subsequent production can be carried out using the optimized production processes, thereby increasing production capacity.
[0072] This embodiment establishes a connection with a host computer after obtaining the self-diagnosis result returned by the solid-state drive to be diagnosed via the connection line, and transmits the fault analysis result and the self-diagnosis result to the host computer, so that the host computer can store and analyze the fault data based on the fault analysis result and the self-diagnosis result. This embodiment describes in detail the process of connecting to the host computer and utilizing the host computer to process the solid-state drive fault data, demonstrating the scalability of the present invention.
[0073] See also Figure 5 As shown, the embodiment of the present application discloses a solid state drive fault diagnosis device, which may specifically include:
[0074] A line establishing module 11 is used to determine a solid-state drive to be diagnosed and establish a connection line with the solid-state drive to be diagnosed using a connector;
[0075] An analysis result acquisition module 12 is configured to perform a fault analysis on the solid-state drive to be diagnosed using the diagnostic system of the diagnostic device and obtain the fault analysis result;
[0076] A self-diagnosis result generating module 13 is used to burn the diagnostic firmware to the solid-state drive to be diagnosed through the connector, so that the solid-state drive to be diagnosed can perform hardware self-diagnosis using the diagnostic firmware through the main control and generate a self-diagnosis result;
[0077] The fault processing module 14 is configured to obtain the self-diagnosis result transmitted by the connection line of the connector, and perform corresponding fault processing on the solid-state drive to be diagnosed using the fault analysis result and the self-diagnosis result.
[0078] In this embodiment, a solid-state drive to be diagnosed is first determined, and a connection line is established with the solid-state drive to be diagnosed using a connector. Then, a fault analysis is performed on the solid-state drive to be diagnosed by the diagnostic system to obtain a corresponding fault analysis result, and diagnostic firmware is burned to the solid-state drive to be diagnosed via the connection line so that the solid-state drive to be diagnosed uses the diagnostic firmware to perform self-diagnosis on itself to obtain a corresponding self-diagnosis result. Finally, the self-diagnosis result returned by the solid-state drive to be diagnosed via the connection line is obtained, and the fault state of the solid-state drive to be diagnosed is determined using the fault analysis result and the self-diagnosis result. The method described in this application is applied to a diagnostic device with a built-in diagnostic system, and a connection line is established between the diagnostic device and the connection line to automatically perform fault analysis on the solid-state drive to be diagnosed and burn diagnostic firmware to the solid-state drive to enable the hard drive to perform a self-diagnosis fault analysis process, thereby achieving a systematic diagnosis of the solid-state drive to be diagnosed, and transmitting the fault diagnosis result via the connection line between the diagnostic device and the solid-state drive to be diagnosed, quickly locating the fault of the faulty solid-state drive, reducing the difficulty of fault analysis, greatly improving the detection speed and accuracy, and helping maintenance engineers determine the detection plan and reducing the maintenance burden of maintenance engineers.
[0079] In some specific embodiments, the line establishing module 11 includes:
[0080] A data link establishing unit, configured to establish a data link with the solid-state drive to be diagnosed by utilizing a high-speed serial high-bandwidth transmission connection line in the connector;
[0081] The signal link establishing unit is used to establish signal links with a preset test point on the solid state drive to be diagnosed and a preset control point for controlling the start-up of the burning mode by using the extended connection line in the connector.
[0082] In some specific embodiments, the analysis result acquisition module 12 includes:
[0083] A fault analysis unit is used to automatically perform fault analysis on the solid-state drive to be diagnosed through the diagnostic software in the diagnostic system and using a preset fault analysis method to obtain corresponding fault analysis results; the fault analysis method includes any one or more combinations of power supply analysis, hardware connectivity analysis, and key waveform timing analysis.
[0084] In some specific embodiments, the self-diagnosis result generating module 13 includes:
[0085] A burning mode setting unit, configured to control the solid-state hard disk to be diagnosed to enter a burning mode via a high-speed serial high-bandwidth transmission connection line and an extension connection line in the connector;
[0086] The firmware burning unit is used to burn the diagnostic firmware to the solid state drive to be diagnosed, so that the solid state drive to be diagnosed can use the diagnostic firmware to perform self-diagnosis on itself through the local main control to obtain corresponding self-diagnosis results.
[0087] In some specific embodiments, the fault processing module 14 further includes:
[0088] A host computer connection establishing unit, used to establish a connection with the host computer;
[0089] The result analysis unit is used to send the fault analysis result and the self-diagnosis result to the host computer, so that the host computer can store and analyze fault data based on the fault analysis result and the self-diagnosis result.
[0090] In some specific embodiments, the fault processing module 14 further includes:
[0091] An analysis result acquisition unit, configured to perform statistical analysis on all acquired historical fault data through the host computer to obtain corresponding statistical analysis results;
[0092] The process optimization unit is used to determine a target optimization process for the solid-state hard disk according to the statistical analysis result, so as to optimize the current solid-state hard disk production process by using the target optimization process.
[0093] In some specific embodiments, the solid state drive fault diagnosis method further includes:
[0094] The software upgrade unit is used to regularly obtain upgrade data packets for the diagnostic software in the diagnostic system according to a preset upgrade cycle, and use the upgrade data packets to upgrade and adjust the diagnostic software.
[0095] Furthermore, the embodiment of the present application also discloses an electronic device, Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram should not be considered as any limitation to the scope of application of the present application.
[0096] Figure 6 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps of the solid-state drive fault diagnosis method disclosed in any of the aforementioned embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0097] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device. The communication protocol it follows is any communication protocol that can be applied to the technical solution of this application and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world. Its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0098] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0099] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of implementing the solid-state drive fault diagnosis method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program capable of implementing other specific tasks.
[0100] Furthermore, this application discloses a computer-readable storage medium for storing a computer program; wherein, when executed by a processor, the computer program implements the aforementioned solid-state drive fault diagnosis method. The specific steps of this method can be referred to the corresponding contents disclosed in the aforementioned embodiments and will not be repeated here.
[0101] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. Professionals can also further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians 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 this application.
[0102] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0103] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device 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 device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0104] The above is a detailed introduction to the solid-state hard drive fault diagnosis method, device, equipment, and storage medium provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A solid state drive fault diagnosis method, characterized in that: Diagnostic equipment for built-in diagnostic systems, including: Determining a solid-state drive to be diagnosed, and establishing a connection line with the solid-state drive to be diagnosed using a connector; Performing fault analysis on the solid-state hard disk to be diagnosed by the diagnostic system to obtain corresponding fault analysis results; Burning the diagnostic firmware to the solid-state drive to be diagnosed through the connection line, so that the solid-state drive to be diagnosed can perform self-diagnosis on itself by using the diagnostic firmware through the local master control to obtain corresponding self-diagnosis results; Obtaining the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, and determining the fault status of the solid-state hard disk to be diagnosed by using the fault analysis result and the self-diagnosis result; The step of establishing a connection line with the solid-state drive to be diagnosed by using a connector includes: A high-speed serial high-bandwidth transmission connection line in the connector is used to establish a data link with the solid-state hard disk to be diagnosed; an extended connection line in the connector is used to establish signal links between a preset test point on the solid-state hard disk to be diagnosed and a preset control point for controlling the start-up of a burning mode; the purpose of the preset test point is to be a test point that needs to be connected when the diagnostic equipment performs fault analysis on the solid-state hard disk to be diagnosed, and the purpose of the preset control point is to control the solid-state hard disk to be diagnosed to start the burning mode by using the preset control point before the diagnostic equipment burns the diagnostic firmware to the solid-state hard disk to be diagnosed.
2. The solid state drive fault diagnosis method according to claim 1, wherein: The performing fault analysis on the solid-state hard disk to be diagnosed by the diagnostic system to obtain corresponding fault analysis results includes: The diagnostic software in the diagnostic system and a preset fault analysis method are used to automatically perform fault analysis on the solid-state hard disk to be diagnosed to obtain corresponding fault analysis results; the fault analysis method includes any one or more combinations of power supply analysis, hardware connectivity analysis, and key waveform timing analysis.
3. The solid state drive fault diagnosis method according to claim 1, wherein: Burning the diagnostic firmware to the solid-state drive to be diagnosed through the connection line so that the solid-state drive to be diagnosed performs self-diagnosis on itself using the diagnostic firmware to obtain corresponding self-diagnosis results includes: Controlling the solid-state hard disk to be diagnosed to enter a burning mode through the high-speed serial high-bandwidth transmission connection line and the extension connection line in the connector; The diagnostic firmware is burned into the solid-state hard disk to be diagnosed, so that the solid-state hard disk to be diagnosed can use the diagnostic firmware to perform self-diagnosis on itself through the local main control to obtain corresponding self-diagnosis results.
4. The solid state drive fault diagnosis method according to claim 1, wherein: After obtaining the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, the method further includes: Establish a connection with the host computer; The fault analysis result and the self-diagnosis result are sent to the host computer so that the host computer can store and analyze fault data based on the fault analysis result and the self-diagnosis result.
5. The solid state drive fault diagnosis method according to claim 4, wherein: After obtaining the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, the method further includes: Performing statistical analysis on all acquired historical fault data by the host computer to obtain corresponding statistical analysis results; A target optimization process for the solid-state hard disk is determined according to the statistical analysis result, so as to optimize the current solid-state hard disk production process by using the target optimization process.
6. The solid state drive fault diagnosis method according to any one of claims 1 to 5, characterized in that: Also includes: According to a preset upgrade cycle, upgrade data packets for the diagnostic software in the diagnostic system are regularly obtained, and the diagnostic software is upgraded and adjusted using the upgrade data packets.
7. A solid state hard disk fault diagnosis device, characterized in that: include: A line establishment module is used to determine the solid-state hard disk to be diagnosed and establish a connection line with the solid-state hard disk to be diagnosed using a connector; An analysis result acquisition module is configured to perform a fault analysis on the solid-state drive to be diagnosed through a diagnostic system to obtain corresponding fault analysis results; wherein the diagnostic system is built into the diagnostic device; Firmware burning module: used for burning the diagnostic firmware to the solid-state drive to be diagnosed through the connection line, so that the solid-state drive to be diagnosed can use the diagnostic firmware to perform self-diagnosis on itself through the local master control to obtain corresponding self-diagnosis results; A fault processing module is configured to obtain the self-diagnosis result returned by the solid-state hard disk to be diagnosed through the connection line, and determine the fault status of the solid-state hard disk to be diagnosed by using the fault analysis result and the self-diagnosis result; The line establishment module is specifically used to: A high-speed serial high-bandwidth transmission connection line in the connector is used to establish a data link with the solid-state hard disk to be diagnosed; an extended connection line in the connector is used to establish signal links between a preset test point on the solid-state hard disk to be diagnosed and a preset control point for controlling the start-up of a burning mode; the purpose of the preset test point is to be a test point that needs to be connected when the diagnostic equipment performs fault analysis on the solid-state hard disk to be diagnosed, and the purpose of the preset control point is to control the solid-state hard disk to be diagnosed to start the burning mode by using the preset control point before the diagnostic equipment burns the diagnostic firmware to the solid-state hard disk to be diagnosed.
8. An electronic device, characterized in that: It comprises a processor and a memory; wherein, when the processor executes the computer program stored in the memory, it implements the solid state drive fault diagnosis method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that Used to store computer programs; wherein, when the computer program is executed by a processor, the solid-state hard disk fault diagnosis method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Solid state disk exception handling method and system
CN110704228A
Memory fault diagnosis method based on machine learning
CN113257329A
SSD hard disk fault diagnosis and data recovery tool
CN113284547A