An antenna selection method, an electronic device, and a storage medium

By using backscatter loss and signal quality parameters to select antennas, the method addresses suboptimal antenna selection in 5G smartphones, improving communication quality.

CN114978270BActive Publication Date: 2025-07-15GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210497738.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-09
Publication Date
2025-07-15
Estimated Expiration
2042-05-09

AI Technical Summary

Technical Problem

When selecting antennas in existing 5G mobile phones, they are affected by signal amplifiers and other devices, resulting in inaccurate antenna selection and poor communication quality.

Method used

By detecting the return loss parameters between the antenna switching switch and multiple antennas, combining the usage scenario and signal quality parameters, select the antenna with the best signal quality for radio frequency signal transmission and reception.

Benefits of technology

Improves the accuracy of antenna selection and improves communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114978270B_ABST
    Figure CN114978270B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides an antenna selection method, an electronic device, and a storage medium. The electronic device includes an antenna switching switch and multiple antennas. The antenna switching switch is respectively connected to the multiple antennas. The method includes: when it is detected that the received signal strength corresponding to the first antenna is less than a preset signal strength threshold, determining multiple echo loss parameters between the antenna switching switch and the multiple antennas respectively; the first antenna is the antenna currently performing signal transmission and reception among the multiple antennas; determining a target antenna from the multiple antennas based on the multiple echo loss parameters, and using the target antenna to implement the transmission and reception of radio frequency signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication, and particularly to an antenna selection method, an electronic device, and a storage medium. Background Art

[0002] At present, fifth-generation mobile communication technology (5G) smartphones have been increasingly integrated into people's lives. However, problems such as poor signal quality and slow network speed still trouble many 5G smartphone users. This is due to the reasons of the 5G base station network layout of the operator and the problems of the 5G smartphones themselves. The uplink signal strength of the smartphones themselves is not enough to support the network delivery under the current layout.

[0003] To solve the problem of poor signal quality, existing 5G smartphones usually set 4×4 multiple-input multiple-output antennas in the smartphones. When using one or more current antennas for signal transmission and reception, when problems such as slow signal reception speed and long time are detected during the signal reception process, considering the communication quality of the antennas, a different antenna is reselected for signal transmission and reception. However, the existing technology selects antennas based on the signal quality of the antennas receiving signals. However, the signal quality of the antennas receiving signals is often affected by devices such as signal amplifiers and cannot truly reflect the signal quality of the antennas themselves. Therefore, the antennas determined by this method are often not the antennas with the best signal quality, resulting in poor communication quality when using these antennas for communication. Summary of the Invention

[0004] Embodiments of this application provide an antenna selection method, an electronic device, and a storage medium, which can improve the accuracy when selecting the antenna with the best signal quality, and thus improve the communication quality during communication.

[0005] The technical solution of this application is implemented as follows:

[0006] In a first aspect, embodiments of this application provide an antenna selection method, which is applied to an electronic device. The electronic device includes an antenna switch and multiple antennas, and the antenna switch is respectively connected to the multiple antennas. The method includes:

[0007] When it is detected that the received signal strength corresponding to a first antenna is less than a preset signal strength threshold, determine multiple return loss parameters between the antenna switch and the multiple antennas respectively; the first antenna is the antenna currently performing signal transmission and reception among the multiple antennas;

[0008] Based on the multiple return loss parameters, determine a target antenna from the multiple antennas, and use the target antenna to implement the transmission and reception of radio frequency signals.

[0009] In the above antenna selection method, after determining the multiple echo loss parameters between the antenna switch and the multiple antennas respectively, and before determining the target antenna from the multiple antennas based on the multiple echo loss parameters, the method further includes:

[0010] Detect the usage scenario corresponding to the electronic device, and look up the antenna gain list corresponding to the usage scenario from the corresponding relationship between the preset usage scenarios and the preset antenna gain lists; the antenna gain list includes the multiple antenna gains of the multiple antennas in the usage scenario;

[0011] Determining the target antenna from the multiple antennas based on the multiple echo loss parameters includes:

[0012] Determining the target antenna from the multiple antennas based on the multiple echo loss parameters and the multiple antenna gains.

[0013] In the above antenna selection method, after determining the multiple echo loss parameters between the antenna switch and the multiple antennas respectively, and before determining the target antenna from the multiple antennas based on the multiple echo loss parameters, the method further includes:

[0014] Respectively determine the multiple signal quality parameters corresponding to the multiple antennas;

[0015] Determining the target antenna from the multiple antennas based on the multiple echo loss parameters includes:

[0016] Determining the target antenna from the multiple antennas based on the multiple echo loss parameters and the multiple signal quality parameters.

