SSD (Solid State Disk) performance reduction recovery method and device, equipment and storage medium

By extending the standard commands of the SSD device to obtain specific instructions, and establishing communication between the SSD device and the platform to execute the instructions, the problem of poor SSD performance recovery efficiency in the existing technology is solved, and effective recovery and recovery of SSD performance is achieved. Improvement of user experience.

CN119339770APending Publication Date: 2025-01-21MEMORIGHT (WUHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411324864.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The prior art uses Trim commands to wipe the entire disk to avoid degradation of SSD performance, but some systems do not support Trim commands, and whether the system supports and switches are not clear, resulting in poor SSD performance recovery efficiency.

Method used

When receiving the SSD performance recovery command, expand the standard commands of the SSD device, obtain specific instructions, establish communication between the SSD device and the platform, execute the specific instructions and obtain the recovery results, and reuse the SSD device after the recovery results meet the requirements. .

Benefits of technology

Through this method, the read and write performance of the SSD is basically restored to the original state, which improves the speed and efficiency of SSD performance recovery, improves the user experience, and has better system compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119339770A_ABST
    Figure CN119339770A_ABST
Patent Text Reader

Abstract

The invention discloses an SSD performance decline recovery method and device, equipment and a storage medium, and the method comprises the steps: expanding a standard command of SSD equipment when an SSD performance recovery instruction is received, and obtaining a specific instruction; communication between the SSD equipment and a platform is established, the specific instruction is executed, and after the specific instruction is completed, a recovery result is obtained; after the recovery result meets the requirement, the SSD equipment is reused, better system compatibility can be achieved, the read-write performance of the SSD is basically recovered as initial, the speed and efficiency of SSD performance recovery are improved, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of solid-state storage technology, and in particular to a method, device, equipment and storage medium for recovering from SSD performance degradation. Background Art

[0002] Compared with traditional mechanical hard disk drives (HDD), solid state drives (SSD) are widely praised for their high speed, low latency and low power consumption; however, some users may encounter a frustrating problem when using SSDs - speed drop; speed drop refers to the gradual decline in SSD performance after a period of time, usually manifested as a significant decrease in read or write speeds; this may affect the overall performance of the system, especially when processing large files or performing high-intensity multitasking.

[0003] The existing solution is to use a full disk erase method to perform a certain "repair". The existing full disk erase "repair" improves performance by sending a trim command to the disk on the Windows system, but there are certain conditions:

[0004] (1) The SSD host controller and its firmware must support receiving the Trim command.

[0005] (2) The current operating system must support sending the Trim command. Only Windows 7 / Server 2008R2 and above systems support this, but Windows XP systems do not.

[0006] (3) The disk driver currently in use must support Trim command transmission.

[0007] This will cause trouble to users due to the following reasons:

[0008] 1. Users are not aware of these operations.

[0009] 2. It is not clear whether the system can support sending trim commands.

[0010] 3. It is not clear whether the switch for the system to send Trim is turned on.

[0011] 4. The standard Sanitize command cannot be sent directly under Windows system. Summary of the invention

[0012] The main purpose of the present invention is to provide a method, device, equipment and storage medium for recovering SSD performance degradation, aiming to solve the problem that in the prior art, a trim command is sent to the disk on a Windows system to erase the entire disk to avoid SSD speed drop, but some systems do not support the trim command, and it is unclear whether the system sends the Trim switch on or not, which has limitations, resulting in poor SSD performance recovery efficiency and poor SSD read and write performance affecting the user experience.

[0013] In a first aspect, the present invention provides a method for recovering from SSD performance degradation, the method comprising the following steps:

[0014] When receiving the SSD performance recovery instruction, the standard command of the SSD device is extended to obtain a specific instruction;

[0015] Establishing communication between the SSD device and the platform, executing the specific instruction, and obtaining a recovery result after the specific instruction is completed;

[0016] After the recovery result meets the requirements, the SSD device is reused.

[0017] Optionally, when receiving the SSD performance recovery instruction, the standard command of the SSD device is extended to obtain a specific instruction, including:

[0018] Upon receiving an SSD performance recovery instruction, authenticating the SSD device;

[0019] When the SSD device passes authentication, the standard command of the SSD device is extended to obtain a specific instruction.

[0020] Optionally, when receiving the SSD performance recovery instruction, authenticating the SSD device includes:

[0021] When receiving an SSD performance recovery instruction, the SSD device is turned on;

[0022] Enable the authentication function to determine whether the SSD device can perform a refresh operation.

[0023] Optionally, when the SSD device passes authentication, a standard command of the SSD device is extended, and before obtaining a specific instruction, the SSD performance degradation recovery method further includes:

[0024] When the SSD device can perform a refresh operation, determining that the SSD device authentication is passed;

[0025] When the SSD device cannot perform the Refresh operation, it is determined that the SSD device authentication fails.

[0026] Optionally, when the SSD device passes authentication, a standard command of the SSD device is extended to obtain a specific instruction, including:

[0027] When the SSD device passes authentication, obtaining a standard command of the SSD device;

[0028] The standard command is extended using the LID of DWORD 10 and the lower 8 bits of NUMD to obtain a specific instruction.

[0029] Optionally, the establishing communication between the SSD device and the platform, executing the specific instruction, and obtaining the recovery result after the specific instruction is completed, includes:

[0030] Establishing communication between the SSD device and the platform, and reminding the user whether to perform a recovery operation;

[0031] Upon receiving the confirmation recovery operation instruction, executing the specific instruction, calling the Refresh operation status function, and informing the user of the progress of the current Refresh operation until the Refresh operation is completed;

[0032] After the specific instruction is completed, a recovery result is obtained.

[0033] Optionally, after the recovery result meets the requirement, reusing the SSD device includes:

[0034] Determining whether the recovery result meets preset requirements;

[0035] When the restoration result meets the preset requirement, sending restoration completion information to the user;

[0036] Execute the Sanitize command, and when the Sanitize command is completed and a restart instruction from the user is received, reuse the SSD device.

[0037] In a second aspect, to achieve the above-mentioned purpose, the present invention further provides an SSD performance degradation recovery device, the SSD performance degradation recovery device comprising:

[0038] The extension module is used to extend the standard command of the SSD device to obtain a specific command when receiving the SSD performance recovery command;

[0039] A recovery module, used to establish communication between the SSD device and the platform, execute the specific instruction, and obtain a recovery result after the specific instruction is completed;

[0040] The reuse module is used to reuse the SSD device after the recovery result meets the requirements.

[0041] In the third aspect, to achieve the above-mentioned purpose, the present invention also proposes an SSD performance degradation recovery device, which includes: a memory, a processor, and an SSD performance degradation recovery program stored in the memory and executable on the processor, and the SSD performance degradation recovery program is configured to implement the steps of the SSD performance degradation recovery method described above.

[0042] In a fourth aspect, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which an SSD performance degradation recovery program is stored, and when the SSD performance degradation recovery program is executed by a processor, the steps of the SSD performance degradation recovery method described above are implemented.

[0043] The SSD performance degradation recovery method proposed in the present invention expands the standard command of the SSD device to obtain specific instructions when receiving the SSD performance recovery instruction; establishes communication between the SSD device and the platform, executes the specific instructions, and obtains a recovery result after the specific instructions are completed; after the recovery result meets the requirements, the SSD device is reused, which can have better system compatibility, so that the read and write performance of the SSD is basically restored to its original state, thereby improving the speed and efficiency of SSD performance recovery and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;

[0045] Figure 2 A schematic diagram of a flow chart of a first embodiment of a method for recovering from SSD performance degradation according to the present invention;

[0046] Figure 3 A schematic diagram of a flow chart of a second embodiment of a method for recovering from SSD performance degradation according to the present invention;

[0047] Figure 4 A schematic diagram of a flow chart of a third embodiment of a method for recovering from SSD performance degradation according to the present invention;

[0048] Figure 5 This is a flow chart of a fourth embodiment of a method for recovering from SSD performance degradation according to the present invention;

[0049] Figure 6 A schematic diagram of a flow chart of a fifth embodiment of a method for recovering from SSD performance degradation according to the present invention;

[0050] Figure 7 It is a flowchart of a sixth embodiment of the method for recovering from SSD performance degradation of the present invention;

[0051] Figure 8 This is a functional module diagram of the first embodiment of the SSD performance degradation recovery device of the present invention.

[0052] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0054] The solution of the embodiment of the present invention is mainly as follows: when receiving an SSD performance recovery instruction, the standard command of the SSD device is expanded to obtain a specific instruction; communication between the SSD device and the platform is established, the specific instruction is executed, and after the specific instruction is completed, a recovery result is obtained; after the recovery result meets the requirements, the SSD device is reused, which can have better system compatibility, so that the read and write performance of the SSD is basically restored to its original state, the speed and efficiency of SSD performance recovery are improved, and the user experience is improved, and the prior art solves the problem that the SSD speed drop is avoided by sending a trim command to the disk on the Windows system and erasing the entire disk, but some systems do not support the trim command, and it is unclear whether the system sends the Trim switch or not, which has limitations, resulting in poor SSD performance recovery efficiency and poor SSD read and write performance affecting the user experience.

