IP Library Granted Patent US 9,345,057
Granted Patent B2
US 9,345,057 · App. 14/690,701 · Granted May 17, 2016

Method and terminal for establishing a communication connection

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,345,057
App. No.
14/690,701
Granted
May 17, 2016
Kind
B2
Abstract

A method and a terminal for establishing a communication connection. In an embodiment, the method for establishing a communication connection includes: exchanging, by a first terminal, Wi-Fi Direct configuration information with a second terminal through a near field communication connection between the first terminal and the second terminal, where the exchanged Wi-Fi Direct configuration information includes group information of the first terminal or second terminal; and establishing a Wi-Fi Direct connection between the first terminal and the second terminal according to the exchanged Wi-Fi Direct configuration information. The present invention can simplify a process of establishing a Wi-Fi Direct connection, so that both of two terminals can establish a Wi-Fi Direct connection within an NFC communication range.

Claims (54)

1. A method for establishing a communication connection, comprising:

sending, by a first terminal, wireless fidelity (Wi-Fi) Direct configuration information of the first terminal to a second terminal through a near field communication (NFC) connection between the first terminal and the second terminal, wherein the Wi-Fi Direct configuration information of the first terminal comprises group information of the first terminal, the group information of the first terminal indicating: the first terminal being not a member of an existing group, the first terminal being a group owner of an existing group to which the first terminal belongs, or the first terminal being a client of an existing group to which the first terminal belongs;

receiving, by the first terminal, Wi-Fi Direct configuration information of the second terminal from the second terminal through the NFC connection between the first terminal and the second terminal, wherein the Wi-Fi Direct configuration information of the second terminal comprises group information of the second terminal, the group information of the second terminal indicating: the second terminal being not a member of an existing group, the second terminal being a group owner of an existing group to which the second terminal belongs, or the second terminal being a client of an existing group to which the second terminal belongs; and

establishing a Wi-Fi Direct connection between the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal.

2. The method according to claim 1 , if the first terminal being not a member of an existing group and the second terminal being not a member of an existing group, wherein the establishing a Wi-Fi Direct connection between the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal comprises:

establishing, by the first terminal, the Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the second terminal.

3. The method according to claim 1 , if the first terminal being not a member of an existing group and the second terminal being a group owner of an existing group to which the second terminal belongs, wherein the Wi-Fi Direct configuration information of the second terminal is Wi-Fi Direct configuration information of the existing group to which the second terminal belongs;

the establishing a Wi-Fi Direct connection between the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal comprises:

joining, by the first terminal, the existing group to which the second terminal belongs according to the Wi-Fi Direct configuration information of the existing group.

4. The method according to claim 1 , if the first terminal being not a member of an existing group and the second terminal being a client of an existing group to which the second terminal belongs, wherein the Wi-Fi Direct configuration information of the second terminal further comprises description information of a group owner of the existing group;

the establishing a Wi-Fi Direct connection between the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal comprises:

joining, by the first terminal, the existing group to which the second terminal belongs according to the Wi-Fi Direct configuration information of the existing group.

5. The method according to claim 2 , the establishing, by the first terminal, the Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the second terminal comprises:

setting, by the first terminal according to the Wi-Fi Direct configuration information of the second terminal, the Wi-Fi Direct configuration information of a new group to be created;

sending, by the first terminal, the Wi-Fi Direct configuration information of the new group to be created to the second terminal through the NFC connection; and

establishing, by the first terminal, the Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be created.

6. The method according to claim 4 , before the joining, by the first terminal, the existing group to which the second terminal belongs according to Wi-Fi Direct configuration information of the existing group, further comprises:

requesting, by the first terminal, the group owner of the existing group for the encryption information in the Wi-Fi Direct configuration information of the existing group according to the description information of the group owner of the existing group;

receiving, by the first terminal, the encryption information in the Wi-Fi Direct configuration information of the existing group sent by the group owner.

7. A method for establishing a communication connection, comprising:

receiving, by a second terminal, wireless fidelity (Wi-Fi) Direct configuration information of a first terminal from the first terminal through a near field communication (NFC) connection between the second terminal and the first terminal, wherein the Wi-Fi Direct configuration information of the first terminal comprises group information of the first terminal, the group information of the first terminal indicating: the first terminal being not a member of an existing group, the first terminal being a group owner of an existing group to which the first terminal belongs, or the first terminal being a client of an existing group to which the first terminal belongs;

sending, by the second terminal, Wi-Fi Direct configuration information of the second terminal to the first terminal through the NFC connection between the second terminal and the first terminal, wherein the Wi-Fi Direct configuration information of the second terminal comprises group information of the second terminal, the group information of the second terminal indicating: the second terminal being not a member of an existing group, the second terminal being a group owner of an existing group to which the second terminal belongs, or the second terminal being a client of an existing group to which the second terminal belongs; and

establishing a Wi-Fi Direct connection between the second terminal and the first terminal according to the Wi-Fi Direct configuration information of the first terminal.

8. The method according to claim 7 , if the first terminal being not a member of an existing group and the second terminal being a group owner of an existing group to which the second terminal belongs, wherein the Wi-Fi Direct configuration information of the second terminal is Wi-Fi Direct configuration information of the existing group to which the second terminal belongs.

