基于安卓技术的点餐系统的设计与实现
摘 要
随着科学技术和社会经济的不断提高,人们对服务的快捷、便利性要求也越来越高,从而对智能手机上的应用软件提出了更高的要求。一个基于安卓技术的点餐系统能够为用户提供一个方便日常操作的便捷点餐功能,它能够满足广大手机用户的订餐需要,为需求双方提供了一个共赢的平台。
本系统正是为了实现手机网上订餐而设计,所包含到的有关技术有:Android平台、MySQL技术、Java语言等技术。能够实现订餐、选择座位、我的订餐、人工服务、菜单管理、用户管理等作用。用户注册后,登陆客户端即可完成订餐、浏览菜谱等功能。运行测试表明:该系统功能完善、运行顺畅稳定,具有一定的商业实用价值。设计开发过程中,分析并解决了若干技术问题,巩固并深化了本科阶段所学的知识。
关键词: Android;MySQL;Java;测试
The Design and Implementation of Meal Ordering System
Based on Android Technology
Abstract
With the constant improvement of science and technology and social economy, people also have increasingly high requirements for the efficiency and convenience of service, thus proposing a higher requirement for the application software on smartphone. A meal ordering system based on Android technology, which can provide a fast and easy ordering function convenient for daily operation, can meet numerous cellphone users’ demand for food ordering and provide a win-win platform for both demand sides.
This system is exactly designed for achieving online meal ordering on cellphone, and involves the following relevant technologies: Android platform, MySQL technology, Java language. It mainly achieves functions of food ordering, seat selection, my order, manual service, menu management, and user management. After registration, the users can fulfill the functions of food ordering and menu browsing by logging in the client. The operational test indicates that: this system is complete in function and smooth and steady in operation, and has certain value of commercial utility. In the process of design and development, several technological problems are analyzed and solved, which consolidates and deepens the knowledge learned during undergraduate study.
Key words: Android; MySQL; Java; test
目 录
论文总页数:34页
1 绪论 ...................................................................................................................................................... 1 1.1 课题研究背景和意义 .................................................................................................................. 1 1.2课题可行性分析 ........................................................................................................................... 1 2系统分析 ............................................................................................................................................... 2 2.1概述 ............................................................................................................................................... 2 2.1.1系统分析的原则 .................................................................................................................. 2 2.1.2系统分析的方法 .................................................................................................................. 2 2.2系统需求分析 ............................................................................................................................... 2 2.3 系统流程分析 .............................................................................................................................. 4 2.4系统用例图 ................................................................................................................................... 5 2.5 开发环境平台的选择 .................................................................................................................. 6 3 总体设计 .............................................................................................................................................. 7 3.1 系统设计原则 .............................................................................................................................. 7 3.2 系统设计目标 .............................................................................................................................. 7 3.3 系统总体结构设计 ...................................................................................................................... 8 4数据库设计 ....................................................................................................................................... 8 4.1 服务端数据库设计 ...................................................................................................................... 8 4.2 数据库ER图 .............................................................................................................................. 10 5系统详细设计与实现 ......................................................................................................................... 11 5.1登录模块的实现 ......................................................................................................................... 11 5.2菜谱模块的实现 ......................................................................................................................... 13 5.3在线下单模块的实现 ................................................................................................................. 17 5.4用户订单模块的实现 ................................................................................................................. 21 5.5服务端模块的实现 ..................................................................................................................... 22 5.5.1人工服务模块的实现 .........................................................................................................24 5.5.2菜谱管理模块的实现 .........................................................................................................25 5.5.3用户管理模块的实现 .........................................................................................................26 5.5.4订单管理模块的实现 .........................................................................................................28 5 系统测试 ............................................................................................................................................ 29 5.1 测试方法 .................................................................................................................................... 29 5.2 测试内容 .................................................................................................................................... 29 5.3测试结果 ..................................................................................................................................... 30
总 结 ...................................................................................................................................................... 31 参考文献 ................................................................................................................................................ 32 致 谢 ...................................................................................................................................................... 33 声 明 ................................................................................................................ 错误!未定义书签。