[0055] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.

[0056] like Figure 1 As shown, the device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (Non-Volatile Memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0057] Those skilled in the art will understand that Figure 1The device structure shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0058] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating device, a network communication module, a user interface module, and an SSD performance degradation recovery program.

[0059] The device of the present invention calls the SSD performance degradation recovery program stored in the memory 1005 through the processor 1001, and performs the following operations:

[0060] When receiving the SSD performance recovery instruction, the standard command of the SSD device is extended to obtain a specific instruction;

[0061] Establishing communication between the SSD device and the platform, executing the specific instruction, and obtaining a recovery result after the specific instruction is completed;

[0062] After the recovery result meets the requirements, the SSD device is reused.

[0063] The device of the present invention calls the SSD performance degradation recovery program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0064] Upon receiving an SSD performance recovery instruction, authenticating the SSD device;

[0065] When the SSD device passes authentication, the standard command of the SSD device is extended to obtain a specific instruction.

[0066] The device of the present invention calls the SSD performance degradation recovery program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0067] When receiving an SSD performance recovery instruction, the SSD device is turned on;

[0068] Enable the authentication function to determine whether the SSD device can perform a refresh operation.

[0069] The device of the present invention calls the SSD performance degradation recovery program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0070] When the SSD device can perform a refresh operation, determining that the SSD device authentication is passed;

