The invention relates to the field of
wireless communication, and discloses a method for controlling AP connection priority under a WiFi environment. By means of the method, more optimized WiFi connection selected is provided for users. Twelve recommended priority levels are defined according to the severity degree of the
interference problem in the WiFi practical environment, the recommended priority levels are used for guiding a current WiFi
system to select appropriate AP trigger connection, APs of the twelfth priority level, the eleventh priority level, the tenth priority level, the ninth priority level, the eighth priority level and the seventh priority level can be used for normal connection communication, the specific priority levels are evaluated according to
communication quality, the sixth priority level and the fifth priority level represents APs where normal connection can be conducted but
communication quality problems happen, the specific priority levels are classified according to influences on the
communication quality, the fourth priority level, the third priority level, the second priority level and the first priority level represent APs where connection processes are abnormal, and the specific priority levels are classified according to abnormity causes. The method is suitable for rapidly selecting optimal AP connection through user devices under the WiFi environment.