Positioning method and system in WiFi environment

The invention relates to a positioning method and a system in a WiFi environment. The method comprises the following steps of: 1, carrying out position partition on the area of the WiFi environment, collecting the signal strength of all positions under the condition that all information sources are not missing and constructing a mapping model between the signal strength and a position label; 2, collecting the signal strength of part of positions under a condition that part of information sources are missing, and solving a regression function by using a current regularization method according to the collected signal strength of all positions under the condition that all information sources are not mising and the collected signal strength of part of positions under the condition that part of information sources are missing; and 3, detecting the signal strength of the information source received by a position to be positioned and detected in the test phase, substituting the signal strength to the regression function, calculating the supplement signal strength corresponding to the information source with the signal strength which is not received on the position to be positioned, and calculating a position label by the mapping model according to the received signal strength and the supplement signal strength. The invention can improve the precision of positioning in the WIFi environment.