文档介绍:华中科技大学
硕士学位论文
嵌入式系统图形用户界面代码自动生成技术的研究
姓名:王
申请学位级别:硕士
专业:计算机系统结构
指导教师:黄浩
2011-01-13
华中科技大学硕士学位论文
摘要
随着社会的发展,越来越多的嵌入式电子产品进入人们的生活。对于开发人员
来说,在嵌入式系统开发的整个周期,图形界面的开发越来越重要。随着现代电子
设备功能的增多和操作方式的多样化,以及用户对界面美观和操作的易用性要求不
断增加,一套适合消费电子产品并能贴切反应用户使用需求的图形界面系统对于整
个项目的重要性越来越显著。在嵌入式设备上,更高效,更快速的开发出易于被用
户接受和使用的图形界面,对开发人员以及对整个嵌入式设备的市场来说都至关重
要。
该研究目的就是提高嵌入式设备的图形界面的开发效率。可以在 Windows 系统
上利用研究的系统绘制各个嵌入式设备图形界面,每个界面分别代表了嵌入式设备
的每种状态。绘制的元素包括图片,按钮,字符串,滚动条,进度条,矩形等,可
以对这些元素进行移动和修改。将绘制好的图形用户界面保存为 XML文件,并生成
相应于特定嵌入式设备系统的代码。将这些代码通过交叉编译后,生成的可执行程
序直接放在嵌入式系统上运行。这给嵌入式图形用户界面的开发提供了一种所见即
所得的方式,因为绘制的效果就是最终需要在显示设备上显示的效果。
该研究中,前一部分实现的功能与平台无关,只需要使用者使用本系统绘制出
嵌入式设备需要的图形界面,后一部分实现的功能与平台相关,生成对应于某个嵌
入式设备的专用代码。
关键词:图形用户界面,代码自动生成,可视化开发,嵌入式系统,扩展标记语言
I
华中科技大学硕士学位论文
Abstract
With the development of our society, more and more embedded electronic products
e parts of our lives. For software developer, the development of graphical user
interface is more and more important throughout the whole development of embedded
system. With the increase of functions of electronic devices and the diversity of their
operating mode, along with the increase of consumers’ demands for good-looking and
easy using of these devices, a system of graphic user interface which is suitable for
electronic devices and can represent users requirement e more and more significant
for the whole project. So on embedded devices, developing a graphic user interface more
efficiently and more quickly is important for programmers and the markets of the embed
devices.
The purpose of our research is to increase the efficiency of developing graphic user
interface for embedded devices. By using the system on Windows, we can draw every
graphic interface, which represents each state of the embedded device. On these graphic
interfaces, there are elements like graph, button, character string, scroll bar, progress bar,
rectangle, and etc. We can move or modify every elements to draw easily. The gene