Patent ID: 8897212

Claim:
A method for establishing a network connection, applied to a network device, the method comprising: establishing a network connection between the network device and a target access point; acquiring a target identifier information of the target access point after the network connection is established; searching a pre-stored plurality of access point identifier information to determine whether there is an access point identifier information conforming to the target identifier information, wherein the pre-stored plurality of access point identifier information corresponding to a pre-stored plurality of connection information, the pre-stored plurality of connection information each comprises a user account and a user password for connecting to a server, wherein the pre-stored plurality of access point identifier information and the pre-stored plurality of connection information are pre-stored in the network device; and automatically using the one of the plurality of connection information corresponding to the access point identifier information found among the pre-stored plurality of access point identifier information to logon the network device to the server through the target access point when there is the access point identifier information conforming to the target identifier information.