Supercharge Your Innovation With Domain-Expert AI Agents!

Method for analysis and execution of local variable byte code of JAVA card by applying chip hardware

A technology of local variables and bytecodes, applied in the field of JAVA smart cards, can solve problems such as difficulty in meeting performance requirements, performance degradation, and low CPU frequency

Inactive Publication Date: 2016-05-11
BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the limited resources of the current smart card chip, the low CPU frequency, and the slow execution speed of the JAVA card virtual machine implemented by software coding, it is difficult to meet the transaction performance indicators required by the industry when analyzing and executing banking and financial related applications.
And after adding the security mechanism, the performance drops seriously, making it more difficult to meet the performance requirements of industry applications

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 analysis and execution of local variable byte code of JAVA card by applying chip hardware
  • Method for analysis and execution of local variable byte code of JAVA card by applying chip hardware
  • Method for analysis and execution of local variable byte code of JAVA card by applying chip hardware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The process of analyzing and executing the local variable bytecode of the JAVA card provided by the present invention by using the chip hardware will be further described below in conjunction with the accompanying drawings and examples.

[0017] 1. Stack management

[0018] as attached figure 1 As shown, the JAVA card stack frame includes an operand stack, a local variable area, and a context information area. The operand stack is the bytecode operand stack area of ​​the JAVA card, and the local variable area is the local variable storage area of ​​the current method of the JAVA card. In the process of JAVA card bytecode parsing and execution, data mainly interacts in the operand stack and local variable areas. The performance of this area will greatly affect the performance of JAVA card virtual machine bytecode parsing and execution. In the present invention, the attached figure 1 The FP (stack bottom), G_FP_top (local variable stack top), and SP (operand stack top...

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 for analyzing a local variable byte code of a JAVA card by hardware. The method comprises the following steps of returning to initialization of status word (SW) through instruction execution; determining a pointer PC of the byte code is not 0, wherein the current byte code is not processed by a native method; reading the byte code at the current pointer PC; and calling an instruction processing byte code of central processing unit (CPU) by a byte code processing function according to the read byte code. With the adoption of the method, the problems of low performance and difficulty in reaching the performance index applied in the industry because the byte code of the JAVA card is realized by software in the JAVA card industry can be solved.

Description

technical field [0001] The invention relates to the field of JAVA smart cards, in particular to a method for analyzing and executing local variable byte codes of a JAVA card by using chip hardware. Background technique [0002] The JAVA card virtual machine (hereinafter referred to as JCVM) is a simplified version of the java virtual machine loaded on the smart card chip. The technical core of the virtual machine is the management of the JAVA card stack frame and the analysis and execution of the JAVA card bytecode. However, due to the limited resources of the current smart card chip, the low CPU frequency, and the slow execution speed of the JAVA card virtual machine implemented by software coding, it is difficult to meet the transaction performance indicators required by the industry when analyzing and executing banking and financial related applications. And after adding the security mechanism, the performance drops seriously, making it more difficult to meet the performa...

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/455G06F9/45
Inventor 崔炳荣
Owner BEIJING CEC HUADA ELECTRONIC DESIGN 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