Smart Card Applet Event Registration via TLV Install Parameters
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems for registering events on card computing devices, such as smart cards, are complex and require applets to invoke dedicated APIs to subscribe to toolkit events, making it difficult to adapt to different terminal environments and increasing memory consumption.
Innovation Solution
A method and system that utilize a tag-length-value (TLV) structure in install commands to register events with a toolkit registry, allowing applet instances to be created and registered with a toolkit registry object, simplifying the registration process and reducing memory consumption by eliminating the need for explicit API invocations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If dedicated APIs are used for event registration, then event subscription functionality is achieved, but device complexity and ease of operation deteriorate
Solution Approach 1:
The patent combines event registration with the applet installation process by integrating event list data into the install command parameters. The runtime environment automatically extracts event information from the TLV structure and registers events with the toolkit registry during installation, eliminating the need for separate API invocations and reducing operational complexity.
Solution Approach 2:
The runtime environment automatically performs event registration without requiring explicit applet actions. During applet installation, the runtime environment extracts event lists from the install command parameters and autonomously completes the registration process with the toolkit registry, making the system self-configuring.
2Reliability
If dedicated APIs are invoked for event registration, then event subscription is achieved, but memory consumption increases
Solution Approach 1:
Event registration information is prepared in advance and embedded within the applet installation parameters. The event list, along with other configuration data, is transmitted to the card computing device during the installation phase, allowing the runtime environment to automatically register events without requiring additional memory for separate registration data structures.
3Reliability
If explicit API invocations are required, then event registration is achieved, but ease of operation worsens
Solution Approach 1:
The patent merges event registration operations into the standard applet installation workflow. By embedding event list data in the install command parameters and having the runtime environment handle automatic registration, the process becomes as simple as installing any other applet, significantly improving ease of operation.
Data Source
AI summary
A method involves registering events. The method may include receiving an install command for an applet by a runtime environment executing on a card computing device. The install command may comprise a tag-length-value (TLV) structure with a tag identifying an event-list for registration with a toolkit registry of the runtime environment. Further, the event-list may comprise a toolkit event. The method may further include executing, by the runtime environment, the install command for the applet. The method may further include creating an applet instance of the applet in response to executing the install command. The method may further include registering the applet instance with the toolkit registry by generating, by the runtime environment, a toolkit registry object for the applet instance. Registering the applet instance with the toolkit registry may further include assigning the toolkit registry object to the applet instance. The method may further include identifying the toolkit event of the event-list based on the tag of the TLV structure of the install command. The method may further include registering the toolkit event of the event-list to the toolkit registry object assigned to the applet instance.


