A Wireless Fidelity, Wi-Fi, connection method performed by a device, the method comprising: • searching an ambient environment of the device for a Wi-Fi access point, to obtain a list of Wi-Fi access points to which the device can choose to connect, wherein the list of Wi-Fi access points comprises at least one Wi-Fi access point (step 401); • determining a target access point in the list of Wi-Fi access points, wherein the target access point is a portable Wi-Fi hotspot (step 402); • sending a connection request to a device in which the target access point resides, wherein the connection request is used to request a Wi-Fi connection to the target access point; • receiving feedback information that is returned, according to the connection request, by the device in which the target access point resides, wherein the feedback information indicates that the target access point is the portable Wi-Fi hotspot (step 404); • outputting first prompt information, wherein the first prompt information is used to remind a user of the device that the target access point is the portable Wi-Fi hotspot (step 408); • setting up a Wi-Fi connection to the target access point (step 410); • monitoring whether a non-portable Wi-Fi access point whose login parameter is consistent with login information in the connection request is found (step 501), and if the non-portable Wi-Fi access point is found, outputting second prompt information, wherein the second prompt information is used to ask the user of the device whether the device is to be switched to the non-portable Wi-Fi access point (step 502); and • collecting an input operation of the user of the device performed on a control of the device based on the second prompt information, the input operation either indicating that switching to the found non-portable Wi-Fi access point is required or indicating that the device is to continue the Wi-Fi connection with the portable Wi-Fi hotspot, and when the input operation indicates that switching to the found non-portable Wi-Fi access point is required (step 503), disconnecting from the target access point, and setting up a Wi-Fi connection to the found non-portable Wi-Fi access point (step 504). • searching an ambient environment of the device for a Wi-Fi access point, to obtain a list of Wi-Fi access points to which the device can choose to connect, wherein the list of Wi-Fi access points comprises at least one Wi-Fi access point (step 401); • determining a target access point in the list of Wi-Fi access points, wherein the target access point is a portable Wi-Fi hotspot (step 402); • sending a connection request to a device in which the target access point resides, wherein the connection request is used to request a Wi-Fi connection to the target access point; • receiving feedback information that is returned, according to the connection request, by the device in which the target access point resides, wherein the feedback information indicates that the target access point is the portable Wi-Fi hotspot (step 404); • outputting first prompt information, wherein the first prompt information is used to remind a user of the device that the target access point is the portable Wi-Fi hotspot (step 408); • setting up a Wi-Fi connection to the target access point (step 410); • monitoring whether a non-portable Wi-Fi access point whose login parameter is consistent with login information in the connection request is found (step 501), and if the non-portable Wi-Fi access point is found, outputting second prompt information, wherein the second prompt information is used to ask the user of the device whether the device is to be switched to the non-portable Wi-Fi access point (step 502); and • collecting an input operation of the user of the device performed on a control of the device based on the second prompt information, the input operation either indicating that switching to the found non-portable Wi-Fi access point is required or indicating that the device is to continue the Wi-Fi connection with the portable Wi-Fi hotspot, and when the input operation indicates that switching to the found non-portable Wi-Fi access point is required (step 503), disconnecting from the target access point, and setting up a Wi-Fi connection to the found non-portable Wi-Fi access point (step 504). • outputting first prompt information, wherein the first prompt information is used to remind a user of the device that the target access point is the portable Wi-Fi hotspot (step 408); • setting up a Wi-Fi connection to the target access point (step 410); • monitoring whether a non-portable Wi-Fi access point whose login parameter is consistent with login information in the connection request is found (step 501), and if the non-portable Wi-Fi access point is found, outputting second prompt information, wherein the second prompt information is used to ask the user of the device whether the device is to be switched to the non-portable Wi-Fi access point (step 502); and • collecting an input operation of the user of the device performed on a control of the device based on the second prompt information, the input operation either indicating that switching to the found non-portable Wi-Fi access point is required or indicating that the device is to continue the Wi-Fi connection with the portable Wi-Fi hotspot, and when the input operation indicates that switching to the found non-portable Wi-Fi access point is required (step 503), disconnecting from the target access point, and setting up a Wi-Fi connection to the found non-portable Wi-Fi access point (step 504).