Optimized Java Card transaction mechanism based on object locality

Dawei Zhang, Zhen Han, Wei Jin · 2010

Transaction mechanism is important for reliable update of data on multi-application cards like Java Card. The improvement of transaction performance is critical because of limited resources on smart cards. This paper presents an optimized transaction mechanism based on high object locality on Java Card. At first, the analysis of object access and storage locality in Applet transactions is given and then the transaction memory scheme in RAM and EEPROM is designed based on new value logging. Secondly, we design the caching and search method of logging items based on access locality so as to improve the speed of the transaction logging. At last, we optimize the commit process based on storage locality in order to reduce the number of EEPROM writing. The test results show that this optimized mechanism expands the transaction capacity and improves the execution speed of Java Card Applets.

Read the paper · More papers on PaperTik