【Android论文栏目提醒】:网学会员为广大网友收集整理了,基于Android平台的“手机交通信息发布系统” - 硕士论文,希望对大家有所帮助!
)户 劣妻京 夕l 专业硕士学位
论文 基于Android平台的“手机交通信息发布系统’’的 设计与实现 Design and Implementation of Mobile Traffic Dissemination Syste based A Information noitamrdiord11 on An rol lnl0 System a n Operating System 作者:翟晓宇 导师:贾利民 /罨,o。
北京交通大学 2010年12月、~。
k穸 t n ’ 本学位论 ◆q 授权北京交通 J 提供阅览服务 同意学校向国 (保密的 学位
论文 签字Et期,研j I 一,j 中图分类号:TP31I.52 学校代码:10004 UDC:XXXX 密级:公开 呵卟Ir 北罘父嬗大罕 北京交通大学 专业硕士学位
论文 基于Android平台的“手机交通信息发布系统’’ Design and Implementation of Mobile Traffic Information Dissemination System based on Android Operating System ●I,I 作者08122382 导师教授 工程领域:智能交通 学位级别:硕士 一,可“ I 一 北京交通大学 201 0年12月.|; 致谢气 本
论文的工作是在贾利民教授和董宏辉老师的悉心指导下完成的,两位老师’}.. 严谨的治学态度和科学的工作方法给了作者极大的帮助和影响。
在此衷心感谢两 位老师对作者的关心和指导。
贾利民教授和董宏辉老师的悉心指导使作者完成了实验室的科研工作,在学 习上和生活上都给予了作者很大的关心和帮助,在此向他们表示衷心的谢意。
黎活明老师对于作者的科研工作和
论文提出了许多的宝贵意见,在此表示衷 心的感谢。
南海滨、聂淼、余军、贺丽红等同事在公司实习期间对作者的工作和学习给 予了很多帮助,在此表示由衷的感谢。
在实验室工作及撰写
论文期间,张尊栋、孙晓亮、徐东伟、李晨曦、贾献博、 李海舰、裴贺蕊、张新媛、刘洋等同学对作者
论文中的部分研究工作给予了热情 帮助,在此向他们表达作者的感激之情。
另外也感谢我的家人和朋友,他们的理解和支持使我能够在学校专心完成我 的学业。
中文摘要摘要:智能交通系统(ITS,Intelligent Transportation System)是将先进的传感器技术、通信技术、数据处理技术、网络技术、自动控制技术、信息发布技术等有机地运用于整个交通运输管理体系而建立起的一种实时的、准确的、高效的交通运输综合管理和控制系统。
作者在硕士实习期间以ITS为研究方向,在智能手机交通信息发布系统的方面做了一些有益的尝试,取得了一些成果。
“手机交通信息发布系统”是为了适应3G甚至是4G网络的需要而研发的交通信息发布系统,该系统可以通过智能手机让行人及时了解北京市的各种交通信息,从而方便首都市民的出行。
本文的主要工作是完成了“手机交通信息发布系统’’的需求分析、总体设计、概要设计、编码、测试和发布工作。
本文的亮点有: l“手机交通信息发布系统’’可以对北京市的交通信息进行图文和语音发布,而且具有搜索、问路、GPS跟踪、RSS阅读器、导航、聊天、手势识别、文件上传、本地和网络音乐播放的功能,可谓功能强大,在目前国内外的手机交通信息系统中也不落人后。
2该系统可以根据服务器发送的数据在Google map地图上生成相应的图标,并对图标进行定时刷新。
当用户点击图标时,系统会显示该路段的详细交通信息,同时进行语音播报。
这种信息发布模式在目前国内外的手机交通信息系统中并不多见,具有一定的先进性。
3作者在该系统中实现了图标刷新的Ajax效果。
截至2010年4月,除了Google之外,在互联网上还没有见到任何人可以在Android系统的Google地图上实现图标刷新的Ajax效果。
关键词:Android;交通信息发布:Google map;C/S分类号:TP311.52卜l『l F 、 _, 卉 AB STRACT ABSTRACT:Intelligent transportation system is an integrated transportation management and control system,which advanced effectively integrates sensor technology,communications technology,data processing,network technology, automation technology,information dissemination technology,etc.,and use these technologies in the whole field of traffic management to establish the kind of real.time, accurate and efficient integrated transportation management and control system. I consider ITS as my research direction during the period of my master’s internship, and I have made some useful attempts in the and implementation of the smart design phone traffic information systems,and achieved some results. ”Mobile Traffic Information Dissemination System”is developed in order to meet the needs of 3G 4G network,and timely inform people the a or even this system can various traffic information in Beijing via smart phone terminals,SO as to facilitate事 I capital citizens’travel.’ The main work of this paper is to.| complete the needs analysis,outline design, detailed design,coding,testing and release work of”Mobile Traffic Information Dissemination System”.The innovation points of this paper are listed as follows: 1‘‘Mobile Traffic Information Dissemination System’’Can release traffic information in Beij ing by graphic,text and voice,and it also has the search,path planning,GPS tracking,RSS reader’navigation,chatting,gesture recognition,file uploading,local and network music player functions.This system is SO powerful that it will not fall behind in the current domestic and international phone traffic information systems. 2 The pattern of this system is rarely seen in the current domestic and international phone traffic information systems and it is quite advanced.This system uses Google map to display the map on Android operating system,and it call generate the corresponding icons,which Can bc refreshed in several minutes according to the data sent by the server,and if a user clicks some icon,it will show the details of the information of the road and broadcast the information to the user. 3 The refreshing of the icons on the map has realized the Ajax results.As of May 20 1 0,in addition to Google and mysele I have never found anyone on the internet had realized the Aj ax results of the refreshing of the icons in a Google Map,using Android 北京交通太堂亟±堂僮j金塞 △垦S娈丛g!operating system.KEYWORDS:Android;Tramc Information Dissemination;Google map:C/SCLASSN0:TP3 11.52 p } l 扣 、 ● 鼍 √ 目录中文摘要……………………………………………………………………………VABSTRACT………………………………………………………………………………………………viil绪{仑………………………………………………………………………………………………………1 1.1课题背景及目的…………………………………………………………l 1.2国内外发展现状…………………………………………………………1 1.3课题来源及研究目标……………………………………………………2 1.4
论文各个部分构成及主要内容………………………………………..32研究现状综述…………………………………………………………………..5 2.1引言…………………………………………………………………………………………。
5 2.2为什么选择Android……………………………………………………5 2.3为什么选择C/S架构…………………………………………………..7 2.4交通领域该怎样应用Android…………………………………………8 2.5小结…………………………………………………………………………………………..1 l3需求分析与建模…………………………………………..:………………….13 3.1引言…………………………………………………………………………………………13 3.2系统总体需求…………………………………………………………13 3.3系统详细需求…………………………………………………………14 3.3.1服务器端的软硬件需求……………………………………….15 3.3.2客户端的重点交通信息发布功能…………………………….15 3.3.3客户端的地图显示功能……………………………………….17 3.3.4客户端的地名搜索功能……………………………………….19 3.3.5客户端的路径规划功能……………………………………….2l 3.3.6客户端的GPS跟踪功能……………………………………….23 3.3.7客户端的RSS阅读器功能…………………………………….25 3.3.8客户端的导航功能…………………………………………….27 3.3.9客户端的本地音乐播放功能………………………………….29 3.3.10客户端的网络音乐播放功能………………………………..32 3.3.11 客户端的聊天功能………………………………………….33 3.3.12客户端的手势识别功能……………………………………..35 3.3.13客户端的上传文件功能……………………………………..37 3.4小结…………………………………………………………………………………………..394总体设计和概要设计…………………………………………………………41 4.1引言…………………………………………………………………….4l 4.2体系结构设计………………………………………………………….4l 4.2.1系统概述………………………………………………………一4l 4.2.2系统架构图……………………………………………………..42 4.2.3开发、运行、测试环境的配置………………………………..45 4.3模块设计………………………………………………………………47 4.4数据库设计……………………………………………………………..66 4.4.1数据库环境说明…………………………………………………66 4.4.2逻辑设计………………………………………………………..66 4.4.3物理设计…………………………………………………………68 4.4.4安全性设计……………………………………………………….69 ‘ 4.4.5性能的优化………………………………………………………70 . 4.4.6数据库管理与维护说明…………………………………………70 4.5用户界面设计………………………………………………………….7l 4.6小结……………………………………………………………………………………………755系统编码实现…………………………………………………………………77 5.1引言……………………………………………………………………..77 5.2开发环境介绍………………………………………………………….77 5.3开发进度安排………………………………………………………….77 5.4具体模块开发…………………………………………………………..78 5.4.1服务器端………………………………………………………..78 5.4.2客户端重点交通信息发布……………………………………..78 5.4.3客户端地图显示…………………………………………………79 5.4.4客户端地名搜索………………………………………………..80 5.4.5客户端路径规划…………………………………………………8 1 5.4.6客户端GPS跟踪………………………………………………..82 5.4.7客户端RSS阅读器……………………………………………..82 5.4.8客户端导航………………………………………………………83 5.4.9客户端聊天……………………………………………………一84 5.4.1 O客户端手势识别………………………………………………85 5.4.1l 客户端上传文件………………………………………………一86 5.4.1 2客户端本地音乐………………………………………………87 5.4.13客户端网络音乐………………………………………………88 5.5系统集成……………………………………………………………….89 5.6/J、结…………………………………………………………………………………………..906软件测试…………………………………………………………………………………….91 6.1引言…………………………………………………………………………..91 6.2测试规格说明…………………………………………………………9l 6.2.1软件测试概述…………………………………………………..91 6.2.2需要测试的功能………………………………………………一94 6.2.3方法(策略)…………………………………………………..98 6.2.4测试通过/失败的标准………………………………………101 6.2.5测试环境………………………………………………………101 6.2.6进度表…………………………………………………………101 6.3测试用例说明………………………………………………………一103 6.4测试日志………………………………………………………………………l 13 6.5测试结果……………………………………………………………..119 6.5.1测试总结………………………………………………………11 9 6.5.2评价和建议……………………………………………………119 6.6小结…………………………………………………………………………………………1197软件签名、打包和发布…………………………………………………….1218结论…………………………………………………………………………………………………一123 8.1项目总结…………………………………..:………………………….123 8.2存在问题……………………………………………………………一123 8.3研究展望………………………………………………………………124参考文献…………………………………………………………。
…………….125作者简历…………………………………………………………………………127独创性声明……………………………………………………………………………..129学位
论文数据集………………………………………………………………一131P { { j.- ~ j|f 竞 ≯图2-2 2007世界手机市场占有率图…………………………………………。
10图3-1客户端用例总图…………………………………………………………15图3-2重点交通信息发布功能用例图………………………………………….16图3-3重点交通信息发布功能活动图…………………………………………17图3-4地图显示功能用例图……………………………………………………18图3-5地图显示功能活动图……………………………………………………19图3-6地名搜索功能用例图……………………………………………………….20图3-7地名搜索功能活动图…………………………………………………………….2l图3-8路径规划功能用例图…………………………………………………….22图3-9路径规划功能活动图……………………………………………………23图3-10 GPS跟踪功能用例图…………………………………………………….24图3-1 1 GPS跟踪功能活动图……………………………………………………25图3-12 RSS阅读器功能用例图………………………………………………。
26图3-13 RSS阅读器功能活动图………………………………………………………。
27图3-14导航功能用例图…………………………………………………………28图3-15导航功能活动图………………………………………………………。
29图3-16本地音乐播放功能用例图……………………………………………..30图3-17本地音乐播放功能活动图……………………………………………。
3 1图3-18网络音乐播放功能用例图……………………………………………………32图3-19网络音乐播放功能活动图……………………………………………………33图3-20聊天功能用例图………………………………………………………….34图3-21聊天功能活动图……………………………。
…………………………35图3-22手势识别功能用例图…………………………………………………一36图3-23手势识别功能活动图………………………………………………….37图3-24上传文件功能用例图…………………………………………………。
38图3-25上传文件功能活动图………………………………………………………39图4-1系统物理架构图…………………………………………………………42图4-2系统逻辑架构图…………………………………………………………..43图4-3系统包图…………………………………………………………………..45图4-4系统部署图……………………………………………………………….47图4—5系统组件图………………………………………………………………47图4—6客户端全类图………………………。
…………………………………一49图4—7重点.