[0071] When the SSD device cannot perform the Refresh operation, it is determined that the SSD device authentication fails.

[0072] The device of the present invention calls the SSD performance degradation recovery program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0073] When the SSD device passes authentication, obtaining a standard command of the SSD device;

[0074] The standard command is extended using the LID of DWORD 10 and the lower 8 bits of NUMD to obtain a specific instruction.

[0075] The device of the present invention calls the SSD performance degradation recovery program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0076] Establishing communication between the SSD device and the platform, and reminding the user whether to perform a recovery operation;

[0077] Upon receiving the confirmation recovery operation instruction, executing the specific instruction, calling the Refresh operation status function, and informing the user of the progress of the current Refresh operation until the Refresh operation is completed;

[0078] After the specific instruction is completed, a recovery result is obtained.

[0079] The device of the present invention calls the SSD performance degradation recovery program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0080] Determining whether the recovery result meets preset requirements;

[0081] When the restoration result meets the preset requirement, sending restoration completion information to the user;

[0082] Execute the Sanitize command, and when the Sanitize command is completed and a restart instruction from the user is received, reuse the SSD device.

[0083] Through the above scheme, this embodiment obtains specific instructions by extending the standard commands of the SSD device when receiving the SSD performance recovery instruction; establishes communication between the SSD device and the platform, executes the specific instructions, and obtains the recovery result after the specific instructions are completed; after the recovery result meets the requirements, the SSD device is reused, which can have better system compatibility, so that the read and write performance of the SSD is basically restored to its original state, thereby improving the speed and efficiency of SSD performance recovery and improving user experience.

[0084] Based on the above hardware structure, an embodiment of the SSD performance degradation recovery method of the present invention is proposed.

[0085] Reference Figure 2 , Figure 2 FIG. 4 is a flow chart of a first embodiment of a method for recovering from SSD performance degradation according to the present invention.

[0086] In a first embodiment, the SSD performance degradation recovery method comprises the following steps:

[0087] Step S10: When receiving the SSD performance recovery instruction, the standard command of the SSD device is expanded to obtain a specific instruction.

[0088] It should be noted that the SSD performance recovery instruction is an instruction for performing performance recovery on the SSD device. When the SSD performance recovery instruction is received, the standard command of the SSD device is extended to obtain a specific instruction, and the specific instruction is an instruction for performing SSD performance recovery on the SSD device.

[0089] Step S20: establishing communication between the SSD device and the platform, executing the specific instruction, and obtaining a recovery result after the specific instruction is completed.

