In recent years, China's technological level has undergone rapid development, and technologies such as wireless local area networks and wireless sensor networks have also undergone rapid development in this situation. Under the influence of developed networks, many high-tech items are applied in our daily lives, such as intelligent transportation, remote control and monitoring, intelligent household appliances, and so on. In this environment, internet technology is rapidly developing and widely applied in various fields, making huge contributions to positioning technology and monitoring technology. The demand for high-precision, low-cost, strong applicability, and simple operation scientific technology in various industries is constantly increasing. Ultra wideband technology has played a significant role in the field of indoor positioning due to its unique advantages. However, in complex environments, the propagation of broadband signals is easily affected by obstacles, which weakens the signal received and seriously affects indoor positioning accuracy. As people gradually move into cities, the increase in population has caused increasingly serious traffic congestion. In order to solve the positioning problem of urban people, positioning industries that serve people have gradually emerged in the public's career, which has led to an increasing demand for accurate positioning. The complex environment of cities and the complex environment where people live can have a serious impact on positioning technology, leading to continuous deterioration of positioning accuracy. Non-Line of Sight (NLOS) is an important factor affecting positioning accuracy. So, this article conducts a thorough study on wireless local area networks and wireless sensor networks, fully improving the development of wireless positioning, and conducting a thorough study on the algorithm of NLOS- anchor.