[0017] In the above antenna selection method, determining the target antenna from the multiple antennas based on the multiple echo loss parameters and the multiple signal quality parameters includes:

[0018] According to the multiple echo loss parameters and the multiple signal quality parameters, determine the multiple analog radiation powers corresponding to the multiple antennas;

[0019] Determine the first analog radiation power with the largest analog radiation power from the multiple analog radiation powers; and determine the second antenna corresponding to the first analog radiation power;

[0020] If the second antenna is the first antenna, then determine the first antenna as the target antenna;

[0021] If the second antenna is not the first antenna, obtain the second simulated radiation power corresponding to the first antenna, and determine the target antenna from the first antenna and the second antenna according to the first simulated radiation power and the second simulated radiation power.

[0022] In the above antenna selection method, the determining the target antenna from the first antenna and the second antenna according to the first simulated radiation power and the second simulated radiation power includes:

[0023] Determine the difference between the first simulated radiation power and the second simulated radiation power;

[0024] If the difference is greater than or equal to a preset difference threshold, determine the second antenna as the target antenna;

[0025] If the difference is less than the preset difference threshold, determine the first antenna as the target antenna.

[0026] In the above antenna selection method, after determining the second antenna as the target antenna, the method further includes:

[0027] Use the antenna switch to switch the antenna currently performing signal transmission and reception from the first antenna to the second antenna, and use the second antenna to implement radio frequency signal transmission and reception.

[0028] In the above antenna selection method, the signal quality parameters include received signal strength indication (RSSI) and reference signal received power (RSRP).

[0029] In a second aspect, an embodiment of the present application provides an electronic device, and the device includes: an antenna switch, multiple antennas, a data processing unit, and a detection unit; wherein, the data processing unit is respectively connected to the detection unit and the antenna switch, and the antenna switch is respectively connected to the multiple antennas;

[0030] The detection unit is configured to obtain the received signal corresponding to the first antenna and detect the received signal strength corresponding to the received signal;

[0031] The data processing unit is configured to determine multiple echo loss parameters between the antenna switch and the multiple antennas respectively when the detection unit detects that the received signal strength is less than a preset signal strength threshold; the first antenna is the antenna currently performing signal transmission and reception among the multiple antennas;

[0032] The data processing unit is further configured to determine a target antenna from the multiple antennas based on the multiple echo loss parameters and implement radio frequency signal transmission and reception using the target antenna.

[0033] In a third aspect, an embodiment of the present application provides an electronic device, characterized in that the device includes: a processor, a memory, and a communication bus; when the processor executes the operating program stored in the memory, the antenna selection method described in any one of the above is implemented.

[0034] In a fourth aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the antenna selection method described in any one of the above is implemented.

[0035] An embodiment of the present application provides an antenna selection method, an electronic device, and a storage medium. The electronic device includes an antenna switch and multiple antennas. The antenna switch is respectively connected to the multiple antennas. The method includes: when it is detected that the received signal strength corresponding to the first antenna is less than a preset signal strength threshold, determining multiple echo loss parameters between the antenna switch and the multiple antennas respectively; the first antenna is the antenna currently performing signal transmission and reception among the multiple antennas; determining a target antenna from the multiple antennas based on the multiple echo loss parameters, and using the target antenna to implement the transmission and reception of radio frequency signals; adopting the above implementation solution, since the path between the antenna switch and each antenna is different, different path paths will generate different echo losses, resulting in different signal qualities when using different antennas for signal transmission and reception. Based on this, the present application selects an antenna according to the echo loss parameters between the antenna switch and each antenna, and can more accurately select an antenna with better signal quality for radio frequency signal transmission and reception, thereby improving the communication quality. Description of the Drawings

[0036] Figure 1 It is a flowchart of an antenna selection method provided by an embodiment of the present application;

[0037] Figure 2 It is a flowchart of an exemplary method for determining a target antenna provided by an embodiment of the present application;

[0038] Figure 3 It is a schematic diagram of the composition structure of an exemplary electronic device provided by an embodiment of the present application;

[0039] Figure 4 It is a flowchart of an exemplary antenna selection method provided by an embodiment of the present application;

[0040] Figure 5 It is a schematic diagram of the composition structure of an electronic device provided by an embodiment of the present application Figure 1 ;

[0041] Figure 6 It is a schematic diagram of the composition structure of an electronic device provided by an embodiment of the present application Figure 2 。 Detailed implementation manners

[0042] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0043] An embodiment of the present application provides an antenna selection method, which is applied to an electronic device. The electronic device includes an antenna switching switch and multiple antennas, and the antenna switching switch is respectively connected to the multiple antennas. Figure 1 As shown in the flowchart of an antenna selection method provided by an embodiment of the present application, Figure 1 as shown, the antenna selection method may include:

