With the start of the Fourth Industrial Revolution, Internet of Things (IoT), artificial intelligence (AI), and big data technologies are attracting global attention. AI can achieve fast computational speed, and big data makes it possible to store and use vast amounts of data. In addition, smartphones, which are IoT devices, are owned by most people. Based on these advantages, the above three technologies can be combined and effectively applied to navigation technology. In the case of an outdoor environment, global positioning system (GPS) technology has been developed to enable relatively accurate positioning of the user. However, due to the problem of radio wave loss because of many obstacles and walls, there are obvious limitations in applying GPS to indoor environments. Hence, we propose a method to increase the accuracy of user positioning in indoor environments using wireless-fidelity (Wi-Fi). The core technology of the proposed method is to limit the initial search region of the particle swarm optimization (PSO), an intelligent particle algorithm; doing so increases the probability that particles converge to the global optimum and shortens the convergence time of the algorithm. For this reason, the proposed method can achieve fast processing time and high accuracy. To limit the initial search region of the PSO, we first build an received signal strength indicator (RSSI) database for each sample point (SP) using a fingerprinting scheme. Then, a limited region is established through a fuzzy matching algorithm. Finally, the particles are randomly distributed within a limited region, and then the user’s location is positioned through a PSO. Simulation results confirm that the method proposed in this paper achieves the highest positioning accuracy, with an error of about 1 m when the SP interval is 3 m in an indoor environment.