首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Java智能卡解析优化方法
引用本文:张大伟,丁文锐.Java智能卡解析优化方法[J].北京航空航天大学学报,2009,35(1):78-81.
作者姓名:张大伟  丁文锐
作者单位:北京交通大学计算机与信息技术学院,北京,100044;北京航空航天大学无人驾驶飞行器设计研究所,北京,100191
基金项目:国家863基金资助项目(2007AA01Z410)
摘    要: 针对复杂的传统Java智能卡指令解析问题,结合Applet的部署特点,提出了指令预解析的概念;给出了转换后的Applet文件(CAP,Converted Applet file)中导入组件、常数池和导出组件的预解析优化存储结构及包注册表结构,使用定长存储结构替代原有的变长存储结构以加快查找过程,引入了导出组件辅助索引表以加快外包类的解析过程;设计了基于优化后组件的静态域、静态方法和类访问字节码指令的快速解析流程,将解析算法的时间复杂度降为常数阶;在Applet下载过程中通过预解析来生成优化后的组件存储结构,在执行过程中依据快速解析流程来完成静态域、静态方法和类对象的快速访问,从而缩短了Applet运行时的解析时间.测试结果表明,在不改变标准Applet下载、运行流程的情况下,该方法有效地减少了卡内存储器的访问次数,缩短了解析算法的执行时间,提高了Applet执行的整体性能.

关 键 词:Java编程语言  智能卡  优化
收稿时间:2008-02-29

Optimization of resolution on Java card
Zhang Dawei,Ding Wenrui.Optimization of resolution on Java card[J].Journal of Beijing University of Aeronautics and Astronautics,2009,35(1):78-81.
Authors:Zhang Dawei  Ding Wenrui
Institution: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
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...
Keywords:Java programming language  smart cards  optimization  
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《北京航空航天大学学报》浏览原始摘要信息
点击此处可从《北京航空航天大学学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号