用户名: 密码: 验证码:
基于嵌入式Linux的点菜系统的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
电子点菜系统是餐馆实行信息化管理的一个重要组成部分,使用它,顾客可以进行查询菜单菜价、添加和删除点菜条目、呼叫服务员等操作;营业者可以方便地管理菜单、准确计算帐单、轻松地统计营业数据等。
     本文基于华恒的HHARM2410-Study-R1开发平台实现了一个简单可用的电子点菜系统。论文的主要工作包括:
     1.在华恒原有Linux-2.4平台的基础上移植了性能更为优越的Linux-2.6.17,其中的工作包括修改PPCBoot的源代码,把网络驱动从Linux-2.4版本移植到Linux-2.6版本,设计实现了小键盘驱动程序,使4个按键扩展到16个键值,根文件系统由原来的ramdisk改为网络文件系统。
     2.设计与实现虚拟LCD。由于HHARM2410-Study-R1开发板没有LCD,而本设计又涉及Qt/Embedded的图形开发,为了便于显示,本文设计并实现了一套能在PC机上显示开发板中运行Qt/Embedded的图形结果的程序,本文称这套程序为虚拟LCD。该程序借用了qvfb的思路,采用基于套接口网络编程方式实现。
     3.完成了Qt/Embedded基于ARM平台的配置、编译,分析了Qt/Embedded中的SQL模块,基于MySQL的源代码在PC机上构建了适合本系统的MySQL服务器程序。研究怎样通过适用于PC机的MySQL源代码生成运行在ARM平台的客户端库文件。
     4.利用MySQL设计构建了点菜系统的数据库服务器和系统数据表;使用Qt/Embedded实现了点菜系统的客户端程序,描述了该点菜系统的使用方法。
     5.总结了本设计的优缺点,并给出了改进的方案。
Electronic ordering system is an important part of the restaurants' information management system. With it, customers are able to query the price of dishes in the menu, add a record to the ordered items, delete a record from the ordered items, call the waiters and so on in a convenient way.The boss can manage the menu data conveniently, calculate the billing accurately and make the statistics of business data easily.
     A simple and usable electronic ordering system is implemented based on the Huaheng Company's HHARM2410-Study-R1 developing platform.The main jobs of this paper include:
     1. A new operating system version of Linux-2.6.17 is transplanted to the hardware platform in order to substitute the on-board Linux-2.4. The PPCBoot bootloader is modified to fit the new operating system. Network driver is also modified to adapt the driver structure from Linux-2.4 to Linux-2.6. A keyboard driver is designed and implemented, it makes 4 keys be extended to 16 key values. Network file system is used for root file system instead of ramdisk.
     2. A virtual LCD is designed and implemented. As the development board does not have screen, but my design refers to Qt/Embedded graphical development. In order to view the Qt/Embedded graphics, a virtual LCD program is developed to display the program of on-board development toolkit Qt/Embedded on PC screen. The virtual LCD is using qvfb for reference and implemented based on network socket programming.
     3. Qt/Embedded is configured and compiled for ARM architecture. The SQL module in Qt/Embedded is analyzed. MySQL database server program is built for PC based on the source code. Study how to generate the MySQL client shared library file running on ARM through the source code applied for PC.
     4. The database server and data tables of the ordering system are designed utilizing the MySQL. The client program of the system is implemented using Qt/Embeddd. Describe how to use this ordering system.
     5. Sum up the advantages and disadvantages of this design. Give some improvement solution for the disadvantages.
