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.

CN121501385AActive Publication Date: 2026-02-10BEIJING ZHAOXUN HENGDA TECH CO LTD
4 Cites 0 Cited by

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

Technical Problem

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.

Method used

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.

Benefits of technology

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.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention provides a method for calling a Native function through a JAVA card, a program product, electronic equipment and a storage medium, and the method comprises the steps: receiving a function calling request initiated to a recompiled JAVA operating system through the JAVA card based on a pre-defined unified calling interface, the function calling request being used for calling a target Native function, the recompiled JAVA operating system is integrated with a bridging file generated according to a unified calling interface, the bridging file is mapped to a Native layer, and the recompiled JAVA operating system is pre-linked with one or more Native function libraries; and in response to the function calling request, routing the function calling request to a unified distribution function of a Native layer by the recompiled JAVA operating system through bridging mapping, and calling an operation function in a corresponding Native function library to execute a target Native function. And an efficient request distribution process is realized.
Need to check novelty before this filing date? Find Prior Art