A file sending method, wherein the method comprises: performing, by a first terminal, scanning on a Bluetooth low energy, BLE, broadcast channel to obtain a broadcast packet sent by at least one second terminal, the broadcast packet comprises at least one account identifier associated with a designated application program in the at least one second terminal, the designated application program is used to transmit files between the first terminal and the second terminal; determining, by the first terminal, at least one discoverable second terminal based on the broadcast packet; displaying, by the first terminal, preview information on the designated application program of the first terminal, the preview information comprises the at least one account identifier associated with the designated application program in the at least one discoverable second terminal; determining, by the first terminal, a target terminal that is among the at least one discoverable second terminal, in response to a selection by a user of an account identifier on the preview information; sending, by the first terminal, a connection request to the target terminal, and establishing a BLE connection between the first terminal and the target terminal; sending, by the first terminal, Wi-Fi direct connection parameters to the target terminal by using a BLE data channel of the BLE connection, the Wi-Fi direct connection parameters comprise handshake information required by a Wi-Fi direct connection; receiving, by the first terminal, a Wi-Fi direct establishment request sent by the target terminal, and after the Wi-Fi direct establishment request is received, performing handshake with the target terminal to establish Wi-Fi direct, wherein the Wi-Fi direct establishment request is sent by the target terminal to the first terminal directly after the target terminal performs parameter configuration of the target terminal based on the Wi-Fi direct connection parameters, the first terminal is a Wi-Fi direct group owner, GO, and the target terminal is a Wi-Fi direct group client, GC; and sending, by the designated application program, the file to the target terminal by using the Wi-Fi direct established between the first terminal and the target terminal. performing, by a first terminal, scanning on a Bluetooth low energy, BLE, broadcast channel to obtain a broadcast packet sent by at least one second terminal, the broadcast packet comprises at least one account identifier associated with a designated application program in the at least one second terminal, the designated application program is used to transmit files between the first terminal and the second terminal; determining, by the first terminal, at least one discoverable second terminal based on the broadcast packet; displaying, by the first terminal, preview information on the designated application program of the first terminal, the preview information comprises the at least one account identifier associated with the designated application program in the at least one discoverable second terminal; determining, by the first terminal, a target terminal that is among the at least one discoverable second terminal, in response to a selection by a user of an account identifier on the preview information; sending, by the first terminal, a connection request to the target terminal, and establishing a BLE connection between the first terminal and the target terminal; sending, by the first terminal, Wi-Fi direct connection parameters to the target terminal by using a BLE data channel of the BLE connection, the Wi-Fi direct connection parameters comprise handshake information required by a Wi-Fi direct connection; receiving, by the first terminal, a Wi-Fi direct establishment request sent by the target terminal, and after the Wi-Fi direct establishment request is received, performing handshake with the target terminal to establish Wi-Fi direct, wherein the Wi-Fi direct establishment request is sent by the target terminal to the first terminal directly after the target terminal performs parameter configuration of the target terminal based on the Wi-Fi direct connection parameters, the first terminal is a Wi-Fi direct group owner, GO, and the target terminal is a Wi-Fi direct group client, GC; and sending, by the designated application program, the file to the target terminal by using the Wi-Fi direct established between the first terminal and the target terminal.