Active reconstruction method and reading method of flash memory solid-state disk data based on erasure codes
A technology for data reading and erasure coding, which is used in electrical digital data processing, error detection/correction, and response error generation. Unable to effectively use redundant data and other problems to achieve the effect of optimizing read access load balancing, optimizing load balancing, and ensuring data reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] This embodiment provides a method for active reconstruction of flash solid state disk data based on erasure codes. The incoming data is divided into blocks according to the adopted erasure code parameters, and redundant blocks are obtained by encoding, and the incoming data blocks are combined with the redundant blocks. Stripes composed of blocks are scattered and written to different channels based on a preset strategy.
[0045] Among them, the preset strategy is specifically:
[0046] Strategy 1: Data in the same strip cannot appear on the same channel;
[0047] Strategy 2: Select the channel with the most free pages from the remaining channels;
[0048] Strategy 3: Choose the channel with the smallest index number;
[0049] The priority of the three strategies is strategy one> Strategy Two> Strategy three.
[0050] In this embodiment, data reconstruction services data access by actively using the erasure code module. This solution can not only prevent data loss, but also assis...
Embodiment 2
[0054] On the basis of Embodiment 1, Embodiment 2 of the present invention also provides an erasure code-based flash memory solid state disk data reading method, and the data is stored in the flash memory solid state disk using the method described in embodiment 1; Such as Figure 4 As shown, the reading method includes:
[0055] S1, processing the waiting queues of each channel in parallel;
[0056] S2. Receive a new read request, determine whether the read request satisfies the sub-request segmentation, and if so, divide the read request into at least one sub-request, specifically:
[0057] S21: Determine whether the data requested by the newly accepted read request is in an incomplete strip or the corresponding same data is updated in the waiting queue, if yes, perform step S22, otherwise, perform step S23;
[0058] S22. Obtain the original data of the read request by directly reading the read request to ensure data consistency, and return the obtained original data of the read req...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


