Data Reliability Detection via User-Space Thread Merging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for detecting data reliability in computer systems are inefficient, as they either require excessive kernel threads, leading to high system overhead, or result in costly system resets that can disrupt services.
Innovation Solution
A method and device that divide source data into blocks, establish duplicate blocks and reliability maintenance data structures, and utilize a minimal number of threads to detect errors and replace erroneous blocks with duplicates, reducing system overhead and minimizing service disruptions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If multiple kernel threads are used to maintain data reliability consistency, then data reliability is improved, but system overhead increases due to the large number of threads
Solution Approach 1:
Multiple kernel threads are merged into a single user-space reliability maintenance process. The patent creates one user-space process that manages reliability maintenance for multiple data blocks, eliminating the need for multiple kernel threads while maintaining data reliability through centralized user-space management.
Solution Approach 2:
The patent transitions from kernel-space thread management to user-space process management, moving the reliability maintenance functionality to a different operational dimension. This allows reliability maintenance to be performed in user-space without requiring multiple kernel threads, thereby reducing system overhead while maintaining reliability.
2Reliability
If program reset is performed to recover from data errors, then data reliability is restored, but system time is wasted and service disruption occurs
Solution Approach 1:
Duplicate data blocks are pre-created and stored in different physical memory locations before errors occur. When an error is detected in a source data block, the system can immediately switch to the pre-prepared duplicate block without needing to reset the program or reload data, thus avoiding service disruption and time loss.
Solution Approach 2:
The patent creates duplicate copies of data blocks and stores them in separate physical memory locations. These copies serve as immediate replacements when errors are detected, allowing the system to restore reliability without program reset by simply switching to the duplicate block.
3Reliability
If duplicate data blocks are stored for each source data block, then data recovery capability is improved, but memory usage increases
Solution Approach 1:
A single user-space reliability maintenance process serves multiple data blocks, managing duplicates for many source blocks simultaneously. This universal approach allows the system to maintain recovery capability for multiple data blocks without proportionally increasing memory overhead, as the same management infrastructure serves multiple purposes.
Data Source
AI summary
Embodiments of the present invention disclose a method and a device for detecting data reliability, which belong to the field of computer technologies. The method includes: dividing source data into multiple source data blocks; establishing a corresponding duplicate data block for each source data block, where the duplicate data block and the source data block are stored in different physical memory blocks respectively; establishing a corresponding reliability maintenance data structure for the source data block; and registering the reliability maintenance data structure with a first reliability maintenance thread of a central processing unit, the source data block corresponding to the reliability maintenance data structure registered with the first reliability maintenance thread, comparing a reliability check value of the source data block with a reliability check value recorded in the reliability maintenance data structure, and replacing the source data block having the error with the duplicate data block.


