A method for establishing a network connection by using WPS, comprising: receiving , by a mobile Wi-Fi device, a connection request, indicating that a user equipment enables a WPS function, sent by the user equipment, wherein the connection request comprises WPS information, and the WPS information comprises identification information of a connection mode of the user equipment; detecting , by the mobile Wi-Fi device, the identification information, of a connection mode, in the WPS information, wherein the identification information indicates that the connection mode of the user equipment is an access point mode or a station mode; confirming , by the mobile Wi-Fi device, according to the identification information, that the connection mode is the access point mode or the station mode; enabling , by the mobile Wi-Fi device, according to the connection mode, a WPS interface, of the mobile Wi-Fi device, that is corresponding to the connection mode; and establishing (S206), by the mobile Wi-Fi device, a WPS network connection to the user equipment by using the WPS interface, and characterised in that the enabling, according to the connection mode, a WPS interface, of the mobile Wi-Fi device, that is corresponding to the connection mode comprises: enabling a station side WPS interface of the mobile Wi-Fi device when it is confirmed that the connection mode of the user equipment is the access point mode; and enabling an access point side WPS interface of the mobile Wi-Fi device after it is confirmed that the connection mode of the user equipment is the station mode. receiving , by a mobile Wi-Fi device, a connection request, indicating that a user equipment enables a WPS function, sent by the user equipment, wherein the connection request comprises WPS information, and the WPS information comprises identification information of a connection mode of the user equipment; detecting , by the mobile Wi-Fi device, the identification information, of a connection mode, in the WPS information, wherein the identification information indicates that the connection mode of the user equipment is an access point mode or a station mode; confirming , by the mobile Wi-Fi device, according to the identification information, that the connection mode is the access point mode or the station mode; enabling , by the mobile Wi-Fi device, according to the connection mode, a WPS interface, of the mobile Wi-Fi device, that is corresponding to the connection mode; and establishing (S206), by the mobile Wi-Fi device, a WPS network connection to the user equipment by using the WPS interface, and characterised in that the enabling, according to the connection mode, a WPS interface, of the mobile Wi-Fi device, that is corresponding to the connection mode comprises: enabling a station side WPS interface of the mobile Wi-Fi device when it is confirmed that the connection mode of the user equipment is the access point mode; and enabling an access point side WPS interface of the mobile Wi-Fi device after it is confirmed that the connection mode of the user equipment is the station mode. enabling a station side WPS interface of the mobile Wi-Fi device when it is confirmed that the connection mode of the user equipment is the access point mode; and enabling an access point side WPS interface of the mobile Wi-Fi device after it is confirmed that the connection mode of the user equipment is the station mode. <EOS>