伴隨著信息家電,手持設(shè)備,無線設(shè)備等的迅速發(fā)展,相應的硬件和軟件也得到迅速發(fā)展。許多設(shè)備都配有 Intel,MIPS,摩托羅拉等公司生產(chǎn)的32位微處理器,甚至還使用了液晶顯示器。許多開發(fā)商也開始為這些設(shè)備提供界面友好的嵌入式操作系統(tǒng)。
利用Linux搭建嵌入式操作系統(tǒng)是近年來出現(xiàn)的最令人振奮的方案。這有多方面的原因。首先,運行在嵌入式系統(tǒng)上的Linux能夠提供全功能的桌面計算(Desktop Computing),且由于其開放代碼,定制變得非常方便。其次,Linux 已經(jīng)支持大多數(shù)嵌入式系統(tǒng)上使用的芯片,包括 StrongARM , MIPS 和 PowerPC。 最后,Linux是免費的,使用Linux 不需要付出任何費用。所以利用 Linux 作為底層操作系統(tǒng), 其上使用一個 GUI 系統(tǒng)成為現(xiàn)在日益流行的嵌入式操作系統(tǒng)的解決方案。
市場上常見的 PDA 等小型手持式設(shè)備上,以前由于硬件條件等的限制,我們看到的用戶界面都非常簡單,幾乎看不到 PC 機上華麗美觀的 GUI 界面。但最近出現(xiàn)的 Palm 等手持式電腦或者在 Windows CE 等面向嵌入式系統(tǒng)的操作系統(tǒng)上,我們已經(jīng)看到了完整的圖形用戶界面支持。隨著手持式設(shè)備的硬件條件的提高,估計嵌入式系統(tǒng)對輕量級 GUI 的需求會越來越迫切。
本文主要討論了嵌入式智能家居系統(tǒng)中,嵌入式智能家居GUI模塊的設(shè)計及具體實現(xiàn)。圖形用戶接口因其良好的人機交互性能而在軟件系統(tǒng)中得到廣泛的應用。在嵌入式智能家居系統(tǒng)中,構(gòu)建一個占用資源少、高性能、易移植,兼容性強的圖形用戶接口,直接影響到系統(tǒng)應用軟件的可移植性,并對今后產(chǎn)品的多樣化和產(chǎn)品成本的競爭力有著重要影響。通過對嵌入式智能家居系統(tǒng)對GUI 系統(tǒng)的需求分析以及目前幾種流行的嵌入式GUI 系統(tǒng)性能,特點的評估,最終在嵌入式智能家居系統(tǒng)中采用了移植QT/Embedded作為其圖形用戶界面的解決方案。
關(guān)鍵詞:嵌入式系統(tǒng);圖形用戶界面;Qt/Embedded;智能家居
Abstract
In the fast-changing world of embedded, handheld and wireless devices, there are many hardware and software design changes taking place. Many devices now feature 32-bit microprocessors from Intel, MIPS and Motorola, as well as larger LCD graphical displays. In order to leverage the significant results gained in the last ten years, many developers are turning to using friendly user interface operating systems with these new embedded designs.
One of the most promising emerging areas seems to be running Linux in these environments, for a couple of good reasons: Linux on embedded systems brings with it the entire power of desktop computing, along with many solutions already running. Linux, being open source, allows any aspect of the solution to be fully understood and then customized for a particular application. Linux also supports all the new microprocessors typically included in embedded designs, including StrongARM, MIPS and PowerPC. Finally, Linux is free, with no royalty payments required for it’s use.So using linux as operating system , with a GUI system built on, seems to be a good solution.
For the handled devices on the market such as PDA, as to the poor hardware in old days, the user interface was very simple, we could hardly see the colorful GUI which was supported by PC. But recently we found that some embedded operating systems such as Windows CE and Palm OS, have supported complete GUI features. With the great performance improvement of the hardware, we think that the need for mini GUI systems is urgent.
This paper is mainly concered with the design of the embedded graphic user interface to be used in the embedded System of a Smart Home and its detailed implementation. In the embedded system of Smart Home, it will directly take effect on the portability of the navigator application software to build a graphic user interface with the features of low resource, high performance,easy portable and good compatibility.After the requirement analysis of GUI system to be used in the embedded system of Smart Home and the uating on the performance and characteristic of several popular GUI system used in the embedded system, Porting Qt/Embedded was adopted as the solution to GUI sysem to be used in the embedded system of Smart Home.
Keyword: Embedded System; Graphical User Interface; Qt/Embedded; Smart Home