9. The method according to claim 7 , if the first terminal being not a member of an existing group and the second terminal being a client of an existing group to which the second terminal belongs, wherein the Wi-Fi Direct configuration information of the second terminal further comprises description information of a group owner of the existing group.

10. A terminal, wherein the terminal is a first terminal and the terminal comprises:

a memory, configured to store an executable program code; and

at least one processor, configured to run, by reading the executable program code stored in the memory, a program corresponding to the executable program code so as to perform the following steps:

send wireless fidelity (Wi-Fi) Direct configuration information of the first terminal to a second terminal through a near field communication (NFC) connection between the first terminal and the second terminal, wherein the Wi-Fi Direct configuration information of the first terminal comprises group information of the first terminal, the group information of the first terminal indicating: the first terminal being not a member of an existing group, the first terminal being a group owner of an existing group to which the first terminal belongs, or the first terminal being a client of an existing group to which the first terminal belongs;

receive Wi-Fi Direct configuration information of the second terminal from the second terminal through the NFC connection between the first terminal and the second terminal, wherein the Wi-Fi Direct configuration information of the second terminal comprises group information of the second terminal, the group information of the second terminal indicating: the second terminal being not a member of an existing group, the second terminal being a group owner of an existing group to which the second terminal belongs, or the second terminal being a client of an existing group to which the second terminal belongs; and

establish a Wi-Fi Direct connection between the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal.

11. The terminal according to claim 10 , if the first terminal being not a member of an existing group and the second terminal being not a member of an existing group, wherein the establish a Wi-Fi Direct connection between the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal comprises:

establish the Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the second terminal.

12. The terminal according to claim 10 , if the first terminal being not a member of an existing group and the second terminal being a group owner of an existing group to which the second terminal belongs, wherein the Wi-Fi Direct configuration information of the second terminal is Wi-Fi Direct configuration information of the existing group to which the second terminal belongs;

the establish a Wi-Fi Direct connection between the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal comprises:

join the existing group to which the second terminal belongs according to the Wi-Fi Direct configuration information of the existing group.

13. The terminal according to claim 10 , if the first terminal being not a member of an existing group and the second terminal being a client of an existing group to which the second terminal belongs, wherein the Wi-Fi Direct configuration information of the second terminal further comprises description information of a group owner of the existing group;

the establish a Wi-Fi Direct connection between the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal comprises:

join the existing group to which the second terminal belongs according to the Wi-Fi Direct configuration information of the existing group.

14. The terminal according to claim 11 , the establish the Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the second terminal comprises:

set the Wi-Fi Direct configuration information of the a new group to be created according to the Wi-Fi Direct configuration information of the second terminal;

send the Wi-Fi Direct configuration information of the new group to be created to the second terminal through the NFC connection; and

establish the Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be created.

15. The terminal according to claim 13 , before the join the existing group to which the second terminal belongs according to Wi-Fi Direct configuration information of the existing group, further comprises:

request the group owner of the existing group for the encryption information in the Wi-Fi Direct configuration information of the existing group according to the description information of the group owner of the existing group;

receive the encryption information in the Wi-Fi Direct configuration information of the existing group sent by the group owner.

16. A terminal, wherein the terminal is a second terminal and the terminal comprises:

a memory, configured to store an executable program code; and

at least one processor, configured to run, by reading the executable program code stored in the memory, a program corresponding to the executable program code so as to perform the following steps:

receive wireless fidelity (Wi-Fi) Direct configuration information of a first terminal from the first terminal through a near field communication (NFC) connection between the second terminal and the first terminal, wherein the Wi-Fi Direct configuration information of the first terminal comprises group information of the first terminal, the group information of the first terminal indicating: the first terminal being not a member of an existing group, the first terminal being a group owner of an existing group to which the first terminal belongs, or the first terminal being a client of an existing group to which the first terminal belongs;

send Wi-Fi Direct configuration information of the second terminal to the first terminal through the NFC connection between the second terminal and the first terminal, wherein the Wi-Fi Direct configuration information of the second terminal comprises group information of the second terminal, the group information of the second terminal comprises: the second terminal being not a member of an existing group, or the second terminal being a group owner of an existing group to which the second terminal belongs, or the second terminal being a client of an existing group to which the second terminal belongs; and

establish a Wi-Fi Direct connection between the second terminal and the first terminal according to the Wi-Fi Direct configuration information of the first terminal.

17. The terminal according to claim 16 , if the first terminal being not a member of an existing group and the second terminal being a group owner of an existing group to which the second terminal belongs, wherein the Wi-Fi Direct configuration information of the second terminal is Wi-Fi Direct configuration information of the existing group to which the second terminal belongs.

18. The terminal according to claim 16 , if the first terminal being not a member of an existing group and the second terminal being a client of an existing group to which the second terminal belongs, wherein the Wi-Fi Direct configuration information of the second terminal further comprises description information of a group owner of the existing group.

Assignments (3)
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 20, 2015
From: LI, GUOQING; JIN, ZHIHAO
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 035447/0284 →