[0090] It should be understood that after the communication between the SSD device and the platform is established, the specific instruction can be executed, and after the specific instruction is completed, the corresponding SSD recovery result is obtained.

[0091] Step S30: after the recovery result meets the requirements, reuse the SSD device.

[0092] It is understandable that after the recovery result meets the requirements, the SSD device can be reused, that is, after the read and write performance of the SSD is restored, the SSD device can be reused.

[0093] Through the above scheme, this embodiment obtains specific instructions by extending the standard commands of the SSD device when receiving the SSD performance recovery instruction; establishes communication between the SSD device and the platform, executes the specific instructions, and obtains the recovery result after the specific instructions are completed; after the recovery result meets the requirements, the SSD device is reused, which can have better system compatibility, so that the read and write performance of the SSD is basically restored to its original state, thereby improving the speed and efficiency of SSD performance recovery and improving user experience.

[0094] Further, Figure 3 FIG. 2 is a flow chart of a second embodiment of a method for recovering from SSD performance degradation according to the present invention. Figure 3 As shown, a second embodiment of the SSD performance degradation recovery method of the present invention is proposed based on the first embodiment. In this embodiment, step S10 specifically includes the following steps:

[0095] Step S11: upon receiving the SSD performance recovery instruction, authenticating the SSD device.

[0096] It should be noted that when the SSD performance recovery instruction is received, the SSD device can be authenticated.

[0097] Step S12: When the SSD device passes authentication, the standard command of the SSD device is expanded to obtain a specific instruction.

[0098] It is understandable that when the SSD device passes the authentication, the standard command of the SSD device can be expanded to obtain the corresponding specific instruction.

[0099] Furthermore, before step S12, the SSD performance degradation recovery method further includes the following steps:

[0100] When the SSD device can perform a refresh operation, determining that the SSD device authentication is passed;

[0101] When the SSD device cannot perform the Refresh operation, it is determined that the SSD device authentication fails.

[0102] It can be understood that when the SSD device can perform the Refresh operation, it can be determined that the SSD device authentication has been passed, and when the SSD device cannot perform the Refresh operation, it can be determined that the SSD device authentication has not been passed.

[0103] In a specific implementation, an SSD device is selected and SSD device authentication is performed to check whether a refresh operation can be performed. If the device does not support the refresh operation, a prompt is given that the device does not support the refresh operation and the process ends. If the device supports the refresh operation, it can be determined that the SSD device authentication has passed.

[0104] Through the above scheme, this embodiment authenticates the SSD device when receiving the SSD performance recovery instruction; when the SSD device passes the authentication, the standard command of the SSD device is expanded to obtain specific instructions, and the specific instructions can be obtained quickly, thereby improving the speed and efficiency of SSD performance recovery.

[0105] Further, Figure 4 FIG. 4 is a flow chart of a third embodiment of a method for recovering from SSD performance degradation according to the present invention. Figure 4 As shown, a third embodiment of the SSD performance degradation recovery method of the present invention is proposed based on the second embodiment. In this embodiment, the step S11 specifically includes the following steps:

[0106] Step S111: upon receiving an SSD performance recovery instruction, turning on the SSD device.

[0107] It should be noted that when the SSD performance recovery instruction is received, the software can be opened, the SSD device can be found, and then the SSD device can be turned on.

[0108] Step S112: Enable the authentication function to determine whether the SSD device can perform a refresh operation.

[0109] It is understandable that after the authentication function for the SSD device is enabled, it can be determined whether the SSD device can perform a refresh operation.

[0110] Through the above scheme, this embodiment turns on the SSD device when receiving the SSD performance recovery instruction; turns on the authentication function to determine whether the SSD device can perform a refresh operation, and can make a preliminary judgment before the recovery operation, thereby improving the speed and efficiency of SSD performance recovery and improving the user experience.

[0111] Further, Figure 5 FIG. 4 is a flow chart of a fourth embodiment of a method for recovering from SSD performance degradation according to the present invention. Figure 5 As shown, a fourth embodiment of the SSD performance degradation recovery method of the present invention is proposed based on the second embodiment. In this embodiment, step S12 specifically includes the following steps:

[0112] Step S121: When the SSD device passes authentication, obtain a standard command of the SSD device.

[0113] It should be noted that, when the SSD device passes the authentication, the standard command of the SSD device can be obtained.

