IP Library Granted Patent US 12671976
Granted Patent B2
US 12671976 · App. 18/345,334 · Granted Jun 30, 2026

Antenna shifting method, electronic device and storage medium

Inventors: Xinnan Wu (Beijing, CN); Jiaxing Gong (Beijing, CN); Deqian Wang (Beijing, CN)
Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
H04W8/186H04B1/18
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 12671976
App. No.
18/345,334
Granted
Jun 30, 2026
Kind
B2
Abstract

An antenna shifting method includes: obtaining a working status of SIM cards in a first circuit path and a second circuit path, where the working status includes a status that only the SIM card in the first circuit path is working; and shifting, in response to determining that the working status is the status that only the SIM card in the first circuit path is working, at least one antenna of the second circuit path to the first circuit path.

Claims (54)

1 . An antenna shifting method, performed by an electronic device, wherein the electronic device comprises a first circuit path and a second circuit path; a first subscriber identity module (SIM) card slot is arranged in the first circuit path and a second SIM card slot is arranged in the second circuit path; the first SIM card slot and the second SIM card slot are each configured to accommodate an SIM card respectively; wherein the first circuit path comprises N antennas, the second circuit path comprises N antennas, and a value range of N is 2 to 10; and the antenna shifting method comprises:

obtaining a working status of the SIM cards in the first circuit path and the second circuit path; and

shifting, in response to determining that the working status is a status that only the SIM card in the first circuit path is working, at least one antenna of the second circuit path to the first circuit path;

wherein the method further comprises:

obtaining reference signal received power of all antennas of the first circuit path; and

determining an antenna with highest reference signal received power as a transmitting antenna and other antennas as receiving antennas.

2 . The antenna shifting method according to claim 1 , wherein obtaining the working status of the SIM cards in the first circuit path and the second circuit path comprises:

obtaining a service type currently executed by the electronic device; and

determining the working status of the SIM cards in the first circuit path and the second circuit path according to the service type.

3 . The antenna shifting method according to claim 2 , further comprising:

shifting, in response to determining that the working status is a status that the two SIM cards are working, the at least one antenna shifted to the first circuit path back to the second circuit path.

4 . The antenna shifting method according to claim 1 , wherein obtaining the working status of the SIM cards in the first circuit path and the second circuit path comprises:

obtaining a switch status of a shift switch; and

determining the working status of the SIM cards in the first circuit path and the second circuit path according to the switch status.

5 . The antenna shifting method according to claim 4 , further comprising:

shifting, in response to determining that the working status is a status that the two SIM cards are working, the at least one antenna shifted to the first circuit path back to the second circuit path.

6 . The antenna shifting method according to claim 1 , wherein obtaining the working status of the SIM cards in the first circuit path and the second circuit path comprises:

obtaining configuration information of the SIM cards in the electronic device; and

determining the working status of the SIM cards in the first circuit path and the second circuit path according to the configuration information.

7 . The antenna shifting method according to claim 6 , further comprising:

shifting, in response to determining that the working status is a status that the two SIM cards are working, the at least one antenna shifted to the first circuit path back to the second circuit path.

8 . The antenna shifting method according to claim 1 , wherein shifting the at least one antenna of the second circuit path to the first circuit path comprises:

obtaining reference signal received power of each antenna in the second circuit path;

selecting at least one antenna corresponding to the reference signal received power according to a sequence from high to low; and

shifting the at least one antenna to the first circuit path.

9 . The antenna shifting method according to claim 8 , further comprising:

shifting, in response to determining that the working status is a status that the two SIM cards are working, the at least one antenna shifted to the first circuit path back to the second circuit path.

10 . The antenna shifting method according to claim 1 , further comprising:

shifting, in response to determining that the working status is a status that the two SIM cards are working, the at least one antenna shifted to the first circuit path back to the second circuit path.

11 . An electronic device, comprising: a first circuit path and a second circuit path, wherein a first subscriber identity module (SIM) card slot is arranged in the first circuit path, a second SIM card slot is arranged in the second circuit path, the first SIM card slot and the second SIM card slot are configured to accommodate an SIM card respectively, the first circuit path comprises N antennas, the second circuit path comprises N antennas, and a value range of N is 2 to 10; and a shifting module, a memory and a processor, wherein

the shifting module is electrically connected with the first circuit path, the second circuit path and the processor respectively; and the processor is electrically connected with the memory;

the memory is configured to store a computer program executable by the processor; and

the processor is configured to:

obtain a working status of the SIM cards in the first circuit path and the second circuit path; and

shift, in response to determining that the working status is a status that only the SIM card in the first circuit path is working, at least one antenna of the second circuit path to the first circuit path;

wherein the processor is further configured to:

obtain reference signal received power of all antennas of the first circuit path; and

determine an antenna with highest reference signal received power as a transmitting antenna and other antennas as receiving antennas.

12 . The electronic device according to claim 11 , wherein the processor is further configured to:

obtain a service type currently executed by the electronic device; and

determine the working status of the SIM cards in the first circuit path and the second circuit path according to the service type.

13 . The electronic device according to claim 11 , wherein the processor is further configured to:

obtain a switch status of a shift switch; and

determine the working status of the SIM cards in the first circuit path and the second circuit path according to the switch status.

14 . The electronic device according to claim 11 , wherein the processor is further configured to:

obtain configuration information of the SIM cards in the electronic device; and

determine the working status of the SIM cards in the first circuit path and the second circuit path according to the configuration information.

15 . A non-transitory computer-readable storage medium, on which computer program instructions are stored that, when executed by a processor, cause the processor to:

obtain a working status of subscriber identity module (SIM) cards in a first circuit path and a second circuit path; and

shift, in response to determining that the working status is a status that only the SIM card in the first circuit path is working, at least one antenna of the second circuit path to the first circuit path;

wherein the first circuit path comprises N antennas, the second circuit path comprises N antennas, and a value range of N is 2 to 10;

wherein the computer program instructions further cause the processor to:

obtain reference signal received power of all antennas of the first circuit path; and

determine an antenna with highest reference signal received power as a transmitting antenna and other antennas as receiving antennas.