Android device wireless fidelity (WiFi) indoor locating method based on position fingerprint identification algorithm

The invention discloses an Android device wireless fidelity (WiFi) indoor locating method based on a position fingerprint identification algorithm. The Android device WiFi indoor locating method based on the position fingerprint identification algorithm aims at solving the problems that when a terminal receiver works in a city with dense building clusters or indoors, signal strength is greatly reduced due to influence by buildings, thus locating accuracy is low and location even can not be completed. Based on the foundation of the traditional position fingerprint identification algorithm, a k-nearest neighbor (KNN) matching algorithm and a coordinate computing method based on weight are adopted so that the position of a point to be measured is obtained, errors brought by signal fluctuation is effectively reduced, the position of the terminal receiver can be accurately located, and reaction is fast. Compared with a tradition indoor locating method, the Android device WiFi indoor locating method based on the position fingerprint identification algorithm can accurately locate the position of a requester in the condition of a complex environment, and is fast in reaction, efficient, accurate and especially suitable for indoor position location of an Android device terminal.