[0114] Step S122: Extend the standard command using the LID of DWORD 10 and the lower 8 bits of NUMD to obtain a specific instruction.

[0115] In a specific implementation, the Refresh instruction may be extended by using the LID of DWORD 10 and the lower 8 bits (23:16) of NUMD, thereby obtaining the extended instruction, ie, the specific instruction.

[0116] Through the above scheme, this embodiment obtains the standard command of the SSD device when the SSD device is authenticated; the standard command is extended by using the LID of DWORD 10 and the lower 8 bits of NUMD to obtain specific instructions; the specific instructions can be obtained quickly, thereby improving the speed and efficiency of SSD performance recovery.

[0117] Further, Figure 6FIG. 5 is a flow chart of a fifth embodiment of a method for recovering from SSD performance degradation according to the present invention. Figure 6 As shown, a fifth embodiment of the SSD performance degradation recovery method of the present invention is proposed based on the first embodiment. In this embodiment, step S20 specifically includes the following steps:

[0118] Step S21: establishing communication between the SSD device and the platform, and reminding the user whether to perform a recovery operation.

[0119] It should be noted that after the communication between the SSD device and the platform is established, the user can be reminded whether to perform a recovery operation.

[0120] Step S22: When the confirmation recovery operation instruction is received, the specific instruction is executed, the Refresh operation status function is called, and the user is informed of the progress of the current Refresh operation until the Refresh operation is completed.

[0121] It is understandable that, when the confirmation recovery operation instruction is received, the specific instruction can be executed, the Refresh operation status function can be called, and the user can be informed of the progress of the current Refresh operation until the Refresh operation is completed.

[0122] In the specific implementation, if the device supports the Refresh operation, the user is prompted whether to confirm the Refresh operation; if the user selects Cancel, the process ends; if the user selects Confirm, the Refresh operation is performed, and the function for obtaining the Refresh operation status is called. At the same time, the user can be informed of the progress of the current Refresh operation.

[0123] Step S23: After the specific instruction is completed, a recovery result is obtained.

[0124] It should be understood that after the specific instruction is completed, the corresponding recovery result can be obtained.

[0125] Through the above scheme, this embodiment establishes communication between the SSD device and the platform to remind the user whether to perform a recovery operation; when receiving the confirmation recovery operation instruction, executes the specific instruction, calls the Refresh operation status function, and informs the user of the progress of the current Refresh operation until the Refresh operation is completed; after the specific instruction is completed, the recovery result is obtained; better system compatibility can be achieved, so that the read and write performance of the SSD is basically restored to its original state, and the speed and efficiency of SSD performance recovery are improved.

[0126] Further, Figure 7 FIG. 6 is a flow chart of a sixth embodiment of a method for recovering from SSD performance degradation according to the present invention. Figure 7As shown, a sixth embodiment of the SSD performance degradation recovery method of the present invention is proposed based on the first embodiment. In this embodiment, step S30 specifically includes the following steps:

[0127] Step S31, determining whether the recovery result meets preset requirements.

[0128] It should be noted that, when judging whether the recovery result meets the preset requirement, the preset requirement is a preset requirement for judging whether the recovery result meets the standard, that is, whether the read and write performance of the SSD meets the preset requirement.

[0129] Step S32: When the recovery result meets the preset requirement, a recovery completion message is sent to the user.

[0130] It is understandable that when the recovery result meets the preset requirement, the recovery completion information can be sent to the user in a timely manner.

[0131] Step S33, executing the Sanitize command, and reusing the SSD device when the Sanitize command is completed and a restart instruction from the user is received.

[0132] It should be understood that when the Sanitize command is executed, after the Sanitize command is completed and the user's restart instruction is received, the SSD device can be reused. After receiving the specific instruction, the SSD executes the Sanitize command, and after waiting for the command to be completed, the user reuses the SSD, and the read and write performance of the SSD is basically restored to normal.

[0133] In the specific implementation, during the sanitization process, the system's standard commands sanitize and IO will be SSDabort, and the sign of the end of sanitization is status returns success.

[0134] Through the above scheme, this embodiment determines whether the recovery result meets the preset requirements; when the recovery result meets the preset requirements, sends recovery completion information to the user; executes the Sanitize command, and when the Sanitize command is completed and the user's restart instruction is received, reuses the SSD device; can have better system compatibility, so that the read and write performance of the SSD is basically restored to its original state, improves the speed and efficiency of SSD performance recovery, and improves user experience.

