| With the popularity of mobile Internet,location-based services are getting more and more attention.At present,global positioning System(GPS)can fully meet the needs of outdoor positioning,but for indoor,GPS can no longer accurately locate due to signal attenuation and masking caused by walls.Users have an increasingly high demand for indoor positioning,especially in the fire escape and fire rescue,fast and accurate access to the user’s location plays a crucial role,and WiFi indoor positioning due to its wide coverage and easy to implement characteristics,has become the first choice of indoor positioning technology.First of all,on the basis of WiFi positioning,this paper conducts an in-depth study on location fingerprint positioning technology.In the offline stage,the initial clustering center was optimized by calculating the standard deviation of Euclidean distance of each point in the fingerprint database,and the threshold parameters were established.In the online stage,the adaptive weighted K-nearest neighbor algorithm is combined with the clustering algorithm to avoid the influence of fixed K value on the location result.The improved algorithm is applied to an engineering example,and the positioning accuracy and efficiency are improved.Secondly,aiming at the development and application of indoor positioning system,the indoor positioning system based on Android is designed.The Android client mainly includes user login and registration,obtaining WiFi information,collecting access point and reference point,real-time calculation of coordinates,map display,sending positioning and receiving instructions and other functional modules.The mobile users can use the WiFi signal to establish the location fingerprint database,use the improved algorithm to complete the positioning calculation,and accept the message from the fire service management platform at any time in the fire evacuation.Finally,aiming at the problem of fire linkage in the case of fire evacuation,a web-based fire service management platform is designed,including administrator login,map display,control switch,location display,path planning,receiving location and sending instructions and other functional modules.On the basis of receiving location coordinates sent by users,managers can display positioning in the visual map,plan evacuation paths and give mobile users instructions.The research of this paper provides an improvement strategy for the location fingerprint positioning technology,provides technical practice for the design of WiFi indoor positioning system,and provides a reference for the practical engineering application of the system. |