【文章內(nèi)容簡介】
GUI時,初始化模塊只提供了一個整體的GUI初始化函數(shù)和清除功能,initialize the various pans of the GUI through calling a GUI initialization function . to make the GUI work normally . The clearance function of GUI termination is responsible for the pletion of all relevant clearance work in the termination因此界面的入口函數(shù)可以通過調(diào)用GUI初始化函數(shù)初始化GUI的各種操作,使GUI正常工作。清除功能的GUI終止是負(fù)責(zé)在終止所有相關(guān)的清理工作完成of the 。 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)中使用一定的操作。用戶在使用它之前必須先設(shè)置定時器,它由在TJMER模塊表示數(shù)據(jù)結(jié)構(gòu)定時器,定時器限值涉及到記錄定時器時比它更大值,它將發(fā)送一個MSGTIMER消息給所屬窗口的計時器。G. System performance This paper only tests the event — driven response speed, the results as shown in table 1 and table 2 .本文僅測試事件驅(qū)動響應(yīng)速度,結(jié)果如表1和表2所示。1 . ABLE 1 . WINDOWS EVENT RESPONSE SPEED 表Ⅰ. Windows事件響應(yīng)速度測試事件創(chuàng)建頻率(/s)銷毀頻率(/s)滾動頻率(/s)翻新頻率(/s)單色彩色tABLE Ⅱ. CONTROL EVENT RESPONSE SPEED 表Ⅱ. 控制事件響應(yīng)速度T 哦竹曩吐 CIick Textset Refurbishmemt 測試事件點擊頻率(/s)文本集頻率(/s)翻新頻率(/s)單色彩色From the above it can be seen, pared with other embedded GUI systems , this system has better portability , preparation and customization, and the system resource consumption is fewer .從上面可以看出,與其他嵌入式GUI系統(tǒng)相比,該系統(tǒng)具有更好的可移植性,準(zhǔn)備和可裁剪性,系統(tǒng)資源消耗少。 IV . CONCLUSIONⅣⅣ. 結(jié)論At present, the study of the embedded Linux system is booming , and has occupied a lot of market share , but the GUI system based on embedded Linux system is in the目前,嵌入式Linux系統(tǒng)的研究正在蓬勃發(fā)展,已經(jīng)占據(jù)了很大的市場份額,但在基于嵌入式Linux系統(tǒng)的GUI系統(tǒng)的發(fā)展階段,有許多重要問題有待解決。This paper designed an embedded Linuxbased graphical user interface design, and implemented it The test results and analysis show that pared with other embedded GUI systems . this system has better portability , preparation mad customization, and the system resource consumption is fewer, has a certain reference value for the development of similar software .本文設(shè)計了一個嵌入式的基于Linux的圖形用戶界面,并實現(xiàn)了它。它的測試結(jié)果和分析表明,與其他嵌入式GUI系統(tǒng)相比,該系統(tǒng)具有更好的可移植性,準(zhǔn)備和定制,系統(tǒng)資源消耗少,對于相關(guān)軟件的發(fā)展有一定的參考價值。 REFERENCES 參考 [1] . Keith Haviland, Dina Gray , Ben Salama . Unix System Programmin[1].,迪娜灰色,本薩拉馬Unix系統(tǒng)編程。 (2nd Edition)Addison Wesley , 2004 : 321323 . (第二版)艾迪 韋斯利,2004:321323。[2] . Michail A Browsing and searching source code of applications written using a GUI framework, Software Engineering , 2002 , ICSE2002 , Proceedings of the 24th International Conference , 2002 , 327337 .[2].米哈伊爾,使用一個GUI框架瀏覽和搜索編寫的應(yīng)用程序的源代碼,軟件工程,2002年, ICSE2002,第24屆國際大會,2002年,327337。[3] . Pusty Russell , Daniel Quinlan Cipher Yeoh . Filesystem Hierarchy Standard v2 . 3 . Filesystem Hierarchy Standard Group , 2004 5556 .[3].羅素,丹尼爾昆蘭密碼博士。,文件系統(tǒng)層次標(biāo)準(zhǔn)集團(tuán),2004年 5556。[4] . Kjell,B , The rise of embedded processing and the opportunity for open standards [J] , IEEE Technology and Society Magazine , summer (2) : 45 .[4].謝爾,乙,嵌入式處理的崛起和開放標(biāo)準(zhǔn)的機(jī)會[J] IEEE技術(shù)與社會“雜志,(2) 夏季:45。[5] . Giannopoulos Nikos , Roy Rajkumar , Taratoukhine Victor, et al.[5].尼科斯羅伊費道宜,維克多等。 Embedded systems software cost estimating with the concurrent Engineering environment . proceedings of the 10th ISPE International Conference on Concurrent Engineering . 2003 : 353 — 357 .嵌入式系統(tǒng)軟件成本估算與ISPE的第十屆國際會議并 行工程環(huán)境訴訟 2003:353 357。 [6] . Memon AM , Pollack ME , So 行 h ML . Hierarchical GUI test case generation using automated planning . Software Engineering IEEE Transactions,200l , No . 2 . V01 . 27 , 144 . 155 . [6].梅蒙A M,波拉克M E。層次 ??的GUI測試用例生成使用自動化規(guī)劃。軟件工程匯刊,2001, 。Research and Implementation of Embedded Graphic User Interface Based on LinuxLiu Yijun,Chen Wenbin, He XiaomanComputer Science College,Southwest Petroleum Universityhexiaoman_2008@163.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.KeywordsLinux。 embedded system。 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