Data storage erasure method, apparatus, device, and computer-readable storage medium
A technology for data storage and target data, applied in the storage field, can solve the problems of high CPU computing resource occupation and low resource utilization, and achieve the effect of reducing the occupation and improving resource utilization.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] see figure 1 , figure 1 It is a flow chart of an implementation of a method for data storage and erasure correction in an embodiment of the present invention, and the method may include the following steps:
[0058] S101: Analyze the received target data erasure task to obtain a target data block and a target matrix.
[0059]When data is backed up or pre-stored backup data is lost, a target data erasure task is generated, and the target data erasure task includes target data blocks and target matrices required for erasure processing. Send the target data erasure task to the erasure processing center, and the erasure processing center receives the target data erasure task, analyzes the received target data erasure task, and obtains the target data block and the target matrix.
[0060] Specifically, when the target data erasure task is an encoding task, the target data block includes the original data block, and the target matrix is a matrix pre-written into the matri...
Embodiment 2
[0069] see figure 2 , figure 2 It is another implementation flowchart of the data storage erasure correction method in the embodiment of the present invention, and the method may include the following steps:
[0070] S201: Analyze the received target data erasure task to obtain the target erasure task type.
[0071] The target data erasure task includes task type information. After receiving the target data erasure task, the received target data erasure task is analyzed to obtain the target erasure task type. Erasure task types include encoding and decoding.
[0072] S202: When the target erasure task type is encoding, obtain the target original data block and the target encoding matrix.
[0073] When encoding, the original data block and the encoding matrix pre-written into the matrix queue are needed. When the target erasure task type is encoding, obtain the target original data block and target encoding matrix.
[0074] S203: When the target erasure erasure task type...
Embodiment 3
[0103] see Image 6 , Image 6 It is another implementation flowchart of the data storage erasure correction method in the embodiment of the present invention, and the method may include the following steps:
[0104] S601: Analyze the received target data erasure task to obtain the target erasure task type.
[0105] S602: When the target erasure task type is encoding, obtain the target original data block and the target encoding matrix.
[0106] S603: When the target erasure erasure task type is decoding, obtain the target remaining data block, the target check data block, and the target decoding matrix.
[0107] S604: When the number of target data erasure tasks is multiple, obtain each resource block that is currently idle.
[0108] S605: Obtain the data size of the target data block.
[0109] S606: Time-division multiplexing and assigning each resource block to each target data block and each matrix row of each target matrix according to the data size.
[0110] S607: U...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


