US 11,057,360 B2
Electronic device performing reconnection of short-range communication and method for operating the same
Bu-Seop Jung, Suwon-si (KR); Hye-Jung Bang, Seoul (KR); Doo-Suk Kang, Suwon-si (KR); Min-Jung Kim, Hwaseong-si (KR); and Bo-Kun Choi, Seoul (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed on Sep. 17, 2018, as Appl. No. 16/132,987.
Claims priority of application No. 10-2017-0121196 (KR), filed on Sep. 20, 2017.
Prior Publication US 2019/0089686 A1, Mar. 21, 2019
Int. Cl. H04L 29/06 (2006.01); H04W 76/14 (2018.01); H04L 29/08 (2006.01); H04W 8/00 (2009.01); H04W 12/50 (2021.01); H04W 12/0431 (2021.01); H04W 84/12 (2009.01)
CPC H04L 63/061 (2013.01) [H04L 63/065 (2013.01); H04L 63/083 (2013.01); H04L 67/104 (2013.01); H04W 8/005 (2013.01); H04W 12/0431 (2021.01); H04W 12/50 (2021.01); H04W 76/14 (2018.02); H04W 84/12 (2013.01)] 16 Claims
OG exemplary drawing
 
1. An electronic device, comprising:
at least one wireless communication circuit configured to provide wireless communication based on an infrastructure communication protocol and a peer-to-peer (P2P) communication protocol;
at least one processor electrically connected with the at least one wireless communication circuit; and
a memory electrically connected to the at least one processor,
wherein the memory stores instructions executed to enable the at least one processor to:
during first P2P wireless communication with a first external electronic device which allows the electronic device and the first external electronic device to form a group, enable the electronic device to operate as a host or a client,
store, in the memory, first information about the group,
based on second P2P wireless communication with the first external electronic device being initiated after the first P2P wireless communication, determine whether the first external electronic device used to be in the group based on the first information, and
if the first external electronic device is used to be in the group:
include a group owner intent of the electronic device in a provision discovery request message based on a status of the electronic device,
transmit the provision discovery request message to the first external electronic device through the wireless communication circuit, and
receive a provision discovery response message including a group owner intent of the first external electronic device,
compare the group owner intent of the electronic device with the group owner intent of the first external electronic device, and
determine a role of the electronic device based on at least a result of the comparison while omitting group owner negotiation defined in the Wi-Fi direct protocol.