文档介绍:华中科技大学
硕士学位论文
嵌入式气体校准仪中的文件系统和GUI模块的设计与实现
姓名:陈曦
申请学位级别:硕士
专业:软件工程
指导教师:区士颀
20080603
摘要
嵌入式系统技术是目前电子产品制造领域最为热门的技术之一,目前已经广泛
地应用于各个领域。在大气环境监测方面,嵌入式系统同样发挥着重要的作用。
参与环境空气质量自动监测系统的一个子系统——嵌入式气体校准仪的研发,
并对 Flash 存储器的工作机制和嵌入式 GUI 的设计模式进行深入研究,设计和实现
了嵌入式的 Flash 文件系统和 GUI 模块,并运用这两项技术实现气体校准应用程序
的开发。
针对嵌入式常用的 Flash 存储器和嵌入式文件系统原理进行研究,Flash 存储器
在工作方式上和一般的磁盘存储器有着一定的差异,因此在 Flash 存储器上不太适应
直接使用传统磁盘文件系统的存储方法。因此,在该嵌入式系统上设计了一套适应
于 Flash 存储器的嵌入式文件系统,方便了嵌入式应用程序开发中对数据存储的开
发。该 Flash 文件系统提供了树形的目录管理结构;具有文件属性和操作权限的机制;
并实现均衡擦除算法。
针对 LCD 液晶屏的显示方法进行探讨,对图形显示与业务逻辑方面应该尽量做
到解耦合,设计并实现了符合 MVC 模式的 GUI 模块,提供一组组件类库,组件的
显示方式和逻辑操作分开,上层开发者不必关心如何实现屏幕上显示的。
最终实现一个基于该 Flash 文件系统和 GUI 模块的嵌入式气体校准仪器的具体
应用。
关键字:嵌入式系统 Flash文件系统嵌入式 GUI 气体校准系统
IV
Abstract
At present, the technology of embedded system is one of the most popular
technologies in electronic manufacture field. It is widely applied in many fields.
Participate in the development of embedded gas calibrating device, which is
subsystem of air quality monitoring system. The mechanisms of Flash memory and design
pattern of embedded GUI are In-depth studied, and the embedded Flash file system and
GUI module are designed and implemented, besides, gas calibrating device is developed
by using these two techniques.
Flash memory and principle of embedded file system are studied, there are some
differences between Flash memory and ic disk in working mode, the memory
mode in traditional mode is not suitable to Flash memory. Therefore, an embedded file
system that adapts the Flash memory at this embedded system was designed, to be
beneficial to the development of embedded applications for data storage. The Flash file
system provided tree form catalog management, mechanism of file attribute and right of
operation, the balanced erase arithmetic.
The display method of LCD was studied. The graphics display and logic of business
should be uncoupled, and some GUI modules about MVC model are designed. Th