WLAN (Wireless Local Area Network) indoor single-source linear WKNN (Weighted K-Nearest Neighbor) locating method based on reference point position optimization

The invention relates to a WLAN (Wireless Local Area Network) indoor single-source linear WKNN (Weighted K-Nearest Neighbor) locating method based on reference point position optimization, belonging to the field of mobile computing. The invention aims to solve the problem of selection of numbers and positions of optimal reference points in a WKNN locating algorithm under the existing WLAN indoor single-source linear environment. Aiming at the special single-source linear scene, firstly, a closed solution form of the WKNN locating algorithm with theoretic expected precision is computed at an offline state by aiming at the concrete practical single-source linear locating environment; then, reference points are subjected to optimal distribution by utilizing the relationship between an expected error and the position of the reference point as well as the relationship between the expected error and the size of a target region to meet the minimum expected error criterion, and a corresponding single-source average position fingerprint database is established; and finally, the position coordinates of a locating terminal are estimated by using a 4-neighbor-point WKNN locating method according to a signal intensity sample collected in real time at the present stage.