Java Card虚拟机的研究与优化

发布时间:2018-06-24 04:45

  本文选题:JCVM + 解析优化 ; 参考:《广东工业大学》2014年硕士论文


【摘要】:随着信息技术的高速发展,人们的日常生活中涌现了大量的科技产品,而人们对于生活品质的更高追求使得对于科技产品的体验提出了更高要求。Java Card技术自诞生起便凭借其自身的平台无关性、单卡多应用、动态添加和删除特性和高安全性等优点立即在私人信息存储、身份验证、电子货币和通信等各个方面得到广泛应用。Java Card技术是在原来COS智能卡的基础上引进Java技术而形成的,主要包括Java Card虚拟机和Java语言开发两部分,其中Java Card虚拟机为系统字节码程序的执行、内存管理和异常管理等方面提供了可靠的支持。智能卡技术在欧美国家起步早,经过长期的发展,已经形成成熟的技术体系,并且实行了严格的技术出口控制,使得许多国内智能卡技术运营商不得不花费大量版权使用费引进国外技术。我国智能卡技术虽然近年来发展迅速,但是仍然处于落后追赶的状态,这已经对我国生产发展产生了严重影响,因此研发拥有自主知识产权的智能卡技术具有现实意义。在Java Card技术中JavaCard虚拟机处于核心地位,主要负责二进制字节码文件的解析和解释执行、存储空间的管理和异常处理等工作。由于Java Card系统硬件有限,系统空间利用率的提升显得尤其重要。 本文分析了Java Card系统的结构组成,对JCVM模型和Applet开发流程进行了研究。主要做了以下工作: 1.在字节码解析方面,为了提升系统空间利用效率,通过对Applet开发流程的分析并结合Java Card虚拟机卡内和卡外协同合作的思想,在详细阐述JCVM传统动静态解析过程的基础上设计了基于协同思想的动静态解析优化方案,减少了系统空间资源的消耗,提高了解析速度。 2.在解释器方面,为了提高系统解释执行时指令和程序的匹配率,在分析JCVM解释器结构基础上,结合指令系统的特性,提出了基于部分翻译思想的解释器优化方案。 3.在垃圾回收方面,分析了系统存储管理机制,针对Java语言的面向对象特性,设计了系统的对象管理机制。在对比经典垃圾回收算法的基础上,设计了基于分代思想的垃圾回收算法,其中复制过程通过使用基于RAM的缓冲事务技术来实现,减少了EEPROM存储器的写操作次数,延长了存储器寿命。 通过对全文的总结,分析了系统现在还存在的一些问题和有待进一步进行深入研究的的内容。
[Abstract]:With the rapid development of information technology, a large number of scientific and technological products have emerged in people's daily lives. However, the higher pursuit of quality of life has made the experience of scientific and technological products more demanding. Java Card technology has relied on its own platform independence since its birth, and single card has many applications. The advantages of dynamic adding and deleting features and high security are widely used in many fields such as private information storage, authentication, electronic currency and communication. Java Card technology is based on the introduction of Java technology on the basis of COS smart card. Java Card Virtual Machine and Java language development are mainly included. Java Card Virtual Machine provides reliable support for system bytecode program execution, memory management and exception management. Smart card technology started early in Europe and the United States, after a long period of development, has formed a mature technology system, and has implemented strict technology export control. Many domestic smart card technology operators have to spend a lot of royalties to import foreign technology. Although the smart card technology in China has developed rapidly in recent years, it is still in the state of lagging behind and catching up, which has had a serious impact on the production and development of our country, so it is of practical significance to develop the smart card technology with independent intellectual property rights. Java Card virtual machine is the core of Java Card technology. It is mainly responsible for parsing and interpreting binary bytecode files, managing storage space and handling exceptions. Because of the limited hardware of Java Card system, it is very important to improve the utilization rate of system space. In this paper, the structure of Applet Card system is analyzed, and the JCVM model and Applet development process are studied. The main work is as follows: 1. In the aspect of bytecode parsing, in order to improve the efficiency of system space utilization, by analyzing the development process of Applet and combining the idea of cooperation between inside and outside of Applet virtual machine card, Based on the detailed description of the traditional dynamic and static analysis process of JCVM, the optimization scheme of static and static analysis based on cooperative thought is designed, which reduces the consumption of space resources of the system and improves the analytical speed. 2. In the aspect of interpreter, in order to improve the matching rate of instruction and program, based on the analysis of the structure of JCVM interpreter and the characteristics of instruction system, an optimized scheme of interpreter based on partial translation is proposed. In the aspect of garbage collection, the storage management mechanism of the system is analyzed, and the object management mechanism of the system is designed according to the object-oriented characteristic of Java language. On the basis of comparing the classical garbage collection algorithm, a garbage collection algorithm based on generation idea is designed, in which the copy process is realized by using the buffer transaction technology based on RAM, which reduces the number of write operations of EEPROM memory. The memory life is prolonged. Based on the summary of the whole paper, some problems existing in the system and the contents that need to be further studied are analyzed.
【学位授予单位】:广东工业大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP302

【参考文献】

相关期刊论文 前7条

1 徐宏宁;李代平;张泽连;何利明;谢晶晶;;JCVM性能优化技术的研究[J];计算机工程与设计;2011年10期

2 王桓;;智能卡市场发展现状与前景展望[J];中国安防;2011年06期

3 陈贤闯;徐小良;;一种基于栈式分配的JVM垃圾收集算法[J];计算机系统应用;2010年07期

4 王凌飞;王保保;;Java虚拟机内存管理分析[J];现代电子技术;2007年05期

5 曾天慧;於时才;董荣辉;;Java垃圾收集机制及性能调节[J];计算机工程与设计;2006年17期

6 常青,靳伟,李春龙,张其善;JCVM解析优化设计与实现[J];北京航空航天大学学报;2004年12期

7 刘嵩岩,毛志刚,叶以正;Java卡的研究与实现[J];微电子学;2000年06期

相关博士学位论文 前1条

1 董威;多应用智能卡新技术研究[D];北京邮电大学;2008年

相关硕士学位论文 前8条

1 毛永华;Jcvm解释器的分析与设计[D];广东工业大学;2013年

2 徐金成;手机智能卡OTA的设计与实现[D];广东工业大学;2012年

3 谢晶晶;JCVM解释器的研究与设计[D];广东工业大学;2011年

4 郭建平;JCVM性能优化技术研究[D];华中科技大学;2009年

5 韩晶;Java卡字节码优化方法的研究与实践[D];华中科技大学;2008年

6 陈熹;YJVM-一种运行在嵌入式Linux内核中的Java虚拟机的设计与实现[D];上海交通大学;2007年

7 罗标;智能卡动态多应用管理的研究及实现[D];华中科技大学;2005年

8 秦保安;动态多应用智能卡中的卡操作系统研究及实现[D];华中科技大学;2005年



本文编号:2060076

资料下载
论文发表

本文链接:https://www.wllwen.com/falvlunwen/zhishichanquanfa/2060076.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户f17a3***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com