[0044] S101. When it is detected that the received signal strength corresponding to the first antenna is less than a preset signal strength threshold, determine multiple echo loss parameters between the antenna switching switch and the multiple antennas respectively; the first antenna is the antenna currently performing signal transmission and reception among the multiple antennas.

[0045] An antenna selection method given in the present application is applied to an electronic device with multiple antennas. When the electronic device uses one or several of the antennas for signal transmission and reception, in the scenario where the received signal strength is detected to be small, an antenna is reselected from the multiple antennas to perform subsequent signal transmission and reception.

[0046] In an embodiment of the present application, when the electronic device detects that the received signal strength corresponding to the first antenna is less than a preset signal strength threshold, determine multiple echo loss parameters between the antenna switching switch and the multiple antennas respectively; the first antenna is the antenna currently performing signal transmission and reception among the multiple antennas.

[0047] It should be noted that the multiple antennas in the present application are multiple-input multiple-output (MIMO) antennas.

[0048] It should be noted that the electronic device may be a mobile phone or a tablet computer with an antenna transceiver device, etc. The specific electronic device can be determined according to the actual situation, and the embodiments of the present application do not make specific limitations here.

[0049] In an embodiment of the present application, there is a corresponding echo loss parameter on the antenna switching switch to each of the multiple antennas, and the multiple echo loss parameters between the antenna switching switch and the multiple antennas may be stored in the electronic device after being measured by hardware in advance, or may be directly measured at present. The specific method for determining the multiple echo loss parameters can be specified according to the actual situation, and the embodiments of the present application do not make specific limitations here.

[0050] It should be noted that different antennas have different wiring methods in an electronic device, and different antennas are located at different positions in the electronic device. Therefore, the path between each antenna and the antenna switch is different, and thus, there are different return losses between the antenna switch and each antenna on the corresponding path. This application is to calculate the return loss parameters between the antenna switch and each antenna.

[0051] It should be noted that in the embodiment of this application, the antenna switch is a switch and logic control DP4T; the specific antenna switch can be determined according to the actual situation, and the embodiment of this application does not make specific limitations here.

[0052] It should be noted that in the embodiment of this application, the types of antennas are specifically divided into a primary receive antenna (PRX) and a diversity receive antenna (DRX) according to the signal transmission and reception responsibilities; the specific antennas can be determined according to the actual situation, and the embodiment of this application does not make specific limitations here.

[0053] S102. Determine a target antenna from multiple antennas based on multiple return loss parameters, and use the target antenna to implement the transceiver of radio frequency signals.

[0054] In the embodiment of this application, after the electronic device determines multiple return loss parameters, it determines a target antenna from multiple antennas based on the multiple return loss parameters, and uses the target antenna to implement the transceiver of radio frequency signals.

[0055] In the embodiment of this application, after the electronic device determines multiple return loss parameters between the antenna switch and multiple antennas respectively, the following method can also be implemented: detect the usage scenario corresponding to the electronic device, and look up the antenna gain list corresponding to the usage scenario from the corresponding relationship between the preset usage scenario and the preset antenna gain list; the antenna gain list includes multiple antenna gains of multiple antennas in the usage scenario; determine a target antenna from multiple antennas based on the multiple return loss parameters and the multiple antenna gains.

[0056] It should be noted that the usage scenario of the electronic device is the way the user uses the electronic device. Exemplarily, usage methods such as the mobile phone placed on the table, the mobile phone placed in the pocket, held with the left hand alone, held with the right hand alone, and held horizontally with both hands of the human head and hand, etc. The specific usage scenario of the electronic device can be determined according to the actual situation, and the embodiment of this application does not make specific limitations here.

[0057] In the embodiment of the present application, the corresponding relationship between the preset usage scenarios and the preset antenna gain list is obtained by testing the antenna gain of an electronic device of a certain type / model in the preset usage scenarios in the laboratory and then stored in the electronic device. There are multiple antenna gains corresponding to multiple antennas under each preset usage scenario.

[0058] In the embodiment of the present application, after the electronic device determines the multiple echo loss parameters between the antenna switch and multiple antennas respectively, the following method can also be implemented: determine the multiple signal quality parameters corresponding to the multiple antennas respectively; based on the multiple echo loss parameters and the multiple signal quality parameters, determine the target antenna from the multiple antennas.

[0059] In the embodiment of the present application, the signal quality parameters can include not only the Received Signal Strength Indicator (RSSI) and the Reference Signal Receiving Power (RSRP), but also parameters such as the Signal to Interference plus Noise Ratio (SINR) and the Reference Signal Receiving Quality (RSRQ); the specific signal quality parameters can be determined according to the actual situation, and the embodiment of the present application does not make specific limitations here.

