APP下载

基于Android的位置指纹数据采集系统

2017-09-18李刚姬同凯杨建光曾国玉梁通

计算机时代 2017年9期

李刚 姬同凯 杨建光 曾国玉 梁通

摘 要: 位置指纹采集工作是实施Wi-Fi定位系统的重要环节。为了减少无效作业、保障数据可用性、提高团队协作能力,设计并实现了一种基于Android平台的位置指纹数据采集系统。该系统具备采集规则自定义、地图及采集点展示、无线信号采集和结果实时上传等功能,具有交互体验顺畅简便、施工过程可视化等优点。测试效果表明:系统运行良好,功能稳定可靠,满足实际应用需要。

关键词: Android; 位置指纹; 无线信号采集; Wi-Fi定位系统实施

中图分类号:TP311 文献标志码:A 文章编号:1006-8228(2017)09-09-04

Abstract: The location fingerprint acquisition is the important basic part of Wi-Fi positioning system. In order to reduce the fruitless work, guarantee the data availability and improve the teamwork cooperation, an Android-based location fingerprint acquisition system is designed. The system has the functions of defining acquisition rule, displaying map and acquisition points, acquiring the wireless signal data and uploading the results in real time, and has the advantages of smooth and simple of interactive experience and visualization of construction progress. The test results show that the system runs well and the function is stable and reliable, which meets the needs of practical application.

Key words: Android; location fingerprint; wireless signal acquisition; Wi-Fi positioning system implementation

0 引言

隨着移动互联网技术发展,LBS(Location Based Service)发挥着越来越重要的作用[1-2]。Wi-Fi(Wireless Fidelity)定位技术是在室内环境实现LBS的重要手段之一[3-4]。得益于支持Wi-Fi技术智能移动终端的普及,Wi-Fi定位技术已在商场、校园、图书馆、博物馆、旅游景区、医院、矿井等多个场景得到应用,并取得了不错效果。

基于Wi-Fi的位置指纹定位是以定位环境中各个无线AP(Access Point)接入点的RSSI(Received Signal Strength Indicator)汇集形成的位置指纹库为基础的无线定位解决方案,具有定位成本低、扩展性强和定位精度比较高的优势,成为当前较广泛使用的热点技术[5]。其中,位置指纹数据采集工作相当关键。

根据移动、持续作业等特点,使用智能移动设备采集无线信号数据是较理想的选择。目前,Android和iOS设备具有较高的市场占有率。相较于iOS平台,Android平台开放了扫描Wi-Fi相关信息的API(Application Programming Interface),具有丰富的开源资源[6-7]。故选用Android平台,实现位置指纹数据采集系统。

1 系统设计

1.1 系统总体设计

系统采用C(客户端)/S(服务器)架构,分为客户层、业务处理层和数据服务层,如图1所示。……

登录APP查看全文