基于Android平台的手机定位区域性服务设计及应用
发布时间:2018-08-23 14:14
【摘要】:分布嵌入式软件功能模块的设计与实现是当前研究热点,在嵌入式系统中,实时定位的研发是一类重要的应用。在手机上开发实时定位软件,选择Android这样的技术框架是必要的。首先,Android集成了地图模块和丰富的API,能有效支持嵌入式软件在分布移动环境中的定位功能实现;其次,在Android平台上二次开发手机定位软件,一方面降低了开发难度,另一方面减少了开发成本。最重要的是Android平台具备良好的兼容性和可移植性。 与当前主流定位(Google,Yahoo,Virtual Earth)相比,本文的定位技术有以下几个特点:1)热点查询体现了显著的区域性;2)根据定位的已知条件将定位分为反码,正码和短信定位三种方式,进一步细化了定位服务;3)在正反码定位设计的基础上,提出新的定位方式—短信定位,给出思想,算法和开发过程,并验证了结果的可行性;4)区域公交查询详细的路线信息完善了Google全球路线查询的粗略;5)天气查询给出天气信息,通过结合其它模块,是用户出行、旅游的重要参考。论文主要工作包括: 1、对比分析了市场上主流操作系统,介绍了Android平台框架和应用程序开发流程;比较目前主流数据库和嵌入式数据库,介绍了SQLite数据库的实现机制; 2、根据定位的条件,将定位分解为反码,正码和短信定位。反码是根据经纬度来定位,主要完成图标定位,放大、缩小地图,在卫星、街道、交通三种地图模式之间转换;正码根据具体地址来定位,原理是将地址转换成地标再定位; 3、在正反码定位的基础上,提出了短信定位。短信定位的本质是间接定位,通过短信内容获取经纬度,达到在地图上定位他人的目的。 4、以定位服务为核心,扩展了路线指南,公交查询,天气查询和热点查询等模块,内容如下: 1)路线指南的趋近提示根据进出入区域范围给出提示;路径规划实时更新当前位置并绘出路线轨迹;路线选择根据用户选择给出相关的信息; 2)公交查询中的车次查询给出某车次的首末班车发车时间、起点、终点站和售票信息;站点查询给出车次经过的所有站;换乘查询在代码中按照直达、一次、二次换乘的顺序设置优先级进行查询; 3)天气查询模块给出当前天气信息(温度,湿度,风向)以及未来四天的预测; 4)热点查询给出热点简介及周边信息。
[Abstract]:The design and implementation of distributed embedded software function modules is a hot topic at present. In embedded systems, the research and development of real-time positioning is an important application. It is necessary to develop real-time positioning software on mobile phone and choose a technical framework such as Android. First of all, Android integrates map module and rich API, which can effectively support the location function of embedded software in distributed mobile environment. Secondly, the second development of mobile phone location software on Android platform, on the one hand, reduces the development difficulty. On the other hand, it reduces the cost of development. The most important thing is that the Android platform has good compatibility and portability. Compared with the current Google Yahoo Virtual Earth, the location technology of this paper has the following characteristics: 1) the hot spot query embodies a significant regional area 2) according to the known conditions of location, the location is divided into three ways: inverse code, positive code and short message location. On the basis of the design of forward and negative code location, a new location method, short message location, is proposed, and the idea, algorithm and development process are given, and the feasibility of the result is verified. 4) the detailed route information of regional public transport query improves the rough of Google global route query. Weather query gives weather information. By combining other modules, it is an important reference for users to travel and travel. The main work of this paper is as follows: 1. Comparing and analyzing the mainstream operating system in the market, introducing the framework of Android platform and developing process of application program, comparing the current mainstream database with embedded database, The implementation mechanism of SQLite database is introduced. 2. According to the condition of location, the location is decomposed into inverse code, positive code and short message location. The inverse code is located according to latitude and longitude, mainly completes the icon localization, zooms in, reduces the map, in the satellite, the street, the traffic three kinds of map mode conversion, the positive code according to the concrete address localization, the principle is to convert the address to the landmark to locate; 3. On the basis of forward and negative code localization, the short message location is put forward. The essence of short message positioning is indirect positioning. By obtaining latitude and longitude through short message content, we can achieve the purpose of locating others on the map. 4. Taking location service as the core, we have expanded the route guide and public transportation inquiry. The contents of weather query and hot spot query are as follows: 1) the approach hint of route guide is given according to the range of entering and going into the area, the path planning updates the current position in real time and draws the track of the route; Route selection gives the relevant information according to the user's choice; 2) the train number query in the public transportation query gives the departure time, starting point, terminal station and ticket selling information of the first and last train of a certain train; The transfer query is carried out according to the order of direct, first and second transfer in the code. 3) the weather query module gives the current weather information (temperature, humidity, wind direction) and the forecast for the next four days. 4) Hot spot query gives hot spot brief and peripheral information.
【学位授予单位】:昆明理工大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TN929.53;TP368.1
本文编号:2199315
[Abstract]:The design and implementation of distributed embedded software function modules is a hot topic at present. In embedded systems, the research and development of real-time positioning is an important application. It is necessary to develop real-time positioning software on mobile phone and choose a technical framework such as Android. First of all, Android integrates map module and rich API, which can effectively support the location function of embedded software in distributed mobile environment. Secondly, the second development of mobile phone location software on Android platform, on the one hand, reduces the development difficulty. On the other hand, it reduces the cost of development. The most important thing is that the Android platform has good compatibility and portability. Compared with the current Google Yahoo Virtual Earth, the location technology of this paper has the following characteristics: 1) the hot spot query embodies a significant regional area 2) according to the known conditions of location, the location is divided into three ways: inverse code, positive code and short message location. On the basis of the design of forward and negative code location, a new location method, short message location, is proposed, and the idea, algorithm and development process are given, and the feasibility of the result is verified. 4) the detailed route information of regional public transport query improves the rough of Google global route query. Weather query gives weather information. By combining other modules, it is an important reference for users to travel and travel. The main work of this paper is as follows: 1. Comparing and analyzing the mainstream operating system in the market, introducing the framework of Android platform and developing process of application program, comparing the current mainstream database with embedded database, The implementation mechanism of SQLite database is introduced. 2. According to the condition of location, the location is decomposed into inverse code, positive code and short message location. The inverse code is located according to latitude and longitude, mainly completes the icon localization, zooms in, reduces the map, in the satellite, the street, the traffic three kinds of map mode conversion, the positive code according to the concrete address localization, the principle is to convert the address to the landmark to locate; 3. On the basis of forward and negative code localization, the short message location is put forward. The essence of short message positioning is indirect positioning. By obtaining latitude and longitude through short message content, we can achieve the purpose of locating others on the map. 4. Taking location service as the core, we have expanded the route guide and public transportation inquiry. The contents of weather query and hot spot query are as follows: 1) the approach hint of route guide is given according to the range of entering and going into the area, the path planning updates the current position in real time and draws the track of the route; Route selection gives the relevant information according to the user's choice; 2) the train number query in the public transportation query gives the departure time, starting point, terminal station and ticket selling information of the first and last train of a certain train; The transfer query is carried out according to the order of direct, first and second transfer in the code. 3) the weather query module gives the current weather information (temperature, humidity, wind direction) and the forecast for the next four days. 4) Hot spot query gives hot spot brief and peripheral information.
【学位授予单位】:昆明理工大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TN929.53;TP368.1
【参考文献】
相关期刊论文 前10条
1 吴林;熊滔;蔡永香;;基于Android手机的地图应用设计与开发[J];城市勘测;2011年02期
2 符海月;赵军;李满春;;从Google Maps看我国全球化地理信息服务面临的挑战和对策[J];地理与地理信息科学;2006年02期
3 张恒喜;史争军;;基于SQLite的Android数据库编程[J];电脑编程技巧与维护;2011年21期
4 唐敏;宋杰;;嵌入式数据库SQLite的原理与应用[J];电脑知识与技术;2008年04期
5 赵亮;张维;;基于Android技术的界面设计与研究[J];电脑知识与技术;2009年29期
6 王京谦,万莅新;开源嵌入式数据库BerkeleyDB和SQLite的比较[J];单片机与嵌入式系统应用;2005年02期
7 刘振;刘忠;麦范金;赵荣阳;;主流操作系统安全性分析及安全策略[J];计算机安全;2007年08期
8 李惠;丁革建;;智能手机操作系统概述[J];电脑与电信;2009年03期
9 崔金红;王旭;;Google地图算法研究及实现[J];计算机科学;2007年11期
10 方银旺,赵问道,李欣;Symbian操作系统及其应用程序开发[J];计算机工程;2003年01期
相关硕士学位论文 前1条
1 佘凤娅;基于Android的手机搜索定位应用开发[D];北京邮电大学;2010年
,本文编号:2199315
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2199315.html