[0060] In the embodiment of the present application, the electronic device determines the target antenna from the multiple antennas based on the multiple echo loss parameters and the multiple signal quality parameters; Figure 2 FIG. is a flowchart of an exemplary method for determining a target antenna provided by an embodiment of the present application, as Figure 2 shown:

[0061] S201. Determine the multiple simulated radiation powers corresponding to the multiple antennas according to the multiple echo loss parameters and the multiple signal quality parameters.

[0062] In the embodiment of the present application, the electronic device determines the multiple simulated radiation powers corresponding to the multiple antennas according to the multiple echo loss parameters and the multiple signal quality parameters.

[0063] It should be noted that the simulated radiation power is the Total Radiated Power (TRP) of the antenna, and this simulated total radiation power is based on the maximum transmit power of the mobile phone, which is 23 dBm.

[0064] In an alternative embodiment of the present application, the electronic device may further determine multiple simulated radiation powers corresponding to multiple antennas according to multiple return loss parameters, multiple signal quality parameters, and an antenna gain list; that is, calculate the average value of the radiation power of each antenna in each direction through the multiple return loss parameters, multiple signal quality parameters, and the antenna gain list to obtain multiple simulated radiation powers.

[0065] S202. Determine the first simulated radiation power with the largest simulated radiation power from the multiple simulated radiation powers; and determine the second antenna corresponding to the first simulated radiation power.

[0066] In an embodiment of the present application, after determining the multiple simulated radiation powers, the electronic device determines the first simulated radiation power with the largest simulated radiation power from the multiple simulated radiation powers; and determines the second antenna corresponding to the first simulated radiation power.

[0067] In an embodiment of the present application, after determining the first simulated radiation power, the electronic device searches for the second antenna corresponding to the first simulated radiation power from the multiple antennas.

[0068] S203. If the second antenna is the first antenna, determine the first antenna as the target antenna.

[0069] In an embodiment of the present application, after determining the first antenna and the second antenna, if the second antenna is the first antenna, determine the first antenna as the target antenna.

[0070] In an embodiment of the present application, if the second antenna is the first antenna, it means that the first antenna is the antenna with the largest simulated radiation power obtained based on the return loss parameter and the signal quality parameter, indicating that the first antenna is the optimal antenna among the multiple antennas at this time. Then, determine the first antenna as the target antenna and continue to use the first antenna for the transceiver of radio frequency signals.

[0071] S204. If the second antenna is not the first antenna, obtain the second simulated radiation power corresponding to the first antenna, and determine the target antenna from the first antenna and the second antenna according to the first simulated radiation power and the second simulated radiation power.

[0072] In an embodiment of the present application, after determining the first antenna and the second antenna, if the second antenna is not the first antenna, obtain the second simulated radiation power corresponding to the first antenna, and determine the target antenna from the first antenna and the second antenna according to the first simulated radiation power and the second simulated radiation power.

[0073] In an embodiment of the present application, if the second antenna is not the first antenna, it indicates that the second antenna is the optimal antenna among multiple antennas at this time. However, it is still necessary to determine how large the difference in simulated radiation power is between the first antenna and the second antenna. If the signal strength of the second antenna is much higher than that of the first antenna, that is, the difference between the first simulated radiation power and the second simulated radiation power is greater than or equal to a preset difference threshold, then the first antenna for RF signal transceiver can be switched to the second antenna at this time. If the signal strength of the second antenna is only slightly higher than that of the first antenna, that is, the difference between the first simulated radiation power and the second simulated radiation power is less than the preset difference threshold, indicating that the signal strength of the first antenna is similar to that of the optimal antenna, then the antenna is not switched, and the first antenna is still used for RF signal transceiver.

[0074] In an embodiment of the present application, the electronic device determines the target antenna from the first antenna and the second antenna according to the first simulated radiation power and the second simulated radiation power. Specifically: determine the difference between the first simulated radiation power and the second simulated radiation power; if the difference is greater than or equal to the preset difference threshold, then determine the second antenna as the target antenna; if the difference is less than the preset difference threshold, then determine the first antenna as the target antenna.

[0075] It should be noted that the preset difference threshold is pre-set by the electronic device. If the difference is greater than or equal to the preset difference threshold, indicating that the signal strength of the first antenna is much higher than that of the second antenna, then the first antenna needs to be switched to the second antenna; if the difference is less than the preset difference threshold, indicating that the signal strength of the second antenna is only slightly higher than that of the first antenna, then the antenna does not need to be switched; the specific preset difference threshold can be set according to the actual situation, and the embodiments of the present application do not make specific limitations here.

