SATA Primitive Prediction and Correction via Code Book
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Corrupted primitives due to noise interference in SATA protocol communication can lead to communication problems, such as system hangs and incorrect data transfer lengths, as existing methods fail to effectively correct or detect these issues.
Innovation Solution
A method for correcting corrupted primitives involves analyzing the current state and previously received primitives to predict the identity of corrupted primitives, using a primitive code book and comparing byte contents to replace corrupted primitives with predicted values, and detecting incorrect primitives by examining the sequence of received primitives during normal operation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If noise interference occurs during primitive transmission in SATA protocol, then communication reliability deteriorates with corrupted primitives causing system hangs and incorrect data transfer, but adding complex error correction mechanisms increases device complexity
Solution Approach 1:
The patent applies preliminary action by pre-establishing a code book containing all valid primitive definitions and their byte patterns before communication occurs. When a primitive is received, the system proactively compares it against the pre-loaded code book to detect corruptions before they cause system hangs or data transfer errors, thus preventing rather than reacting to communication failures.
Solution Approach 2:
The patent uses copying by creating a reference copy of valid primitives stored in the code book. Instead of complex real-time validation logic, the system copies the received primitive and compares it against the stored valid primitive patterns, using simple byte-by-byte comparison to identify corruptions without requiring sophisticated error correction algorithms.
2Speed
If primitive corruption is detected through simple methods, then detection speed improves, but detection accuracy deteriorates with noise interference causing false negatives
Solution Approach 1:
The patent replaces complex mechanical-style error detection mechanisms with a systematic information-based approach. Instead of using multiple redundant transmission copies or complex checksum algorithms, the system substitutes a direct comparison method where the received primitive bytes are systematically compared against the expected byte patterns from the code book, achieving both speed and accuracy through information matching rather than mathematical verification.
Data Source
AI summary
A method of correcting corrupted primitives transmitted between a serial advanced technology attachment (SATA) host and a SATA device includes analyzing a current state, a previously transmitted primitive, or a previously received primitive; selecting at least one candidate primitive according to at least one of the current state, the previously transmitted primitive and the previously received primitive; predicting the identity of a current primitive according to at least one candidate primitive and a received current primitive; and replacing the corrupted primitive with the predicted primitive when the predicted primitive is different from the current primitive.


