Method, apparatus, and system for establishing data connection
First Claim
1. 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;
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 such that the receiver device and the transmitter device establish a connection of the target transmission function,wherein a method for obtaining the transmission function priorities comprises;
obtaining, by the receiver device, the priorities provided by the transmitter device;
orobtaining, by the receiver device, the priorities stored by the receiver device,wherein when obtaining, by the receiver device, the connection information of the transmitter device comprises receiving, by the receiver device, the connection message that is sent by the transmitter device and comprises the connection information,wherein after enabling the target transmission function and before 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, andwherein the enable message comprises the target transmission function such that the transmitter device enables the target transmission function.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, an apparatus, and a system for establishing a data connection are disclosed that relate to the field of communications network technologies, and can implement automatic determination of a transmission function by an electronic device and reduce operation steps of enabling a transmission function by a user. A receiver device obtains connection information sent by a transmitter device, and enables a target transmission function according to transmission function priorities obtained in advance, transmission functions of the transmitter device, and transmission functions of the receiver device; and then the receiver device sends an authentication message to the transmitter device through the target transmission function, and establishes a connection of the target transmission function with the transmitter device. Solutions provided are applicable to data transmission.
-
Citations
8 Claims
-
1. 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; 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 such that the receiver device and the transmitter device establish a connection of the target transmission function, wherein a method for obtaining the transmission function priorities comprises; obtaining, by the receiver device, the priorities provided by the transmitter device;
orobtaining, by the receiver device, the priorities stored by the receiver device, wherein when obtaining, by the receiver device, the connection information of the transmitter device comprises receiving, by the receiver device, the connection message that is sent by the transmitter device and comprises the connection information, wherein after enabling the target transmission function and before 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, and wherein the enable message comprises the target transmission function such that the transmitter device enables the target transmission function. - View Dependent Claims (2, 3)
-
-
4. A method for establishing a data connection, comprising:
-
generating, by a transmitter device, connection information, wherein the connection information comprises transmission functions of the transmitter device and authentication information of the transmission functions; providing, by the transmitter device, the connection information to a receiver device; receiving, by the transmitter device, an authentication message sent by the receiver device, wherein the authentication message comprises the authentication information; and establishing, by the transmitter device, a connection of a target transmission function with the receiver device according to the authentication message, wherein generating, by the transmitter device, the connection information comprises generating, by the transmitter device, a connection message that comprises the connection information, wherein when the transmitter device generates the connection message, providing, by the transmitter device, the connection information to the receiver device comprises sending, by the transmitter device, the connection message to the receiver device, or wherein generating, by the transmitter device, the connection information comprises generating, by the transmitter device, a two-dimensional code that comprises the connection information, wherein the two-dimensional code is used for the receiver device to obtain the connection information by scanning, wherein when the transmitter device generates the two-dimensional code, providing, by the transmitter device, the connection information to the receiver device comprises displaying, by the transmitter device, the two-dimensional code, wherein when generating, by the transmitter device, the connection information comprises generating, by the transmitter device, the two-dimensional code, before providing, by the transmitter device, the connection information to the receiver device, the method further comprises; enabling, by the transmitter device, the transmission functions; and after receiving, by the transmitter device, the authentication message sent by the receiver device, the method further comprises; restoring, by the transmitter device, transmission function states of the transmission functions except the target transmission function to an initial state;
orwherein when generating, by the transmitter device, the connection information comprises generating, by the transmitter device, the connection message that comprises the connection information, before receiving, by the transmitter device, the authentication message sent by the receiver device, the method further comprises; receiving, by the transmitter device, an enable message sent by the receiver device, wherein the enable message comprises notification information that the receiver device has enabled the target transmission function; and enabling, by the transmitter device, the target transmission function according to the enable message. - View Dependent Claims (5)
-
-
6. An apparatus for establishing a data connection, comprising:
-
an obtaining module configured to obtain connection information of a transmitter device, wherein the connection information comprises transmission functions of the transmitter device and authentication information of the transmission functions; an enabling module configured to enable a target transmission function according to transmission function priorities obtained in advance, the transmission functions of the transmitter device, and transmission functions of a receiver device; a sending module configured to send an authentication message to the transmitter device through the target transmission function, wherein the authentication message comprises the authentication information; and a connecting module configured to establish a connection of the target transmission function with the transmitter device, wherein the obtaining module is configured to receive a connection message that is sent by the transmitter device and comprises the connection information, or is configured to obtain a two-dimensional code that is generated by the transmitter device and comprises the connection information, wherein the sending module is configured to send an enable message to the transmitter device, wherein the enable message comprises the target transmission function such that the transmitter device enables the target transmission function, wherein the apparatus further comprises a searching module configured for the receiver device to search 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 wherein the sending module is further configured to send, through the target transmission function, authentication information of the target transmission function to the device that has enabled the target transmission function. - View Dependent Claims (7)
-
-
8. A system for establishing a data connection, comprising:
-
a receiver device; and a transmitter device, wherein the receiver device comprises an obtaining module, an enabling module, a sending module, and a connecting module, wherein the transmitter device comprises a generating module, a providing module, a receiving module, and a connecting module, wherein the generating module comprised in the transmitter device generates connection information, wherein the connection information comprises transmission functions of the transmitter device and authentication information of the transmission functions, wherein the providing module comprised in the transmitter device provides the connection information to the obtaining module comprised in the receiver device, wherein the obtaining module comprised in the receiver device obtains the connection information provided by the providing module comprised in the transmitter device, wherein the enabling module comprised in the receiver device enables a target transmission function according to transmission function priorities obtained in advance, states of the transmission functions of the transmitter device, and states of transmission functions of the receiver device, wherein the sending module comprised in the receiver device sends, through the target transmission function, an authentication message to the receiving module comprised in the transmitter device, wherein the authentication message comprises the authentication information, wherein the receiving module comprised in the transmitter device receives the authentication message sent by the sending module comprised in the receiver device, and wherein the connecting module comprised in the transmitter device establishes, according to the authentication message, a connection of the target transmission function with the connecting module comprised in the receiver device.
-
Specification