IP Library Granted Patent US 9,949,116
Granted Patent B2
US 9,949,116 · App. 14/901,807 · Granted Apr 17, 2018

Method and apparatus for establishing SSID-based connection between terminal device and gateway device

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,949,116
App. No.
14/901,807
Granted
Apr 17, 2018
Kind
B2
Abstract

The present application provides a method for interconnection between a terminal device and a gateway device. When the terminal device detects that the terminal device and the gateway device meet a first connection condition and that it is the first time the terminal device is to be connected to the gateway device, acquiring, from the gateway device, a first common SSID preset in the gateway device; and when authentication performed by the terminal device on the acquired first common SSID succeeds, sending a second common SSID preset in the terminal device to the gateway device, so that when authentication performed by the gateway device on the second common SSID succeeds, a common SSID-based connection is established between the terminal device and the gateway device. So using the method, processing of interconnection between a terminal device and a gateway device takes a short time and a process is relatively simple.

Claims (47)

1. A method for connecting a terminal device to a gateway device, the method comprising:

acquiring, by the terminal device, from the gateway device, a first common service set identifier (SSID) preset in the gateway device, in response to the terminal device detecting that (i) the terminal device and the gateway device meet a first connection condition and (ii) it is the first time the terminal device is to be connected to the gateway device;

sending, by the terminal device, a second common SSID that is preset in the terminal device after authentication performed on the first common SSID succeeds;

establishing a common SSID-based connection between the terminal device and the gateway device, when authentication performed by the gateway device on the second common SSID succeeds;

receiving, by the terminal device from the gateway device, a private SSID and a key of the gateway device;

disconnecting, by the terminal device, the common SSID-based connection between the terminal device and the gateway device;

sending, by the terminal device, the private SSID and the key to the gateway device; and

establishing a private SSID-based connection between the gateway device and the terminal device, when authentication performed by the gateway device on the received private SSID and key succeeds.

2. The method according to claim 1 , further comprising:

sending, by the terminal device, the private SSID and the key when the terminal device detects that (i) the terminal device and the gateway device meet a second connection condition and (ii) it is not the first time the terminal device is to be connected to the gateway device; and

establishing a private SSID-based connection between the gateway device and the terminal device, when authentication performed by the gateway device on the received private SSID and key succeeds.

3. A method for connecting a terminal device to a gateway device, the method comprising:

acquiring, by the terminal device, from the gateway device, a first common service set identifier (SSID) preset in the gateway device, in response to the terminal device detecting that (i) the terminal device and the gateway device meet a first connection condition and (ii) it is the first time the terminal device is to be connected to the gateway device;

sending, by the terminal device, a second common SSID preset in the terminal device to the gateway device after authentication performed on the acquired first common SSID succeeds;

establishing a common SSID-based connection between the terminal device and the gateway device, when authentication performed by the gateway device on the second common SSID succeeds;

receiving and storing, by the terminal device, a private SSID and a key of the gateway device that are sent by the gateway device, wherein the private SSID and the key are sent after the authentication performed by the gateway device on the second common SSID succeeds;

disconnecting, by the terminal device, the common SSID-based connection between the terminal device and the gateway device; and

sending, by the terminal device to the gateway device, the private SSID and the key of the gateway device, the private SSID and the key enabling the gateway device to perform authentication on the private SSID and the key, wherein when the authentication succeeds, a private SSID-based connection is established between the terminal device and the gateway device.

4. The method according to claim 3 , wherein the terminal device detecting that the terminal device and the gateway device meet the first connection condition comprises:

detecting, by the terminal device, that a physical cable between the terminal device and the gateway device has been connected.

5. The method according to claim 3 , wherein the terminal device detecting that the terminal device and the gateway device meet the first connection condition comprises:

detecting, by the terminal device, that a strength of a radio signal between the terminal device and the gateway device satisfies a preset strength threshold.

6. The method according to claim 3 , further comprising:

acquiring, by the terminal device, the private SSID and the key of the gateway device, in response to the terminal device detecting that (i) the terminal device and the gateway device meet a second connection condition and (ii) it is not the first time the terminal device is to be connected to the gateway device.

7. The method according to claim 6 , wherein the terminal device detecting that the terminal device and the gateway device meet the second connection condition comprises:

detecting, by the terminal device, that a physical cable between the terminal device and the gateway device has been connected.

8. The method according to claim 6 , wherein the terminal device detecting that the terminal device and the gateway device meet the second connection condition comprises:

detecting, by the terminal device, a radio signal from the gateway device.

9. A terminal device, comprising:

a memory configured for storing instructions; and

a processor coupled to the memory, wherein the processor is configured, when executing the instructions to:

acquire from a gateway device, a first common service set identifier (SSID) preset in the gateway device, in response to a detection that (i) the terminal device and the gateway device meet a first connection condition and (ii) it is the first time the terminal device is to be connected to the gateway device;

send a second common SSID preset in the terminal device to the gateway device after authentication performed on the acquired first common SSID succeeds;

establish a common SSID-based connection between the terminal device and the gateway device, when authentication performed by the gateway device on the second common SSID succeeds;

receive and store a private SSID and a key of the gateway device that are sent by the gateway device, wherein the private SSID and the key are sent after the authentication performed by the gateway device on the second common SSID succeeds;

disconnect the common SSID-based connection between the terminal device and the gateway device; and

send, to the gateway device, the private SSID and the key of the gateway device, the private SSID and the key enabling the gateway device to perform authentication on the private SSID and the key, wherein when the authentication succeeds, a private SSID-based connection is established between the terminal device and the gateway device.

10. The terminal device according to claim 9 , wherein the detection that the terminal device and the gateway device meet the first connection condition comprises:

a detection that a physical cable between the terminal device and the gateway device has been connected.

11. The terminal device according to claim 9 , wherein the detection that the terminal device and the gateway device meet the first connection condition comprises:

a detection that a strength of a radio signal between the terminal device and the gateway device satisfies a preset strength threshold.

12. The terminal device according to claim 9 , wherein the processor is further configured to:

acquire the private SSID and the key of the gateway device, in response to a detection that (i) the terminal device and the gateway device meet a second connection condition and (ii) it is not the first time the terminal device is to be connected to the gateway device.

13. The terminal device according to claim 12 , wherein the detection that the terminal device and the gateway device meet the second connection condition comprises:

a detection that a physical cable between the terminal device and the gateway device has been connected.

14. The terminal device according to claim 12 , wherein the detection that the terminal device and the gateway device meet the second connection condition comprises:

a detection of a radio signal from the gateway device.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 19, 2018
From: HUAWEI DEVICE (SHENZHEN) CO., LTD.
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 047603/0039 →
CHANGE OF NAME Recorded Jun 12, 2018
From: HUAWEI DEVICE CO.,LTD.
To: HUAWEI DEVICE (SHENZHEN) CO., LTD.
Reel/Frame 046340/0590 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2015
From: LI, LEI; ZHAO, LEI
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 037375/0078 →