[0076] In an embodiment of the present application, after the electronic device determines the second antenna as the target antenna, the following method can also be implemented: use the antenna switch to switch the antenna currently performing signal transceiver from the first antenna to the second antenna, and use the second antenna to achieve RF signal transceiver.

[0077] In an embodiment of the present application, after the electronic device determines the first antenna as the target antenna, no antenna switching operation is required, and only the first antenna needs to be continuously used to achieve RF signal transceiver.

[0078] It can be understood that the prior art selects antennas based on the RSSI and RSRP of the antennas. However, when there is a low-noise amplifier near a certain antenna, the performance of the antenna radio frequency receiving end (RX) is very good. At this time, the distance of the radio frequency transmitting end TX (Transport, TX) path is very far. Such a switching scheme will mislead the radio frequency transmitting end TX to be switched to this antenna. However, the good performance of this antenna is not due to its own good performance, but because there is a low-noise amplifier nearby. Such a switching method often causes performance deviation of the whole machine. In this application, the echo loss parameter and / or antenna gain are used as the basis for antenna selection, so that the optimal antenna can be selected more accurately.

[0079] Based on the above embodiments, this application provides an exemplary antenna switching scheme. Figure 3 The following is a schematic diagram of the composition structure of an exemplary electronic device provided by this application, as Figure 3 shown: The electronic device includes a radio frequency transmitting end TX, an antenna switching switch DP4T, a PRX antenna, a DRX antenna, a PRX MIMO antenna, and a DRX MIMO antenna; the radio frequency transmitting end TX can be switched to any one of the 4 MIMO antennas through the antenna switching switch DP4T; Figure 4 The following is a flowchart of an exemplary antenna selection method provided by this application. This application is based on Figure 3 to Figure 4 exemplarily elaborate on the antenna selection method, as follows:

[0080] 1. When it is detected that the received signal strength of the first antenna is less than the preset signal strength threshold, an antenna switching request is initiated.

[0081] Specifically, the electronic device includes a detection unit for detecting the signal strength. When the detection unit detects that the received signal strength of the first antenna that currently realizes radio frequency signal transmission and reception is less than the preset signal strength threshold, an antenna switching request is sent to the electronic device; the first antenna can be any one of the PRX antenna, DRX antenna, PRX MIMO antenna, and DRX MIMO antenna.

[0082] 2. Determine the received signal strength indication RSSI and reference signal received power RSRP on each antenna.

[0083] Specifically, the electronic device respectively determines the received signal strength indication RSSI and reference signal received power RSRP on the PRX antenna, DRX antenna, PRX MIMO antenna, and DRX MIMO antenna.

[0084] 3. Use a sensor to determine the current usage scenario of the mobile phone.

[0085] Specifically, the electronic device determines the current usage scenario of the mobile phone through the sensors in the electronic device.

[0086] 4. Determine the antenna gain list according to the usage scenario.

[0087] Specifically, the electronic device searches for the antenna gain list corresponding to the current usage scenario from the correspondence between the preset usage scenarios and the preset antenna gain lists. The antenna gain list contains the antenna gains corresponding to the PRX antenna, DRX antenna, PRX MIMO antenna, and DRX MIMO antenna respectively in the current usage scenario.

[0088] 5. Determine the echo loss parameters of the antenna switching switch to each antenna.

[0089] Specifically, the electronic device determines the echo loss parameters of the antenna switching switch DP4T to the PRX antenna, DRX antenna, PRX MIMO antenna, and DRX MIMO antenna respectively.

[0090] 6. Calculate the simulated total radiated power TRP of each antenna.

[0091] Specifically, the electronic device calculates the simulated TRP of each antenna according to the antenna gain, echo loss parameter, RSSI, and RSRP of each antenna.

[0092] 7. Select a target antenna from multiple antennas according to the simulated total radiated power TRP of each antenna.

[0093] Specifically, after calculating the simulated TRP of each antenna, the electronic device selects the antenna with the maximum simulated TRP as the target antenna from the PRX antenna, DRX antenna, PRX MIMO antenna, and DRX MIMO antenna according to the simulated total radiated power TRP of each antenna.

[0094] 8. Switch the first antenna to the target antenna and use the target antenna to receive and transmit radio frequency signals.

[0095] Specifically, if the target antenna is not the first antenna and the difference between the simulated TRP of the target antenna and the simulated TRP corresponding to the first antenna is large, then execute the antenna switching program to switch the first antenna to the target antenna and use the target antenna to receive and transmit radio frequency signals.

