A method for establishing a data connection, comprising: obtaining, by a receiver device, connection information of a transmitter device, wherein the connection information comprises transmission functions of the transmitter device and authentication information of the transmission functions; wherein the transmission functions comprise wireless network direct transmission Wi-Fi Direct, a wireless network hotspot or Bluetooth; enabling, by the receiver device, a target transmission function according to transmission function priorities obtained in advance, the transmission functions of the transmitter device, and transmission functions of the receiver device; and sending, by the receiver device, an authentication message to the transmitter device through the target transmission function, wherein the authentication message comprises the authentication information, so that the receiver device and the transmitter device establish a connection of the target transmission function; wherein the obtaining, by the receiver device, the connection information of the transmitter device is specifically receiving, by the receiver device, the connection message that is sent by the transmitter device and comprises the connection information, after enabling the target transmission function, and before the sending, by the receiver device, the authentication message to the transmitter device through the target transmission function, the method further comprises: sending, by the receiver device, an enable message to the transmitter device, wherein the enable message comprises the target transmission function, so that the transmitter enables the target transmission function; wherein the sending, by the receiver device, the authentication message to the transmitter device through the target transmission function comprises: searching, by the receiver device, for a device that has enabled the target transmission function, wherein the device that has enabled the target transmission function comprises the transmitter device; and sending, by the receiver device through the target transmission function, authentication information of the target transmission function to the device that has enabled the target transmission function. obtaining, by a receiver device, connection information of a transmitter device, wherein the connection information comprises transmission functions of the transmitter device and authentication information of the transmission functions; wherein the transmission functions comprise wireless network direct transmission Wi-Fi Direct, a wireless network hotspot or Bluetooth; enabling, by the receiver device, a target transmission function according to transmission function priorities obtained in advance, the transmission functions of the transmitter device, and transmission functions of the receiver device; and sending, by the receiver device, an authentication message to the transmitter device through the target transmission function, wherein the authentication message comprises the authentication information, so that the receiver device and the transmitter device establish a connection of the target transmission function; wherein the obtaining, by the receiver device, the connection information of the transmitter device is specifically receiving, by the receiver device, the connection message that is sent by the transmitter device and comprises the connection information, after enabling the target transmission function, and before the sending, by the receiver device, the authentication message to the transmitter device through the target transmission function, the method further comprises: sending, by the receiver device, an enable message to the transmitter device, wherein the enable message comprises the target transmission function, so that the transmitter enables the target transmission function; wherein the sending, by the receiver device, the authentication message to the transmitter device through the target transmission function comprises: searching, by the receiver device, for a device that has enabled the target transmission function, wherein the device that has enabled the target transmission function comprises the transmitter device; and sending, by the receiver device through the target transmission function, authentication information of the target transmission function to the device that has enabled the target transmission function. sending, by the receiver device, an enable message to the transmitter device, wherein the enable message comprises the target transmission function, so that the transmitter enables the target transmission function; wherein the sending, by the receiver device, the authentication message to the transmitter device through the target transmission function comprises: searching, by the receiver device, for a device that has enabled the target transmission function, wherein the device that has enabled the target transmission function comprises the transmitter device; and sending, by the receiver device through the target transmission function, authentication information of the target transmission function to the device that has enabled the target transmission function. searching, by the receiver device, for a device that has enabled the target transmission function, wherein the device that has enabled the target transmission function comprises the transmitter device; and sending, by the receiver device through the target transmission function, authentication information of the target transmission function to the device that has enabled the target transmission function.