CPC H01Q 1/243 (2013.01) [H04B 7/0602 (2013.01)] | 11 Claims |
1. An electronic device, comprising:
a plurality of antennas,
a switch;
a sensor;
a wireless communication transceiver; and
a processor, electrically connected to the antennas, the switch, the sensor, and the wireless communication transceiver, and configured to execute an antenna selection procedure according to a scenario of the electronic device, to electrically connect at least one of the antennas with the sensor or the wireless communication transceiver through the switch,
wherein the processor is further configured to perform the following operation:
restarting the antenna selection procedure when the processor determines that a frequency that signal strength of an antenna electrically connected to the sensor is lower than a first signal threshold is higher than a first preset frequency, or a frequency that signal strength of an antenna electrically connected to the wireless communication transceiver is lower than a second signal threshold is higher than a second preset frequency.
|