Method and device for establishing connection
First Claim
1. A method for establishing a connection, comprising:
- establishing, by a group member device of a wireless device group, a wireless connection with a group owner device of the wireless device group;
obtaining, by the group member device of the wireless device group via a communication connection to a to-be-connected device, information about the to-be-connected device after establishing the wireless connection with the group owner device;
sending, by the group member device, the information about the to-be-connected device to the group owner device after obtaining the information about the to-be-connected device;
transmitting, by the group member device, a pre-generated dynamic two-dimensional (2D) code to the to-be-connected device, wherein the pre-generated dynamic 2D code comprises information about the group owner device, and wherein the dynamic 2D code is configured to be scanned by the to-be-connected device; and
enabling, by the group member device, the to-be-connected device and the group owner device to share a first password comprising;
obtaining, by the group member device, a password from the dynamic 2D code, wherein the password is shared by the group member device and the group owner device as the first password based on the communication connection;
executing, by the group member device, a process of authentication configuration on the to-be-connected device based on the communication connection;
after the authentication configuration succeeds, sending, by the group member device, the first password to the to-be-connected device, wherein the first password is used by the to-be-connected device and the group owner device to establish a communication connection with each other after the to-be-connected device and the group owner device discover each other; and
sending the first password to the group owner device.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and a device for establishing a connection. The method includes the steps of: obtaining, by a group member device of a wireless device group, information about a to-be-connected device and then sending the information to a group owner device of the wireless device group, and/or transmitting, by the group member device, information about the group owner device to the to-be-connected device, where the information about the to-be-connected device and/or the information about the group owner device is used by the to-be-connected device and the group owner device to discover each other; and enabling, by the group member device, the to-be-connected device and the group owner device to share a first password, wherein the first password is used by the to-be-connected device and the group owner device to establish a connection after the to-be-connected device and the group owner device discover each other.
-
Citations
19 Claims
-
1. A method for establishing a connection, comprising:
-
establishing, by a group member device of a wireless device group, a wireless connection with a group owner device of the wireless device group; obtaining, by the group member device of the wireless device group via a communication connection to a to-be-connected device, information about the to-be-connected device after establishing the wireless connection with the group owner device; sending, by the group member device, the information about the to-be-connected device to the group owner device after obtaining the information about the to-be-connected device; transmitting, by the group member device, a pre-generated dynamic two-dimensional (2D) code to the to-be-connected device, wherein the pre-generated dynamic 2D code comprises information about the group owner device, and wherein the dynamic 2D code is configured to be scanned by the to-be-connected device; and enabling, by the group member device, the to-be-connected device and the group owner device to share a first password comprising; obtaining, by the group member device, a password from the dynamic 2D code, wherein the password is shared by the group member device and the group owner device as the first password based on the communication connection; executing, by the group member device, a process of authentication configuration on the to-be-connected device based on the communication connection; after the authentication configuration succeeds, sending, by the group member device, the first password to the to-be-connected device, wherein the first password is used by the to-be-connected device and the group owner device to establish a communication connection with each other after the to-be-connected device and the group owner device discover each other; and sending the first password to the group owner device. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for establishing a connection, comprising:
-
sending, by a to-be-connected device, information about the to-be-connected device to a group owner device of a wireless device group based on a communication connection by using a group member device of the wireless device group; obtaining, by the to-be-connected device, information about the group owner device from the group member device, comprising; establishing, by the to-be-connected device in a short-distance communication manner, a communication connection to the group member device; receiving, by the to-be-connected device, a pre-generated dynamic two-dimensional (2D) code comprising the information about the group owner device from the group member device; scanning, by the to-be-connected device, the dynamic 2D code comprising the information about the group owner device after receiving the dynamic 2D code comprising the information about the group owner device; and sharing, by the to-be-connected device, a first password with the group owner device by using the group member device, wherein the first password is either based on a password that is shared between the group owner device and the group member device according to the communication connection or based on credential information that is received from the group member device after a process of authentication configuration between the to-be-connected device and the group member device is successful, and wherein the first password is used by the to-be-connected device and the group owner device to establish a connection with the group owner device after the to-be-connected device and the group owner device discover each other. - View Dependent Claims (8)
-
-
9. A group member device for establishing a connection, comprising:
-
a memory comprising instructions; a communications interface coupled to the memory; and a computer processor coupled to the memory, wherein the instructions cause the computer processor to be configured to; establish a communication connection with a group owner device of a wireless device group; obtain information about a to-be-connected device after establishing the communication connection with the group owner device; send the information about the to-be-connected device to the group owner device of the wireless device group after obtaining the information about the to-be-connected device; transmit a pre-generated dynamic two-dimensional (2D) code to the to-be-connected device, wherein the dynamic 2D code comprises information about the group owner device, and wherein the dynamic 2D code is configured to be scanned by the to-be-connected device; enable the to-be-connected device and the group owner device to share a first password comprising; obtain a password from the dynamic 2D code, wherein the password is shared between the group member device and the group owner device as the first password based on the communication connection; execute a process of authentication configuration on the to-be-connected device based on the communication connection; after the authentication configuration succeeds, send the first password to the to-be-connected device, wherein the first password is used by the to-be-connected device and the group owner device to establish a communication connection after the to-be-connected device and the group owner device discover each other; and send the first password to the group owner device. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A to-be-connected device for establishing a connection, comprising:
-
a memory comprising instructions; a communications interface coupled to the memory; and a computer processor coupled to the memory, wherein the instructions cause the computer processor to be configured to; send information about the to-be-connected device to a group owner device of a wireless device group by using a group member device of the wireless device group; obtain information about the group owner device by using the group member device, comprising; establish in a short-distance communication manner a communication connection to the group member device; receive a pre-generated dynamic two-dimensional (2D) code comprising the information about the group owner device from the group member device; and scan the dynamic 2D code comprising the information about the group owner device after receiving the dynamic 2D code comprising the information about the group owner device; and share a first password from the group member device by using the group member device, wherein the first password is either based on a password that is shared between the group owner device and the group member device based on a communication connection or is based on credential information that is received from the group member device after a process of authentication configuration by the to-be-connected device on the group member device is successful, and wherein the first password is used by the to-be-connected device to establish a communication connection with the group owner device after the to-be-connected device and the group owner device discover each other. - View Dependent Claims (16, 17, 18, 19)
-
Specification