Data depth recovery and reconstruction method and device based on host, equipment and medium

By deeply recovering and rebuilding data on the host side, the problem of limited recovery methods when SSD data fails is solved, and a high reliability and flexible data recovery effect is achieved.

CN120179466APending Publication Date: 2025-06-20成都芯忆联信息技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510327245.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

During the use of SSD, data failure occurs due to media characteristics. The existing technology relies on the SSD controller for data recovery, resulting in limited recovery methods and the inability to implement a highly reliable and flexible recovery strategy.

Method used

The host sends the data depth recovery command and the address of the failed page to the SSD controller. The host receives and processes the failed page data returned by the SSD controller, obtains the optimal voltage and uses soft decoding to obtain the recovery data, and finally restores the restored data to the failed page.

Benefits of technology

Improves the accuracy and reliability of data recovery, and is more efficient and flexible than the recovery method that relies on SSD controllers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179466A_ABST
    Figure CN120179466A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data depth recovery and reconstruction method and device based on a host, equipment and a medium, and relates to the technical field of solid state disks. The method comprises the following steps that: a host issues a data depth recovery command and an address of a failed page to an SSD (Solid State Disk) controller; the host receives page data of the invalid page returned by the SSD controller; the host obtains an optimal voltage based on the page data of the failed page; the host acquires recovery data of the failed page by adopting soft decoding based on the optimal voltage; and the host recovers the recovery data of the failed page to the failed page. It can be seen that under the condition that the SSD disk read data fails, the traversal voltage of the page where the SSD failure data is located is read to the host end, recovery is achieved at the host end through a high-precision and high-flexibility scheme, and compared with a recovery mode depending on an SSD controller in the prior art, the accuracy and reliability are higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of solid state drives, and particularly to a method, device, equipment and medium for data deep recovery and reconstruction based on a host. Background Art

[0002] During the use of an SSD (Solid State Drive), data failures may occur due to the characteristics of the medium. In some extreme scenarios, the SSD is unable to recover the data read from the medium, resulting in data loss, which has an important impact on users.

[0003] In current data recovery solutions that rely on the host, they still rely on the recovery means of the SSD controller; a brief description of the typical method is as follows:

[0004] 1) The SSD receives the target data to be read from the host. After the decoding by the SSD controller fails, the SSD controller obtains the optimal read voltage through multiple offset reads;

[0005] 2) The SSD outputs the first raw data of each offset read to the host, so that the host decodes the first raw data to obtain the target data;

[0006] The host attempts to synchronously decode the first raw data output by the flash memory, hoping to quickly obtain the target data, thereby reducing the read latency, achieving fast recovery of flash memory data, and improving the read service quality.

[0007] The recovery means of the prior art rely on the SSD controller. Due to cost and chip constraints, the recovery means of the SSD controller are limited, and thus a highly reliable and highly flexible recovery strategy cannot be achieved. Summary of the Invention

[0008] Embodiments of the present invention provide a method, device, equipment and medium for data deep recovery and reconstruction based on a host, aiming to solve at least one of the technical problems in the above background art.

[0009] In a first aspect, embodiments of the present invention provide a method for data deep recovery and reconstruction based on a host, which includes: The method is applied to a host, and the method includes:

[0010] S1, the host sends a data deep recovery command and the address of the failed page to the SSD controller;

[0011] S2, the host receives the page data of the failed page returned by the SSD controller;

[0012] S3, the host obtains the optimal voltage based on the page data of the failed page;

[0013] S4, the host uses soft decoding to obtain the restored data of the failed page based on the optimal voltage;

[0014] S5, the host restores the restored data of the failed page to the failed page.

[0015] In a further technical solution, in step S1, the SSD controller performs a traversal voltage read on the address of the failed page to read N page data of the failed page, where N is a positive integer.

[0016] In a further technical solution, the page data of the failed page received by the host from the SSD controller includes:

[0017] The host receives N page data of the failed page returned by the SSD controller.

[0018] In a further technical solution, when the SSD controller performs a traversal voltage read on the address of the failed page, the voltage read each time is different.

[0019] In a further technical solution, the host restoring the restored data of the failed page to the failed page includes:

[0020] The host issues a command to the SSD controller to read the data of the block where the failed page is located;

[0021] The host receives the data of the block returned by the SSD controller, and the host restores the data of the block one by one;

[0022] The host writes the restored data of the block to the block.

[0023] In a further technical solution, before the host writes the restored data of the block to the block, the method includes:

