Dual ROM Data Verification via Sub-Data Extraction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The inefficiency in data verification processes for Read-Only Memory (ROM) systems, where verifying partial content requires reading entire data groups, leading to excessive read operations and reduced efficiency.
Innovation Solution
An electronic apparatus with two read-only memories and a controller that utilizes a correspondence relation between the data in both memories to verify data by reading only the necessary sub-data, reducing the number of read operations through exclusive-OR operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional ROM verification method is used where all data in the group must be read to verify partial content, then data verification correctness is ensured, but the number of read operations increases significantly reducing verification efficiency
Solution Approach 1:
The patent divides the ROM data into multiple groups, where each group contains several bytes of data. By segmenting the data structure, the system can perform verification on individual groups rather than requiring reading of entire larger blocks, thus reducing the number of read operations while maintaining verification correctness through group-level checksum validation.
Solution Approach 2:
The patent pre-calculates and stores checksum values for each data group in the ROM during the manufacturing or initialization phase. This preliminary action allows the verification process to simply compare read data against pre-stored checksums without performing complex calculations during verification, significantly reducing the number of read operations required while ensuring data correctness.
2Reliability
If checksum verification is performed on entire data groups to verify partial content, then data integrity is ensured, but unnecessary bytes are read increasing operation time
Solution Approach 1:
The patent extracts the checksum information from the entire data group and stores it separately as a distinct element. This allows the verification process to read only the necessary data bytes and their corresponding checksum without reading unnecessary bytes from other groups, thus reducing operation time while maintaining data integrity through targeted checksum verification.
Solution Approach 2:
The patent implements partial verification by reading only the specific data group containing the target byte plus its associated checksum, rather than reading entire larger blocks or all data groups. This partial action approach verifies data integrity for the specific byte of interest while minimizing the number of bytes read, thereby reducing operation time without compromising verification thoroughness.
Data Source
AI summary
An electronic apparatus and a data verification method using the same are provided. The electronic apparatus includes a first read-only memory having first data, a second read-only memory having second data and a controller. A correspondence relation exists between the first data and the second data. The controller is coupled to the first read-only memory and the second read-only memory. The controller reads first sub-data of the first data from the first read-only memory, and reads second sub-data of the second data corresponding to the first sub-data from the second read-only memory according to the correspondence relation. The first sub-data includes to-be-verified data. The controller performs a verification operation to the to-be-verified data according to the first sub-data, the second sub-data and the correspondence relation.


