| With the rapid development of wireless communication networks and Internet technologies,application requirements for location based services(LBS)are increasingly strong in various fields.In recent years,the rapid development of outdoor Global Navigation Satellite System(GNSS)and indoor positioning technology has made the research of indoor and outdoor seamless positioning technology become a new hot spot.At present,the global satellite navigation system can already meet most of the outdoor positioning requirements.At the same time,with the popularization of smartphone and the widespread application of Wi-Fi technology,the Wi-Fi indoor positioning technology has also been rapidly developed.Because of its low deployment cost and ease of application,making it become the first choice for indoor positioning technology.As the smartphone integrates the GNSS positioning module and Wi-Fi wireless module,it is advantageous to combine outdoor GNSS positioning technology with indoor Wi-Fi positioning technology to establish a highly available,highly reliable smooth transition and seamless connection mechanism.This paper focuses on the intelligent selection algorithm of indoor and outdoor seamless positioning technology,and realizes a GNSS/Wi-Fi indoor and outdoor seamless positioning system based on smartphone.The related work is as follows:(1)Firstly,the commonly used indoor and outdoor positioning technologies are analyzed,and the corresponding positioning algorithms are studied.Alpha-count algorithm based on threshold and counting mechanism and traditional dual-threshold decision method are studied.By integrating the two method,an improved Alpha-count dual threshold intelligent selection algorithm based on Wi-Fi signal strength value is proposed.The detection of the number of visible satellites is used to assist in the determination of indoor and outdoor location scenes.The algorithm can accurately judge the area where the user is currently located,and select the appropriate location technology and positioning algorithm to estimate the user's location.(2)Secondly,according to the intelligent detection algorithm based on scene detection proposed in this paper,an indoor and outdoor seamless positioning system based on smartphone is designed.The main functions of the seamless positioning system are described,and the positioning process of the system is elaborated.(3)Finally,a test experiment was performed on the GNSS/Wi-Fi seamless positioning system designed in this paper.Experimental results show that the system can intelligently select a reasonable location method according to the current user's location.The accuracy of positioning can basically meet the positioning requirements.The indoor and outdoor positioning handover scheme proposed in this paper can effectively eliminate the ping-pong effect that may occur in the process of switching.This avoids the waste of computations caused by the repeated switching of the positioning system and reduces the energy consumption of the smartphone. |