A memory fault-tolerant protection method, device, equipment and storage medium
A memory and storage technology, applied in the computer field, can solve problems such as large hardware overhead and time delay, error detection and correction efficiency, and slow memory data reading speed, so as to achieve the effect of optimizing data and reducing the probability of errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It shows the implementation process of the memory fault-tolerant protection method provided by Embodiment 1 of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
[0027] In step S101 , when a data write request is received, the stored data requested to be written into the storage is obtained, odd / even check encoding is performed on the stored data, and all first parity bits of the stored data are obtained.
[0028] The embodiments of the present invention are suitable for storage, especially for readable and writable storage, so as to facilitate storage fault tolerance protection. In the embodiment of the present invention, when receiving a user's data writing request, first obtain the matrix corresponding to the storage data requested to be written into the storage, and then perform odd / even-check encoding on the storage data according to the m...
Embodiment 2
[0038] figure 2 It shows the implementation process of the memory fault-tolerant protection method provided by the second embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
[0039] In step S201, when a data write request is received, the stored data requested to be written into the storage is obtained, and the odd / even check code is performed on the stored data to obtain all the first parity bits of the stored data.
[0040] The embodiments of the present invention are suitable for storage, especially for readable and writable storage, so as to facilitate storage fault tolerance protection. In the embodiment of the present invention, when receiving a user's data writing request, first obtain the matrix corresponding to the storage data requested to be written into the storage, and then perform odd / even-check encoding on the storage data according...
Embodiment 3
[0060] image 3 The structure of the memory fault-tolerant protection device provided by the third embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, including:
[0061] The first encoding unit 31 is configured to obtain the storage data requested to be written into the storage when receiving a data write request, perform odd / even-check encoding on the storage data, and obtain all first parity bits of the storage data.
[0062] In the embodiment of the present invention, when a data write request from the user is received, the first encoding unit 31 first obtains the matrix corresponding to the storage data requested to be written into the storage, and then performs an odd / even check on the storage data according to the matrix Encoding (the data on each row and column of the matrix corresponds to a parity bit), and all the first parity bits of the stored data are obtaine...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


