I. Introduction
Location-based services (LBSs) [1] have been widely used in various fields, including epidemic prevention and control [2], medical monitoring [3], emergency rescue and personnel navigation [4], [5], transportation and logistics [6], personalized information transmission [7], and context awareness [8] to meet people’s diverse needs. In outdoor environments, the most widely used is the global positioning system (GPS) [9], which has high positioning accuracy and is mature enough, but the GPS needs a direct line of sight (LOS) between the satellites and the user, which is not applicable in the indoor environment. Therefore, localization techniques based on radio frequency identification (RFID) [10], [11], ultrawide band (UWB) [12], Bluetooth [13], ZigBee [14], frequency modulation (FM) [15], infrared (IR) [16], ultrasound or sound technologies [17], visible light [18], inertial systems [19], geomagnetic fields [20], and wireless local area network (WLAN) [21] methods have been proposed one after another. Fortunately, due to its low deployment cost and large signal coverage, WLAN has become one of the most common methods for indoor localization.