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

Page operation-based electrically erasable programmable read-only memory (EEPROM) cache method

A buffering method and a unified technology, applied in the field of java cards, can solve problems such as EEPROM life discount, performance degradation, and severe problems, and achieve the effects of improving actual performance, saving use costs, and increasing service life

Active Publication Date: 2011-05-25
WUHAN TIANYU INFORMATION IND
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, in the frequent assignment of objects, the performance will be greatly reduced, and the frequent startup of transactions will greatly reduce the life of the EEPROM, such as image 3

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
  • Page operation-based electrically erasable programmable read-only memory (EEPROM) cache method
  • Page operation-based electrically erasable programmable read-only memory (EEPROM) cache method
  • Page operation-based electrically erasable programmable read-only memory (EEPROM) cache method

Examples

Experimental program
Comparison scheme
Effect test

specific example

[0047] The assignment operation of non-Transient objects will involve the write operation of EEPROM, such as:

[0048] byte array[] = new byte[256];

[0049] array[0]=(byte)0xA5;

[0050] array[1]=(byte)0x5A;

[0051] …

[0052] The array here is an object stored in the EEPROM, and the assignment to its members also occurs on the EEPROM. The corresponding bytecode is as follows:

[0053] sspush 256

[0054] newarray

[0055] astore_3

[0056] aload_3

[0057] sconst_0

[0058] bspush xa5

[0059] Bastore

[0060] aload_3

[0061] sconst_1

[0062] bspush x5a

[0063] Bastore

[0064] The cache mechanism based on page operation will assign values ​​to object members. Bastore adopts the interface of EEPROM cache, first saves it in RAM, and then submits it once when all assignments are completed. The data of the same page only needs to be submitted once , from which we can see that for the frequent assignment of general objects, the performance of the Java Card can ...

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 an electrically erasable programmable read-only memory (EEPROM) cache method for enhancing the performance of a Java card virtual machine. The contradiction of low performance caused by multi-application of a Java card and frequent writing of EEPROM is overcome. A full-page transaction mechanism is adopted, a process for writing EEPROM repeatedly in a transaction flow is combined into one or more large transactions, and one-step submission to EEPROM is performed in a page, so that transaction operation of the conventional small unit is substituted. By the method, using cost of the EEPROM is saved, and practical performance of the Java card is enhanced.

Description

technical field [0001] The invention belongs to the field of java cards, and specifically relates to an EEPROM cache method based on page operation, which can reduce the number of times of writing EEPROM in the running process of an applet, so as to improve the performance of the Java card. Background technique [0002] Java Card is the smallest member of the Java platform, and its execution environment is set to be a chip on a smart card or an environment with strict hardware restrictions. The advent of Java Card, on the one hand, is to promote the application level of Java, and on the other hand, it is also to bring the characteristics of the Java platform and the benefits of Java to the smart card. Due to the platform independence and security of developing applications on the Java Card, Java Cards have been used in various fields such as finance and communication. [0003] From the card software architecture, we can divide the Java Card into the following modules: GPAPI...

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/46
Inventor 熊传光丁峰
Owner WUHAN TIANYU INFORMATION IND
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