IC Card State Management via DESELECT Command Handling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Non-contact IC cards lack operational protocols for managing state transitions when receiving a DESELECT command, leading to temporary interruptions or complete resets without clear methods to maintain or restore previous processing states.
Innovation Solution
The implementation of a portable electronic apparatus with a recognition section to identify processing methods based on instruction specifications and a controller to either maintain or restore the active state, using RFU1 and RFU2 bits to determine whether to maintain or restore the operating system and application states.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of energy
If the non-contact IC card transitions to a standby state upon receiving a DESELECT command, then the card can be deactivated to save energy and reduce interference, but the card loses the ability to maintain or restore previous processing states, resulting in complete resets or undefined behavior
Solution Approach 1:
The patent applies preliminary action by storing the current OS state and application state into storage sections before the card transitions to the inactive state upon receiving a DESELECT command. This ensures that when the card is reactivated, the previously stored state information is already available for restoration, preventing loss of processing context while still allowing energy-saving deactivation
Solution Approach 2:
The patent changes the parameter of state management by introducing RFU1 and RFU2 bits that control whether to maintain or restore OS and application states. This parameter change mechanism allows flexible control over state transitions, enabling the card to either preserve or reset processing states based on the specific DESELECT command received, thus resolving the contradiction between energy saving and information retention
2Device complexity
If the non-contact IC card provides no operations for state management during DESELECT command processing, then the protocol remains simple and easy to implement, but the card cannot selectively maintain or reset processing states as needed
Solution Approach 1:
The patent applies universality by making the existing DESELECT command protocol serve multiple functions: it can trigger complete resets, temporary interruptions, or selective state restoration depending on the values of RFU1 and RFU2 bits. This multi-functionality approach allows the same protocol structure to handle various state management scenarios without increasing overall protocol complexity, while significantly improving adaptability
Solution Approach 2:
The patent segments the state management control into distinct components by separating OS state control (via RFU1 bit) and application state control (via RFU2 bit). This segmentation allows independent control over different state layers, enabling fine-grained state management where only necessary states are restored or maintained, thus providing versatility without proportionally increasing protocol complexity
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
Enables controlled state transitions upon receiving a DESELECT command, allowing for temporary interruptions or complete resets, ensuring seamless continuation or restart of processing as needed, thereby improving command processing performance.
Implementation Method 1
This IC card receives a magnetic field generated from a card reader/writer of a terminal device that processes the IC card and is activated as the antenna therein is excited by electromagnetic induction
Data Source
Figure 1~2
Figure 3~5
Figure 6
AI summary
According to one embodiment, a portable electronic apparatus (101) includes a receiving section (206) configured to receive from an external device (102) an instruction for a transition from an active state to a state in which processing is temporarily interrupted, a recognition section (201) configured to recognize a processing method in a state established in the active state based on processing specification information contained in the instruction, and a controller (201) configured to maintain the state established in the active state even in the state for the temporary interruption or restore an initial state before the establishment.