北京航空航天大学学报 ›› 2009, Vol. 35 ›› Issue (1): 78-81.

• 论文 • 上一篇    下一篇

Java智能卡解析优化方法

张大伟, 丁文锐   

  1. 1. 北京交通大学 计算机与信息技术学院, 北京 100044;
    2. 北京航空航天大学 无人驾驶飞行器设计研究所, 北京 100191
  • 收稿日期:2008-02-29 出版日期:2009-01-31 发布日期:2010-09-16
  • 作者简介:张大伟(1974-),男,辽宁朝阳人,讲师,dwzhang@bjtu.edu.cn.
  • 基金资助:

    国家863基金资助项目(2007AA01Z410)

Optimization of resolution on Java card

Zhang Dawei, Ding Wenrui   

  1. 1. School of Computer and Information Technology, Beijing Jiaotong University, Beijing 100044, China;
    2. Research Institute of Unmanned Aerial Vehicle, Beijing University of Aeronautics and Astronautics, Beijing 100191, China
  • Received:2008-02-29 Online:2009-01-31 Published:2010-09-16

Abstract: The pre-resolution was proposed based on the process of Applets deployment in order to optimize the resolution on Java card. At first, The optimized structure of import, constant pool and export component in CAP(converted Applet file)and package registration table were given. The fixed length structure instead of variable length structure in optimized components was used so as to speed up the search of resolution objects. Furthermore, the index of export component was designed to improve the resolution of classes in external packages. Secondly, the fast runtime resolution algorithms of static fields, static methods and classes were designed based on this optimized structure. The time complexity of those algorithms is O(1). Thirdly, the optimized component structures were generated by pre-resolution during Applet download. The fast resolution of static fields, static methods and classes was implemented with runtime resolution based on those optimized structures. Test results show that this optimization algorithm reduces the times of memory access, speeds up the execution of resolution and improves the runtime performance of Applets on Java card.

中图分类号: 


版权所有 © 《北京航空航天大学学报》编辑部
通讯地址:北京市海淀区学院路37号 北京航空航天大学学报编辑部 邮编:100191 E-mail:jbuaa@buaa.edu.cn
本系统由北京玛格泰克科技发展有限公司设计开发