【正文】
布;增加影響的主要窗口的處理。圖1是GUI系統(tǒng)的層次結(jié)構(gòu)。會議記錄Research and Implementation of Embedded Graphic User Interface Based o基于Linux的嵌入式圖形用戶界面的研究與實現(xiàn) Liu Yijtm , Chen Wenbin, He Xiaoman 劉毅軍,陳文斌,何小曼 Computer Science College , Southwest Petroleum University 西南石油大學(xué)計算機科學(xué)學(xué)院 hexiaoman_2008163 . hexiaoman_2008 Abstractthough the Indepth research on Linux system and embedded system graphical user interface(GUI), this paper designs an embedded GUI based on Linux and implements it . The test analysis shows that the research results and the described design ideas and methods are reasonable, feasible, have certain reference value for similar software development. 摘要:雖然在深入的研究Linux系統(tǒng)和嵌入式系統(tǒng)的圖形用戶界面(GUI),本文設(shè)計了一種基于Linux的嵌入式GUI,并將之實現(xiàn)。操作系統(tǒng)控制著應(yīng)用程序與硬件交互,以及應(yīng)用程序控制系統(tǒng)的操作和行為。當(dāng)運行在正常工作狀態(tài)時,GUI系統(tǒng)將初始化消息隊列 。 F. Timer Timer is a very important ponent of the GUI . When users need to timely process a certain operation it will be used, and also used in the system . Users must first set the timer before using it, and it in TJMER module i5 expressed by the data structure TIMER, Timer limit value refers to that when the recording value of the timer greater than it . it will send a MSGTIMER message to the window the tim定時器是一個GUI的非常重要的組成部分,當(dāng)用戶需要及時處理時將使用它,并在系統(tǒng)中使用一定的操作。[5] . Giannopoulos Nikos , Roy Rajkumar , Taratoukhine Victor, et al.[5].尼科斯Wesley,2004:321323.[2].Michail A。 韋斯利,2004:321323。 and system variables .3) Window display: window module provides system call a GUI window show function, when setting its mand parameter is SW_SHOW, a window orig3)窗口顯示:窗口模塊提供系統(tǒng)調(diào)用GUI窗口顯示功能,其命令參數(shù)設(shè)置初始值是SW_SHOW時,窗口顯示為無法看到。應(yīng)用程序編程接口Core 核心I/O interface I / O接口Figure 2. 圖2. Embedded GUI hierarchical structure 嵌入式GUI的層次結(jié)構(gòu)API is to provide the application programming interface functions for various GUI objects(such as windows, menus, etc . ) .API是應(yīng)用程序編程接口,提供各種GUI對象(如窗口,菜單等)。requirements for functionality, reliability , cost, size , and power consumption . Embedded puter far exceeds a variety of generalpurpose puters in the number of the applications , manufacturing industry, process control, munications , equipment, instruments , automobiles , ships , aviation, aerospace , military equipment, and consumer products are all the application field of the embedded puter . Ⅱ. USER INTERFACE BASED ON EMBEDDED LINUX Ⅱ 基于嵌入式Linux的用戶界面A. Embedded operation Embedded system has useroriented, productoriented, applicationoriented features . Different from general — purpose puters , embedded system is a special嵌入式系統(tǒng)以用戶為導(dǎo)向,以產(chǎn)品為導(dǎo)向,以應(yīng)用為導(dǎo)向,功能不同于一般通用計算機,嵌入式系統(tǒng)是一個特殊的針對特定應(yīng)用系統(tǒng),一般其對成本敏感,對其硬件和軟件必須有效地設(shè)計,量身定制,去除冗余。嵌入式計算機中的應(yīng)用數(shù)量遠(yuǎn)遠(yuǎn)超過了各種通用計算機,制造工業(yè),過程控制,通訊,設(shè)備,儀器儀表,汽車,船舶,航空,航空航天,軍事裝備,消費類產(chǎn)品都是嵌入式計算機的應(yīng)用領(lǐng)域。 Ⅲ. EMBEDDED GUI SYSTEM DESIGN Ⅲ. 嵌入式GUI系統(tǒng)的設(shè)計A. System architecture Embedded GUI system uses hierarchical design, the architecture as shown in figure 2 .嵌入式GUI系統(tǒng)采用分層設(shè)計,其體系結(jié)構(gòu)如圖2所示。需要顯示其他窗口被遮住的部分,然后更新目標(biāo)窗口的移動對其他窗口的影響以及系統(tǒng)變量 。 Wesley , 2004 : 321323 . (第二版)艾迪 GUIⅠ. INTRODUCTIONWith the development of puter technology, embedded system has bee an important part of the puter field.The socalled embedded system, that is, a special puter system with application as center, puter technology as the basis,software and hardware can be tailored to meet the application System strict requirements for functionality, reliability, cost, size,and power consumption.Embedded puter far exceeds a variety of generalpurpose puters in the number of the applications,manufacturing industry, process control, munications,equipment, instruments,automobiles,ships,aviation, aerospace,military equipment, and consumer products are all the application field of the embedded puter.Ⅱ. USER INTERFACE BASED ON EMBEDDED LINUXA. Embedded operation systemEmbedded system has useroriented, productoriented, applicationoriented features.Different from general—purpose puters,embedded system is a special system for specific applications,generally is costsensitive, and its hardware and software must be efficiently designed, tailored to remove redundancy.A good embedded system is the minimum system to plete the target functions.In embedded system development, embedded software is the key to achieve a variety of system functions, also one of the most active research directions of puter technology.In general,embedded system consists of hardware and software two major ponents.The hardware part includes processors/microprocessors,memory,peripheral devices, I/0 ports,graphics controller and so on.Embedded system is different from the general puter processing systems, which does not have a largecapacity storage medium as hard drive.but most use EPROM,EEPROM.or flash memory as storage medium.The software part includes operating system software which needs realtime and multitasking operations,and the application programming.The operating system controls the application programming and hardware interaction, and the application controls the system operation and behaviors.B. GUI overviewThe broad popularity is one of the major achievements of current puter technology,which greatly facilitates the use of nonprofessional users,and people no longer needs to cram a lot of mands.but can easily operate through the window and menu.A GUI system is usually posed by three basic levels which are display model, window model and user model. User model contains the main features of display and interaction, thus the term of GUI sometimes only refers to the user model.Figure 1 is the GUI system hierarchy structure.Desktop management systemUser modelWindow modelOperating systemHardwareFigure 1. GUI