当前位置:主页 > 科技论文 > 计算机论文 >

嵌入式实时Java平台设计及其在图像处理中的应用

发布时间:2018-10-29 22:35
【摘要】:Java以其面向对象、平台无关、安全性等特性成为嵌入式系统的主流设计语言,但Java程序运行速率比较慢,实时处理受到了限制,因此国内外开始出现面向嵌入式的实时Java处理器,如aJile system的aJile-80、aJile-100、Komodo、JOP、FemtoJava等,但有的不支持RTSJ机制,有的无法在低端FPGA芯片上实现,适用于低端嵌入式设备的实时32位RISC型Java处理器JPOR-32应用而生。且Java庞大的图像、视频处理库,使得它在图像处理领域的应用与研究越来越受关注。在不影响JPOR-32实时性、高效性、可扩展性的前提下,在实时Java平台上对图像处理进行实现十分必要。由于传统的JVM的数组创建时间及异常处理时间的不稳定性使得图像处理程序的执行实时性很差。且不能对运行中的程序代码进行实时控制,仍以机器控制或设置程序断点的形式查看运行中的处理结果。 针对上述图像处理过程中的实时性问题,本文主要做了以下几个工作: 1、在对数据结构分析后,提出了数组创建指令的实时改进,使得多维数组的创建转变成多个一维数组的创建过程。在确保实时性的基础上,提高了执行效率,并实现了执行时钟周期的可预测。 2、对异常对象和处理方式进行分类,进而确立了系统抛出系统捕获、系统抛出用户捕获、用户抛出用户捕获三种情况。针对异常机制的实现,提出了一种类线性数据结构,在确保实时性的基础上,大大提高了执行效率,并实现了异常匹配时间呈线性变化。 3、在实时Java平台上对原有的硬件体系结构改进,并扩展了四条时间指令,结合异常处理机制,实现了代码段的实时控制,通过异常类型的选择避免了异常处理非实时导致的错误运行结果。 最后针对几个图像处理过程中常用到的图像算法进行分析和实现,以处理结果的准确性来验证平台功能扩展实现成果。
[Abstract]:Java has become the mainstream design language of embedded system because of its object-oriented, platform-independent and security characteristics, but the running speed of Java program is relatively slow, and the real-time processing is restricted. Therefore, embedded real-time Java processors, such as aJile-80,aJile-100,Komodo,JOP,FemtoJava of aJile system, are emerging at home and abroad. However, some do not support RTSJ mechanism, others cannot be implemented on low-end FPGA chips. Real-time 32-bit RISC Java processor JPOR-32 applications for low-end embedded devices. And the huge image and video processing library of Java makes its application and research in the field of image processing more and more concerned. On the premise of not affecting the real time, high efficiency and expansibility of JPOR-32, it is necessary to realize the image processing on the real time Java platform. Because of the instability of the traditional JVM array creation time and exception processing time, the real-time performance of the image processor is very poor. And the running program code can not be real-time control, still machine control or set the program breakpoint in the form of the processing results in the operation. Aiming at the real-time problem in the process of image processing mentioned above, this paper mainly does the following work: 1. After analyzing the data structure, the real-time improvement of array creation instruction is put forward. The creation of multidimensional arrays is transformed into the creation of multiple one-dimensional arrays. On the basis of ensuring real-time performance, the execution efficiency is improved and the execution clock cycle can be predicted. Secondly, the exception objects and handling methods are classified, and then three kinds of cases are established: the system throws the system capture, the system throws the user capture, and the user throws the user capture. A kind of linear data structure is proposed for the implementation of exception mechanism. On the basis of ensuring real-time performance, the execution efficiency is greatly improved, and the abnormal matching time is linearly changed. 3. The hardware architecture is improved on the real-time Java platform, and four time instructions are extended, and the real-time control of code segment is realized with exception handling mechanism. The exception type is chosen to avoid the error result caused by exception handling in non-real-time. Finally, several image algorithms are analyzed and implemented in the process of image processing, and the results are verified by the accuracy of the processing results.
【学位授予单位】:江南大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.1;TP391.41

【参考文献】

相关期刊论文 前8条

1 王新雨;须文波;柴志雷;;Java虚拟机中异常机制实时性的研究及实现[J];计算机工程与应用;2008年34期

2 杨仕平,熊光泽,桑楠;实时异常处理技术的探讨[J];计算机工程;2004年21期

3 苏超云;柴志雷;涂时亮;;实时Java平台的类预处理器研究[J];计算机工程;2010年07期

4 杨帆;高振华;柴志雷;;WCET可预测的Java指令集硬件实现[J];计算机工程;2012年01期

5 陈兆蓉;陈一;钟科;;CEREC全瓷贴面的临床应用[J];西南国防医药;2011年06期

6 陈海敏;黄云峰;黄振滔;;CPS环境下时间特性的研究[J];信息与电脑(理论版);2011年03期

7 叶新栋;柴志雷;涂时亮;;一种Java处理器的体系结构设计与研究[J];小型微型计算机系统;2011年03期

8 黄志强;;21世纪外科从2D到3D—从腹腔镜到机器人[J];中华普外科手术学杂志(电子版);2010年03期

相关硕士学位论文 前3条

1 马伟锋;分布式遥感影像处理技术研究与原型系统构建[D];浙江工业大学;2005年

2 孙秋慧;虚拟演播室的研究和开发[D];长春理工大学;2008年

3 李君;基于Web的分布式图像处理技术研究与系统实现[D];浙江工业大学;2009年



本文编号:2299030

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2299030.html


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

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