摘要
本文主要介绍利用HBuilder开发基于LBS多人快速定位和导航APP(定位导航管理)设计及实现过程。本软件具有友好的交互界面,用户可通过使用本软件进行导航、好友位置共享等。APP中成员都可以通过查询的方式指定一目的地及途经地,系统能给出正确的导航路径选择及实时导航服务。群中成员能进行简单的群聊及独聊交流。
功能主要包括定位管理、导航管理、足迹管理、人员管理、聊天管理。其中定位管理、导航管理的实现用到了百度地图JavaScript API;足迹管理采用定时采集位置信息并上传的方式实现;人员管理通过建立用户好友关系表、群组成员表来实现;聊天管理中,获取新消息使用AJAX轮询方式,所有聊天记录都保存到服务器数据库中供查询、统计。
【关键词】 定位;导航;APP;LBS;聊天
Abstract
This paper mainly introduces the design and implementation of LBS based multi person rapid positioning and navigation APP (location and navigation management) developed by HBuilder. The software has friendly interaction interface, and users can navigate through the software and share location with friends. The members of APP can specify a destination and destination through a map selection, direct input and query. The system can provide the correct navigation path selection and real-time navigation service. Group members can conduct simple group chat and chat alone.
As for functional modules, they mainly include location management, navigation management, footprint management, personnel management, and chat management. The implementation of positioning management and navigation management uses the Baidu map JavaScript API; footprint management adopts the timing of collecting location information and uploading; personnel management is realized by establishing a user friend relationship table and group member table; in chat management, getting new message is based on AJAX polling. All the chat records are stored in the server database for query and statistics.
【Key Words】 positioning; navigation; APP; LBS; chat
目录
1 绪论
1.1 设计的背景及意义
1.1.1 设计背景
1.1.2 设计意义
1.2 内容及目标
1.2.1 内容
1.2.2 目标
2 相关技术介绍
2.1 H5+Runtime概述
2.2 MySQL数据库概述
2.3 百度地图API概述
2.4 Tomcat服务器简介
3 需求分析
3.1 需求分析概述
3.2 功能需求分析
3.3 性能需求分析
3.4 开发与运行环境需求
4 软件设计
4.1 软件概要设计
4.1.1 功能模块设计
4.1.2 系统结构图
4.2 系统流程图
4.3 数据库设计
4.4 数据库表关系图
4.5 软件详细设计
4.5.1 主界面
4.5.2 群聊界面
4.5.3 位置共享界面
4.5.4 轨迹列表界面
5 系统测试
5.1 系统测试概述
5.2 测试环境
5.3 主要测试内容
5.4 测试方法
5.5 测试过程
5.5.1 定位功能测试
5.5.2 搜索功能测试
5.5.3 路径规划功能测试
5.5.4 导航功能测试
5.5.5 位置共享功能测试
5.6 测试结论
总结..
致谢..
参考文献