[0024] The host issues a command to the SSD controller to erase the data of the block, and the SSD controller erases the data of the block.

[0025] In a further technical solution, the host writing the restored data of the block to the block includes:

[0026] The host issues a write command to the SSD controller to write the restored data of the block to the block, and the SSD controller writes the restored data of the block to the block.

[0027] Second aspect, an embodiment of the present invention further provides a host-based data deep recovery and reconstruction device, which includes units for executing the above method.

[0028] Third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor. A computer program is stored on the memory, and when the processor executes the computer program, the above method is implemented.

[0029] Fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above method can be implemented.

[0030] An embodiment of the present invention provides a host-based data deep recovery and reconstruction method, device, equipment and medium. Among them, the method includes: the host sends a data deep recovery command and the address of the failed page to the SSD controller; the host receives the page data of the failed page returned by the SSD controller; the host obtains the optimal voltage based on the page data of the failed page; the host uses soft decoding to obtain the recovery data of the failed page based on the optimal voltage; the host restores the recovery data of the failed page to the failed page. It can be seen that in the case of SSD disk read data failure, the present invention reads the voltages of the pages where the SSD failed data is located to the host side, and uses a high-precision and highly flexible solution to achieve recovery at the host side. Compared with the existing technology that relies on the SSD controller for recovery, the accuracy and reliability are higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0032] Figure 1 It is a flowchart of a host-based data deep recovery and reconstruction method provided by an embodiment of the present invention;

[0033] Figure 2 It is a flowchart of step S1 of a host-based data deep recovery and reconstruction method provided by an embodiment of the present invention;

[0034] Figure 3 It is a flowchart of step S2 of a host-based data deep recovery and reconstruction method provided by an embodiment of the present invention;

[0035] Figure 4Schematic flowchart of steps S3 - S4 of a host - based data deep recovery and reconstruction method provided by an embodiment of the present invention;

[0036] Figure 5 Schematic flowchart of step S5 of a host - based data deep recovery and reconstruction method provided by an embodiment of the present invention;

[0037] Figure 6 Schematic diagram of column height statistics in a host - based data deep recovery and reconstruction method provided by an embodiment of the present invention;

[0038] Figure 7 Schematic diagram of LLR mapping in a host - based data deep recovery and reconstruction method provided by an embodiment of the present invention;

[0039] Figure 8 Schematic block diagram of a computer device provided by an embodiment of the present invention. Detailed implementation manners

[0040] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts fall within the scope of protection of the present invention.

[0041] It should be understood that when used in this specification and the appended claims, the terms "comprises" and "comprising" indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0042] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in this specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0043] It should be further understood that the term "and / or" used in this specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0044] As used in this specification and the appended claims, the term "if" may be construed, depending on the context, as "when" or "once" or "in response to determining" or "in response to detecting". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, to mean "once determined" or "in response to determining" or "once [the described condition or event] is detected" or "in response to detecting [the described condition or event]".

[0045] Please refer to Figures 1 - 8 , an embodiment of the present invention provides a method for deep data recovery and reconstruction based on a host, and the method includes the following steps:

[0046] S1, the host sends a deep data recovery command and the address of the failed page to the SSD controller.

[0047] In a specific implementation, refer to Figure 2 , the host sends a deep data recovery command and the address of the failed page to the SSD controller; correspondingly, the SSD controller performs a traversal voltage read on the address of the failed page, reads N page data of the failed page, and N is a positive integer.

[0048] When the SSD controller performs a traversal voltage read on the address of the failed page, the voltage read each time is different. The SSD controller issues N read commands for the failed page, and the voltage issued each time is different. The N voltages issued traverse all the voltages of the failed page; if the failed page is a TLC / QLC medium particle, other page data of the WL where the failed page is located can also be read.

[0049] S2, the host receives the page data of the failed page returned by the SSD controller.

[0050] In a specific implementation, refer to Figure 3 , the N page data of the read failed page are returned to the SSD controller, and the SSD controller does not perform any data processing and transparently transmits them to the host.

[0051] Correspondingly, the host receives the N page data of the failed page returned by the SSD controller.

[0052] S3, the host obtains the optimal voltage based on the page data of the failed page.

[0053] In a specific implementation, refer to Figure 4 , on the host side, the optimal voltage is calculated from the N page data. For example, in this embodiment, N is equal to 7.

[0054] In specific implementation, the calculation of the optimal voltage is divided into two steps, including column height statistics and fitting calculation.