[0135] Accordingly, the present invention further provides an SSD performance degradation recovery device.

[0136] Reference Figure 8 , Figure 8 This is a functional module diagram of the first embodiment of the SSD performance degradation recovery device of the present invention.

[0137] In a first embodiment of the SSD performance degradation recovery device of the present invention, the SSD performance degradation recovery device comprises:

[0138] The extension module 10 is used to extend the standard command of the SSD device to obtain a specific instruction when receiving an SSD performance recovery instruction.

[0139] The recovery module 20 is used to establish communication between the SSD device and the platform, execute the specific instruction, and obtain the recovery result after the specific instruction is completed.

[0140] The reuse module 30 is used to reuse the SSD device after the recovery result meets the requirements.

[0141] The expansion module 10 is also used to authenticate the SSD device when receiving an SSD performance recovery instruction; when the SSD device passes the authentication, the standard command of the SSD device is expanded to obtain a specific instruction.

[0142] The expansion module 10 is further used to start the SSD device when receiving an SSD performance recovery instruction; start the authentication function to determine whether the SSD device can perform a refresh operation.

[0143] The expansion module 10 is further used to determine that the SSD device authentication is passed when the SSD device can perform the Refresh operation; and to determine that the SSD device authentication is failed when the SSD device cannot perform the Refresh operation.

[0144] The expansion module 10 is further used to obtain the standard command of the SSD device when the SSD device is authenticated; and to expand the standard command using the LID of the DWORD 10 and the lower 8 bits of the NUMD to obtain a specific instruction.

[0145] The recovery module 20 is also used to establish communication between the SSD device and the platform to remind the user whether to perform a recovery operation; when receiving the confirmation recovery operation instruction, execute the specific instruction, call the Refresh operation status function, and inform the user of the progress of the current Refresh operation until the Refresh operation is completed; after the specific instruction is completed, obtain the recovery result.

[0146] The reuse module 30 is also used to determine whether the recovery result meets the preset requirements; when the recovery result meets the preset requirements, send recovery completion information to the user; execute the Sanitize command, and when the Sanitize command is completed and the user's restart instruction is received, reuse the SSD device.

[0147] The steps implemented by each functional module of the SSD performance degradation recovery device may refer to the various embodiments of the SSD performance degradation recovery method of the present invention, and will not be described in detail here.

[0148] In addition, an embodiment of the present invention further provides a storage medium, on which an SSD performance degradation recovery program is stored. When the SSD performance degradation recovery program is executed by a processor, the following operations are implemented:

[0149] When receiving the SSD performance recovery instruction, the standard command of the SSD device is extended to obtain a specific instruction;

[0150] Establishing communication between the SSD device and the platform, executing the specific instruction, and obtaining a recovery result after the specific instruction is completed;

[0151] After the recovery result meets the requirements, the SSD device is reused.

[0152] Furthermore, when the SSD performance degradation recovery program is executed by the processor, the following operations are also implemented:

[0153] Upon receiving an SSD performance recovery instruction, authenticating the SSD device;

[0154] When the SSD device passes authentication, the standard command of the SSD device is extended to obtain a specific instruction.

[0155] Furthermore, when the SSD performance degradation recovery program is executed by the processor, the following operations are also implemented:

[0156] When receiving an SSD performance recovery instruction, the SSD device is turned on;

[0157] Enable the authentication function to determine whether the SSD device can perform a refresh operation.

[0158] Furthermore, when the SSD performance degradation recovery program is executed by the processor, the following operations are also implemented:

[0159] When the SSD device can perform a refresh operation, determining that the SSD device authentication is passed;

[0160] When the SSD device cannot perform the Refresh operation, it is determined that the SSD device authentication fails.

[0161] Furthermore, when the SSD performance degradation recovery program is executed by the processor, the following operations are also implemented:

[0162] When the SSD device passes authentication, obtaining a standard command of the SSD device;

[0163] The standard command is extended using the LID of DWORD 10 and the lower 8 bits of NUMD to obtain a specific instruction.

[0164] Furthermore, when the SSD performance degradation recovery program is executed by the processor, the following operations are also implemented:

[0165] Establishing communication between the SSD device and the platform, and reminding the user whether to perform a recovery operation;

