Smart Card Controller Write Token Verification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems face challenges in accurately transmitting response messages from smart cards due to cache interference, leading to data errors and security issues when combined with flash memory in devices like cell phones with Java systems.
Innovation Solution
A method and system that utilize write tokens embedded in data streams to ensure accurate transmission of response messages by distinguishing between cached and newly generated data, using a controller with a microprocessing unit and buffer to manage data streams and verify tokens.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If data transmission goes through cache to improve speed, then transmission speed is improved, but data accuracy deteriorates due to cache interference
Solution Approach 1:
The patent applies preliminary action by embedding a write token into the data stream before transmission to the smart card. This token serves as a marker that identifies the data as newly written, allowing the system to distinguish between cached data and new data before the actual read operation occurs. The write token is prepared and attached in advance to prevent cache interference issues during subsequent reads.
Solution Approach 2:
The patent implements feedback by using the write token as a verification mechanism. After the host reads data from the smart card, it checks whether the read data contains the corresponding write token. This feedback loop allows the system to detect and correct cache interference issues, ensuring data accuracy while maintaining the speed benefits of cache usage.
2Quantity of substance
If smart card commands are transmitted through cache to enable data storage, then storage capacity is improved, but command accuracy deteriorates due to cache substitution
Solution Approach 1:
The patent applies preliminary action by attaching a write token to the command data stream before it is written to the smart card. This token acts as a unique identifier that travels with the command through the cache system. When the host later reads from the smart card, the presence of this pre-attached token allows the system to verify that the data being read corresponds to the specific command that was written, preventing command substitution by cached data.
Solution Approach 2:
The write token serves as an intermediary element between the host and the smart card. It is embedded in the data stream and transmitted through the cache system, acting as a mediator that maintains the association between commands and their corresponding data. This intermediary token allows the cache to function for storage while still enabling accurate command verification through its presence in the data stream.
3Speed
If cache is used to store data for speed, then access speed is improved, but security communication deteriorates due to cached data substitution
Solution Approach 1:
The patent applies preliminary action by embedding a write token into the data stream before transmission to the smart card. This token is prepared in advance and attached to the data, serving as a security marker that travels with the data through the cache. When the host reads data back, it verifies the presence of the write token to ensure the data has not been substituted by cached data, thereby maintaining security communication while benefiting from cache speed.
Solution Approach 2:
The patent implements feedback by using the write token as a verification mechanism for security communication. After reading data from the smart card, the host checks whether the data contains the expected write token. This feedback loop detects cache interference and prevents security compromises, ensuring that encrypted communications remain secure while still utilizing the speed advantages of caching.
Data Source
AI summary
A system, a controller, and a method thereof for transmitting data stream from a host to a peripheral device with a chip are provided. At least a part of a data stream is transmitted from the host to the peripheral device. Then, the host inerrably receives a response message generated by the chip by executing a plurality of read commands. The data stream and the response message have corresponding write tokens, and the write token of the data stream is compared with the write token of the response message to verify the accuracy of the response message.


