基于藍(lán)牙技術(shù)的推送系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
本文選題:ILBS + 藍(lán)牙 ; 參考:《重慶理工大學(xué)》2017年碩士論文
【摘要】:互聯(lián)網(wǎng)和移動(dòng)終端的普及推動(dòng)著LBS向ILBS的發(fā)展。LBS是一種基于位置信息的服務(wù),如常見的高德地圖、美團(tuán)外賣、Uber等。隨著人們生活水平的不斷提高,在很多公共場(chǎng)合如景區(qū)、大型超市、博物館、機(jī)場(chǎng)等室內(nèi)環(huán)境也需要位置信息服務(wù),這種基于室內(nèi)位置信息的服務(wù)稱作ILBS。而GPS等常用的室外定位技術(shù)在室內(nèi)信號(hào)衰減快,無(wú)法用于室內(nèi)定位。藍(lán)牙與移動(dòng)終端的良好契合以及相對(duì)于Wi Fi技術(shù)的高精度、低成本、低功耗等優(yōu)點(diǎn)使得其成為室內(nèi)定位的首選。本文分析了當(dāng)前國(guó)內(nèi)外室內(nèi)定位技術(shù)現(xiàn)狀,采用以藍(lán)牙4.0為基礎(chǔ)的精準(zhǔn)微定位技術(shù)——i Beacon技術(shù),通過(guò)手機(jī)APP感應(yīng)布置在特定場(chǎng)所的低功耗藍(lán)牙設(shè)備i Beacon的廣播信號(hào),根據(jù)室內(nèi)定位算法確定所在坐標(biāo)位置并由服務(wù)器向終端推送相應(yīng)消息,從而為用戶提供實(shí)時(shí)、準(zhǔn)確的位置信息服務(wù)。本文主要研究工作和創(chuàng)新點(diǎn)如下:(1)通過(guò)研究并分析主流室內(nèi)定位算法的不足之處,提出一種改進(jìn)算法——基于藍(lán)牙的自回歸匹配室內(nèi)定位算法,對(duì)常見非參數(shù)化室內(nèi)定位算法的前期建庫(kù)和后期定位階段做出優(yōu)化。在實(shí)驗(yàn)室10m*8m空間內(nèi)采點(diǎn)建庫(kù),將數(shù)據(jù)導(dǎo)入MATLAB進(jìn)行仿真,引入K階近鄰算法進(jìn)行定位效果的比較,最終驗(yàn)證了改進(jìn)算法的合理性。(2)推送系統(tǒng)的設(shè)計(jì)和實(shí)現(xiàn)。推送系統(tǒng)的設(shè)計(jì)包括節(jié)點(diǎn)的選取和布置、終端APP界面設(shè)計(jì)、服務(wù)器設(shè)計(jì)以及推送功能模塊四大部分。節(jié)點(diǎn)選擇以CC2540為核心芯片的i Beacon并均勻布置到定位環(huán)境中。終端APP交互設(shè)計(jì)了登陸界面、注冊(cè)界面、主界面和采集界面,其中對(duì)采集界面的實(shí)現(xiàn)做出來(lái)詳細(xì)說(shuō)明。服務(wù)器設(shè)計(jì)包括本地服務(wù)器My Eclipse10.7+My Sql5.6+Tom Cat7.0的搭建、客戶端服務(wù)器的數(shù)據(jù)交互、本地服務(wù)器測(cè)試以及將系統(tǒng)向云服務(wù)器Sae移植幾個(gè)部分。推送功能模塊主要講述了通過(guò)調(diào)用第三方推送服務(wù)器JPush實(shí)現(xiàn)推送功能并進(jìn)行了推送功能的在線測(cè)試。實(shí)驗(yàn)結(jié)果表明,本課題設(shè)計(jì)的基于藍(lán)牙技術(shù)的推送系統(tǒng)具有開發(fā)周期短、消息推送實(shí)時(shí)性強(qiáng)、穩(wěn)定性好、定位精度高等優(yōu)點(diǎn)。(3)定位算法的實(shí)現(xiàn)。對(duì)推送系統(tǒng)中改進(jìn)算法的實(shí)現(xiàn)過(guò)程進(jìn)行詳細(xì)說(shuō)明。改進(jìn)算法的實(shí)現(xiàn)分為離線建庫(kù)和在線定位階段兩個(gè)部分。針對(duì)兩個(gè)階段,依次設(shè)計(jì)算法實(shí)現(xiàn)流程圖并根據(jù)流程圖編寫相應(yīng)代碼分別寫入Android Studio和My Eclipse中即可。
[Abstract]:The popularity of Internet and mobile terminals has promoted the development of LBS to ILBS. LBS is a kind of location-based information service, such as Amap and Meituan takeout.With the continuous improvement of people's living standards, location information services are also needed in many public places such as scenic spots, supermarkets, museums, airports and so on. This kind of services based on indoor location information is called ILBS.GPS and other commonly used outdoor positioning technology can not be used in indoor positioning because of fast attenuation of indoor signals.Bluetooth has the advantages of high precision, low cost and low power consumption, which makes it the first choice of indoor positioning.The present situation of indoor positioning technology at home and abroad is analyzed in this paper. I Beacon technology, which is based on Bluetooth 4.0, is used to detect the broadcast signal of low power Bluetooth device I Beacon, which is arranged in a specific place by mobile phone APP.According to the indoor location algorithm, the location of the coordinates is determined and the corresponding messages are pushed by the server to the terminal, thus providing users with real-time and accurate location information services.The main research work and innovation of this paper are as follows: (1) based on the research and analysis of the shortcomings of the mainstream indoor localization algorithm, an improved algorithm based on Bluetooth autoregressive matching is proposed.Optimization of common non-parameterized indoor positioning algorithms in the early stage of building database and late stage of location.The data is imported into MATLAB for simulation and the K-order nearest neighbor algorithm is introduced to compare the localization effect. Finally, the rationality of the improved algorithm is verified and the design and implementation of the push system are verified.The design of push system includes four parts: node selection and layout, terminal APP interface design, server design and push function module.The nodes choose I Beacon with CC2540 as the core chip and distribute it into the location environment.The terminal APP interactively designs the login interface, registration interface, main interface and acquisition interface, in which the realization of the acquisition interface is described in detail.The server design includes the construction of my Eclipse10.7 my Sql5.6 Tom Cat7.0, the data exchange between client and server, the test of local server and porting the system to cloud server Sae.The push function module mainly describes how to realize the push function by calling the third party push server JPush and carries on the online test of the push function.The experimental results show that the push system based on Bluetooth technology has the advantages of short development period, strong real-time message push, good stability and high positioning accuracy.The implementation of the improved algorithm in the push system is described in detail.The implementation of the improved algorithm is divided into two parts: off-line database building and online location stage.According to the two stages, the algorithm flow chart is designed and the corresponding code is written into Android Studio and my Eclipse respectively according to the flow chart.
【學(xué)位授予單位】:重慶理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP391.3;TP311.56
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 徐健;蔡忠亮;趙軍;楊文;李伯釗;王淼;;以自我為中心的電子地圖空間信息組織與可視化[J];測(cè)繪地理信息;2017年01期
2 張勇;;Android網(wǎng)絡(luò)編程淺析[J];電子測(cè)試;2016年24期
3 嚴(yán)子健;;室內(nèi)定位應(yīng)用研究[J];信息通信;2016年06期
4 郝波;;基于Android的海南自助旅游系統(tǒng)開發(fā)[J];中國(guó)新通信;2015年24期
5 甘廣輝;童蕾;陳超敏;;基于低功耗藍(lán)牙網(wǎng)絡(luò)的家用胎兒監(jiān)護(hù)系統(tǒng)設(shè)計(jì)[J];電子技術(shù)應(yīng)用;2015年08期
6 王麗;;4G移動(dòng)通信基站維護(hù)的創(chuàng)新思路分析[J];無(wú)線互聯(lián)科技;2015年06期
7 馬昭征;;基于HTTP的安卓與服務(wù)器交互方法的實(shí)現(xiàn)[J];無(wú)線互聯(lián)科技;2015年03期
8 莫倩;熊碩;;基于藍(lán)牙4.0的接近度分類室內(nèi)定位算法[J];宇航計(jì)測(cè)技術(shù);2014年06期
9 任育琦;楊晴;;基于Socket技術(shù)的負(fù)荷分擔(dān)通信系統(tǒng)仿真的設(shè)計(jì)[J];電腦知識(shí)與技術(shù);2013年28期
10 常祖政;;My Eclipse+Dream weaver搭建Java Web開發(fā)環(huán)境[J];電腦開發(fā)與應(yīng)用;2013年09期
相關(guān)碩士學(xué)位論文 前10條
1 羅鵬;基于藍(lán)牙4.0基站角度測(cè)量的室內(nèi)定位技術(shù)研究[D];浙江大學(xué);2016年
2 王海熔;基于BLE的大型商場(chǎng)室內(nèi)定位導(dǎo)航系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];浙江工業(yè)大學(xué);2015年
3 郭星;基于BLE的3D室內(nèi)定位系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];長(zhǎng)安大學(xué);2015年
4 任航;載人自平衡兩輪車控制系統(tǒng)的設(shè)計(jì)[D];遼寧工業(yè)大學(xué);2015年
5 王浩;基于室內(nèi)定位技術(shù)的導(dǎo)購(gòu)平臺(tái)的研究與設(shè)計(jì)[D];中山大學(xué);2014年
6 毛紅文;基于模糊聚類的位置指紋室內(nèi)定位優(yōu)化技術(shù)研究[D];云南大學(xué);2014年
7 任亨;基于MQTT協(xié)議的消息推送集群系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];中國(guó)科學(xué)院研究生院(沈陽(yáng)計(jì)算技術(shù)研究所);2014年
8 李立鋒;基于位置服務(wù)Internet查詢系統(tǒng)的手機(jī)客戶端軟件開發(fā)[D];蘭州大學(xué);2012年
9 朱啟兵;基于局部時(shí)空特征的人體行為識(shí)別以及打架行為檢測(cè)[D];合肥工業(yè)大學(xué);2012年
10 茍廷熹;云環(huán)境下個(gè)性化推送搜索引擎的設(shè)計(jì)[D];北京郵電大學(xué);2012年
,本文編號(hào):1758343
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/1758343.html