[0166] Upon receiving the confirmation recovery operation instruction, executing the specific instruction, calling the Refresh operation status function, and informing the user of the progress of the current Refresh operation until the Refresh operation is completed;

[0167] After the specific instruction is completed, a recovery result is obtained.

[0168] Furthermore, when the SSD performance degradation recovery program is executed by the processor, the following operations are also implemented:

[0169] Determining whether the recovery result meets preset requirements;

[0170] When the restoration result meets the preset requirement, sending restoration completion information to the user;

[0171] Execute the Sanitize command, and when the Sanitize command is completed and a restart instruction from the user is received, reuse the SSD device.

[0172] Those skilled in the art will appreciate that all or part of the steps in the above-mentioned implementation method can be accomplished by instructing related hardware through a program, and the program is stored in a storage medium, including a number of instructions for enabling a device (which may be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each implementation method of the present application; and the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0173] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0174] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0175] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for recovering from SSD performance degradation, characterized in that: The SSD performance degradation recovery method comprises: When receiving the SSD performance recovery instruction, the standard command of the SSD device is extended to obtain a specific instruction; Establishing communication between the SSD device and the platform, executing the specific instruction, and obtaining a recovery result after the specific instruction is completed; After the recovery result meets the requirements, the SSD device is reused.

2. The SSD performance degradation recovery method according to claim 1, characterized in that: When receiving the SSD performance recovery instruction, the standard command of the SSD device is extended to obtain a specific instruction, including: Upon receiving an SSD performance recovery instruction, authenticating the SSD device; When the SSD device passes authentication, the standard command of the SSD device is extended to obtain a specific instruction.

3. The SSD performance degradation recovery method according to claim 2, characterized in that: When receiving the SSD performance recovery instruction, authenticating the SSD device includes: When receiving an SSD performance recovery instruction, the SSD device is turned on; Enable the authentication function to determine whether the SSD device can perform a refresh operation.

4. The SSD performance degradation recovery method according to claim 3, characterized in that: When the SSD device passes authentication, the standard command of the SSD device is extended, and before obtaining the specific instruction, the SSD performance degradation recovery method further includes: When the SSD device can perform a refresh operation, determining that the SSD device authentication is passed; When the SSD device cannot perform the Refresh operation, it is determined that the SSD device authentication fails.

5. The SSD performance degradation recovery method according to claim 2, characterized in that: When the SSD device passes the authentication, the standard command of the SSD device is extended to obtain a specific instruction, including: When the SSD device passes authentication, obtaining a standard command of the SSD device; The standard command is extended using the LID of DWORD 10 and the lower 8 bits of NUMD to obtain a specific instruction.

6. The SSD performance degradation recovery method according to claim 1, characterized in that: The establishing of communication between the SSD device and the platform, executing the specific instruction, and obtaining the recovery result after the specific instruction is completed, includes: Establishing communication between the SSD device and the platform, and reminding the user whether to perform a recovery operation; Upon receiving the confirmation recovery operation instruction, executing the specific instruction, calling the Refresh operation status function, and informing the user of the progress of the current Refresh operation until the Refresh operation is completed; After the specific instruction is completed, a recovery result is obtained.

7. The SSD performance degradation recovery method according to claim 1, characterized in that: After the recovery result meets the requirement, reusing the SSD device includes: Determining whether the recovery result meets preset requirements; When the restoration result meets the preset requirement, sending restoration completion information to the user; Execute the Sanitize command, and when the Sanitize command is completed and a restart instruction from the user is received, reuse the SSD device.

8. A SSD performance degradation recovery device, characterized in that: The SSD performance degradation recovery device comprises: The extension module is used to extend the standard command of the SSD device to obtain a specific command when receiving the SSD performance recovery command; A recovery module, used to establish communication between the SSD device and the platform, execute the specific instruction, and obtain a recovery result after the specific instruction is completed; The reuse module is used to reuse the SSD device after the recovery result meets the requirements.

9. An SSD performance degradation recovery device, characterized in that: The SSD performance degradation recovery device includes: a memory, a processor, and an SSD performance degradation recovery program stored in the memory and executable on the processor, wherein the SSD performance degradation recovery program is configured to implement the steps of the SSD performance degradation recovery method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores an SSD performance degradation recovery program, and when the SSD performance degradation recovery program is executed by the processor, the steps of the SSD performance degradation recovery method according to any one of claims 1 to 7 are implemented.