[0096] 9. Continue to use the first antenna to receive and transmit radio frequency signals.

[0097] Specifically, if the antenna corresponding to the maximum simulated TRP is the current antenna or the difference between the maximum simulated TRP and the simulated TRP corresponding to the current antenna is small, then keep it unchanged without switching and continue to use the first antenna to receive and transmit radio frequency signals.

[0098] It should be noted that Figure 3 This application is an antenna switching scheme based on Time Division Duplex (TDD). However, the technical solution of this application is not only applicable to TDD, but also applicable to communication methods such as Frequency Division Duplex (FDD).

[0099] It should be noted that in Figure 3 the radio frequency transmitting end TX can be switched to any one of the 4 MIMO antennas through the antenna switching switch DP4T. However, the technical solution of this application is not only applicable to the radio frequency transmitting end TX, but also applicable to the radio frequency receiving end RX.

[0100] The embodiment of the present application provides an antenna selection method. The electronic device includes an antenna switching switch and multiple antennas. The antenna switching switch is respectively connected to the multiple antennas. The method includes: when it is detected that the received signal strength corresponding to the first antenna is less than a preset signal strength threshold, determining multiple echo loss parameters between the antenna switching switch and the multiple antennas respectively; the first antenna is the antenna currently performing signal transceiver among the multiple antennas; determining a target antenna from the multiple antennas based on the multiple echo loss parameters, and using the target antenna to implement the transceiver of radio frequency signals; adopting the above implementation scheme, since the path between the antenna switching switch and each antenna is different, different path paths will generate different echo losses, resulting in different signal qualities when using different antennas for signal transceiver. Based on this, the present application selects an antenna according to the echo loss parameters between the antenna switching switch and each antenna, and can more accurately select an antenna with better signal quality for radio frequency signal transceiver, thereby improving the communication quality.

[0101] Based on the above embodiment, in another embodiment of the present application, an electronic device 1 is provided. Figure 5 This is a schematic diagram of the composition structure of an electronic device provided by the present application. Figure 1 As Figure 5 shown, the electronic device 1 includes:

[0102] An antenna switching switch 10, multiple antennas 11, a data processing unit 12, and a detection unit 13; wherein, the data processing unit 12 is respectively connected to the detection unit 13 and the antenna switching switch 10, and the antenna switching switch 10 is respectively connected to the multiple antennas 11;

[0103] The detection unit 13 is configured to obtain the received signal corresponding to the first antenna and detect the received signal strength corresponding to the received signal;

[0104] The data processing unit 12 is configured to determine a plurality of echo loss parameters between the antenna switch 10 and the plurality of antennas respectively when the detection unit 13 detects that the received signal strength is less than a preset signal strength threshold; the first antenna is the antenna currently performing signal transmission and reception among the plurality of antennas.

[0105] The data processing unit 12 is further configured to determine a target antenna from the plurality of antennas based on the plurality of echo loss parameters, and use the target antenna to implement radio frequency signal transmission and reception.

[0106] Optionally, the detection unit 13 is further configured to detect the usage scenario corresponding to the electronic device.

[0107] The data processing unit 12 is further configured to look up the antenna gain list corresponding to the usage scenario from the correspondence between the preset usage scenario and the preset antenna gain list; the antenna gain list includes a plurality of antenna gains of the plurality of antennas in the usage scenario; and determine the target antenna from the plurality of antennas based on the plurality of echo loss parameters and the plurality of antenna gains.

[0108] Optionally, the data processing unit 12 is further configured to determine a plurality of signal quality parameters corresponding to the plurality of antennas respectively; and determine the target antenna from the plurality of antennas based on the plurality of echo loss parameters and the plurality of signal quality parameters.

[0109] Optionally, the data processing unit 12 is further configured to determine a plurality of analog radiation powers corresponding to the plurality of antennas according to the plurality of echo loss parameters and the plurality of signal quality parameters; determine a first analog radiation power with the largest analog radiation power from the plurality of analog radiation powers; and determine a second antenna corresponding to the first analog radiation power; if the second antenna is the first antenna, then determine the first antenna as the target antenna; if the second antenna is not the first antenna, then obtain a second analog radiation power corresponding to the first antenna, and determine the target antenna from the first antenna and the second antenna according to the first analog radiation power and the second analog radiation power.

[0110] Optionally, the data processing unit 12 is further configured to determine a difference between the first analog radiation power and the second analog radiation power; if the difference is greater than or equal to a preset difference threshold, then determine the second antenna as the target antenna; if the difference is less than the preset difference threshold, then determine the first antenna as the target antenna.

