Java card stack performance test application program and making method for framework thereof

A technology of application program and production method, which is applied in the field of smart cards to achieve the effect of improving efficiency and ensuring authenticity

Inactive Publication Date: 2012-09-12
ZHEJIANG UNIV
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As far as we know, there is no effective standard method for the testability research of JCVM bytecode, which

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
  • Java card stack performance test application program and making method for framework thereof
  • Java card stack performance test application program and making method for framework thereof
  • Java card stack performance test application program and making method for framework thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0020] figure 1 Point out the basic structure of a Java source program Sadd.java based on addition. Sadd is a JavaCard subclass inherited from Applet. The function process() is responsible for processing APDU commands. When the received command type is INS_SADD_TEST , call the function saddTest() to execute the test of the loop body code. This program generates a file named Sadd.cap after compiling and converting. The present invention mainly modifies the byte code instruction of the corresponding content of the loop body code in the cap file. In order to ensure that the binary code of the file is not destroyed when the cap file is modified structure, must obtain enough programming space. Therefore, add multiple calculation assignment statements in the loop body (in this embodiment, add multiple addition assignment statements for illustration...

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 Java card stack performance test application program and a making method for framework thereof. A test is constructed source program in java programming language; loop body codes are added on the basis of the java source program to obtain a CAP file by compiling and converting; a position of 59 XX 01 is located in the CAP file, then a position of 'A5' is located forward; binary codes related to stack operation and required by the test are added between the 'A5' and the '59 XX 01' in the CAP file according to a JCVM bytecode instruction list. XX is a definition sequence number of a loop variable of the java source program in loop test function scope; the JavaCard CAP file is modified on a bytecode level to generate a special JavaCard Applet which can be used for directly testing Java card stack operation; the special JavaCard Applet assists in solving a problem that a normal JavaCard Applet can not test accurately Java card stack performance, and the special JavaCard Applet guarantees authenticity of Java card stack performance test results.

Description

technical field [0001] The invention relates to the technical field of smart cards, in particular to a method for making a Java card stack performance test application program and a framework thereof. Background technique [0002] In recent years, Java smart cards have been used in various fields of social life due to their good platform independence, multi-application support, good security features, object-oriented programming environment, simplicity of application development, and dynamic download of applications. It is widely used and has broad application prospects in many fields. For example, the domestic local financial bank card business is developing very rapidly. Among the 220 card issuing institutions in the country, 192 are local financial institutions. The number of cards issued by local financial institutions has reached 300 million, and the transaction volume accounts for about one fifth of the national total. Faced with such a huge card production system, it...

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): G06F11/22
Inventor 李莹张凌飞殷中科
Owner ZHEJIANG UNIV
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