The invention provides a WIFI networking method, a swan-gap device, an intelligent terminal and a medium, and particularly relates to the technical field of WIFI networking, and the scheme comprises the following steps: in a to-be-configured end application, starting BLE and
broadcasting; and in response to the received BLE
pairing request and distribution
network data sent by the main and distribution end application, analyzing the distribution
network data, verifying signature information in the distribution
network data, and executing a WIFI networking action. In the main and distribution end application, starting the BLE and scanning; in response to a received BLE
pairing request sent by the to-be-configured end application, calling back equipment information of the to-be-configured end application to the distribution
network application; and when the network distribution application is matched with the to-be-matched end application, network distribution operation is carried out, a BLE
pairing request is initiated to the to-be-matched end application, and network distribution data is sent. According to the scheme, the distribution network framework is built, the interaction logic between the main distribution end and the to-be-distributed end is reasonably set, interference of an external network environment is avoided, and the safety of WIFI networking can be improved.