Java card debugging protocol conversion method and conversion agent thereof
A technology of protocol conversion and java application, which is applied in the field of Java cards, can solve problems such as inability to realize real-card debugging and debugging, and achieve the effects of facilitating function expansion, reducing development, and increasing versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Embodiment 1 of the present application provides a Java card debugging protocol conversion method, such as figure 1 As shown, it is applied in the Java card debugging protocol conversion agent, and the method includes:
[0036] Step 110, in response to receiving the APDU instruction of the Java application program, the Java card debugging protocol conversion agent splits the APDU instruction into multiple DPDUs and sends them to the Java card, receives the breakpoint trigger returned by the Java card, generates a breakpoint event and notifies Java debugging tools;
[0037] In the embodiment of this application, the Java card debugging protocol conversion agent is implemented by Java code, which can provide a corresponding API interface externally, can receive instructions in APDU format sent by a Java application program, and can be connected to a physical card reader through a PCSC interface. Thereby realizing the purpose of communicating with the Java Card; wherein, ...
Embodiment 2
[0065] Embodiment 2 of the present application shows the working method of the debugging system, such as figure 2 , 3 , Shown in 4,5, wherein, debugging system comprises Java card, Java card debugging protocol conversion agent and Java debugging tool;
[0066] figure 2 After the Java card debugging protocol conversion agent receives the APDU command sent by the Java application, it starts the session, sends the data header command (apdu header) to the smart card, and receives the response returned by the smart card (including returning res=6102 / 9600 / 9400 / 9210) Process line diagram.
[0067] image 3 After the Java card debugging protocol conversion agent sends the data header instruction to the smart card, and returns a response 6102 / 9210, the Java card debugging protocol conversion agent respectively executes the flow diagram of the corresponding operation.
[0068] Figure 4 After the Java card debugging protocol conversion agent sends the data header command to the s...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com