[0111] Optionally, the data processing unit 12 is further configured to use the antenna switch 10 to switch the antenna currently performing signal transceiver from the first antenna to the second antenna, and use the second antenna to implement radio frequency signal transceiver.

[0112] Optionally, the signal quality parameter includes received signal strength indication (RSSI) and reference signal received power (RSRP).

[0113] An embodiment of the present application provides an electronic device, which includes: an antenna switch, multiple antennas, a data processing unit, and a detection unit; wherein, the detection unit is configured to obtain a received signal corresponding to the first antenna and detect the received signal strength corresponding to the received signal; the data processing unit is configured to determine a plurality of echo loss parameters between the antenna switch and the multiple antennas respectively when the detection unit detects that the received signal strength is less than a preset signal strength threshold; the first antenna is the antenna currently performing signal transceiver among the multiple antennas; the data processing unit is further configured to determine a target antenna from the multiple antennas based on the plurality of echo loss parameters, and use the target antenna to implement radio frequency signal transceiver; adopting the above implementation solution, since the path between the antenna switch and each antenna is different, different path paths will generate different echo losses, resulting in different signal qualities when using different antennas for signal transceiver. Based on this, the present application selects an antenna according to the echo loss parameters between the antenna switch and each antenna, and can more accurately select an antenna with better signal quality for radio frequency signal transceiver, thereby improving the communication quality.

[0114] Figure 6 Schematic diagram of the composition structure of an electronic device provided by an embodiment of the present application Figure 2 , in practical applications, based on the same inventive concept of the above embodiments, as Figure 6 shown, the electronic device 1 of this embodiment includes: a processor 14, a memory 15, and a communication bus 16.

[0115] In the process of a specific embodiment, the above-mentioned data processing unit 12 and detection unit 13 can be implemented by a processor 14 located on the electronic device 1. The above-mentioned processor 14 can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing image processing device (DSPD), a programmable logic image processing device (PLD), a field programmable gate array (FPGA), a CPU, a controller, a microcontroller, and a microprocessor. It can be understood that for different electronic devices, the electronic devices used to implement the functions of the above-mentioned processor can also be others, and this embodiment does not make specific limitations.

[0116] In the embodiment of the present application, the above-mentioned communication bus 16 is used to realize the connection and communication between the processor 14 and the memory 15; when the processor 14 executes the running program stored in the memory 15, the following antenna selection method is realized:

[0117] In the case where it is detected that the received signal strength corresponding to the first antenna is less than a preset signal strength threshold, determine a plurality of echo loss parameters between the antenna switch and the plurality of antennas respectively; the first antenna is the antenna currently performing signal transmission and reception among the plurality of antennas;

[0118] Based on the plurality of echo loss parameters, determine a target antenna from the plurality of antennas, and use the target antenna to realize the transmission and reception of radio frequency signals.

[0119] Optionally, the processor 14 is further configured to detect the usage scenario corresponding to the electronic device, and search for the antenna gain list corresponding to the usage scenario from the corresponding relationship between the preset usage scenario and the preset antenna gain list; the antenna gain list includes a plurality of antenna gains of the plurality of antennas in the usage scenario; the determining the target antenna from the plurality of antennas based on the plurality of echo loss parameters includes: determining the target antenna from the plurality of antennas based on the plurality of echo loss parameters and the plurality of antenna gains.

[0120] Optionally, the processor 14 is further configured to determine a plurality of signal quality parameters corresponding to the plurality of antennas respectively; the determining the target antenna from the plurality of antennas based on the plurality of echo loss parameters includes: determining the target antenna from the plurality of antennas based on the plurality of echo loss parameters and the plurality of signal quality parameters.

[0121] Optionally, the processor 14 is further configured to determine a plurality of analog radiation powers corresponding to the plurality of antennas according to the plurality of echo loss parameters and the plurality of signal quality parameters; determine a first analog radiation power with the largest analog radiation power from the plurality of analog radiation powers; and determine a second antenna corresponding to the first analog radiation power; if the second antenna is the first antenna, determine the first antenna as the target antenna; if the second antenna is not the first antenna, obtain a second analog radiation power corresponding to the first antenna, and determine the target antenna from the first antenna and the second antenna according to the first analog radiation power and the second analog radiation power.

[0122] Optionally, the processor 14 is further configured to determine a difference between the first analog radiation power and the second analog radiation power; if the difference is greater than or equal to a preset difference threshold, determine the second antenna as the target antenna; if the difference is less than the preset difference threshold, determine the first antenna as the target antenna.

[0123] Optionally, the processor 14 is further configured to use the antenna switch to switch the antenna currently performing signal transmission and reception from the first antenna to the second antenna, and use the second antenna to implement radio frequency signal transmission and reception.

