Method for execution of JAVA program instruction in smart card

A program instruction and execution method technology, which is applied to the execution field of JAVA program instructions in a smart card, can solve the problems of time consumption, complex virtual machine, unsatisfactory smart card operation efficiency, etc., and achieves the effect of convenient development

Inactive Publication Date: 2008-07-30
EASTCOMPEACE TECH
View PDF1 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, since this kind of virtual machine still needs to translate the macro code into local code to execute, it still takes a certain amount of time, and the operating efficiency of the smart card is still not ideal.
At the same time, it is also necessary to set an indirect thread interpreter in the virtual machine, which makes the virtual machine more complicated, which is not conducive to the easy development of smart cards

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 for execution of JAVA program instruction in smart card
  • Method for execution of JAVA program instruction in smart card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Referring to FIG. 1 , FIG. 1 is a schematic block diagram of the structure of a smart card applying the embodiment of the method for executing JAVA program instructions of the present invention. The smart card 1 includes a central processing unit 11 and memory, wherein the memory includes ROM12, RAM13 and EEPROM14, and the program of the smart card 1 is stored in the ROM12, including operating system programs and application programs. The operating system program of the smart card 1 is written in JAVA language, so a virtual machine capable of executing the JAVA program needs to be set in the smart card 1 . A virtual machine is a virtual device implemented by software for interpreting and executing JAVA programs.

[0020] Referring to FIG. 2 , FIG. 2 is a schematic diagram of a bytecode read by a virtual machine in an embodiment of the present invention. Smart card developers use JAVA language to write the operating system program 21 of the smart card, and the operating...

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 an implementing method for the JAVA program instruction in a smart card. A virtual computer which can execute the JAVA program, as well as a central processing unit and a memory which can be visited by the central processing unit are arranged in the smart card, and the bytecode of the JAVA program is stored in the memory. The method comprises the following steps that: the bytecode is changed into a series of callings to the native code, so as to from a native program; the native program is compiled into a native executable code, and the native executable code is stored in the memory of the smart card; a virtual computer reads the byte code, and judges whether the native program which corresponds to the read byte code exists, if yes, the corresponding program is executed, if no, the read byte code is explained and executed. By utilizing the method of the invention to execute the JAVA program, the executing time of the JAVA program is greatly reduced, and the running speed of the smart card is improved.

Description

technical field [0001] The invention relates to an interpretation and execution method of a high-level language, in particular to an execution method of JAVA program instructions in a smart card. Background technique [0002] As a high-level programming language, JAVA language is adopted as a programming tool language for operating system programs and application software because of its simplicity, security, and portability. Because the JAVA language has the characteristics of cross-platform, general computer system hardware devices cannot directly execute programs written in the JAVA language. For example, some existing smart card operating system programs are written in JAVA language, and the program is compiled and stored in the smart card in the form of bytecode, but the central processing unit of the smart card cannot directly execute the bytecode compiled in JAVA language. Therefore, a virtual machine needs to be set in the smart card, and the virtual machine translat...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45G06K19/07
Inventor 施伟周朱怡汪辉
Owner EASTCOMPEACE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products