[0055] Taking N equal to 7 as an example, first perform column height statistics: The schematic diagram of column height statistics for 7 page data is as Figure 6 . Further, taking 1 page of 16KB as an example for illustration, the data read for the second, fifth, and sixth times are XORed, and the data read for the third, fourth, and seventh times are XORed, and together with the data read for the first time, 16K 3-bit pattern data are formed; respectively count the number of each pattern ('111', '110', '101', '100', '011', '010', '001', '000'), denoted as h7, h6, h5, h4, h3, h2, h1, h0. It should be noted that the above XOR method is only an example and not the only implementation method.

[0056] Next, use the fitting algorithm to fit the column height to obtain the optimal voltage by fitting. Taking linear fitting as an example, assuming the voltages corresponding to 8 patterns are v7, v6, v5, v4, v3, v2, v1, v0, then the optimal voltage can be calculated by linear fitting based on the above voltages.

[0057] S4. Based on the optimal voltage, the host uses soft decoding to obtain the recovery data of the failed page.

[0058] In specific implementation, refer to Figure 4 , centered on the optimal voltage, deviate left and right X1 times and use it as the first LLR mapping method, and perform soft decoding; if it fails, deviate left and right X2 times, and the LLR mapping method can be adjusted and used as the second LLR mapping method for soft decoding; and so on until the recovery data of the failed page is obtained.

[0059] The LLR mapping is as Figure 7 shown. Centered on the calculated optimal voltage, deviate left and right X1 (indicating deviating 1 time in voltage to the left and 1 time in voltage to the right); divide the interval into 4 intervals, and the specific LLR values mapped to each interval can be defined by those skilled in the art, and the present invention does not specifically limit. In summary, the LLR mapping is the process of mapping the page data read multiple times into the LLR information sent to the LDPC soft decoding.

[0060] S5. The host restores the recovery data of the failed page to the failed page.

[0061] In specific implementation, refer to Figure 5, after data recovery, the host sends a command to the SSD controller to read the data of the block where the failed page is located; the SSD controller reads the data of the block accordingly and returns the data of the block to the host.

[0062] Furthermore, the host receives the data of the block returned by the SSD controller, the host recovers the data of the block one by one, and the host recovers the data of the block based on the data recovered in step S4. Further, the host sends a command to the SSD controller to erase the data of the block, and correspondingly, the SSD controller erases the data of the block. The host writes the recovered data of the block into the block. Specifically, the host sends a write command to the SSD controller to write the recovered data of the block into the block, and correspondingly, the SSD controller writes the recovered data of the block into the block.

[0063] An embodiment of the present invention proposes a method for deep data recovery and reconstruction based on a host, and the method includes: the host sends a deep data recovery command and the address of a failed page to the SSD controller; the host receives the page data of the failed page returned by the SSD controller; the host obtains an optimal voltage based on the page data of the failed page; the host obtains the recovered data of the failed page by using soft decoding based on the optimal voltage; the host restores the recovered data of the failed page to the failed page. It can be seen that in the case of data reading failure of the SSD disk, the present invention reads the voltages of the pages where the SSD failed data is located to the host side, and implements recovery by using a high-precision and highly flexible solution at the host side. Compared with the prior art, which relies on the SSD controller for recovery, the accuracy and reliability are higher.

[0064] Furthermore, the block where the failed page is located is read out, and after reconstruction and recovery at the host side, the data of the block in the flash memory is erased, and then the data of the recovered block is written back to implement data reconstruction, ensuring the reliability of data recovery.

[0065] Corresponding to the above method for deep data recovery and reconstruction based on a host, the present invention also provides a device for deep data recovery and reconstruction based on a host. The device for deep data recovery and reconstruction based on a host includes units for executing the above method for deep data recovery and reconstruction based on a host, and the device for deep data recovery and reconstruction based on a host can be configured in terminals such as desktop computers, tablet computers, laptop computers, etc. Specifically, the device for deep data recovery and reconstruction based on a host includes:

[0066] A sending unit, configured to send a data depth recovery command and the address of a failed page to an SSD controller;

[0067] A receiving unit, configured to receive the page data of the failed page returned by the SSD controller;

[0068] A first obtaining unit, configured to obtain an optimal voltage based on the page data of the failed page;

[0069] A second obtaining unit, configured to obtain the recovery data of the failed page by using soft decoding based on the optimal voltage;

[0070] A recovery unit, configured to recover the recovery data of the failed page into the failed page.

