US 11,054,496 B2
Method for connecting to network, non-transitory storage medium, and electronic device
Hsing-Chun Hsieh, New Taipei (TW)
Assigned to Chiun Mai Communication Systems, Inc., New Taipei (TW)
Filed by Chiun Mai Communication Systems, Inc., New Taipei (TW)
Filed on May 25, 2020, as Appl. No. 16/882,568.
Claims priority of application No. 201910441722.3 (CN), filed on May 24, 2019.
Prior Publication US 2020/0371188 A1, Nov. 26, 2020
Int. Cl. H04W 4/40 (2018.01); G01S 3/02 (2006.01); G01V 7/00 (2006.01); H04W 4/021 (2018.01)
CPC G01S 3/023 (2013.01) [G01V 7/00 (2013.01); H04W 4/021 (2013.01); H04W 4/40 (2018.02)] 18 Claims
OG exemplary drawing
 
1. An electronic device for connecting with a wireless device, the electronic device comprising:
a gravity sensor;
at least one wireless communication unit;
a positioning unit;
a storage system;
at least one processor; and
the storage system storing one or more programs, which when executed by the at least one processor, causing the at least one processor to:
determine whether the electronic device is moving by the gravity sensor or the positioning unit;
obtain position information of the electronic device from the positioning unit in response to determining that the electronic device is moving by the gravity sensor or the positioning unit;
determine whether a distance between the electronic device and the wireless device is within a preset value based on the position information;
generate a movement path according to the position information of the electronic device in response to determining that the distance between the electronic device and the wireless device is within the preset value;
determine whether the movement path of the electronic device matches with a part of at least one stored path; and
switch a state of the at least one wireless communication unit according to the at least one stored path and a corresponding state of the at least one wireless communication unit in response to determining that the movement path of the electronic device matches with a part of the at least one stored path.