引文
[1]杜春雷.ARM体系结构与编程.北京 清华大学出版社,2003:2
    [2]廖日坤.ARM嵌入式应用开发技术白金手册.北京 中国电力出版社,2005:10
    [3]周立功,陈明计,陈渝.ARM嵌入式Linux系统构建与驱动开发范例.北京 北京航空航天大学出版社,2006:1
    [4]李善平,刘文峰,王焕龙等.Linux与嵌入式系统.北京 清华大学出版社,2006:3
    [5]陈赜.ARM嵌入式技术实践教程.北京 北京航空航天大学出版社,2005:2
    [6]马忠梅,李善平,康慨,叶楠.ARM&Linux嵌入式系统教程.北京 北京航空航天大学出版社,2004:9
    [7](美)Claudia Salzberg Rodriguez,Gordon Fischer,Steven Somlski著,陈莉君,贺炎,刘霞林译.Linux内核编程.北京 机械工业出版社,2006:7
    [8]倪继利.Linux内核分析及编程.北京 电子工业出版社,2005:9
    [9](英)Neil Matthew等著,叶小虎,龙浩等译.Linux高级编程.北京 机械工业出版社,2002:1
    [10]薛军超等.MySQL网络数据库开发.北京 人民邮电出版社,2001:4
    [11](美)Vikram Vaswani著,徐小青,路晓村等译.MySQL完全手册.北京 电子工业出版社,2004:11
    [12]孙天泽,袁文菊,张海峰.嵌入式设计及Linux驱动开发指南基于ARM9处理器.北京 电子工业出版社,2005
    [13]陈莉君.Linux操作系统内核分析.北京 人民邮电出版社,2000:3
    [14]林宇,郭凌云.Linux网络编程.北京 人民邮电出版社,2000:10
    [15]天夜创作室.Linux网络编程技术.北京 人民邮电出版社,2001:11
    [16]马忠梅.ARM嵌入式处理器结构与应用基础.北京 航空航天大学出版社,2002
    [17]陈渝,李明等.源码开放的嵌入式系统软件分析与实践.北京 北京 航空航天大学出版社,2004
    [18]周立功编著.ARM嵌入式系统软件开发实例.北京 北京航空航天大学出版社,2004
    [19]彭晓明,王强.Linux核心源代码分析.北京 人民邮电出版社2000
    [20]毛德操,胡希明.Linux内核源代码情景分析.杭州 浙江大学出版社2001
    [21]王学龙.嵌入式Linux系统设计与应用 北京 清华大学出版社2001
    [22]邹思铁.嵌入式Linux设计与应用.北京 清华大学出版社,2002
    [23]李明.ARM Linux的移植过程及分析.北京 电子设计应用,2003:7
    [24]朱兵章.餐饮管理系统中PDA内存数据库的研究与探讨.广东工业大学硕士学位论文2005
    [25]张永.基于ARM9的嵌入式Linux开发平台构建与应用.天津师范大学硕士学位论文2006
    [26]傅中君.基于ARM的PDA软硬件平台设计.南京理工大学 硕士学位论文2006
    [27]张耀丹.基于ARM的嵌入式实验室网关系统设计.重庆大学 硕士学位论文2006
    [28]钱丽.基于ARM的嵌入式无线点菜.武汉科技大学 硕士学位论文2005
    [29]姜小涛.基于ARM和以太网的数据采集系统设计与实现.大连海事大学硕士学位论文2006
    [30]于渤.基于Linux的嵌入式浏览器研究.重庆大学硕士学位论文2006
    [31]吕波,习勇,魏急波.基于PPCBOOT的嵌入式Linux系统的开发.电子工程师2003
    [32]寇占川.基于Samsung2410处理器的嵌入式计算机系统的研发.哈尔滨工业大学硕士论文2006
    [33]刘群欣.基于Triple Play业务的家庭网关设备的研究与实现.西南交通大学硕士学位论文2006
    [34]聂振华.基于嵌入式操作系统ARMLinux的图象传输研究及实现.重庆大学硕士学位论文2006
    [35]张晓华.基于嵌入式家庭网关的ARMLinux移植与应用研究.郑州轻工业学院 硕士论文学位2005
    [36]李键.无线点菜系统的研究.天津大学 硕士学位论文2004
    [37]刘伟.Linux 2.6内核的嵌入式系统应用.www.embyte.com 2006:3
    [38]杨延军.用busybox制作嵌入式Linux的文件系统.单片机与嵌入式系统应用2006
    [39]唐新华 QT的信号与槽机制介绍.http://www.cn.ibm.com/developerWorks/linux/guitoolkit/qt/signal-slot/index.shtml
    [40]杨显强,田远富.嵌入式系统中LCD驱动的实现原理.http://www.epc.com.cn(今日电子) 2005
    [41]Jonathan Corbet, Grog Kroah-Hartman, Alessandro Rubini. Linux Device Driver, 3rd Edition. 2005:2
    [42].Qt/Embedded在嵌入式Linux系统中的应用.单片机及嵌入式系统应用2005
    [43]交叉编译qt/e和qtopia过程.http://www.minigui.org/cgi-binlb5000/topic.cgi?forum=28&topic=1735&show=425 2005:9
    [44]Qt嵌入式图形开发(实战篇).深圳市优龙科技有限公司2004:7
    [45]Trolltech. Qt 3.3 Whitepaper. www.trolltech.com
    [46]MySQL 5.1 Reference Manual. MySQL AB 2006
    [47]Qt Reference Documentation(Open Source Edition). Trolltech 2004
    [48]徐千洋.Linux C函数库参考手册.中国青年出版社2002:1
    [49](美)Michael Jang著,邱仲潘等译.红帽Linux 9从入门到精通.北京电子工业出版社2003:10
    [50]Richard Stallman, Roland Peseh, Stan Shebs, et al. Debugging with GDB. Free Software Foundation
    [51]Richar M. Stallman. Using the GNU Compiler Collection. Free Software Foundation 2002:4
    [52]Richard M. Stallman, Roland McGrath. GNU Make. FreeSoftware Foundation

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700