[0071] In some embodiments, such as this embodiment, the SSD controller performs a traversing voltage read on the address of the failed page, and reads N page data of the failed page, where N is a positive integer.

[0072] In some embodiments, such as this embodiment, the host receiving the page data of the failed page returned by the SSD controller includes:

[0073] The host receives N page data of the failed page returned by the SSD controller.

[0074] In some embodiments, such as this embodiment, when the SSD controller performs a traversing voltage read on the address of the failed page, the voltage read each time is different.

[0075] In some embodiments, such as this embodiment, the host recovering the recovery data of the failed page into the failed page includes:

[0076] The host sends a command to the SSD controller to read the data of the block where the failed page is located;

[0077] The host receives the data of the block returned by the SSD controller, and the host recovers the data of the block one by one;

[0078] The host writes the recovered data of the block into the block.

[0079] In some embodiments, such as this embodiment, the host-based data depth recovery and reconstruction device further includes:

[0080] An erasing unit, configured to send a command to the SSD controller to erase the data of the block, and the SSD controller erases the data of the block.

[0081] In some embodiments, such as this embodiment, the host writes the recovered data of the block into the block, including:

[0082] The host issues a write command to the SSD controller to write the recovered data of the block into the block, and the SSD controller writes the recovered data of the block into the block.

[0083] It should be noted that those skilled in the art can clearly understand that the specific implementation processes of the above host-based data deep recovery and reconstruction device and each unit can refer to the corresponding descriptions in the foregoing method embodiments. For the sake of convenience and brevity of description, they will not be elaborated here.

[0084] The above host-based data deep recovery and reconstruction device can be implemented in the form of a computer program, and this computer program can run on a computer device as shown in Figure 8 shown.

[0085] Please refer to Figure 8 , Figure 8 which is a schematic block diagram of a computer device provided by an embodiment of the present application. The computer device 500 can be a terminal or a server. Among them, the terminal can be an electronic device with a communication function such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server can be an independent server or a server cluster composed of multiple servers.

[0086] The computer device 500 includes a processor 502, a memory, and a network interface 505 connected through a system bus 501. Among them, the memory can include a non-volatile storage medium 503 and an internal memory 504.

[0087] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can be caused to execute a host-based data deep recovery and reconstruction method.

[0088] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500.

[0089] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can be caused to execute a host-based data deep recovery and reconstruction method.

[0090] The network interface 505 is used for network communication with other devices. Those skilled in the art can understand that the above structure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device 500 to which the solution of this application is applied. Specifically, the computer device 500 may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0091] Among them, the processor 502 is used to run the computer program 5032 stored in the memory to implement a host-based data depth recovery and reconstruction method, which specifically includes the following steps:

[0092] S1, the host sends a data depth recovery command and the address of the failed page to the SSD controller;

[0093] S2, the host receives the page data of the failed page returned by the SSD controller;

[0094] S3, the host obtains the optimal voltage based on the page data of the failed page;

[0095] S4, the host uses soft decoding to obtain the recovery data of the failed page based on the optimal voltage;

[0096] S5, the host restores the recovery data of the failed page to the failed page.

[0097] In some embodiments, such as this embodiment, in step S1, the SSD controller performs a traversal voltage read on the address of the failed page and reads N page data of the failed page, where N is a positive integer.

[0098] In some embodiments, such as this embodiment, the host receiving the page data of the failed page returned by the SSD controller includes:

[0099] The host receives N page data of the failed page returned by the SSD controller.

[0100] In some embodiments, such as this embodiment, when the SSD controller performs a traversal voltage read on the address of the failed page, the voltage read each time is different.

[0101] In some embodiments, such as this embodiment, the host restoring the recovery data of the failed page to the failed page includes:

[0102] The host sends a command to the SSD controller to read the data of the block where the failed page is located;

[0103] The host receives the data of the block returned by the SSD controller, and the host restores the data of the block one by one;

[0104] The host writes the restored data of the block into the block.

[0105] In some embodiments, such as this embodiment, before the host writes the restored data of the block into the block, the method includes:

[0106] The host sends a command to the SSD controller to erase the data of the block, and the SSD controller erases the data of the block.

[0107] In some embodiments, such as this embodiment, the host writing the restored data of the block into the block includes:

[0108] The host sends a write command to the SSD controller to write the restored data of the block into the block, and the SSD controller writes the restored data of the block into the block.

[0109] It should be understood that in the embodiments of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0110] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a storage medium, and the storage medium is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above method.

