Font Size: a A A

Design Ofthe Embedded Real-Time Java Platform And Application In Image Processing

Posted on:2013-04-30Degree:MasterType:Thesis
Country:ChinaCandidate:Z H GaoFull Text:PDF
GTID:2248330371964563Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
Java with its features of object oriented, platform-independence and security.etc, has became a mainstream embedded system programming language, but the running rate of Java programs is so slow that has limited the real-time of processing. Thus, the embedded real-time Java processor was begun to put forward both in domestic and overseas, Such as aJile-80 of aJile system, aJile-100, Komodo, JOP, FemtoJava, etc. Some of them can not support the RTSJ mechanism,and some can not be realized on the low-end FPGA chip, then the real-time 32-bit RISC processor named JPOR-32 was designed which can fit the low-end of the embedded equipment and support the RSTJ mechanism. Java have huge of libraries for image and video processing, which has made more and more concerned in the field of image processing applications. It is necessary to achieve the image processing in the real-time Java platform without afecting the real-time, high efficiency, scalability of the JPOR-32. The instability of the time in creating an array and handling the exception in the traditional JVM makes the real-time of executing the image processing programs bad. And can not make real-time control of excuting the program code, to view the processing result during running still by machine control or setting a breakpoint.For the real-time prolems in the realization of image processing, this paper made following several work:1、Based on the analysis of data structure, the real-time improvement of array creation instructions is proposed, making the creation of multi-dimensional array into a plurality of one-dimensional array creation process, which improved the execution efficiency and achieved the implementation of clock cycles can be forecast after ensured the real-time basis.2、Classified the exception objects and exception hadling, thus established three cases: exception thrown and captured by system, exception thrown by system but captured by user, exception thrown and captured by user. Aiming at the exception mechanism, a kind of like-linear data structure is proposed, greatly improved the efficiency on the base of ensuring the real time feature, and realized the linear variation of exception matching time.3、Improved the original architecture of the hardware in the real-time platform, and extended four time instructions, achieved the real-time control of code segment with the exception handle mechanism, which avoided errors with non-real-time exception hanling through the right choice of the exception types.Finally, anaysised and implemented several image processing applications with the image analysis algorithms which are used in common, with the accuracy results of the image processing applications, verified the successful of improvements on the platform.
Keywords/Search Tags:real-time Java platform, image processing, Exception handling, time control
PDF Full Text Request
Related items