毕业论文-网上订餐系统设计【完稿】.doc_第1页
毕业论文-网上订餐系统设计【完稿】.doc_第2页
毕业论文-网上订餐系统设计【完稿】.doc_第3页
毕业论文-网上订餐系统设计【完稿】.doc_第4页
毕业论文-网上订餐系统设计【完稿】.doc_第5页
已阅读5页,还剩47页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

大连工业大学 2014 届本科生毕业设计(论文)大连工业大学本科毕业设计(论文)网上订餐系统THE DESIGN AND IMPLEMENTATION OF ONLINE MEAL ORDERING SYSTEM设计(论文)完成日期 2014 年 5 月 25日学 院: 信息科学与工程学院 专 业: 网络工程 学 生 姓 名: 班 级 学 号: 网络101-18 指 导 教 师: 评 阅 教 师: 2014年 6 月ABSTRACTThis paper analyzes the system each function of the design, implementation process, clearly illustrates system design idea, system planning, etc. Software design part adopts the object-oriented software design method, using UML standard modeling and design for the main part of the system, adopts B/S structure, using MyEclipse10 development tools, combined with the Java programming language, Tomcat7.0 as a server, using JDBC to connect to the database, the struts 2 framework to jump between pages. Support system background using MySQL as a database server, dynamic, interactive online reservation system. System main function implements the administrator of food management, users personal basic information maintenance, order management, specials menu management; User registration personal basic information, retrieve password, the menu information query and order dishes; Menu login, query information, and evaluation of food function module. The realization of the system for order management work effectively and provide a convenient, improve the work efficiency. Keywords: B/S;MyEclipse 8.5; MySQL; JAVA; Strust255目 录摘要IAbstractII引 言1第一章 项目概述21.1 现状概述21.2 系统业务流程3第二章 系统需求分析52.1 需求陈述52.2 USE CASE建模62.2.1 定义参与者62.2.2 Use Case图72.3系统功能描述9第三章 总体设计113.1 系统结构113.2 软件架构113.2.1 架构设计目标123.2.2 软件架构设计123.2.3 软件架构类图18第四章 详细设计194.1 系统交互图194.1.1系统架构类交互图194.1.2 参与者与模块间的交互204.1.3 系统协作图224.1.4 系统状态图234.1.5 系统活动描述244.2 业务逻辑对象类设计254.2.1 发现业务逻辑类254.2.2 业务逻辑对象类图254.3 数据库设计264.3.1 数据库概念模型设计264.3.2 数据库表结构设计274.4 开发环境的选择294.4.1 系统开发工具29 4.4.2 数据库的选择294.4.3 系统网络架构设计30第五章 编码315.1 概述开发工具及源程序代码315.2 源程序习惯说明325.3 源程序代码34第六章 测试386.1 测试原则及测试方法概述386.2 测试项目测试用例416.3 软件测试结论446.3.1 软件能力446.3.2 缺陷和限制456.3.3 建议456.3.4 测试评估及总结45第七章 结论46参考文献47致谢48引 言随着科学技术的进步,社会节奏越来越快,网络的迅猛发展,互联网信息技术已日益成为获取信息的最佳方法。餐饮这一行业也面连着巨大的挑战,网上订餐主要是针对工薪阶层还有大学生这些特殊群体,白领们在中午时间或者晚上高峰时间就餐,由于时间的紧凑,不能很好地享受美味,所以网上订餐,这样既可以提前订餐不浪费中午休息的时间,还可和同事加深感情,更可以每天换各种各样的菜品,确保每天的工作效率和身心健康,这些问题就产生了快捷订餐的需求,实现这种式莫过于利用网络,将餐饮业和网络结合起来,就形成最快的方式-网上订餐,这种方式能足不出户,轻松方便地实现自己订购餐饮和食品(包括饭、菜、饮料等)。有能力的餐饮企业可以对菜品、饮料等提供商提供网上订餐服务,不仅提高餐饮企业的服务质量,对于扩大知名度,和提升市场竞争力有很大的益处。随着人民生活质量要求的不断提高,餐饮业及它在服务行业中的地位也越来越重要,如何从激烈的竞争中独树一帜,已经成为每位餐饮老板所要思考的问题。经过多年的发展,对餐饮企业的管理经营已经逐渐的由简单的人为管理,进入到规范的利用科学手段进行管理。在科学管理的具体实现方式和方法中,最有效率的工具就是应用餐饮管理软件进行管理。将应用软件用于现代的餐饮业,解决了传统的笔上记账,统计,对于核算方式计费等费时费力的难题,这种方式既容易操作,又不会出错误,提高了餐饮业管理水平。- 45 -第一章 项目概述1.1 现状概述科学技术在不断发展,计算网络机通信行业让人们人们的沟通越来越便捷,使今天的社会进入了以计算机为核心的社会,网络通信的出现给我们诸多方面带来了无限的商机与便利(比方说餐饮业);计算机与网络的普及也使人们对web的设计和外观要求越来越严格,完美而动感的画面给人们更好的视觉感受,因此,网站作为一个企业的代表需要精心设计。餐饮业经营者也就可以利用自己的网站,发布酒店的信息和菜品信息,每种菜都有精美的图片,这样可以实现酒店或餐馆的自我推荐,从而吸引网民的关注。能够很方便的预定需要的菜品及饮品。足不出户就可以享受上等的佳肴,网上订餐为客户提供的是最方便的饮食方式,以最快、最便捷的订餐服务,并且有自己的类似与肯德基的宅急送,送货上门为客户服务,这省去了客户很多不必要的时间和麻烦,给经营者带来更多利益,同时,网上订餐可以增加社会的就业率。通过信息管理成的方式,可以记录餐饮企业各方面的数据和信息。与过去的的电话订餐相比,网络订餐有着很多的优点。例如如:顾客通过电话订餐时,往往由于本身对餐饮企业提供的信息不太了解,就会进行不必要的咨询,导致时间上的浪费。电话接收人员在同一时间反复重复相同的信息,也造成了人力的浪费。相对而言,网络订餐提供图片及文字介绍,丰富而详实的信息让客户就像在超市里挑选商品一样点击添加自己喜爱的餐品,这在一定程度上满足了客户的自由选择权是购买商品能够更加的惬意。通过网上订餐系统也将订餐推广到更加广泛的群体当中,使得订餐增多,饭店的知名度提高。网络不会同电话一样占线,在高峰期对订餐的处理更是绰绰有余,很少会出现向系统崩溃的现象,而且网上订餐的费用不会想电话订餐那样高,相比之下有自己的竞争力。同时两者有事相辅相成的关系,可以扩大客流量,提升餐饮行业的业务量无论如何网上订餐终将成为一种时尚一种潮流,将使传统的餐饮更加具有勃勃生机,在众多行业中立于不败之地。1.2 系统业务流程经过前期调研分析和综合其它各方面相关理论知识,现归纳网上订餐系统的业务流程如下:1 .用户进入登录页面后,可以选择是否注册个人信息,如果选择注册,即可进入注册信息界面,注册个人信息,成为会员;如果选择不注册,则可进入非会员通道。2. 用户注册后,如果忘记密码,可以找回个人密码。3. 用户成功登录后,即可进入订餐页面,首页显示的是今日特价菜,用户可以订购特价菜,也可以选择其他菜式进行订购。4. 用户选好菜式后,可将其加入购物车,完成订单。5. 用户可以对自己选购的或者未选购的菜品进行评价,可以增加其他用户对菜式的了解。6. 管理员在后台数据库进行菜品的添加加,修改和删除,同时还可设定今日特价菜。同时管理员也对会员进行管理。根据以上总结出来的业务流程,结合在学校学习到的java web知识,经过对需求调研的总结,给出网上订餐系统的业务流程图。业务流程图用于描述现系统各项业务处理过程,并结合业务流程图详细、详实地说明业务处理过程中数据的采集、输入、提交、存储、加工的方法及算法、输出的数量及形式等。业务流程图的图例如表1.1,网上订餐系统业务流程图如下图1.1所示:表1.1业务流程图图例符号名称说明处理可以改变数据的值或建工组件输入输出数据的输入与输出人员使用程序的人或系统数据流指明数据流动方向账册、报表用于记录数据的纸质文档网上订餐系统的开发主要围绕以上的业务流程进行,开发过程采用面向对象的编程思想及使用java开发语言,详细的开发过程见如下章节。图1.1 网上订餐系统业务流程图第二章 系统需求分析2.1 需求陈述为了开发出真正满足用户需求,软件产品首先必须进行需求分析。对软件需求分析和了解是软件开发成功的关键,不论项目人员把设计和编码工作做得多么的出色,不能真正满足用户需求的程序只会令用户失望,从而不断地修改软件给开发者带来烦恼。需求陈述为以下工作提供了良好的机制;了解客户需要什么,分析需求求,估计可行性,讨论决定合理的方案,无歧义的详细说明方案,确认规格说明,管理需求最终将这些需求转化为可运行的软件系统。根据调研分析得知,网上订餐系统共需要完成4项中心任务,即:用户信息管理、菜单信息管理、菜品评论管理、订单管理。每项任务具体描述如下:1.用户信息管理用户的注册信息管理模块主要由后台管理人员负责,用户注册成功后,信息由后台管理人员管理,管理人员根据用户是否已经注册,确定其是否为会员,方便用户管理。会员制是平台应该具备的。通过会员制,不仅可以为顾客订餐提供方便,还可以保持顾客积累量。顾客在登陆系统首页后,可以在用户注册界面点击注册按钮,页面便跳转到用户注册页面,用户在填写完密码,确认密码,联系电话,保留信息等资料后点击提交便可完成注册。用户还可以点击重置按钮来清除已填写的自己想改的信息,方便用户在想重新填写注册资料时使用。2.菜单信息管理菜单信息管理模块主要由管理人员来操作,主要负责对增添新菜品、修改菜品信息、删除菜品、设置特色菜进行管理。方便用户进行菜品的订购。3.菜品评论管理菜品评论管理主要是用户可以对菜品进行评论,方便其他用户对菜品的了解。4.订单管理订单管理主要是指用户订餐后,确定其订购后,将菜品加入购物车中,产生订单,方便用户了解自己的菜品订购。同时方便管理人员对用户订购菜品的管理。系统确认之后,接下来的工作就是进行系统的分析。系统分析主要是包括面向对象分析,分析问题域等,毕竟我们采用的是面向对象的开发语言,如何设置对象,建立对象之间及对象和外度系统之间的关系,建立起必要的对象关系模型,如设置对象中的属性方法,使他能够更精确的表示事物的客观属性,为系统分析提供假设条件。2.2 USE CASE建模2.2.1 定义参与者参与者(actor)是指与系统无关的、需要利用与系统交互的东西,包括人、设备、外部系统等。根据网上订餐系统的需求可以确定2个参与者,即:管理员主要维护用户基本信息管理,菜单信息管理,订单管理,以及菜品评论信息管理。用户主要的功能是注册个人信息,登录,找回密码,订购菜品,以及进行菜品评论。2.2.2 Use Case图用例图定义:由用例(Use Case)、参与者(Actor)和它们之间的关联所组成的用于描述系统功能的动态视图称为用例图。用例图(User Case)是被称为参与者的外部用户所能观察到的系统功能的模型图,呈现了一些参与者和一些用例,以及它们之间的关系,主要用于对系统、子系统或类的功能行为进行建模。用例图展示了用例之间以及同用例参与者之间是怎样相互联系的。用例图用于对系统、子系统或类的行为进行可视化,使用户能够理解如何使用这些元素,并使开发者能够实现这些元素 您好,为你提供优秀的毕业论文参考资料,请您删除以下内容,O(_)O谢谢!AnationalsurveywasrecentlylaunchedtoevaluatetheeyehealthofChinesechildrenandteenagers.OnJune6,ChinasannualNationalDayforEyeCare,theChinaYouthDevelopmentServiceCenterandZhejiangMedicine,aleadinglistedChinesepharmaceuticalcompany,jointlyannouncedthekickoffofthesurvey.Inaboutonemonth,aquestionnairecompiledbytopeyecaremedicalexpertsinChinawillbedistributedthroughmultipleonlinepartners,includingH,aswellasthroughofflinesurveyeventsheldinuniversities,middleschoolsandprimaryschoolsacrossthecountry.Areportwillbereleasedbasedonthesurveystatisticsandanalysis,andmostimportantly,guidelinesforparentsandyouthonhowtocarefortheeyesandpreventmyopiaagrowingprobleminChinasdigitizedsociety,willalsobeattachedonthereport.Myopiaisnotonlyadiseasethatmakespeopleseethingsblurrily,butalsoleadstoseverecomplications,suchasglaucoma(increasedpressurewithintheeyeball),andcancauseblindness,saidZhouYuehua,anestablishedeyecarespecialistwithBeijingTongrenHospital.Itisveryimportantforparentsandchildrentoknowabouttheriskandcarefortheireyes.Thereareabout450millionmyopiapatientsinChina.AmongChinesemyopiapatients,30millionareseverepatients,accordingtoZhouTheprevalenceofmyopiaamonghighschoolandcollegestudentsismorethan70percent,andthesituationiscontinuouslyworsening,headded.SunZhu,directorwiththeChinaYouthDevelopmentServiceCenter,saidlonghoursofstudy,lackofexercise,especiallyoutdooractivities,andattachmenttoelectronicscreenaresomeofthetopreasonsbehindthewidespreadmyopiaproblems,andtheincreaseofyoungerpatients,althoughChinahasmadegreatprogressinimprovingthehardwarefacilitiesandlightingconditionsinschools.Hesaidhehopesthesurveywillalertpeopleonthethreateningsituation,andalsohelpmedicalexpertstobetterguidelineparentsandchildrensbehaviorstocareforeyes,basedonthetimelyandfactualstatisticsthesurveycollected.Aseriesoffollow-upeventswillalsobeheldinsixcities,includingJinaninShandongprovince,andChangshainHunanprovince,toeducatepeopleonhowtocareforeyesafterthesurveystarted. More and more Chinese are jogging to get and stay fit. Most joggers will run alone, but some will jog with friends or even coaches. The Beijing Olympic Forest Park is one of the most popular spots. It is packed with runners in the afternoon, usually after work, and at weekends. Jogging after a whole days work can be a way to unwind. It is true for He Wenjun, whose workplace is right near the forest park. She discovered her athletic aptitude at the age of seven, when she began playing tennis. Then she turned to jogging, and she has persevered with it for 10 years. I come to jog almost every day after work, whenever I have time. I think jogging is good for my health. And for me, a girl, it helps me to achieve to eternal goal, to keep slim, He said. He says she prefers jogging alone, so she can focus better. She loves jogging, even during Beijings smoggy days. If the smog is severe, Ill hold off jogging for a while. But if I really want to get away from work, Ill wear a mask, or just ignore the smog and go on jogging, she said. For those who are not so athletic, jogging also has its attractions. Wu Houbin started roughly two years ago, when he was severely obese. Within two months, his weight dropped from 82 kilograms to 64 kilograms. The success helped him recover health, and he has made friends. Jogging does not require speed, but stamina. If you want to stick to the game, you need to take it as a mission, a habit, and then eventually a hobby, Wu said. But persevering with jogging is not always easy. Jogging is beneficial for heart-lung function, and the skeletal system, but doctors say improper technique damages the joints, especially the knees and ankles. Excessive jogging wears down the body, and harms ones health. Poor technique harms the muscles and skeleton, and can cause secondary injures. And, jogging in a bad environment can cause circulation problems, said Lu Zhiyong, attending doctor, Sports Hospital, General Admin. of Sports.Dr. Lu has some tips for joggers, and those who are thinking of taking it up.He says people should first evaluate their physical condition, to decide the amount and type of exercise, and jogging in the open air is better running on a treadmill. Conrad Macao will run special programs for the entire month of October this year to support the Hong Kong Cancer Funds Pink Revolution, an annual campaign that seeks to raise awareness and funds for breast cancer research, the hotel recently announced. A major sponsor of the campaign for three years in a row, Conrad Macao has pledged to donate a portion of its proceeds to the fund, including those collected from selling its popular bear and rubber duck merchandise, in limited pink editions. Pink is the theme for floral arrangements and decorations in the hotel in October. In addition, on Fridays that month, members of the management and staff will add something pink to their uniforms, regular e-mails and handwritten guest cards. Breast cancer is the most prevalent type of cancer among women in Hong Kong and is also of significant concern in Macao and around the world, regardless of age, general manager Bede Barry said in a statement. The hotel has enlisted the support of a number of international and local celebrities to help drive the cause, including South Korean actor Jung Suk Won. This year, a lucky guest who stays at the hotel during the campaign and also donates money for the cause will win a necklace specially designed by Arte Madrid, a Spanish jewelry brand. Women should strive to balance quality of work and life, and have children at a young age. As a doctor I see much suffering because of this imbalance. Xiao Ying, 36, works for a large law firm. Her job means lots of travel, a heavy caseload and a large number of meetings, so her schedule is hectic. She has been pregnant twice, but had abortions on both occasions because she felt her busy, high-pressure career wasnt conducive to raising a child. She planned to have children once she had achieved career success so she could provide a stable environment for her baby. After 10 years, Xiao felt the time was right, and she tried to conceive for about six months, but was unable to become pregnant. I conducted comprehensive physical checkups. The results suggested that Xiaos ovarian function has declined and a bilateral oviduct blockage has occurred, meaning that in vitro fertilization is her only option. So, after reducing her workload, Xiao underwent IVF treatment. Luckily, she got pregnant after just one treatment cycle, but later experienced vaginal bleeding, and rushed to the hospital. I told her to rest and carry on with the treatment (to prevent a miscarriage). As Zubin Zarthoshtimanesh, a yoga guru, demonstrated postures at a high school stadium in Dujiangyan city, Sichuan province, some 200 students sat on colorful mats watching him closely. It was part of the first India-China international yoga festival in the provincial capital, Chengdu, in Southwest China, where more than 1,000 fans from home and abroad gathered for lessons from 20 leading practitioners of the ancient Indian regimen, from June 17-21. Yoga is to India what perhaps tai chi is to China. Many countries other than India and China, also held the first World Yoga Day on June 21, after the United Nations last year agreed to Indian Prime Minister Narendra Modis suggestion that a special day be marked in the year for the global practice of the stress-busting regimen, which is already a multibillion dollar industry in the United States. Modi said in the speech: Yoga is an invaluable gift of Indias ancient tradition. . It is not about exercise but to discover the sense of oneness with yourself, the world and nature.Zarthoshtimanesh, who runs his own yoga center, Iyengar Yogabhyasa, in the Indian financial capital of Mumbai, says: Chinese students are very respectful. For me, all students are the same no matter what their race is and where they come from. The most important thing is to remove mental walls. Zarthoshtimanesh learned yoga from the late Yogacharya Iyengar and traveled with the master to different countries. Consulate General of India in southern Chinas Guangzhou city organized the Chengdu festival. A terrifying wooden bridge in China has just been replaced by a glass one. This, the worlds longest glass-bottomed walkway, is located in Shiniuzhai Geopark in Hunan, and spans 300m (984f) and is 180m (590f) above ground. The floor is made of double-layered glass that is 24mm (0.94in), and is reportedly 25 times stronger than regular window glass. The bridge had previously been made of wood, linking the two peaks of Stone Buddha Mountain, but 11 engineers working 12 hours a day converted it to glass. Previously, you were considered brave if you steeled yourself to cross the wooden walkway; now, with its glass bottom, the bridge is already being referred to as “hero bridge.” The popular chains longtime executive chef embraces mapo tofu and other exotic elements for the burger-driven menu, Liu Zhihua reports.At the age of 37, Shanghai native Lin Zhengu has become a star as a Western cuisine chef in the Chinese metropolis, a city that has a wealth of Western restaurants. The executive chef of Blue Frog Bar and Grill, a popular burger-based restaurant and bar chain on the Chinese mainland, Lin is the soul of the restaurant franchises team of more than 550 chefs. Many of the franchises most popular dishes are his brainchild. Lin says his secret of success is innovation rooted in experience: He spends months every year traveling and eating worldwide, seeking new ingredients and inspirations that could improve the offerings of Blue Frog restaurants. The restaurant chain regularly launches a new seasonal menu, usually featuring eight new dishes with fresh ingredients. The best-selling seasonal dishes later replace the least popular items on the regular menu, which is usually updated in late fall and boasts a selection of about 40 dishes. Food should have no boundaries, Lin says. As long as the food tastes good and is healthy, it doesnt really matter where it originates or how it is cooked. Lin likes to give the American-style restaurants menu some culinary touches from other countries, such as China and Mexico, and customers love such innovation, he says. He started his career as an apprentice in a Chinese kitchen in 1993. By chance he learned from a French chef in 1994, and soon became enamored with the world of Western food. During the next couple of years, he received strict training in Western culinary art from French, Chinese and German chefs. That was rare for a Chinese chef in the 1990s, he saysand so was being a Chinese chef who spoke fluent English. When an American entrepreneur invited him to join in his startup Blue Frog in 2000, Lin didnt hesitate to resign from a five-star hotel to work in the new restaurant with just five chefs, eager to explore the excitement of a life that had yet to unfold. Since that Shanghai launch, Blue Frog has opened 24 branches in seven cities across China, including Beijing, Tianjin, Chongqing and Nanjing in Jiangsu province. The new menu for this fall, which was launched in early September, showcases how flavors of East and West meet to create a variety of delicious burgers and other entrees in the cozy, soft-lit restaurants. I liked the mapo burger best. Just imagine the flavorful combination of the hot, mildly numb-spicy mapo tofu sauce and grilled 100-percent Australian beef patty, along with a slice of cheddar cheese and a side of french fries. The savory sauce helped highlight the pattys juicy, tender texture and its

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论