NFC Terminal AID Acquisition via TCP Connection Monitoring
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
NFC terminals face challenges in obtaining the application identifier (AID) of a contactless application in a secure element (SE) in real time, leading to inflexible configuration of routing information for the near field communication controller (NFCC).
Innovation Solution
The method involves monitoring the state of TCP connections between the NFC terminal and a server, determining disconnected secure elements, and using commands to query and update AIDs and lifecycle states, allowing real-time identification and storage of AIDs in non-volatile memory for proper NFCC routing table configuration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a companion application with configuration file is used to report AID, then the routing information can be configured, but the method is not flexible and cannot obtain AID for applications without companion applications
Solution Approach 1:
The contactless application itself performs the reporting function by sending the AID to the server through TCP connection, eliminating the need for a separate companion application. The application serves its own information reporting needs directly, making the system adaptable to all applications regardless of whether they have companion applications.
Solution Approach 2:
A server acts as an intermediary between the NFC terminal and the contactless applications. The server receives AID information from applications via TCP connections and provides it to the NFCC for routing configuration, enabling centralized management and real-time updates of routing information.
2Reliability
If static reporting method is used, then configuration can be done, but real-time AID information cannot be obtained
Solution Approach 1:
The system establishes a feedback mechanism where the NFC terminal continuously monitors TCP connection states. When a connection is disconnected (indicating application installation or update), the system automatically queries the server for updated AID information and refreshes the routing table, ensuring real-time accuracy without manual intervention.
Solution Approach 2:
The AID information is pre-configured on the server before the NFC terminal needs it. When the terminal detects a TCP connection disconnection, it can immediately query the server for the pre-prepared AID information, eliminating delays in obtaining routing data.
3Loss of information
If TCP connection monitoring is implemented, then real-time AID information can be obtained, but the system complexity increases
Solution Approach 1:
The existing TCP connection infrastructure is used for multiple purposes: both for normal application communication and for triggering AID information updates. The same TCP port and connection mechanism serve dual functions, avoiding the need for separate monitoring hardware or protocols and minimizing additional system complexity.
Data Source
Figure 1~2
Figure 3~4
Figure 5
AI summary
The present invention provides an information processing method and an NFC terminal. The method includes: monitoring a state of a TCP connection that is established by at least one secure element SE in a near field communication NFC terminal to a server by using a Transmission Control Protocol TCP port of the NFC terminal; when monitoring that the state of the TCP connection is disconnected, determining a first SE from the at least one SE, where the first SE is an SE corresponding to a TCP port whose TCP connection is disconnected; and obtaining an application identifier AID of a contactless application in the first SE.