[0124] Optionally, the signal quality parameters include received signal strength indication RSSI and reference signal received power RSRP.

[0125] An embodiment of the present application provides a storage medium, on which a computer program is stored. The above computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors and are applied to an electronic device. The computer program implements the antenna selection method as described above.

[0126] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0127] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure, in essence or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions for causing an image display device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the antenna selection method described in each embodiment of the present disclosure.

[0128] The above is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. An antenna selection method, characterized in that, Applied to an electronic device, the electronic device includes an antenna switching switch and a plurality of antennas, the antenna switching switch is respectively connected to the plurality of antennas, and the method includes: When it is detected that the received signal strength corresponding to the first antenna is less than a preset signal strength threshold, determining a plurality of echo loss parameters between the antenna switching switch and the plurality of antennas respectively; the first antenna is the antenna currently performing signal transmission and reception among the plurality of antennas; Detecting the usage scenario corresponding to the electronic device, and searching for the antenna gain list corresponding to the usage scenario from the corresponding relationship between the preset usage scenario and the preset antenna gain list; the antenna gain list includes a plurality of antenna gains of the plurality of antennas in the usage scenario; Based on the plurality of echo loss parameters and the plurality of antenna gains, determining a target antenna from the plurality of antennas, and using the target antenna to implement radio frequency signal transmission and reception.

2. The method according to claim 1, wherein After determining the plurality of echo loss parameters between the antenna switching switch and the plurality of antennas respectively, the method further includes: Respectively determining a plurality of signal quality parameters corresponding to the plurality of antennas; Based on the plurality of echo loss parameters and the plurality of signal quality parameters, determining the target antenna from the plurality of antennas, and using the target antenna to implement radio frequency signal transmission and reception.

3. The method according to claim 2, wherein The determining the target antenna from the plurality of antennas based on the plurality of echo loss parameters and the plurality of signal quality parameters includes: Determining a plurality of simulated radiation powers corresponding to the plurality of antennas according to the plurality of echo loss parameters and the plurality of signal quality parameters; Determining a first simulated radiation power with the largest simulated radiation power from the plurality of simulated radiation powers; and determining a second antenna corresponding to the first simulated radiation power; If the second antenna is the first antenna, determining the first antenna as the target antenna; If the second antenna is not the first antenna, obtaining a second simulated radiation power corresponding to the first antenna, and determining the target antenna from the first antenna and the second antenna according to the first simulated radiation power and the second simulated radiation power.

4. The method according to claim 3, wherein The determining the target antenna from the first antenna and the second antenna according to the first simulated radiation power and the second simulated radiation power includes: Determining a difference between the first simulated radiation power and the second simulated radiation power; If the difference is greater than or equal to a preset difference threshold, determining the second antenna as the target antenna; If the difference is less than the preset difference threshold, determining the first antenna as the target antenna.

5. The method according to claim 4, wherein After determining the second antenna as the target antenna, the method further includes: Using the antenna switching switch to switch the antenna currently performing signal transmission and reception from the first antenna to the second antenna, and using the second antenna to implement radio frequency signal transmission and reception.

6. The method according to any one of claims 2-5, characterized in that, The signal quality parameters include received signal strength indication RSSI and reference signal received power RSRP.

7. An electronic device, characterized in that, The device includes: an antenna switch, multiple antennas, a data processing unit, and a detection unit; wherein, the data processing unit is respectively connected to the detection unit and the antenna switch, and the antenna switch is respectively connected to the multiple antennas; The detection unit is configured to obtain a received signal corresponding to a first antenna and detect a received signal strength corresponding to the received signal; The data processing unit is configured to determine multiple echo loss parameters between the antenna switch and the multiple antennas respectively when the detection unit detects that the received signal strength is less than a preset signal strength threshold; the first antenna is the antenna currently performing signal transceiver among the multiple antennas; The data processing unit is further configured to detect a usage scenario corresponding to the electronic device and search for an antenna gain list corresponding to the usage scenario from a corresponding relationship between a preset usage scenario and a preset antenna gain list; the antenna gain list includes multiple antenna gains of the multiple antennas in the usage scenario; based on the multiple echo loss parameters and the multiple antenna gains, determine a target antenna from the multiple antennas, and use the target antenna to implement radio frequency signal transceiver.

8. An electronic device, characterized in that, The device includes: a processor, a memory, and a communication bus; when the processor executes a running program stored in the memory, the method described in any one of claims 1-6 is implemented.

9. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the method described in any one of claims 1-6 is implemented.

Citation Information

Patent Citations

  • Antenna selection and tuning

    TW201711406A

  • Method for controlling antenna and electronic device thereof

    WO2017175964A1