[0111] Therefore, the present invention also provides a storage medium. The storage medium can be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the processor executes a data depth recovery and reconstruction method based on a host, specifically including the following steps:

[0112] S1, the host sends a data depth recovery command and the address of the failed page to the SSD controller;

[0113] S2, the host receives the page data of the failed page returned by the SSD controller;

[0114] S3, the host obtains the optimal voltage based on the page data of the failed page;

[0115] S4, the host uses soft decoding to obtain the recovery data of the failed page based on the optimal voltage;

[0116] S5, the host restores the recovery data of the failed page to the failed page.

[0117] In some embodiments, such as this embodiment, in step S1, the SSD controller performs a traversal voltage read on the address of the failed page, reads N page data of the failed page, and N is a positive integer.

[0118] In some embodiments, such as this embodiment, the host receiving the page data of the failed page returned by the SSD controller includes:

[0119] The host receives N page data of the failed page returned by the SSD controller.

[0120] In some embodiments, such as this embodiment, when the SSD controller performs a traversal voltage read on the address of the failed page, the voltage read each time is different.

[0121] In some embodiments, such as this embodiment, the host restoring the recovery data of the failed page to the failed page includes:

[0122] The host sends a command to read the data of the block where the failed page is located to the SSD controller;

[0123] The host receives the data of the block returned by the SSD controller, and the host restores the data of the block one by one;

[0124] The host writes the restored data of the block into the block.

[0125] In some embodiments, such as this embodiment, before the host writes the data of the recovered block into the block, the method includes:

[0126] The host sends a command to the SSD controller to erase the data of the block, and the SSD controller erases the data of the block.

[0127] In some embodiments, such as this embodiment, the host writing the data of the recovered block into the block includes:

[0128] The host sends a write command to the SSD controller to write the data of the recovered block into the block, and the SSD controller writes the data of the recovered block into the block.

[0129] The storage medium is a physical, non-transitory storage medium, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a magnetic disk, or an optical disc, etc., various physical storage media that can store program codes. The computer-readable storage medium can be non-volatile or volatile.

[0130] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0131] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0132] The steps in the method embodiments of the present invention can be adjusted, combined, and deleted according to actual needs. The units in the device embodiments of the present invention can be combined, divided, and deleted according to actual needs. In addition, the functional units in each embodiment of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.

[0133] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention.

[0134] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0135] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these changes and modifications.

[0136] As described above, the above are only the specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A host-based data deep recovery and reconstruction method, characterized in that: The method is applied to a host, and the method comprises: S1: The host sends a data deep recovery command and the address of the failed page to the SSD controller; S2, the host receives the page data of the failed page returned by the SSD controller; S3, the host obtains the optimal voltage based on the page data of the failed page; S4, the host uses soft decoding to obtain the recovery data of the failed page based on the optimal voltage; S5: The host restores the recovery data of the failed page to the failed page.

2. The host-based data deep recovery and reconstruction method according to claim 1, characterized in that: In step S1 , the SSD controller performs a traversal voltage read on the address of the failed page to read N page data of the failed page, where N is a positive integer.

3. The host-based data deep recovery and reconstruction method according to claim 2, characterized in that: The host receives page data of the failed page returned by the SSD controller, including: The host receives the N page data of the failed page returned by the SSD controller.

4. The host-based data deep recovery and reconstruction method according to claim 2, characterized in that: When the SSD controller performs a traversal voltage read on the address of the failed page, the voltage read each time is different.

5. The host-based data deep recovery and reconstruction method according to claim 1, characterized in that: The host restores the recovery data of the failed page to the failed page, including: The host sends a command to the SSD controller to read the data of the block where the failed page is located; The host receives the data of the block returned by the SSD controller, and the host restores the data of the block one by one; The host writes the restored data of the block into the block.

6. The host-based data deep recovery and reconstruction method according to claim 5, characterized in that: Before the host writes the restored data of the block into the block, the method includes: The host sends a command to the SSD controller to erase the data of the block, and the SSD controller erases the data of the block.

7. The host-based data deep recovery and reconstruction method according to claim 5, characterized in that: The host writes the restored data of the block into the block, including: The host sends a write command to the SSD controller to write the restored data of the block into the block, and the SSD controller writes the restored data of the block into the block.

8. A host-based data deep recovery and reconstruction device, characterized in that: The method comprises a unit for executing the method according to any one of claims 1 to 7.

9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.