| 研究生: |
楊程凱 Yang, Cheng-Kai |
|---|---|
| 論文名稱: |
設計與實作嵌入式系統環境下的可移植JVM圖形環境 Design and Implementation of a Portable Java-based Graphic Library in JVM for Embedded Systems |
| 指導教授: |
侯廷偉
Hou, Ting-Wei |
| 學位類別: |
碩士 Master |
| 系所名稱: |
工學院 - 工程科學系 Department of Engineering Science |
| 論文出版年: | 2006 |
| 畢業學年度: | 94 |
| 語文別: | 中文 |
| 論文頁數: | 50 |
| 中文關鍵詞: | Java虛擬機器 、圖形函式庫 、嵌入式系統 |
| 外文關鍵詞: | graphic library, JVM, embedded system |
| 相關次數: | 點閱:230 下載:2 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
嵌入式系統環境中,欲使用Java製作圖形式互動應用程式,需具備繪圖能力之Java執行環境。目前提供繪圖能力的JVM皆屬於AWT配合原生圖形函式庫達到繪圖之目的。當移植AWT時要根據不同之原生圖形函式庫撰寫配合的AWT處理機制,且執行時發生異常狀況不易除錯。這種架構對於移植一個具備繪圖能力的JVM較為費時。
本研究著眼於易移植的觀點,設計一個基於Java的圖形函式庫。將繪圖所需之底層需求減少至最小集合,只需依輸出入介面實作各種嵌入式之裝置,即可很容易的移植一個穩定且具備繪圖能力之JVM。
本論文所提出之圖形函式庫擁有輸入介面、輸出介面、以及提供AWT呼叫之API介面,並且將之移植至x86及ARM9兩種不同平台驗證。雖移植後此圖形函式庫具有繪圖速度較慢之缺點,但可將此圖形函式庫以硬體實作加快執行速度。
This work is to study the portability of Java AWT. Based on the experiences of porting AWT to QT and MicroWindows, we find that it takes time and efforts to port AWT, especially for the exceptions of the underlying graphic library. Hence we intend to define a new graphic library that is consisted of two layers. The bottom layer is toward a minimum set of graphic primitives that is required by AWT, and the all the other AWT required primitives is a layer directly under AWT. To port AWT is to port the bottom layer of the proposed graphic library.
We define the API of the proposed graphic library, port it to JVM plus AWT environments on X86 and ARM9 platforms respectively. The functionality of the proposed library is demonstrated. However, due to Java implementation, its performance is not comparable to native libraries.
[1] Todd Sundsted, “New specs signal a growth spurt for Java 2 Platform's smallest edition”,
http://www-128.ibm.com/developerworks/library/j-j2me/
[2] SUN Microsystems, “Java ME Documentation”,
http://java.sun.com/javame/reference/docs/index.html
[3] 財團法人工業技術研究院, “數位廣播電視系統整合之研究”, 研究
報告, 交通部電信總局, Nov 2004.
[4] SUN Microsystems, “JSR 129 –Personal Basis Profile SPEC”,
http://www.jcp.org/en/jsr/detail?id=129
[5] Dan Garcia, “Scan Conversion Distillation”,
http://www.cs.berkeley.edu/~ddgarcia/cs184/r3/
[6] Blaise Gassend, “The Intellimouse Protocol”,
http://www.mit.edu/people/gassend/protocols/intellimouse/
[7] Microsoft, “Compatibility of Type 2 Pointing Devices with MS
IntelliMouse”,
http://www.microsoft.com/whdc/device/input/mcompat.mspx
[8] Karim Yaghmour, 蔣大偉譯, “建構嵌入式LINUX 系統
BUILDING EMBEDDED LINUX SYSTEMS”, O’Reilly, Apr 2004.
[9] Jonathan Kundsen, 張晏誠譯, “Java 2D 圖學技術”, O’Reilly, Sep
2000.
[10] Thomas Porter and Tom Duff, “Compositing Digital Images”,
Computer Graphics, Volume 18 No.3, pp 253-259, Jul 1984.
[11] SUN Microsystems, “SUN modified Microwindows for PBP”,
http://experimentalstuff.sunlabs.com/Technologies/mwpbp/index.html
[12] Trolltech, “Qt/Embedded”,
http://www.trolltech.com/products/qt/qt3/embedded/