摘要 |
This disclosure relates to a method and an apparatus for automatically connecting a wireless network to reduce the chance of unsuccessful automatic connection and to avoid disturbances to the user. The method comprises: when a wireless network connection state is disconnected and a first wireless network is detected, generating a first wireless network list based on names of currently searched surrounding wireless networks (S101); matching and comparing the first wireless network list with a pre-stored second wireless network list to obtain a matching and comparing result (S102); and sending a connection request to the first wireless network based on the pre-stored connection information of the second wireless network, in a case where the matching and comparing result satisfies a preset condition (S 103). The technical solution of this disclosure associates a wireless network with the other surrounding networks in the area; thus, it can improve the accuracy of determining whether there is a same wireless network, reduce the chance of unsuccessful automatic connection and avoid disturbances to the user. |