Antenna switching methods, electronic devices, storage media, and computer program products
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2026-08-14
AI Technical Summary
由于不同射频开关的间隔距离远,因此会增加线路损耗,导致天线发射功率低的问题
[0039]本公开实施例在电子设备所处的当前通信网络支持至少两个上行载波的情况下获取当前通信网络的通信参数,并基于该通信参数,控制电子设备将射频信号从传输至当前发射通路,切换为传输目标发射通路。
Smart Images

Figure CN122577945A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to antenna switching methods, electronic devices, storage media, and computer program products. Background Technology
[0002] With the application of multi-antenna communication systems in electronic devices, more and more electronic devices are able to dynamically switch transmitting antennas to select the optimal transmitting antenna for signal transmission and reception. Currently, traditional antenna switching is achieved by changing the switching states of different RF switches. Because the distance between different RF switches is large, it increases line loss, leading to low antenna transmission power. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides an antenna switching method, electronic device, storage medium, and computer program product that can reduce the loss of the antenna transmission path.
[0004] According to a first aspect of the present disclosure, an antenna switching method is provided, comprising:
[0005] In response to a trigger antenna switching condition, the target transmitting antenna for antenna switching of the electronic device is obtained; wherein the target transmitting antenna is connected to a target transmitting path that is different from the current transmitting path connected to the current transmitting antenna of the electronic device.
[0006] If the current communication network in which the electronic device is located supports at least two uplink carriers, obtain the communication parameters of the current communication network;
[0007] Based on the communication parameters, the electronic device is controlled to switch the transmission of radio frequency signals from the current transmission path to the target transmission path, so as to communicate through the target transmission antenna.
[0008] In some embodiments, controlling the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path based on the communication parameters includes:
[0009] Determine the communication parameters of the target uplink carrier with the smallest center frequency among the at least two uplink carriers;
[0010] Based on the communication parameters of the target uplink carrier, the electronic device is controlled to switch the transmission of radio frequency signals from the current transmission path to the target transmission path.
[0011] In some embodiments, the current communication network includes: a network supporting dual connectivity of a Long Term Evolution (LTE) network and a New Radio (NR) network; the communication parameters of the target uplink carrier include: the communication parameters of the LTE carrier;
[0012] or,
[0013] The current communication network includes: a new wireless uplink carrier aggregation network that supports a combination of frequency division duplex (FDD) and time division duplex (TDD); the communication parameters of the target uplink carrier include: the communication parameters of the FDD carrier.
[0014] In some embodiments, controlling the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path based on the communication parameters includes:
[0015] If the communication parameters are greater than a preset threshold, the electronic device is controlled to switch the transmission of the radio frequency signal from the current transmission path to the target transmission path.
[0016] In some embodiments, controlling the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path includes:
[0017] For each uplink carrier frequency band in the current communication network, the electronic device is controlled to switch the radio frequency signal from being transmitted to the current transmission path to being transmitted to the target transmission path.
[0018] In some embodiments, the communication parameters include reference signal received power and signal-to-noise ratio; the communication parameters being greater than a preset threshold include:
[0019] The reference signal received power is greater than a first preset threshold and the signal-to-noise ratio is greater than a second preset threshold.
[0020] In some embodiments, the method further includes:
[0021] When the communication parameters are less than or equal to the preset threshold, the on / off state of the radio frequency switch of the electronic device is switched, so that the electronic device switches from the current transmitting antenna to the target transmitting antenna.
[0022] In some embodiments, the method includes:
[0023] When the electronic device is in single-card mode,
[0024] If the current communication network of the electronic device is a network that supports dual connectivity of LTE and NR networks; or a network that supports new wireless uplink carrier aggregation in a combination of FDD and TDD, then the current communication network is determined to support the at least two uplink carriers.
[0025] In some embodiments, the method further includes:
[0026] When the electronic device is in dual-SIM mode,
[0027] If one user identification card of the electronic device is in an LTE network and the other user identification card is in an NR network; or, if both user identification cards of the electronic device are in an NR network, it is determined that the current communication network supports the at least two uplink carriers.
[0028] According to a second aspect of the present disclosure, an electronic device is provided, comprising:
[0029] The first acquisition unit is configured to acquire the target transmitting antenna of the electronic device for antenna switching in response to a trigger antenna switching condition; wherein the target transmitting antenna is connected to a target transmitting path that is different from the current transmitting path connected to the current transmitting antenna of the electronic device.
[0030] The second acquisition unit is configured to acquire the communication parameters of the current communication network when the current communication network in which the electronic device is located supports at least two uplink carriers;
[0031] The first switching unit is configured to control the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path based on the communication parameters, so as to communicate through the target transmission antenna.
[0032] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0033] processor;
[0034] Memory used to store computer programs or instructions;
[0035] The processor executes the computer program or instructions to implement the steps of the method in the first aspect described above.
[0036] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, the storage medium storing a computer program or instructions that, when executed by a processor, implement the steps of the method in the first aspect described above.
[0037] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program or instructions, which, when executed by a processor, implement the steps of the method in the first aspect described above.
[0038] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0039] In this embodiment of the disclosure, when the current communication network of the electronic device supports at least two uplink carriers, the communication parameters of the current communication network are obtained, and based on the communication parameters, the electronic device is controlled to switch the radio frequency signal from the current transmission path to the transmission target transmission path.
[0040] Thus, on the one hand, the embodiments of this disclosure do not switch the current transmitting antenna by controlling the switching state of the radio frequency switch, but can make the target transmitting antenna transmit the radio frequency signal by switching different transmitting paths, which can reduce the line loss of the radio frequency switch and improve the antenna transmission power of the electronic device.
[0041] On the other hand, the embodiments of this disclosure can control electronic devices to switch different transmission paths to transmit radio frequency signals based on communication parameters when the current communication network supports at least two uplink carriers, so that antenna switching can be applied to communication scenarios with at least two uplink carriers, thus expanding the applicable scenarios of antenna switching.
[0042] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0043] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0044] Figure 1 This is a flowchart illustrating an antenna switching method according to an exemplary embodiment. Figure 1 .
[0045] Figure 2 This is a schematic diagram of the structure of an antenna transmitting circuit according to an exemplary embodiment.
[0046] Figure 3 This is a schematic diagram of a conventional frequency division duplex antenna switching structure according to an exemplary embodiment.
[0047] Figure 4 This is a schematic diagram of a conventional time-division duplex antenna switching structure according to an exemplary embodiment.
[0048] Figure 5a This is a schematic diagram of the structure of the B3 transmitting circuit according to an exemplary embodiment.
[0049] Figure 5b This is a schematic diagram of the structure of the N78 transmitter circuit according to an exemplary embodiment.
[0050] Figure 6 This is a flowchart illustrating an antenna switching method according to an exemplary embodiment. Figure 2.
[0051] Figure 7 This is a block diagram of an electronic device according to an exemplary embodiment. Figure 1 .
[0052] Figure 8 This is a block diagram of an electronic device according to an exemplary embodiment. Figure 2 . Detailed Implementation
[0053] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0054] This disclosure presents an antenna switching method. Figure 1 This is a flowchart illustrating an antenna switching method according to an exemplary embodiment. Figure 1 .like Figure 1 As shown, the antenna switching method is applied in electronic devices. The electronic device executes this antenna switching method mainly by following these steps:
[0055] S101. In response to the trigger antenna switching condition, obtain the target transmitting antenna for antenna switching of the electronic device; wherein, the target transmitting antenna is connected to a target transmitting path that is different from the current transmitting path connected to the current transmitting antenna of the electronic device;
[0056] S102. If the current communication network where the electronic device is located supports at least two uplink carriers, obtain the communication parameters of the current communication network.
[0057] S103. Based on the communication parameters, control the electronic device to switch the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path, so as to communicate through the target transmission antenna.
[0058] In this embodiment of the disclosure, the antenna switching method is applied to a scenario where the current transmitting antenna of an electronic device is switched, so as to improve the communication quality of the electronic device.
[0059] For example, when it is detected that the antenna performance of the target transmitting antenna is better than that of the current transmitting antenna, the antenna switching method proposed in this disclosure can be used to enable the electronic device to switch to the target transmitting path connected to the target transmitting antenna for radio frequency signal transmission, so as to realize the electronic device switching from the current transmitting antenna to the target transmitting antenna.
[0060] In step S101, the antenna performance of the target transmitting antenna is superior to that of the current transmitting antenna. Here, antenna performance includes properties such as radiation pattern, gain, and VSWR, which are not limited in this embodiment.
[0061] It should be noted that, in response to triggering the antenna switching condition, obtaining the target transmitting antenna for the electronic device to switch antennas may include: in response to detecting that the antenna performance of a candidate transmitting antenna different from the current transmitting antenna is greater than a preset threshold, determining that the candidate transmitting antenna is the target transmitting antenna for the electronic device to switch antennas; it may also include: in response to detecting that the transmission performance of a candidate transmitting antenna different from the current transmitting antenna is better than the transmission performance of the current transmitting antenna, determining that the candidate transmitting antenna is the target transmitting antenna for the electronic device to switch antennas.
[0062] In this embodiment of the disclosure, the target transmitting antenna and the current transmitting antenna are connected to different transmitting paths. That is, the antenna switching method of this embodiment is applicable to scenarios where the target transmitting antenna and the current transmitting antenna are connected to different transmitting paths.
[0063] For example, such as Figure 2 As shown, the antenna transceiver 10 is connected to the first group of antennas 12 via the first transmission path TX0; the first transmission path TX0 is connected to the first RF switch 13; the first group of antennas 12 includes antenna ANT1 and antenna ANT0. The antenna transceiver 10 is also connected to the second group of antennas 14 via the second transmission path TX1, and the second transmission path TX1 is connected to the second RF switch 15; the second group of antennas includes antenna ANT2 and antenna ANT3.
[0064] Here, when the current transmitting antenna is antenna ANT0 and the target transmitting antenna is antenna ANT3, the target transmitting antenna can be connected to the second transmitting path TX1; the current transmitting antenna can be connected to the first transmitting path TX0. That is, the embodiments of this disclosure are applicable to scenarios where different groups of antennas are switched.
[0065] It should be noted that when the target transmitting antenna and the current transmitting antenna are connected to the same transmitting path, that is, when the target transmitting antenna and the current transmitting antenna are in the same group of antennas, the electronic device can switch from the current transmitting antenna to the target transmitting antenna by switching the switching state of the RF switch connected to the same group of antennas.
[0066] For example, such as Figure 2As shown, if the current transmitting antenna is antenna ANT0 and the target transmitting antenna is antenna ANT1, the electronic device can switch the switching state of the first RF switch 13 to make the line between antenna ANT1 and antenna transceiver 10 connected, thereby enabling the electronic device to switch from antenna ANT0 to antenna ANT1.
[0067] In step S102, the current communication network in which the electronic device is located supports at least two uplink carriers. That is, the electronic device can communicate with the base station through at least two uplink carriers in the current communication network. Therefore, the antenna switching method of this embodiment is applicable to scenarios where the current communication network in which the electronic device is located supports at least two uplink carriers.
[0068] Here, for current communication networks that support a single uplink carrier, such as single-band downlink carrier aggregation (DLCA) scenarios, electronic devices do not need to control the transmission of radio frequency signals to the target transmission path based on communication parameters. Instead, they can directly control the electronic devices to transmit radio frequency signals to the target transmission path after obtaining the target transmitting antenna.
[0069] In this embodiment of the disclosure, the different uplink carriers operate on different frequency bands. That is, the electronic device in this embodiment of the disclosure can communicate with the base station via uplink carriers of different frequency bands.
[0070] For example, the electronic device may communicate based on a first uplink carrier and a second uplink carrier, the different uplink carriers having different frequency bands, including: the first uplink carrier having a frequency band of LTE network and the second uplink carrier having a frequency band of NR network.
[0071] Of course, the different uplink carrier frequency bands may also include: the frequency band of the first uplink carrier and the frequency band of the second uplink carrier are both different frequency bands in the NR network.
[0072] In this embodiment of the disclosure, obtaining the communication parameters of the current communication network includes: obtaining the communication parameters of the uplink carrier with a lower center frequency from at least two uplink carriers in the current communication network; or, obtaining the communication parameters of any one uplink carrier from at least two uplink carriers in the current communication network.
[0073] Here, communication parameters may include: the reference signal receiving power (RSRP) and / or signal to noise ratio (SNR) of the current communication network.
[0074] It should be noted that electronic devices can first separate the noise signal and the useful signal, and then calculate the SNR based on the noise signal and the useful signal. Electronic devices can also first analyze the reference signal, and then perform power measurement on the reference signal to obtain the RSRP.
[0075] A higher RSRP value indicates stronger signal power and better signal quality received by the electronic device. A higher signal-to-noise ratio (SNR) indicates less noise interference received by the electronic device and better signal quality.
[0076] In step S103, the electronic device is controlled to switch the radio frequency signal from being transmitted to the current transmission path to being transmitted to the target transmission path. That is, the electronic device can control the transmitter to transmit the output radio frequency signal to the target transmission path instead of the current transmission path. In this way, the electronic device can communicate by connecting to the target transmission antenna of the target transmission path, thus realizing the switching of the electronic device from the current transmission antenna to the target transmission antenna.
[0077] As can be seen, this embodiment employs transmitter frequency hopping (Tx Hopping) technology for transmitting antenna switching, instead of switching the current transmitting antenna by controlling the on / off state of an RF switch. This effectively reduces line losses connecting the RF switch and increases antenna transmission power. Furthermore, this embodiment can also achieve transmitting antenna switching in scenarios where the current communication network of the electronic device supports at least two uplink carriers.
[0078] For example, Figure 3 This is a schematic diagram of a conventional frequency division duplex antenna switching structure according to an exemplary embodiment. Figure 4 This is a schematic diagram of a conventional time-division duplex antenna switching structure according to an exemplary embodiment.
[0079] like Figure 3 and Figure 4 As shown, in the process of switching from antenna ANT0 to ANT1, ANT2, or ANT3, traditional antenna switching schemes all switch the current transmitting antenna by controlling the switching states of RF switches 31, 32, and 33. The greater the distance between the RF switches in a traditional antenna switching scheme, the greater the line loss connecting the RF switches. It has been verified that during transmitting antenna switching via RF switches, the transmit power of the electronic device decreases by 1dB to 3dB due to line loss.
[0080] It should be noted that, in order to reduce line losses connecting RF switches, antenna switching can currently be performed based on Tx Hopping; however, the applicable scenarios for antenna switching are limited. For example, antenna switching is currently suitable for DLCA scenarios, but not for scenarios with at least two uplink carriers.
[0081] Based on this, this disclosure proposes an antenna switching method. When the current communication network of the electronic device supports at least two uplink carriers, the communication parameters of the current communication network are obtained, and based on the communication parameters, the electronic device is controlled to switch the radio frequency signal from the current transmission path to the transmission target transmission path.
[0082] In other words, on the one hand, the embodiments of this disclosure do not switch the current transmitting antenna by controlling the on / off state of the RF switch, but rather enable the target transmitting antenna to transmit the RF signal by switching different transmitting paths. This reduces line losses connected to the RF switch and improves the antenna transmission power of the electronic device.
[0083] On the other hand, the embodiments of this disclosure can control electronic devices to switch different transmission paths to transmit radio frequency signals based on communication parameters when the current communication network supports at least two uplink carriers. This makes antenna switching applicable to communication scenarios with at least two uplink carriers, expanding the applicable scenarios for antenna switching.
[0084] In some embodiments, controlling the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path based on the communication parameters includes:
[0085] Determine the communication parameters of the target uplink carrier with the smallest center frequency among the at least two uplink carriers;
[0086] Based on the communication parameters of the target uplink carrier, the electronic device is controlled to switch the transmission of radio frequency signals from the current transmission path to the target transmission path.
[0087] In this embodiment of the disclosure, at least two uplink carriers may include a first uplink carrier and a second uplink carrier. If the center frequency of the first uplink carrier is less than the center frequency of the second uplink carrier, then the first uplink carrier is the target uplink carrier. Conversely, if the center frequency of the second uplink carrier is less than the center frequency of the first uplink carrier, then the second uplink carrier is the target uplink carrier.
[0088] It should be noted that when the center frequency of the first uplink carrier is lower than that of the second uplink carrier, the communication link corresponding to the first uplink carrier has a low carrier frequency, small bandwidth, and large coverage; the communication link corresponding to the second uplink carrier has a high carrier frequency, large bandwidth, and small coverage.
[0089] It is understood that the antenna switching process in this embodiment is not arbitrary, but rather takes into account the current communication network conditions, proposing to control the electronic device to switch between different transmission paths based on the communication parameters of the target uplink carrier with the smallest center frequency. This allows the electronic device to perform antenna switching more effectively.
[0090] In some embodiments, the current communication network includes: a network supporting dual connectivity of a Long Term Evolution (LTE) network and a New Radio (NR) network; the communication parameters of the target uplink carrier include: the communication parameters of the LTE carrier;
[0091] or,
[0092] The current communication network includes: a new wireless uplink carrier aggregation network that supports a combination of frequency division duplex (FDD) and time division duplex (TDD); the communication parameters of the target uplink carrier include: the communication parameters of the FDD carrier.
[0093] In this embodiment of the disclosure, the current communication network includes a network that supports dual connectivity between the Long Term Evolution (LTE) network and the New Radio (NR) network. That is, the current communication network supports electronic devices simultaneously connecting to both the LTE and NR networks. This means that electronic devices can perform antenna switching in Evolved Node B Dual Connectivity (ENDC) scenarios.
[0094] It should be noted that in current communication networks, including those supporting dual connectivity of LTE and NR networks, the current communication network can communicate based on LTE carriers and NR carriers. That is, the current communication network supports at least two uplink carriers, including LTE carriers and NR carriers.
[0095] Because the center frequency of an LTE carrier is lower than that of an NR carrier, embodiments of this disclosure, in the case of a current communication network including a dual-connectivity network supporting LTE and NR networks, can control electronic devices to switch radio frequency signals from transmission to the current transmission path to transmission to the target transmission path based on the communication parameters of the LTE carrier.
[0096] In this embodiment of the disclosure, the current communication network includes a network that supports a combination of Frequency Division Duplex (FDD) and Time Division Duplex (TDD) new radio uplink carrier aggregation. That is, the current communication network supports electronic devices using multiple carriers simultaneously for data transmission in the uplink direction. In other words, the electronic devices can be adapted to perform antenna switching in a New Radio Uplink Carrier Aggregation (NR ULCA) scenario combining FDD and TDD.
[0097] It should be noted that if the current communication network includes a new wireless uplink carrier aggregation network that supports a combination of FDD and TDD, then the current communication network can communicate based on FDD carriers and TDD carriers. That is, the current communication network supports at least two uplink carriers, including FDD carriers and TDD carriers.
[0098] Since the center frequency of the FDD carrier is lower than that of the TDD carrier, in the case where the current communication network includes a new wireless uplink carrier aggregation network that supports a combination of FDD and TDD, the present disclosure embodiment controls the electronic device to switch the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path based on the communication parameters of the FDD carrier.
[0099] It is understood that the embodiments of this disclosure can control the switching of electronic devices to the target transmission path based on the communication parameters of the FDD carrier in NR ULCA scenarios, and can also control the switching of electronic devices to the target transmission path based on the communication parameters of the LTE carrier in ENDC scenarios. That is, the antenna switching method of the embodiments of this disclosure is applicable to both NR ULCA and ENDC scenarios.
[0100] In some embodiments, based on the communication parameters, controlling the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path may include:
[0101] If the communication parameters are greater than a preset threshold, the electronic device is controlled to switch the transmission of the radio frequency signal from the current transmission path to the target transmission path.
[0102] Here, the control electronic device switches the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path, including the transmitter of the control electronic device switching the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path.
[0103] In this embodiment of the disclosure, the communication environment of the current communication network with communication parameters greater than a preset threshold is better than the communication environment of the current network with communication parameters less than or equal to the preset threshold.
[0104] It should be noted that communication parameters exceeding a preset threshold indicate that the current communication network is in a medium-strong field environment. That is, this embodiment of the present disclosure can perform antenna switching under more favorable communication conditions, enabling electronic devices to perform antenna switching more effectively.
[0105] In some embodiments, the communication parameters being greater than a preset threshold may include: the reference signal received power being greater than a first preset threshold; or the signal-to-noise ratio being greater than a second preset threshold.
[0106] In other embodiments, the communication parameters being greater than a preset threshold may include: the reference signal received power being greater than a first preset threshold and the signal-to-noise ratio being greater than a second preset threshold.
[0107] In this embodiment of the disclosure, the first preset threshold can be set between -120dBm and -80dBm. The second preset threshold can be set between 0 and 10.
[0108] For example, the first preset threshold may include -100dBm. The second preset threshold may include 0.
[0109] It is understood that the embodiments of this disclosure can more accurately determine the current network communication environment by referencing the two communication parameters of received signal power and signal-to-noise ratio, thereby achieving better switching of target transmitting antennas.
[0110] In this embodiment of the disclosure, when the communication parameters of the first uplink carrier are greater than a preset threshold, the electronic device controls itself to switch to the target transmission path to transmit radio frequency signals. In other words, the electronic device considers the communication environment of the first uplink carrier when switching antennas, and can switch antennas when the communication environment is more favorable.
[0111] It is understandable that when electronic devices are in an ENDC scenario, and the communication parameters of the LTE carrier are greater than the preset thresholds, that is, the RSRP of the LTE carrier is greater than the first preset threshold and the SNR of the LTE carrier is greater than the second preset threshold, controlling the electronic devices to switch to the target transmission path to transmit radio frequency signals can improve the throughput of the NR carrier.
[0112] When electronic devices are in an NR ULCA scenario, if the communication parameters of the FDD carrier are greater than a preset threshold, i.e., the RSRP of the FDD carrier is greater than the first preset threshold and the SNR of the FDD carrier is greater than the second preset threshold, controlling the electronic devices to switch to the target transmission path to transmit radio frequency signals can improve the throughput of the TDD carrier.
[0113] In some embodiments, the method further includes:
[0114] When the communication parameters are less than or equal to the preset threshold, the on / off state of the radio frequency switch of the electronic device is switched, so that the electronic device switches from the current transmitting antenna to the target transmitting antenna.
[0115] In this embodiment of the disclosure, the communication parameters are less than or equal to a preset threshold, including:
[0116] The reference signal received power is less than or equal to a first preset threshold; or, the signal-to-noise ratio is less than or equal to a second preset threshold.
[0117] For example, when the electronic device is in an ENDC scenario, if the communication parameters of the LTE carrier are less than or equal to a preset threshold, that is, the RSRP of the LTE carrier is less than or equal to a first preset threshold and the SNR of the LTE carrier is less than or equal to a second preset threshold, the switching state of the radio frequency switch of the electronic device is switched so that the electronic device switches from the current transmitting antenna to the target transmitting antenna.
[0118] When the electronic device is in an NR ULCA scenario, and the communication parameters of the FDD carrier are less than or equal to a preset threshold, that is, the RSRP of the FDD carrier is less than or equal to a first preset threshold and the SNR of the FDD carrier is less than or equal to a second preset threshold, the switching state of the RF switch of the electronic device is switched so that the electronic device switches from the current transmitting antenna to the target transmitting antenna.
[0119] Understandably, communication parameters less than or equal to a preset threshold indicate that the current communication network is in a weak field environment. In other words, when the current communication network is in a weak field environment, the electronic device uses a switching RF switch to switch to the target transmitting antenna. This improves the uplink carrier coverage and reduces network disconnection caused by antenna switching.
[0120] In some embodiments, controlling the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path includes:
[0121] For each uplink carrier frequency band in the current communication network, the electronic device is controlled to switch the radio frequency signal from being transmitted to the current transmission path to being transmitted to the target transmission path.
[0122] In this embodiment of the disclosure, when the current communication network has a first uplink carrier and a second uplink carrier, the electronic device is controlled to switch to the target transmission path to transmit radio frequency signals for both the frequency band of the first uplink carrier and the frequency band of the second uplink carrier.
[0123] It should be noted that the electronic device can support two power supplies. In the ENDC scenario, the LTE transmission circuit corresponds to one power supply, and the NR transmission circuit corresponds to another power supply. In the NR ULCA scenario, the FDD transmission circuit corresponds to one power supply, and the TDD transmission circuit corresponds to another power supply. For example, in the ENDC scenario, the LTE carrier frequency band is B3, and the NR carrier frequency band is N78.
[0124] like Figure 5aAs shown, the transmitting circuit of B3 consists of B3 transceiver 51, a first transmitting path TX0, a second transmitting path TX1, and antennas ANT1 to ANT3. Antennas ANT1 and ANT0, connected to the first transmitting path TX0, are supplied by power supply #1; antennas ANT2 and ANT3, connected to the second transmitting path TX1, are supplied by power supply #2.
[0125] like Figure 5b As shown, the N78 transmitting circuit consists of an N78 transceiver 52, a first transmitting path TX0, a second transmitting path TX1, and antennas ANT4 to ANT7. Antennas ANT4 and ANT5, connected to the first transmitting path TX0, are supplied by power supply #2; antennas ANT6 and ANT7, connected to the second transmitting path TX1, are supplied by power supply #1.
[0126] When using TX Hopping for antenna switching, for B3, the RF signal can be switched from being transmitted to the first transmit path TX0 to being transmitted to the second transmit path TX1; at the same time, for N78, the RF signal can also be switched from being transmitted to the first transmit path TX0 to being transmitted to the second transmit path TX1.
[0127] As can be seen, for the ENDC scenario, the RSRP and SNR of the LTE carrier are evaluated. If the RSRP of the LTE carrier is greater than -100dBm and the SNR of the LTE carrier is greater than 0, then the frequency band of each uplink carrier needs to be switched to the target transmit path to transmit radio frequency signals simultaneously.
[0128] Similarly, for NR ULCA scenarios, the RSRP and SNR of the FDD carrier will be determined. If the RSRP of the FDD carrier is greater than -100dBm and the SNR of the FDD carrier is greater than 0, then the frequency band of each uplink carrier needs to be switched to the target transmit path to transmit radio frequency signals simultaneously.
[0129] It is understood that the embodiments of this disclosure can achieve antenna switching for at least two uplink carrier scenarios by switching the frequency band of each uplink carrier to the target transmission path to transmit radio frequency signals.
[0130] In some embodiments, when the electronic device is in single-SIM mode...
[0131] If the current communication network of the electronic device is a network that supports dual connectivity of LTE and NR networks; or a network that supports new wireless uplink carrier aggregation in a combination of FDD and TDD, then the current communication network is determined to support at least two uplink carriers.
[0132] In this embodiment of the disclosure, when the current communication network of the electronic device is a network that supports dual connectivity of LTE and NR networks, i.e., when the electronic device is in an ENDC scenario, the electronic device is controlled to switch the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path based on the communication parameters of the LTE carrier.
[0133] When the current communication network of the electronic device is a new wireless uplink carrier aggregation network that supports a combination of frequency division duplex (FDD) and time division duplex (TDD), i.e., when the electronic device is in an NR ULCA scenario, the communication parameters of the FDD carrier are used to control the electronic device to switch the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path.
[0134] It should be noted that when the electronic device is in single-SIM mode, if the electronic device is not in ENDC or NR ULCA scenario, that is, the current communication network of the electronic device does not support at least two uplink carriers, then the electronic device switches the on / off state of the RF switch of the electronic device, so that the electronic device switches from the current transmitting antenna to the target transmitting antenna.
[0135] Understandably, when an electronic device is in single-SIM mode, if it is in an ENDC or NR ULCA scenario, the device can switch to the target transmission path to transmit radio frequency signals based on communication parameters. This expands the applicable scenarios for the electronic device.
[0136] In some embodiments, the method further includes:
[0137] When the electronic device is in dual-SIM mode,
[0138] If one user identification card of the electronic device is in an LTE network and the other user identification card is in an NR network; or, if both user identification cards of the electronic device are in an NR network, it is determined that the current communication network supports at least two uplink carriers.
[0139] In this embodiment of the disclosure, the electronic device is in dual-SIM mode, indicating that the electronic device can use two user identification cards for communication at the same time, that is, the electronic device is in a dual SIM dual active (DSDA) scenario.
[0140] It should be noted that, in the case of an electronic device in a DSDA scenario, if one of the user identification cards of the electronic device is in an LTE network and the other user identification card is in an NR network, it means that the two user identification cards of the electronic device can be connected to both the LTE network and the NR network at the same time. This indicates that the electronic device can support both LTE and NR carriers, and can then switch to the target transmission path to transmit radio frequency signals based on the communication parameters of the LTE carrier.
[0141] If both user identification cards of the electronic device are in an NR network, it can be determined that the current communication network of the electronic device can support both FDD and TDD carriers. Therefore, the electronic device can be controlled to switch to the target transmission path to transmit radio frequency signals based on the communication parameters of the FDD carrier.
[0142] Here, if the two user identification cards of the electronic device are not simultaneously in the NR network, nor are they in the LTE network and the NR network respectively, then the electronic device switches the on / off state of the radio frequency switch of the electronic device, so that the electronic device switches from the current transmitting antenna to the target transmitting antenna.
[0143] It is understood that the embodiments disclosed herein are for DSDA scenarios. If the two user identification cards are respectively in the LTE network and the NR network, or are both in the NR network, antenna switching can be achieved, thus expanding the applicable scenarios for antenna switching.
[0144] To better understand the antenna switching method in one or more of the above embodiments, the following examples of embodiments of this disclosure are provided:
[0145] Figure 6 This is a flowchart illustrating an antenna switching method according to an exemplary embodiment. Figure 2 .like Figure 6 As shown, the method for an electronic device to perform antenna switching includes the following steps:
[0146] S201. Obtain the target transmitting antenna for the electronic device to switch antennas;
[0147] Here, before step S201, the transmission performance of each antenna in the electronic device can be detected to determine the target transmitting antenna with superior performance. It should be noted that after detecting the target transmitting antenna with superior performance, the electronic device can be triggered to switch antennas. That is, in response to the antenna switching trigger condition, the target transmitting antenna for antenna switching by the electronic device can be obtained.
[0148] S202. Determine whether the electronic device is in single-card mode; if yes, proceed to step S203; if no, proceed to step S206.
[0149] S203. Determine whether the current communication network supports at least two uplink carriers; if yes, proceed to step S204; if no, proceed to step S207; S204. Determine whether RSRP is greater than the first preset threshold and SNR is greater than the second preset threshold; if yes, proceed to step S205.
[0150] Here, in the case that the current communication network includes a dual-connectivity network supporting LTE and NR networks, the reference signal received power and signal-to-noise ratio of the LTE carrier are determined; and it is determined whether the reference signal received power of the LTE carrier is greater than a first preset threshold and whether the signal-to-noise ratio is greater than a second preset threshold.
[0151] In the context of current communication networks including new wireless uplink carrier aggregation that supports a combination of frequency division duplex (FDD) and time division duplex (TDD), the reference signal received power and signal-to-noise ratio (SNR) of the FDD carrier are determined; and it is determined whether the RSRP of the FDD carrier is greater than a first preset threshold and whether the SNR of the FDD carrier is greater than a second preset threshold.
[0152] S205. Control the electronic equipment to switch the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path;
[0153] S206. Determine whether the electronic device is in dual-SIM mode; if yes, proceed to step S203; if no, proceed to step S207.
[0154] Here, the issue is that the electronic device is in dual-SIM mode.
[0155] If one user identification card of an electronic device is in an LTE network and the other user identification card is in an NR network, then the electronic device is determined to support both LTE and NR carriers. In this case, the electronic device can first obtain the RSRP and SNR of the LTE carrier; and determine whether the RSRP of the LTE carrier is greater than a first preset threshold and whether the SNR of the LTE carrier is greater than a second preset threshold.
[0156] If both user identification cards of the electronic device are in an NR network, then the electronic device is confirmed to support both FDD and TDD carriers. In this case, the electronic device can first obtain the RSRP and SNR of the FDD carrier; and determine whether the RSRP of the FDD carrier is greater than a first preset threshold and whether the SNR of the FDD carrier is greater than a second preset threshold.
[0157] S207. Switch the on / off state of the RF switch to switch the electronic device from the current transmitting antenna to the target transmitting antenna.
[0158] It is understood that the antenna switching of the electronic device is applicable not only to scenarios with at least two uplink carriers for a single-SIM device, but also to scenarios with at least two uplink carriers for a dual-SIM device. Furthermore, the electronic device can support antenna switching in both ENDC and NR ULCA scenarios. Thus, the antenna switching of the electronic device in this embodiment of the disclosure can maximize the scope of applicable scenarios.
[0159] This disclosure also proposes an electronic device. Figure 7 This is a block diagram of an electronic device according to an exemplary embodiment. Figure 1 .like Figure 7 As shown, the electronic device mainly includes:
[0160] The first acquisition unit 701 is configured to acquire the target transmitting antenna for antenna switching of the electronic device in response to a trigger antenna switching condition; wherein the target transmitting antenna is connected to a target transmitting path that is different from the current transmitting path connected to the current transmitting antenna of the electronic device.
[0161] The second acquisition unit 702 is configured to acquire the communication parameters of the current communication network when the current communication network in which the electronic device is located supports at least two uplink carriers.
[0162] The first switching unit 703 is configured to control the electronic device to switch the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path based on the communication parameters, so as to communicate through the target transmission antenna.
[0163] In some embodiments, the first switching unit is further configured to determine the communication parameters of a target uplink carrier with the smallest center frequency among the at least two uplink carriers; and based on the communication parameters of the target uplink carrier, control the electronic device to switch the transmission of the radio frequency signal from the current transmission path to the target transmission path.
[0164] In some embodiments, the current communication network includes: a network supporting dual connectivity of a Long Term Evolution (LTE) network and a New Radio (NR) network; the communication parameters of the target uplink carrier include: the communication parameters of the LTE carrier;
[0165] or,
[0166] The current communication network includes: a new wireless uplink carrier aggregation network that supports a combination of frequency division duplex (FDD) and time division duplex (TDD); the communication parameters of the target uplink carrier include: the communication parameters of the FDD carrier.
[0167] In some embodiments, the first switching unit is further configured to control the electronic device to switch the transmission of the radio frequency signal from the current transmission path to the target transmission path when the communication parameter is greater than a preset threshold.
[0168] In some embodiments, the first switching unit is further configured to control the electronic device to switch the radio frequency signal from transmission to the current transmission path to transmission to the target transmission path for each uplink carrier frequency band.
[0169] In some embodiments, the communication parameters include reference signal received power and signal-to-noise ratio; the communication parameters being greater than a preset threshold include:
[0170] The reference signal received power is greater than a first preset threshold and the signal-to-noise ratio is greater than a second preset threshold.
[0171] In some embodiments, the apparatus further includes:
[0172] The second switching unit is configured to switch the on / off state of the radio frequency switch of the electronic device when the communication parameter is less than or equal to the preset threshold, so that the electronic device switches from the current transmitting antenna to the target transmitting antenna.
[0173] In some embodiments, the device includes:
[0174] The first determining module is configured to, when the electronic device is in single-card mode...
[0175] If the current communication network of the electronic device is a dual-connectivity network of LTE and NR networks; or a new wireless uplink carrier aggregation network that supports a combination of FDD and TDD, then the current communication network is determined to support at least two uplink carriers.
[0176] In some embodiments, the device includes:
[0177] The second determining module is configured to, when the electronic device is in dual-SIM mode...
[0178] If one user identification card of the electronic device is in an LTE network and the other user identification card is in an NR network; or, if both user identification cards of the electronic device are in an NR network, it is determined that the current communication network supports at least two uplink carriers.
[0179] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0180] Figure 8This is a block diagram of an electronic device according to an exemplary embodiment. Figure 2 For example, electronic device 800 can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0181] Reference Figure 8 The electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0182] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with at least one of display, telephone call, data communication, camera operation, and recording operation. Processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0183] Memory 804 is configured to store various types of data to support operation on electronic device 800. Examples of such data include at least one of the following: instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, and videos. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0184] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0185] Multimedia component 808 includes a screen that provides an output interface between electronic device 800 and user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When electronic device 800 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0186] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0187] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, and buttons. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0188] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 may detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or one of its components, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetometer, a pressure sensor, and a temperature sensor.
[0189] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as Wi-Fi, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.
[0190] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0191] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including executable instructions or a computer program, which can be executed by a processor 820 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0192] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform any of the antenna switching methods described in the embodiments of this disclosure. For example, the method includes:
[0193] In response to a trigger antenna switching condition, the target transmitting antenna for antenna switching of the electronic device is obtained; wherein the target transmitting antenna is connected to a target transmitting path that is different from the current transmitting path connected to the current transmitting antenna of the electronic device.
[0194] If the current communication network in which the electronic device is located supports at least two uplink carriers, obtain the communication parameters of the current communication network;
[0195] Based on the communication parameters, the electronic device is controlled to switch the transmission of radio frequency signals from the current transmission path to the target transmission path, so as to communicate through the target transmission antenna.
[0196] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the antenna switching methods described in this disclosure.
[0197] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0198] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. An antenna switching method, characterized in that, include: In response to a trigger antenna switching condition, the target transmitting antenna for antenna switching of the electronic device is obtained; wherein the target transmitting antenna is connected to a target transmitting path that is different from the current transmitting path connected to the current transmitting antenna of the electronic device. If the current communication network in which the electronic device is located supports at least two uplink carriers, obtain the communication parameters of the current communication network; Based on the communication parameters, the electronic device is controlled to switch the transmission of radio frequency signals from the current transmission path to the target transmission path, so as to communicate through the target transmission antenna.
2. The method according to claim 1, characterized in that, The step of controlling the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path based on the communication parameters includes: Determine the communication parameters of the target uplink carrier with the smallest center frequency among the at least two uplink carriers; Based on the communication parameters of the target uplink carrier, the electronic device is controlled to switch the transmission of the radio frequency signal from the current transmission path to the target transmission path.
3. The method according to claim 2, characterized in that, The current communication network includes: a network supporting dual connectivity of LTE and NR networks; the communication parameters of the target uplink carrier include: the communication parameters of the LTE carrier; or, The current communication network includes: a new wireless uplink carrier aggregation network that supports a combination of frequency division duplex (FDD) and time division duplex (TDD); the communication parameters of the target uplink carrier include: the communication parameters of the FDD carrier.
4. The method according to any one of claims 1 to 3, characterized in that, The step of controlling the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path based on the communication parameters includes: If the communication parameters are greater than a preset threshold, the electronic device is controlled to switch the transmission of the radio frequency signal from the current transmission path to the target transmission path.
5. The method according to claim 4, characterized in that, The control of the electronic device to switch the radio frequency signal transmission from the current transmission path to the target transmission path includes: For each uplink carrier frequency band in the current communication network, the electronic device is controlled to switch the radio frequency signal from being transmitted to the current transmission path to being transmitted to the target transmission path.
6. The method according to claim 4, characterized in that, The communication parameters include reference signal received power and signal-to-noise ratio; the communication parameters exceeding a preset threshold include: The reference signal received power is greater than a first preset threshold and the signal-to-noise ratio is greater than a second preset threshold.
7. The method according to claim 4, characterized in that, The method further includes: When the communication parameters are less than or equal to the preset threshold, the on / off state of the radio frequency switch of the electronic device is switched, so that the electronic device switches from the current transmitting antenna to the target transmitting antenna.
8. The method according to any one of claims 1 to 3, characterized in that, The method includes: When the electronic device is in single-card mode If the current communication network of the electronic device is a network that supports dual connectivity of LTE and NR networks; or a network that supports new wireless uplink carrier aggregation in a combination of FDD and TDD, then the current communication network is determined to support the at least two uplink carriers.
9. The method according to any one of claims 1 to 3, characterized in that, The method further includes: When the electronic device is in dual-SIM mode, If one user identification card of the electronic device is in an LTE network and the other user identification card is in an NR network; or, if both user identification cards of the electronic device are in an NR network, it is determined that the current communication network supports the at least two uplink carriers.
10. An electronic device, characterized in that, include: The first acquisition unit is configured to acquire the target transmitting antenna of the electronic device for antenna switching in response to a trigger antenna switching condition; wherein the target transmitting antenna is connected to a target transmitting path that is different from the current transmitting path connected to the current transmitting antenna of the electronic device. The second acquisition unit is configured to acquire the communication parameters of the current communication network when the current communication network in which the electronic device is located supports at least two uplink carriers; The first switching unit is configured to control the electronic device to switch the transmission of radio frequency signals from the current transmission path to the target transmission path based on the communication parameters, so as to communicate through the target transmission antenna.
11. An electronic device, characterized in that, include: processor; Memory used to store computer programs or instructions; The processor executes the computer program or instructions to implement the steps of the method according to any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
13. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 9.