Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for optimizing virtual machines of java cards

An optimization method and virtual machine technology, applied in the field of smart cards, can solve problems affecting the execution performance of Java Card virtual machines, low execution efficiency of Java Cards, etc., and achieve the effect of improving operating efficiency and improving operating efficiency

Active Publication Date: 2016-06-08
北京博思汇众科技有限公司
View PDF9 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, a very important aspect that restricts the development of Java Card is its low execution efficiency. The reason for this inefficiency is not only limited by the hardware resources of the smart card and the bytecode interpretation and execution mechanism of the Java language, but also the main reason is that The application storage structure and related mechanisms of JCVM (Java Card Virtual Machine) seriously affect the execution performance of Java Card Virtual Machine

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 system for optimizing virtual machines of java cards
  • Method and system for optimizing virtual machines of java cards
  • Method and system for optimizing virtual machines of java cards

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0029] The present invention provides an optimization method and system for a java card virtual machine, which predicts and locates import data, class data, field data, and staticmethod data that need query and reference operations during the application download process, and modifies the application content and structure is a direct reference to the data above. The present invention optimizes the Java virtual machine based on the life cycle characteristics of the Java card object to meet the efficiency requirements of...

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 discloses a method and system for optimizing virtual machines of java cards. The method comprises the following steps: downloading a java card application program, wherein the java card application program is a cap package, and the cap package comprises components and a constant pool component which is used for indexing the components; in the downloading process of the java card application program, traversing the constant pool component in the cap package and carrying out a pre-operation so as to obtain target information corresponding to quotation information; backfilling the target information corresponding to the quotation information and an extended type structure into the constant pool component; and directly indexing the target information from the constant pool component through the modified structure by a java card application program interpreter. According to the method and system, a large number of internal skipping and external traversing are not required through the original method, so that the running efficiency of the java cards can be improved.

Description

technical field [0001] The invention relates to the technical field of smart cards, in particular to a java card virtual machine optimization method and system. Background technique [0002] Java Card is an open standard developed by Sun Microsystems for the smart card development platform. A Java applet (Application abbreviation) is stored on a smart card created using the Java Card platform. It is also possible to add applets to the card or modify existing applets on the card after the card is issued. They store data in an integrated microprocessor chip, and then applets are downloaded to the non-volatile memory of the microprocessor and run by the Java virtual machine. [0003] The Java card makes full use of the platform independence of the Java language, enabling the Java idea of ​​"write once, run anywhere" to be realized on the smart card. Compared with ordinary smart cards, Java Card has the characteristics of platform independence, multi-purpose and reuse, flexib...

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/455
CPCG06F9/45516G06F9/45558
Inventor 邹德强
Owner 北京博思汇众科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products