Method for calling Native function by JAVA card, program product, electronic equipment and storage medium
By defining a unified calling interface and a two-level routing mechanism in the JAVA card, the problems of frequent interface changes and high coupling when the JAVA card calls native functions are solved, realizing efficient and automated function calls and simplified system maintenance, which is suitable for multi-vendor collaboration scenarios.
Patent Information
- Application Number
- CN202610042988.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-14
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2046-01-14
AI Technical Summary
Existing Java cards suffer from frequent interface changes, high coupling, maintenance difficulties, and the risk of source code leakage when calling native functions, especially in multi-vendor collaboration scenarios where development and maintenance are complex.
By defining a fixed and unchanging unified calling interface, and combining a two-level routing mechanism of library index and function identifier, an efficient and automated request distribution process is achieved using automatically generated bridge mapping. This process accurately routes JAVA layer requests to the corresponding native functions, and supports pre-linking and independent development of third-party binary libraries.
It reduces the coupling between the Java card and native functions, improves calling efficiency and system automation, supports cross-vendor parallel development, protects source code, and simplifies system updates and maintenance.