US 12,222,807 B2
Check data generation method and apparatus, device, and storage medium
Ruizhen Wu, Jiangsu (CN); Jingjing Chen, Jiangsu (CN); Yongxing Zhang, Jiangsu (CN); and Lin Wang, Jiangsu (CN)
Assigned to SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/695,491
Filed by SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Sep. 29, 2022, PCT No. PCT/CN2022/122787
§ 371(c)(1), (2) Date Mar. 26, 2024,
PCT Pub. No. WO2023/151288, PCT Pub. Date Aug. 17, 2023.
Claims priority of application No. 202210126966.4 (CN), filed on Feb. 11, 2022.
Prior Publication US 2024/0264906 A1, Aug. 8, 2024
Int. Cl. G06F 11/00 (2006.01); G06F 11/10 (2006.01)
CPC G06F 11/1076 (2013.01) [G06F 11/1004 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A method for generating checking data comprising:
acquiring a store-status matrix corresponding to a redundant array of independent disks, wherein the store-status matrix comprises a plurality of magnetic-disk vectors and a plurality of data vectors, and the magnetic-disk vectors and the data vectors are orthogonal;
determining non-reference vectors among the magnetic-disk vectors, and performing data-vector-element evenly dividing processing to an initial data region formed by the non-reference vectors, to obtain a first data region and a second data region;
performing data-exchange processing to the first data region and the second data region in the store-status matrix, to obtain a first matrix;
determining a plurality of second-order matrixes in the first data region and the second data region of the first matrix, and performing position-exchange processing to target magnetic-disk elements in the second-order matrixes, to obtain a second matrix;
performing single-error-correction encoding generating processing based on the second matrix, to obtain first checking data, and saving the first checking data into a first checking magnetic disk; and
performing double-error-correction encoding generating processing based on the second matrix, to obtain second checking data, and saving the second checking data into a second checking magnetic disk,
wherein the method further comprises:
in response to that a failure of a target magnetic disk is detected, acquiring error-recovery data from non-target magnetic disks in the redundant array of independent disks;
acquiring target first checking data from the first checking magnetic disk, and acquiring target second checking data from the second checking magnetic disk; and
by using the error-recovery data, the target first checking data and the target second checking data, performing data recovery to the target magnetic disk.