Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for invoking local method in Java card

A method invocation, local technology, applied in the direction of multi-programming device, program startup/switching, program control design, etc., can solve the problems of increasing system performance overhead, slowing down application program speed, tedious calling steps, etc. The positioning process, speeding up the calling process, and ensuring the effect of security

Inactive Publication Date: 2016-03-23
DATANG MICROELECTRONICS TECH CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] From the above description, it can be found that the current steps to implement local method calls are very cumbersome, and a series of positioning processes need to be performed according to the identification corresponding to the method to be called, and then the index corresponding to the method can be obtained, so as to realize the local method call. method call
Such cumbersome calling steps will undoubtedly increase the performance overhead of the entire system, resulting in slower running speed of the application and bringing a bad experience to the user.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for invoking local method in Java card
  • Method and device for invoking local method in Java card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0028] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0029] figure 1 A flow chart of a method for implementing local method calling in a Java card provided by an embodiment of the present invention. Although the processes described below include multiple operations occurring in a particular order, it shoul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for invoking a local method in a Java card, wherein the method comprises the following steps: additionally arranging an Invoke Native instruction in an instruction system of the Java card; analyzing the type of the method corresponding to a method for invoking an Invoke Static instruction when code connection between the Java card and an application is carried out; and, when the analyzed type of the method is the local method, modifying a local method invoking instruction into the Invoke Native instruction, and storing a local method index in the Invoke Native instruction. According to the method and device for invoking the local method in the Java card provided in the embodiment of the invention, the step of invoking the local method can be simplified; rapid running of an application program in the Java card can be ensured; furthermore, the local method invoking permission is limited in an internal packet of the Java card through a permission check method; and thus, the local method invoking safety can be ensured.

Description

technical field [0001] The invention relates to the technical field of instruction operation in a data processing system, in particular to a method and a device for realizing local method calling in a Java card. Background technique [0002] A Java Card is a smart card that can run Java programs. There are often application programs in the Java card. These application programs can be stored in the Java card when it is developed, or can be added after the Java card is issued. These application programs can often be modified on the Java card. Each application can be firewalled to maintain its integrity and prevent interference. [0003] When Java is stuck in the working process, it often needs to call various methods. These methods may include, for example, native methods as well as ordinary static methods. The local method may be a method implemented in C language, and is an interactive interface between Java code and C language code. [0004] At present, the Java Card im...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/48
CPCG06F9/4843
Inventor 秦远富肖洪琨朱良销
Owner DATANG MICROELECTRONICS TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More