In complex indoor environments, there is often no Line of Sight (LOS) path between the transmitter and the receiver due to walls, moving people, and many other obstacles. Traditional localization method based on LOS measurement is no longer available which provides lower localization accuracy in Non-Line of Sight (NLOS) environments. In response to this problem, this paper proposes a joint localization algorithm for scatterers and target user based on indoor prior information in NLOS scenarios. The algorithm makes use of the prior localization information of the access point (AP) and the wall to determine the position of the scatterers and target user simultaneously. Since the established constrained optimization problem is non-convex which is a difference of convex (DC) problem, it is transformed into a convex one based on a Taylor series expansion (TSE) method before it is solved. At the same time, as only a single AP signal can be received normally, the proposed method is then extended to the scenario with only one AP. Simulation and real-world testing results both show that not only the proposed method based on multiple APs, but also the method based on a single AP achieve high positioning accuracy, which are better than the existing positioning methods mentioned in this article as well.