IP Library › Granted Patent US 10,638,523
Granted Patent B2
US 10,638,523 · App. 16/042,639 · Granted Apr 28, 2020

Method and apparatus for Wi-Fi connection using Wi-Fi protected setup in portable terminal

Inventors: Bu-Seop Jung (Suwon-si, KR); Jung-Hun Lee (Suwon-si, KR)
Assignee: Samsung Electronics Co., Ltd.
H04W76/11H04L67/1044H04W8/005H04W12/06H04W48/16H04W84/12
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 10,638,523
App. No.
16/042,639
Granted
Apr 28, 2020
Kind
B2
Abstract

A method and an apparatus for Wi-Fi connection based on Wi-Fi Protected Setup (WPS) in a portable terminal are provided. The method includes entering a group owner mode of Wi-Fi Direct when enabling of WPS is requested, after entering the group owner mode, entering a WPS session mode where the portable terminal is operable in a WPS registrar mode, determining whether an Access Point (AP) whose WPS session of the WPS registrar mode is enabled or a device whose group owner mode is enabled, exists nearby, and when an AP whose WPS registrar mode is enabled is discovered, disabling the WPS registrar mode and the group owner mode, enabling a WPS session where the portable terminal is to operate in a WPS enrollee mode, and accessing the discovered AP.

Claims (47)

1. A non-transitory computer-readable storage medium storing instructions, wherein the instructions, when executed by at least one processor of an electronic device, are configured to cause the at least one processor to:

enter a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device, if a Wi-Fi connection is requested,

discover, in the group owner mode, an external device whose group owner mode is enabled,

determine a group owner of the Wi-Fi P2P group from among the electronic device and the discovered external device, and

connect to the Wi-Fi P2P group based on a result of the determining of the Wi-Fi P2P group owner,

wherein the Wi-Fi connection is requested by an enabling of a Wi-Fi Protected Setup (WPS).

2. The non-transitory computer-readable storage medium of claim 1 , wherein the instructions, when executed, are configured to cause the at least one processor to:

compare, if the external device whose group owner mode is enabled is discovered, a prefix of a Service Set Identifier (SSID) name of the electronic device, which is generated in a group owner mode entry process, with a prefix of an SSID name of the discovered external device, and

connect to the Wi-Fi P2P group based on a result of the comparing of the prefix of the SSID.

3. The non-transitory computer-readable storage medium of claim 2 , wherein a device, corresponding to a prefix having a greater value among the prefix of the SSID name of the electronic device and the prefix of the SSID name of the discovered external device, acquires group owner rights and connects to the Wi-Fi P2P group.

4. The non-transitory computer-readable storage medium of claim 2 , wherein a device, corresponding to a prefix having a lesser value among the prefix of the SSID name of the electronic device and the prefix of the SSID name of the discovered external device, acquires group owner rights and connects to the Wi-Fi P2P group.

5. The non-transitory computer-readable storage medium of claim 2 ,

wherein the instructions, when executed, are configured to cause the at least one processor to exchange Probe Request and Probe Response messages of an Institute of Electrical and Electronics Engineers (IEEE) 802.11 Medium Access Control (MAC) protocol,

wherein the Probe Request comprises at least one of a P2P Information Element (IE), a Wi-Fi Simple Configuration (WSC) IE, or a Supplemental Registration (Supp Reg) IE, and

wherein the Probe Response comprises at least one of a P2P IE, a WSC IE, a Robust Security Network (RSN) IE, or a Supp Reg IE.

6. An electronic device for connecting to a wireless communication network, the electronic device comprising:

at least one processor; and

at least one memory storing one or more computer programs, which when executed by the at least one processor, cause the electronic device to:

determine whether a Wi-Fi connection is requested,

enter a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device, if the Wi-Fi connection is requested,

discover, in the group owner mode, an external device whose group owner mode is enabled,

determine a group owner of the Wi-Fi P2P group from among the electronic device and the discovered external device, and

connect to the Wi-Fi P2P group based on a result of the determining of the Wi-Fi P2P group owner.

7. The electronic device of claim 6 , wherein a device, corresponding to a prefix having a greater value among the prefix of the SSID name of the electronic device and the prefix of the SSID name of the discovered external device, acquires group owner rights and connects to the Wi-Fi P2P group.

8. The electronic device of claim 6 , wherein a device, corresponding to a prefix having a lesser value among the prefix of the SSID name of the electronic device and the prefix of the SSID name of the discovered external device, acquires group owner rights and connects to the Wi-Fi P2P group.

9. A method for connecting to a wireless communication network in an electronic device, the method comprising:

determining whether a Wi-Fi connection is requested;

entering a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device, if the Wi-Fi connection is requested;

discovering, in the group owner mode, an external device whose group owner mode is enabled;

determining a group owner of the Wi-Fi P2P group from among the electronic device and the discovered external device; and

connect to the Wi-Fi P2P group based on a result of the determining of the Wi-Fi P2P group owner.

10. The method of claim 9 , further comprising:

acquiring, by a device, group owner rights and connecting to the Wi-Fi P2P group,

wherein the device corresponds to a prefix having a greater value among the prefix of the SSID name of the electronic device and the prefix of the SSID name of the discovered external device.

11. The method of claim 9 , further comprising:

acquiring, by a device, group owner rights and connecting to the Wi-Fi P2P group,

wherein the device corresponds to a prefix having a lesser value among the prefix of the SSID name of the electronic device and the prefix of the SSID name of the discovered external device, acquires group owner rights and connects to the Wi-Fi P2P group.

12. A non-transitory computer readable storage medium storing instructions, wherein the instructions, when executed by at least one processor of an electronic device, are configured to cause the at least one processor to:

determine whether a Wi-Fi connection is requested,

enter a group owner mode of a Wi-Fi Peer-to-Peer (P2P) group without connecting with another device, if the Wi-Fi connection is requested,

discover, in the group owner mode, an external device whose group owner mode is enabled,

determine a group owner of the Wi-Fi P2P group from among the electronic device and the discovered external device, and

connect to the Wi-Fi P2P group based on a result of the determining of the Wi-Fi P2P group owner.

13. The non-transitory computer-readable storage medium of claim 12 ,

wherein a device, corresponding to a prefix having a greater value among the prefix of the SSID name of the electronic device and the prefix of the SSID name of the discovered external device, acquires group owner rights and connects to the Wi-Fi P2P group.

14. The non-transitory computer-readable storage medium of claim 12 ,

wherein a device corresponding to a prefix having a lesser value among the prefix of the SSID name of the electronic device and the prefix of the SSID name of the discovered external device, acquires group owner rights and connects to the Wi-Fi P2P group.

Priority Claims (1)
KR 10-2011-0109277 · Oct 25, 2011 · national
Continuity (3)
Continuation 14837643 · Aug 27, 2015
Continuation 13660439 · Oct 25, 2012
Related Publication 20180332640A1 · Nov 15, 2018