【Android论文栏目提醒】:网学会员Android论文为您提供基于Android平台的商旅管理系统的设计与开发 - 硕士论文参考,解决您在基于Android平台的商旅管理系统的设计与开发 - 硕士论文学习中工作中的难题,参考学习。
申请上海交通大学工程硕士学位
论文基于
Android 平台的商旅管理系统的设计与开发 学校代码: 10248 作者 1090372096 第一导师: 赵建军 第二导师: 王江川 学科专业: 软件工程 答辩日期: 2012 年 3 月 29 日 上海交通大学软件学院 2012 年 1月 II A Dissertation Submitted to Shanghai Jiao Tong University for Master Degree of Engineering THE DESIGN AND DEVELOPMENT OF A BUSINESSTRAVEL MANAGEMENT SYSTEM BASED ON
ANDROID PLATFORM University Code: 10248 Author: Zhang Jin Student ID: 1090372096 Mentor 1: Zhao Jianjun Mentor 2: Wang Jiangchuan Field: Software Engineering Date of Oral Defense: 2012.3.29 Shanghai Jiaotong University Jan 2012 IIIIVV 基于
Android 平台的商旅管理系统的设计与开发 摘 要 由 Google 倡导发起的开放手机联盟及其推出的
Android 平台,一经发布便在业内引起轩然大波。
随着人们对生活质量要求的不断提高,手机的功能已不仅局限于通讯方面,更是成为人们在办公、娱乐、生活上的助手,使得移动应用开发已成为目前嵌入式软件开发中最为热门和最具挑战性的方向。
Android 平台特色应用就是移动互联网应用,商旅管理系统正是基于移动互联网产业为商务人士量身定制的一款应用。
商旅管理系统紧紧聚焦商旅个人和政企客户在差旅行程中的各项需求,提供优质、高效、便捷的一站式服务,从而为客户实现商旅成本最低化、时间最优化、服务个性化、感知人性化的目标。
本文将首先介绍
Android 平台中的内部结构,通过和现有的智能手机开发平台进行比较,研究分析该平台的结构特点,以此说明
Android 平台具有强大的开放性和兼容性。
接着将解析
Android 中的重要应用程序编程接口、应用构成以及 Intent 和生命周期的机制。
在此基础上,基于
Android 平台设计和开发商旅管理系统,首先将提出系统的整体解决方案,系统架构为客户端/服务器端的方式,客户端是基于
Android 平台开发的,负责与用户进行直接交互。
再从客户端的界面、数据和功能三方面进行设计,系统包含机票预订、航班动态、机场巴士、值机、酒店预订、用户反馈、关于我们这几个功能模块。
机票预订功能就是查询用户指定条件的机票信息,提供机票预订服务。
航班动态功能就是查询用户指定的航班动态信息。
机场巴士功能就是查看机场相关大巴、公交、出租车等短途交通状况。
值机功能就是用户在飞机起飞前上网完成办理登机牌手续。
酒店预订功能就是查询用户指定条件的酒店信息,提供酒店预订服务。
用户反馈功能就是用户提交缺陷、发表建议的渠道。
关于我们功能就是将产品相关信息展现给用户。
接着将论述这些功能在客户端上的实现过程,最后对客户端进行测试。
本系统界面友好、操作便捷,具有良好的可扩展性和可维护性;系统经过测试,可以稳定运行,且用户体验良好,已发布于各大电子市场,获得客观正面的用户反馈。
关键词
Android,智能手机平台,Web,移动应用 VI THE STUDY ON A BUSINESS TRAVEL MANAGEMENT SYSTEM BASED ON
ANDROID ABSTRACT The establishment of OHA Open Handset Alliance and the publication of Androidplatform by Google have caused uproar in communication industry.With the continuousimprovement of life quality mobile is not only the communication tool but also people’s lifeassistant in office and entertainment.Thus mobile application development become the mostpopular and challenging trend in embedded software. The featured application in Androidplatform is mobile internet applications. Business travel management system based on themobile internet industry is applied for a tailored business people. The system will tightlyfocus on individual government and enterprise customers in the travel itinerary needs. It willprovide high quality high preformance and convenient one-stop service for customers toachieve the goal of low cost in business travel optimized time personalized service andhumanized perception. This paper will firstly describe the internal structure of the
android platform.And it willstudy and analyze the structural characteristics of the platform through the existing smartphone development platform comparison in order to explain there’s a strong openness andcompatibility in
android platform and then to resolve the important API in
Android and andapplication of composition, then analyzes Intent and life cycle’s mechanism. On this basisthe travel management system based on
Android is designed and developed. The wholesolution of the system will be first proposed that system architecture is client/server mode.The client which is responsible for directly interacting with users is developed on Androidplatform.Then client will be designed in three aspects which is user interface data andfunction. The system includes ticket reservation flight dynamics airport busflight check-inhotel reservation user feedback and about us.Ticket reservation module function is to querythe user specified ticket information and support ticket booking service. Flight dynamicmodule function is to query the user specified flight dynamic information.Airport bus modulefunction is to get airport bus bus taxi and other short-distance traffic information.Flightcheck-in module fuction is to finish the boarding pass procedures on internet.Hotelreservation module function is to query the user specified hotel information and support hotelbooking service.User feedback module function is to support user submitting bugs and VIIsuggestions.About us module function is to show the product related information to theusers.Then the paper will describe the implement process of the application. At last theapplication will be run and tested. This system is user-friendly easy to operate.Also it has good extendibility andmaintainability.The system is tested which can be runned stable and it has a good userexperience.It has been published in major electronic markets and it has got objective andpositive user feedback.Keywords
Android Smart phone platform Web Mobile application VIII 目 录1 绪 论 ............................................................................................................................... 1 1.1 研究背景及意义 ................................................................................................... 1 1.2 相关技术的发展现状 ............................................................................................ 2 1.2.1 智能手机平台现状分析 ............................................................................. 2 1.2.2
Android 平台的优越性 ................................................................................ 4 1.3 本文主要工作 ........................................................................................................ 52
Android 架构及应用研究 ................................................................................................ 6 2.1
Android 的功能特征 .............................................................................................. 6 2.2
Android 的架构分析 .............................................................................................. 8 2.3
Android 的应用程序结构解析 ............................................................................ 11 2.3.1 Intent 描述 .................................................................................................. 12 2.3.2 Intent 解析 .................................................................................................. 12 2.3.3 组件交互方式 ........................................................................................... 13 2.4
Android 组件的生命周期 .................................................................................... 14 2.4.1 Activity 的生命周期 .................................................................................. 14 2.4.2 Service 的生命周期 ................................................................................... 17 2.4.3 Broadcast Receiver 的生命周期 ................................................................ 19 2.4.4 进程与生命周期 ....................................................................................... 19 2.5 本章小结 ............................................................................................................. 213 基于
Android 平台的商旅管理系统设计 .................................................................... 22 3.1 系统概述 ............................................................................................................. 22 3.2 系统架构 ............................................................................................................. 22 3.3 系统服务器解决方案 ......................................................................................... 24 3.4 系统客户端解决方案 ......................................................................................... 26 IX 3.5 本章小结 ............................................................................................................. 274 商旅管理系统客户端设计 ........................................................................................... 28 4.1 需求分析 ............................................................................................................. 28 4.1.1 功能需求 ................................................................................................... 28 4.1.2 界面需求 ................................................................................................... 29 4.1.3 性能需求 ................................................................................................... 29 4.2 系统设计 ............................................................................................................. 30 4.2.1 界面设计 ................................................................................................... 30 4.2.2 数据设计 ................................................................................................... 38 4.2.3 功能设计 ................................................................................................... 40 4.3 本章小结 ............................................................................................................. 465 商旅管理系统客户端实现 ........................................................................................... 47 5.1 开发环境 ............................................................................................................. 47 5.1.1 下载开发资源 ........................................................................................... 47 5.1.2 更新 Eclipse 并下载 ADT ........................................................................ 47 5.2 功能实现 ............................................................................................................. 48 5.2.1 数据库 ....................................................................................................... 48 5.2.2 HTTP 连接与 XML 解析 .......................................................................... 48 5.2.3 自动升级 .................................................................................................... 49 5.3 界面实现 ............................................................................................................. 51 5.4 本章小结 ............................................................................................................. 596 商旅管理系统测试 ....................................................................................................... 60 6.1 测试环境 ............................................................................................................. 60 6.1.1 模拟器测试 ............................................................................................... 60 6.1.2 移动设备测试 ........................................................................................... 60 6.2 测试内容 ............................................................................................................. 61 6.2.1 功能测试 ................................................................................................... 61 X 6.2.2 性能测试 ................................................................................................... 62 6.3 测试问题总结 ..................................................................................................... 64 6.4 本章小结 ............................................................................................................. 647 结 论 ............................................................................................................................. 65参考文献 ........................................................................................................................... 66致 谢 ................................................................................................................................. 69攻读学位期间发表的学术
论文目录 ............................................................................... 69 XI 1 绪 论1.1 研究背景及意义 随着人们对生活质量要求的不断提高和手机应用的不断深入,手机作为一种移动设备,其功能已不仅局限于通讯方面,更多的是成为人们在办公、娱乐、生活上的助手。
手机功能的不断细化,使得移动应用开发已成为目前嵌入式软件开发中最为热门和最具挑战性的方向1。
为应对逐步升温的应用需求,不同的手机操作系统和手机设备生产商都在不断地更新升级自己的产品,以求在激烈的市场竞争中占得一席之地。
然而,占据市场份额较大的手机系统往往都不具有开源性,这无疑提高了手机应用开发的门槛,也使手机应用的更新速度无法跟上应用需求的变化。
Android 正是在这种手 以机应用不断发展的趋势下产生的。
Google 为首的开放手机联盟推出
Android操作系统,试图利用其独特的优势与 Windows Mobile、Symbian 等老牌手机系统相抗衡,开辟移动应用开发的新空间2。
Android 是一个真正意义上的开放性移动应用综合平台,它包括操作系统、用户系统、中间件和一些关键的平台应用,它的最大的特点就是它是一个开放的体系架构,具备良好的开发调试环境和测试环境,支持各种可扩展的用户体验。
Android 平台开放性特点能够促进技术的创新,降低开发成本,形成市场良性竞争。
也使运营商能够方便定制自己个性化的产品,以形成自己的竞争优势,所以它的市场潜力是巨大的。
Android 平台特色应用就是移动互联网应用,所谓移动互联网,就是将移动通信与互联网二者结合起来,成为一体。
也就是借助于移动终端设备通过第三代移动通信技术(3rd-Generation, 、 简称 3G) 第二代移动通信技术(2nd-Generation,简称 2G)网络或无线网络(Wireless Fidelity,简称 WIFI)进行各种交互。
商旅管理系统正是基于移动互联网产业为商务人士量身定制的一款应用。
在智能手机市场中,商务人士占据了很大一部分的比率,他们频繁游走于各个城市,所以飞机航班和酒店信息对他们来说尤为重要。
可在移动状态下即时订机票、订酒店对于商务人士来说是相当有必要的。
商旅服务方面,携程旅行网开发了“携程无线”手机客户端,能够进行机票和酒店预订,国航、海航、山航等航空公司也推出了机票预订手机客户端中国移动的 12580 手机客户端提供生活信息查询、酒店机票预订、导航、天气等服务。
但是 12580 功能有限,只能进行机票查询而不能进 1行机票在线预订,且细节较粗糙,航班信息重点内容不突出。
携程客户端的功能较完整,但其操作流程不够便捷,此外存在无法定位当前位置的问题。
综上,通过分析目前市场上出行类系统的现状,商旅类系统需要提供的主要功能就是商旅服务的全流程打通,使得用户能便捷地在一个系统中能满足所有的出行需求,通知信息能及时地传达到用户手中。
基于这一点,商旅管理系统对于用户来说就显得尤为便捷与即时,提供了一条龙的全流程.