Antenna switching method and related device
By calculating the antenna's reference signal reception power difference in electronic devices and compensating the switching threshold, the problem of performance degradation after antenna switching is solved, and higher communication quality and user experience are achieved.
Patent Information
- Application Number
- CN202210492659.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-05-07
AI Technical Summary
In electronic devices, due to the influence of multiple antennas during antenna switching, the performance after switching is lower than that before switching, affecting the user experience.
By obtaining the reference signal reception power of the first antenna and the second antenna in the target frequency band, calculating the reference signal reception power difference, and compensating the original switching threshold according to the degree of influence of communication characteristic parameters, determining the target switching threshold, and achieving accurate switching of the antenna.
The overall performance after antenna switching is improved, making it better than the performance before switching, thereby improving communication quality and user experience.
Smart Images

Figure CN114826362B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic technology, and particularly relates to an antenna switching method and related device. Background Art
[0002] In order to meet the increasingly high usage requirements of users for electronic devices, many measures have been added to electronic devices to improve user experience performance.
[0003] Currently, multiple antennas are provided in an electronic device. When the signal of the currently used antenna is poor, the control circuit in the device can switch between the antennas, which not only meets the communication requirements of supporting multiple frequency bands, but also can switch the antenna for receiving signals according to communication requirements. However, when switching antennas, since there are multiple antennas in the electronic device, different antennas are affected by various factors, resulting in the performance after antenna switching being lower than that before switching, which affects the user experience. Summary of the Invention
[0004] This application provides an antenna switching method and related device to improve the accuracy of antenna switching, so that the performance of the electronic device after switching is better than that before switching, thereby improving communication quality.
[0005] In a first aspect, this application provides an antenna switching method, including:
[0006] Obtain the first reference signal reception power of the first antenna in a target frequency band and the second reference signal reception power of the second antenna in the target frequency band, where the first antenna and the second antenna are antennas among at least two antennas supported by the electronic device to switch with each other;
[0007] Determine the first reference signal reception power difference between the first reference signal reception power and the second reference signal reception power;
[0008] If the first reference signal reception power difference is greater than or equal to the target switching threshold corresponding to the first antenna, switch the first antenna to the second antenna, where the target switching threshold corresponding to the first antenna is the switching threshold value after compensating the original switching threshold according to the difference between the second influence degree and the first influence degree, the first influence degree is the influence degree of the communication characteristic parameter of the first antenna on the total radiation power of the electronic device, the second influence degree is the influence degree of the communication characteristic parameter of the second antenna on the total radiation power of the electronic device, the communication characteristic parameter includes at least one of the following: conduction power, back-off power of specific absorption rate, and antenna efficiency, and the antenna efficiency is used to characterize the antenna transceiver performance of the antenna in the target frequency band.
[0009] In a second aspect, this application provides an antenna switching device, including:
[0010] An acquisition unit, configured to acquire a first reference signal reception power of a first antenna in a target frequency band and a second reference signal reception power of a second antenna in the target frequency band, where the first antenna and the second antenna are antennas among at least two antennas supported by an electronic device for mutual switching;
[0011] A determination unit, configured to determine a first reference signal reception power difference between the first reference signal reception power and the second reference signal reception power;
[0012] A switching unit, configured to switch the first antenna to the second antenna, where a target switching threshold corresponding to the first antenna is a switching threshold value obtained by compensating an original switching threshold according to a difference between a second influence degree and a first influence degree, the first influence degree is an influence degree of a communication characteristic parameter of the first antenna on a total radiation power of the electronic device, the second influence degree is an influence degree of a communication characteristic parameter of the second antenna on the total radiation power of the electronic device, the communication characteristic parameter includes at least one of the following: conduction power, back-off power of specific absorption rate, and antenna efficiency, and the antenna efficiency is used to characterize antenna transceiver performance of the antenna in the target frequency band.
[0013] In a third aspect, the present application provides an electronic device, where the electronic device includes:
[0014] One or more processors;
[0015] One or more memories, configured to store programs,
[0016] The one or more memories and the programs are configured to be controlled by the one or more processors to execute instructions for the electronic device to perform steps in any method in the first aspect of the embodiments of the present application.
[0017] In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute some or all of the steps described in any method in the first aspect of the embodiments of the present application.
[0018] In a fifth aspect, the present application provides a computer program, where the computer program is operable to enable a computer to execute some or all of the steps described in any method in the first aspect of the embodiments of the present application. The computer program may be a software installation package.
[0019] It can be seen that in the embodiments of the present application, first, the first reference signal reception power of the first antenna in the target frequency band and the second reference signal reception power of the second antenna in the target frequency band are obtained; secondly, the first reference signal reception power difference between the first reference signal reception power and the second reference signal reception power is determined; finally, if it is detected that the first reference signal reception power difference is greater than or equal to the target switching threshold corresponding to the first antenna, the first antenna is switched to the second antenna, where the target switching threshold corresponding to the first antenna is a switching threshold value obtained by compensating the original switching threshold according to the difference between the second influence degree and the first influence degree. The first influence degree is the influence degree of the communication characteristic parameters of the first antenna on the total radiation power of the electronic device, and the second influence degree is the influence degree of the communication characteristic parameters of the second antenna on the total radiation power of the electronic device. The communication characteristic parameters include at least one of the following: conduction power, back-off power of specific absorption rate, and antenna efficiency. By compensating for the differences in conduction power, differences in antenna efficiency, or back-off power of specific absorption rate, the target switching threshold corresponding to the first antenna is determined. When the first reference signal reception power difference is greater than or equal to the target switching threshold corresponding to the first antenna, the antenna is switched, so that the overall performance after switching to the second antenna is better than the overall performance before switching, improving the signal quality during communication, and thus improving the user experience. Description of the Drawings
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0021] Figure 1 is a schematic diagram of an electronic device provided by an embodiment of the present application;
[0022] Figure 2 is a schematic flowchart of an antenna switching method provided by an embodiment of the present application;
[0023] Figure 3 is a functional unit composition block diagram of an antenna switching device provided by an embodiment of the present application;
[0024] Figure 4 is a schematic diagram of another electronic device provided by an embodiment of the present application. Detailed Embodiments
[0025] To enable those skilled in the art to better understand the solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without making creative efforts shall fall within the scope of protection of this application.
[0026] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0027] Referring to "embodiment" herein means that a specific feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of this application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0028] The following first explains the key concepts related to the embodiments of this application:
[0029] The total radiated power (TRP) is obtained by integrating and averaging the transmitted power over the entire radiation sphere for the radiation performance emission parameter. It reflects the transmitted power of the entire mobile phone and is related to the transmitted power of the mobile phone in the conduction case and the antenna radiation performance.
[0030] The Specific Absorption Ratio (SAR) refers to the electromagnetic radiation energy absorbed by a unit mass of a substance per unit time. The lower the SAR value, the smaller the amount of electromagnetic radiation absorbed by the brain of the mobile terminal. In China, the network access requirement for the SAR test of mobile terminals by the Ministry of Industry and Information Technology is that the average SAR of any 10 g of biological tissue for any continuous 6 minutes shall not exceed 2.0 W / kg.
[0031] The Reference Signal Receiving Power (RSRP) is one of the key parameters representing the wireless signal strength and the physical layer measurement requirements in the LTE network. It is the average value of the signal power received on all Resource Elements (REs) carrying reference signals within a certain symbol.
[0032] The electronic devices involved in the embodiments of this application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, as well as various forms of User Equipment (UE), Mobile Station (MS), terminal devices, etc. For ease of description, the devices mentioned above are collectively referred to as electronic devices.
[0033] The original handover threshold involved in the existing algorithm was originally intended to truly reflect the actual total radiation power of the antenna (corresponding to the measured total radiation power) under the combined influence of communication characteristic parameters and external factors. However, since the reference signal receiving power corresponding to the first antenna or the second antenna has been corrected during factory production, specifically, the numerical difference in the first reference signal receiving power compensates for the differential influence caused by internal factors such as the conduction performance of the main board of the electronic device between the first antenna and the second antenna. That is, the first reference signal receiving power difference can only truly represent the difference in the antenna radiation performance caused by external factors such as human hand occlusion, resulting in the omission of the influence of communication characteristic parameters on the total radiation power in the actual calculation process of the existing algorithm.
[0034] In view of the above problems, the embodiments of this application provide an antenna handover method and related device. The following provides a detailed introduction to the embodiments of this application.
[0035] Please refer to Figure 1 , Figure 1 which is a schematic diagram of an electronic device provided by the embodiments of this application. The electronic device includes an application processor 120, a memory 130, a communication module 140, and one or more programs 131. The application processor 120 is connected to the memory 130 and the communication module 140 through an internal communication bus.
[0036] Among them, the one or more programs 131 are stored in the memory 130 and are configured to be executed by the application processor 120. The one or more programs 131 include instructions for executing any step in the following method embodiments.
[0037] Among them, the application processor 120 can be, for example, a Central Processing Unit (CPU), a general-purpose processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, units, and circuits described in connection with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on. The communication unit can be the communication module 140, a transceiver, a transceiver circuit, etc., and the storage unit can be the memory 130.
[0038] The memory 130 can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0039] In a specific implementation, the application processor 120 is configured to execute any step performed by the electronic device in the following method embodiments.
[0040] It should be noted that the structural schematic diagram of the above electronic device is an example, and the specific devices included may be more or less, and there is no unique limitation here.
[0041] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of an antenna switching method provided by an embodiment of the present application. The antenna switching method described in this embodiment is applied to an electronic device as shown in Figure 1 . As shown in the figure, the antenna switching method includes the following operations.
[0042] Step 210: Obtain the first reference signal reception power of the first antenna in the target frequency band and the second reference signal reception power of the second antenna in the target frequency band. The first antenna and the second antenna are antennas among at least two antennas supported by the electronic device for mutual switching.
[0043] Specifically, the at least two antennas include the first antenna and the second antenna. It can be understood that the at least two antennas may also include other antennas, such as a third antenna and a fourth antenna. In the embodiment of the present application, the specific number of antennas is not limited here. In addition, in this embodiment, the first antenna and the second antenna are taken as examples for illustration. In other embodiments, the reference signal reception powers of two or more antennas to be switched among the at least two antennas may also be obtained to facilitate determining whether a switch is needed. For example, the reference signal reception power of the third antenna, the fourth antenna, and the fifth antenna are obtained to facilitate determining whether a switch is needed among the third antenna, the fourth antenna, and the fifth antenna.
[0044] Step 220: Determine the first reference signal reception power difference between the first reference signal reception power and the second reference signal reception power.
[0045] Specifically, the first reference signal reception power difference is the difference between the reference signal reception powers of the two antennas to be switched.
[0046] Step 230: If the difference in the received power of the first reference signal is greater than or equal to the target handover threshold corresponding to the first antenna, then switch the first antenna to the second antenna. The target handover threshold corresponding to the first antenna is a handover threshold value obtained by compensating the original handover threshold according to the difference between the second influence degree and the first influence degree. The first influence degree is the influence degree of the communication characteristic parameters of the first antenna on the total radiation power of the electronic device, and the second influence degree is the influence degree of the communication characteristic parameters of the second antenna on the total radiation power of the electronic device. The communication characteristic parameters include at least one of the following: conduction power, back-off power of specific absorption rate, and antenna efficiency. The antenna efficiency is used to characterize the antenna transceiver performance of the antenna in the target frequency band.
[0047] Specifically, the first antenna is the currently working antenna. In this example, the first antenna and the second antenna are taken as examples for illustration. It can be understood that it is also possible to determine whether to switch between two or more antennas according to actual requirements, and the specific number of antennas to be switched is not limited here. The target handover threshold corresponding to the first antenna is a handover threshold value obtained by compensating the original handover threshold according to the difference between the second influence degree and the first influence degree. The comparison result between the obtained target handover threshold corresponding to the first antenna and the difference in the received power of the first reference signal is used to determine whether to switch the first antenna to the second antenna. The first influence degree is the influence degree of the communication characteristic parameters of the first antenna on the total radiation power of the electronic device, and the second influence degree is the influence degree of the communication characteristic parameters of the second antenna on the total radiation power of the electronic device. The communication characteristic parameters include at least one of the following: conduction power, back-off power of specific absorption rate, and antenna efficiency. Affected by factors such as the conduction performance on the main board of the electronic device or the antenna efficiency between different antennas, there are differences between the first communication characteristic parameters of the first antenna and the second communication characteristic parameters of the second antenna, resulting in differences in the total radiation power when different antennas work. By compensating for the differences brought by these factors, the accuracy of the handover can be improved, and the overall performance of the electronic device after the antenna handover is better than the overall performance before the handover. That is, calculate the difference value of the communication characteristic parameters between the two antennas to be switched, obtain the difference value of the first influence degree and the second influence degree, and thus compensate it into the original handover threshold, so that the total radiation power of the electronic device after switching the antenna is greater than the total radiation power of the electronic device before the handover, so that the overall performance corresponding to switching to the first antenna is better than the overall performance before the handover.
[0048] It can be understood that the original handover threshold can be determined according to the switching benefit of actual requirements. For example, the original handover threshold can be any switching value between 2 dB and 5 dB, and the specific value is not limited here.
[0049] It can be seen that in this example, if the first antenna is switched to the second antenna, the target switching threshold corresponding to the first antenna is obtained, and the difference value between the communication characteristic parameters of the two antennas to be switched is compensated to the original switching threshold, thereby improving the switching accuracy. Based on the comparison result between the target switching threshold corresponding to the first antenna and the difference value of the received power of the first reference signal, it is determined whether to switch between the two antennas to be switched, making the switching determination more accurate and ensuring that the signal quality of the electronic device after switching the antenna is higher than that before switching, thereby improving the user experience.
[0050] In a possible example, the target switching threshold corresponding to the first antenna is determined through the following steps: determining the compensation value corresponding to the first antenna according to the communication characteristic parameters of the first antenna and the communication characteristic parameters of the second antenna, where the compensation value corresponding to the first antenna is used to represent the difference between the second influence degree and the first influence degree; determining the target switching threshold corresponding to the first antenna according to the original switching threshold and the compensation value corresponding to the first antenna.
[0051] In specific implementation, the total radiation power is affected by communication characteristic parameters and external factors. The target switching threshold corresponding to the first antenna is the switching threshold value obtained by compensating the original switching threshold according to the difference between the second influence degree and the first influence degree. The first influence degree is the influence degree of the communication characteristic parameters of the first antenna on the total radiation power of the electronic device, and the second influence degree is the influence degree of the communication characteristic parameters of the second antenna on the total radiation power of the electronic device. According to the difference between the communication characteristic parameters of the first antenna and the communication characteristic parameters of the second antenna, the original switching threshold is compensated to obtain the target switching threshold corresponding to the first antenna. Since the communication characteristic parameters include at least one of the following: conduction power, back-off power of specific absorption rate, and antenna efficiency, the parameters included in the communication characteristic parameters can be determined according to actual needs. For example, the communication characteristic parameters include conduction power, back-off power of specific absorption rate, and antenna efficiency, or the communication characteristic parameters include conduction power and antenna efficiency. The specific types of parameters included are not limited here.
[0052] It can be seen that in this example, by compensating for the difference between the first communication characteristic parameter of the first antenna and the second communication characteristic parameter of the second antenna, the differences caused by factors such as conduction efficiency during the operation of different antennas are compensated, thereby improving the accuracy of switching.
[0053] In a possible example, when the communication characteristic parameters include conduction power, back-off power of specific absorption rate, and the antenna efficiency corresponding to the target frequency band, the determining the compensation value corresponding to the first antenna according to the communication characteristic parameters of the first antenna and the communication characteristic parameters of the second antenna includes: calculating the compensation value corresponding to the first antenna through the following formula:
[0054] P i +( - S i ) + TE i - P j -( - S j ) - TE j = Δ ij ;
[0055] Wherein, the P i is the conduction power of the first antenna, the - S i is the back - off power of the specific absorption rate of the first antenna, the TE i is the antenna efficiency of the first antenna, the P j is the conduction power of the second antenna, the - S j is the back - off power of the specific absorption rate of the second antenna, the TE j is the antenna efficiency of the second antenna, and the Δ ij is the compensation value corresponding to the first antenna when the first antenna is switched to the second antenna.
[0056] In specific implementation, when determining whether to switch the first antenna to the second antenna, the compensation value corresponding to the first antenna is obtained. The communication characteristic parameters of the first antenna include the conduction power of the first antenna, the back - off power of the specific absorption rate of the first antenna, and the antenna efficiency of the first antenna. The communication characteristic parameters of the second antenna include the conduction power of the second antenna, the back - off power of the specific absorption rate of the second antenna, and the antenna efficiency of the second antenna. Among them, the calculation order between the communication characteristic parameters of the first antenna and the communication characteristic parameters of the second antenna can be determined according to actual needs, and specific limitations are not made here. For example: adding the conduction power of the first antenna to the back - off power of the specific absorption rate of the first antenna to obtain a first value, and obtaining a first added value by adding this first value to the antenna efficiency of the first antenna; adding the conduction power of the second antenna to the back - off power of the specific absorption rate of the second antenna to obtain a second value, and obtaining a second added value by adding this second value to the antenna efficiency of the second antenna. The compensation value corresponding to the first antenna is the difference between this first added value and this second added value. The specific calculation formula for the compensation value corresponding to the first antenna is as follows:
[0057] [P i +( - S i ) + TE i -[P j +( - S j ) + TE j = Δ ij ;
[0058] Therefore, P i +( - S i ) + TE i - Pj -(-S j )-TE j = Δ ij ;
[0059] Therefore, (P i -S i +TE i ) - (P j -S j +TE j ) = Δ ij ;
[0060] Wherein, P i is the conduction power of the first antenna, S i is the absolute value of the back-off power of the specific absorption rate of the first antenna. Therefore, the back-off power of the specific absorption rate of the first antenna is -S i , TE i is the antenna efficiency of the first antenna, P j is the conduction power of the second antenna, S j is the absolute value of the back-off power of the specific absorption rate of the second antenna. Therefore, -S j is the back-off power of the specific absorption rate of the second antenna, TE j is the antenna efficiency of the second antenna, Δ ij is the compensation value corresponding to the first antenna. Alternatively, the conduction power difference is obtained by subtracting the conduction power of the second antenna from the conduction power of the first antenna; the back-off power difference is obtained by subtracting the back-off power of the specific absorption rate of the second antenna from the back-off power of the specific absorption rate of the first antenna; the antenna efficiency difference is obtained by subtracting the antenna efficiency of the second antenna from the antenna efficiency of the first antenna. The compensation value corresponding to the first antenna is the sum of the conduction power difference, the back-off power difference, and the antenna efficiency difference. The compensation value corresponding to the first antenna is calculated by the following formula:
[0061] (P i -P j ) + [(-S i ) - (-S j )] + (TE i -TE j ) = Δ ij .
[0062] It can be seen that in this example, by compensating for the differences between the first communication characteristic parameters of the first antenna and the second communication characteristic parameters of the second antenna, the differences between the total radiation powers during the operation of the antennas are compensated, thereby improving the accuracy of handover.
[0063] Wherein, there is a corresponding relationship between the antenna currently used by the electronic device and the compensation value. The following two cases are specifically described:
[0064] (1) When the antenna currently used by the electronic device is the first antenna, the existing algorithm process is as follows:
[0065] The difference between the reference signal received power RSRP2 of the second antenna and the reference signal received power RSRP1 of the first antenna is calculated, and the magnitude relationship between this difference and the original threshold is compared. The improved algorithm is as follows: After compensating for the influence of communication characteristic parameters on the total radiation power, calculate the value of (RSRP2 - RSRP1) + [P2 + (-S2) + TE2 - P1 - (-S1) - TE1], and compare the magnitude relationship between this value and the original threshold, where [P2 + (-S2) + TE2] is used to represent the second influence degree, and [P1 + (-S1) + TE1] is used to represent the first influence degree. Therefore, when the antenna currently used by the electronic device is the first antenna, the corresponding compensation value (i.e., moving the newly added part on the left side of the improved algorithm comparison formula to the right side of the comparison formula) is -[P2 + (-S2) + TE2 - P1 - (-S1) - TE1], that is, P1 + (-S1) + TE1 - P2 - (-S2) - TE2.
[0066] (2) When the antenna currently used by the electronic device is the second antenna, the existing algorithm process is as follows:
[0067] The difference between the reference signal received power RSRP1 of the first antenna and the reference signal received power RSRP2 of the second antenna is calculated, and the magnitude relationship between this difference and the original threshold is compared. The improved algorithm is as follows: After compensating for the influence of communication characteristic parameters on the total radiation power, calculate the value of (RSRP1 - RSRP2) + [P1 + (-S1) + TE1 - P2 - (-S2) - TE2], and compare the magnitude relationship between this value and the original threshold, where [P2 + (-S2) + TE2] is used to represent the second influence degree, and [P1 + (-S1) + TE1] is used to represent the first influence degree. Therefore, when the antenna currently used by the electronic device is the second antenna, the corresponding compensation value (i.e., moving the newly added part on the left side of the improved algorithm comparison formula to the right side of the comparison formula) is -[P1 + (-S1) + TE1 - P2 - (-S2) - TE2], that is, P2 + (-S2) + TE2 - P1 - (-S1) - TE1.
[0068] In a possible example, determining the target switching threshold corresponding to the first antenna according to the original switching threshold and the compensation value corresponding to the first antenna includes: obtaining the sum of the original switching threshold and the compensation value corresponding to the first antenna, and this sum is the target switching threshold corresponding to the first antenna.
[0069] In specific implementation, the target switching threshold corresponding to the first antenna is the sum of the compensation value corresponding to the first antenna and the original switching threshold.
[0070] It can be seen that in this example, the original handover threshold is compensated by the compensation value corresponding to the first antenna to obtain the target handover threshold corresponding to the first antenna. By comparing with the target handover threshold corresponding to the first antenna, it is determined whether to switch the antenna, improving the accuracy of antenna handover.
[0071] In one possible example, the determining the difference in the first reference signal received power between the first reference signal received power and the second reference signal received power includes: obtaining the difference obtained by subtracting the first reference signal received power from the second reference signal received power, and the difference is the difference in the first reference signal received power.
[0072] In a specific implementation, when determining whether to switch the first antenna to the second antenna, compare the size of the target handover threshold corresponding to the first antenna with the difference in the first reference signal received power. If the difference in the first reference signal received power is greater than or equal to the target handover threshold corresponding to the first antenna, then switch the first antenna to the second antenna. The specific comparison formula is:
[0073] RSRP j -RSRP i ≥Δ ij +G;
[0074] Wherein, this RSRP i is the first reference signal received power, RSRP j is the second reference signal received power, Δ ij is the compensation value corresponding to the first antenna, and G is the preset original handover threshold.
[0075] It can be seen that in this example, the target handover threshold corresponding to the first antenna is determined according to the difference in the communication characteristic parameters between the first antenna and the second antenna and the original handover threshold. Through the comparison result of the target handover threshold corresponding to the first antenna and the difference in the first reference signal received power, it is determined whether to switch between the two antennas to be switched, preventing the total radiation power of the antenna after switching from being lower than the total radiation power of the antenna before switching, improving the communication quality after switching, making the accuracy of handover judgment higher, and thus improving the user experience.
[0076] For example, please refer to Table 1. Table 1 is a data comparison table between the first antenna and the second antenna when determining whether to switch the first antenna to the second antenna. Taking the target frequency band as the LTE B41 frequency band as an example, the specific data is shown in Table 1 below.
[0077] Table 1
[0078]
[0079]
[0080] In a specific implementation, the electronic device determines the magnitude relationship between the target switching threshold corresponding to the first antenna and the second antenna and the difference in the first reference signal reception power. As shown in Table 1, the conduction power of the first antenna is 23 dBm, the antenna efficiency of the first antenna is -7 dBm, the back-off power of the specific absorption rate of the first antenna is -1 dBm, the conduction power of the second antenna is 20 dBm, the antenna efficiency of the second antenna is -7 dBm, and the back-off power of the specific absorption rate corresponding to the second antenna is -1 dBm. Substitute the communication characteristic parameters of the first antenna and the communication characteristic parameters of the second antenna into the formula: P i +(-S i )+TE i -P j -(-S j )-TE j =Δ ij ; The compensation value corresponding to the first antenna is obtained as 3 dB. If the preset original switching threshold is 2 dB, since the target switching threshold corresponding to the first antenna is the sum of the compensation value corresponding to the first antenna and the original switching threshold, the target switching threshold corresponding to the first antenna is 5 dB. When the first reference signal reception power drops from -100 dBm to -105 dBm, at this time, the second reference signal reception power is -100 dBm. Subtract the first reference signal reception power from the second reference signal reception power to obtain the first reference signal reception power difference of 5 dB. The first reference signal reception power difference is equal to the target switching threshold corresponding to the first antenna, so the first antenna can be switched to the second antenna. Referring to Table 1, according to actual measurement, the total radiation power of the electronic device corresponding to the first antenna is 11 dBm, and the total radiation power of the electronic device corresponding to the second antenna is 13 dBm. Therefore, the total radiation power corresponding to the second antenna after switching is greater than the total radiation power corresponding to the first antenna.
[0081] It can be seen that in this example, by compensating for the differential effects brought by factors such as the conduction difference between the first antenna and the second antenna on the main board, the target switching threshold corresponding to the first antenna is obtained. Based on the comparison result between the target switching threshold corresponding to the first antenna and the first reference signal reception power difference, it is determined whether to switch between the two antennas, preventing the total radiation power of the electronic device after switching from being lower than the total radiation power before switching the antenna, improving the accuracy of switching, and thus improving the user experience.
[0082] In a possible example, after switching the first antenna to the second antenna, the method further includes: obtaining a difference between the first reference signal receiving power and the second reference signal receiving power, where the difference is the second reference signal receiving power difference; if the second reference signal receiving power difference is greater than or equal to a target switching threshold corresponding to the second antenna, switching the second antenna to the first antenna, where the target switching threshold corresponding to the second antenna is a switching threshold value obtained by compensating the original switching threshold according to the difference between the first influence degree and the second influence degree.
[0083] In a specific implementation, if it is necessary to determine whether to switch the second antenna to the first antenna, it can be determined whether to switch according to the magnitude relationship between the target switching threshold corresponding to the second antenna and the second reference signal receiving power difference. Obtain the first reference signal receiving power of the first antenna and the second reference signal receiving power of the second antenna, subtract the second reference signal receiving power from the first reference signal receiving power to obtain the second reference signal receiving power difference, obtain the target switching threshold corresponding to the second antenna according to the compensation value corresponding to the second antenna and the original switching threshold, compare the magnitude of the target switching threshold corresponding to the second antenna and the second reference signal receiving power difference, and if the second reference signal receiving power difference is greater than or equal to the target switching threshold corresponding to the second antenna, switch the second antenna to the first antenna.
[0084] In a possible example, the second reference signal receiving power difference can also be calculated from the first reference signal receiving power corresponding to the first antenna and the second reference signal receiving power corresponding to the second antenna after being changed according to the actual situation, and it is determined whether to switch according to real-time data, so as to improve the accuracy of switching.
[0085] In a possible example, when the communication characteristic parameters include the conduction power, the back-off power of the specific absorption rate, and the antenna efficiency corresponding to the target frequency band, the target switching threshold corresponding to the second antenna is determined through the following steps: calculating the compensation value corresponding to the second antenna through the following formula:
[0086] P j +(-S j )+TE j -P i -(-S i )-TE i =Δ ji ;
[0087] Wherein, the Δ jiWhen the second antenna is switched to the first antenna, the compensation value corresponding to the second antenna, which is used to characterize the difference between the first influence degree and the second influence degree; determine the target switching threshold corresponding to the second antenna according to the original switching threshold and the compensation value corresponding to the second antenna.
[0088] In a specific implementation, the specific calculation formula for the compensation value corresponding to the second antenna is as follows:
[0089] [P j +(-S j )+TE j -[P i +(-S i )+TE i =Δ ji ;
[0090] Therefore, P j +(-S j )+TE j -P i -(-S i )-TE i -=Δ ji ;
[0091] Therefore, (P j -S j +TE j )-(P i -S i +TE i )=Δ ji ;
[0092] Compare the size of the target switching threshold corresponding to the second antenna and the difference in the second reference signal receiving power. If the difference in the second reference signal receiving power is greater than or equal to the target switching threshold corresponding to the second antenna, then switch the second antenna to the first antenna. The specific comparison formula is:
[0093] RSRP i- RSRP j ≥Δ ji +G;
[0094] Among them, this RSRP i is the first reference signal receiving power, RSRP j is the second reference signal receiving power, Δ ji is the compensation value corresponding to the second antenna, and G is the preset original switching threshold.
[0095] It can be seen that in this example, the original handover threshold is compensated to obtain the target handover threshold corresponding to the second antenna. By comparing the difference between the target handover threshold corresponding to the second antenna and the second reference signal reception power, it is determined whether to switch the antenna, improving the communication quality after handover and making the handover judgment more accurate.
[0096] For example, if it is determined whether to switch the second antenna to the first antenna, it is necessary to judge the magnitude of the difference between the target handover threshold corresponding to the second antenna and the second reference signal reception power. The specific judgment process for determining whether to switch the second antenna to the first antenna includes: obtaining the first reference signal reception power of the first antenna and the second reference signal reception power of the second antenna, subtracting the second reference signal reception power from the first reference signal reception power to obtain the first reference signal reception power difference, comparing the magnitude of the target handover threshold corresponding to the second antenna and the second reference signal reception power difference. If the second reference signal reception power difference is greater than the target handover threshold corresponding to the second antenna, then the second antenna is re-switched to the first antenna. For example, please refer to Table 2, which is a data comparison table of the first antenna and the second antenna when determining whether to switch the second antenna to the first antenna.
[0097] Table 2
[0098]
[0099] As shown in Table 2, the conduction power of the first antenna is 23 dBm, the antenna efficiency of the first antenna is -7 dBm, the back-off power of the specific absorption rate of the first antenna is -1 dBm, the conduction power of the second antenna is 20 dBm, the antenna efficiency of the second antenna is -7 dBm, and the back-off power of the specific absorption rate of the second antenna is -1 dBm. Substitute the communication characteristic parameters of the first antenna and the communication characteristic parameters of the first antenna into the formula: P j -S j +TE j -P i +S i -TE i =Δ ji, the compensation value corresponding to the second antenna is -3 dB. If the preset original switching threshold is 2 dB, since the target switching threshold corresponding to the second antenna is the sum of the compensation value corresponding to the second antenna and the original switching threshold, the target switching threshold corresponding to the second antenna is -1 dB. When the second reference signal reception power decreases from -100 dBm to -104 dBm and the first reference signal reception power is -105 dBm, subtracting the second reference signal reception power from the first reference signal reception power gives a second reference signal reception power difference of -1 dB. Comparing the magnitude of the second reference signal reception power difference with the target switching threshold, the second reference signal reception power difference is equal to the target switching threshold corresponding to the second antenna, and it is determined that the second antenna can be switched to the first antenna. Since the total radiation power of the second antenna obtained by actual measurement is 9 dBm and the total radiation power of the first antenna is 11 dBm, the total radiation power of the first antenna is greater than that of the second antenna, and the total radiation power of the electronic device is higher after switching to the first antenna, so the performance of the electronic device after switching is better.
[0100] It can be seen that in this example, for different antennas, different target switching thresholds can be determined according to the conduction power, antenna efficiency, and back-off power of specific absorption rate of different antennas, avoiding the influence brought by factors such as different conduction performances of different antennas on the motherboard and improving the accuracy of antenna switching.
[0101] It can be understood that the target frequency band can also be other frequency bands, such as LTE B40 and LTE B39, and specific details are not limited here.
[0102] In a possible example, when the communication characteristic parameter includes the conduction power and the back-off power of specific absorption rate, determining the compensation value corresponding to the first antenna according to the communication characteristic parameters of the first antenna and the second antenna includes: calculating the compensation value corresponding to the first antenna through the following formula:
[0103] P i +(-S i )-P j -(-S j )=Δ ij ;
[0104] where, P i is the conduction power of the first antenna, -S i is the back-off power of specific absorption rate of the first antenna, P j is the conduction power of the second antenna, -S j is the back-off power of specific absorption rate of the second antenna, and Δ ij is the compensation value corresponding to the first antenna.
[0105] In a specific implementation, if the communication characteristic parameter includes the conduction power and the back-off power of the specific absorption rate, in the target frequency band, the communication characteristic parameter of the first antenna includes the conduction power of the first antenna and the back-off power of the specific absorption rate of the first antenna, and the communication characteristic parameter of the second antenna includes the conduction power of the second antenna and the back-off power of the specific absorption rate of the second antenna. Among them, the calculation order between the communication characteristic parameter of the first antenna and the communication characteristic parameter of the second antenna can be determined according to actual needs, and specific restrictions are not imposed here. For example, the compensation value corresponding to the first antenna is calculated through the following formula:
[0106] [P i +(-S i )]-[P j +(-S j )]=Δ ij ;
[0107] Therefore, (P i -S i )-(P j -S j )=Δ ij ;
[0108] Or (P i -P j )+[(-S i )-(-S j )]=Δ ij ;
[0109] Among them, the target handover threshold corresponding to the first antenna is the sum of the compensation value corresponding to the first antenna and the original handover threshold. The specific judgment process for determining whether to switch the first antenna to the second antenna includes: obtaining the first reference signal receiving power of the first antenna and the second reference signal receiving power of the second antenna, calculating the difference between the second reference signal receiving power and the first reference signal receiving power, and this difference is the first reference signal receiving power difference. Compare the size of the target handover threshold corresponding to the first antenna and the first reference signal receiving power difference. If the first reference signal receiving power difference is greater than or equal to the target handover threshold corresponding to the first antenna, then switch the first antenna to the second antenna. The specific comparison formula is:
[0110] RSRP j -RSRP i ≥Δ ij +G。
[0111] It can be seen that in this example, the compensation value corresponding to the first antenna is determined according to the difference between the communication characteristic parameters of the first antenna and those of the second antenna, so as to compensate for the differences caused by factors such as the conduction difference between the first antenna and the second antenna on the main board, obtain the target switching threshold corresponding to the first antenna, and determine whether to switch between the two antennas to be switched based on the comparison result between the target switching threshold corresponding to the first antenna and the difference in the first reference signal receiving power, preventing the total radiation power after switching from being lower than the total radiation power of the electronic device before switching, improving the accuracy of switching, and thus improving the user experience.
[0112] In a possible example, when the communication characteristic parameters include the conduction power and the antenna efficiency corresponding to the target frequency band, determining the compensation value corresponding to the first antenna according to the communication characteristic parameters of the first antenna and those of the second antenna includes: calculating the compensation value corresponding to the first antenna through the following formula:
[0113] P i +TE i -P j -TE j =Δ ij ;
[0114] Wherein, P i is the conduction power of the first antenna, TE i is the antenna efficiency of the first antenna, P j is the conduction power of the second antenna, TE j is the antenna efficiency of the second antenna, and Δ ij is the compensation value corresponding to the first antenna.
[0115] In specific implementation, if the communication characteristic parameters include the conduction power and the back-off power of the specific absorption rate, at the target frequency band, the communication characteristic parameters of the first antenna include the conduction power of the first antenna and the antenna efficiency of the first antenna, and the communication characteristic parameters of the second antenna include the conduction power of the second antenna and the antenna efficiency of the second antenna. Among them, the calculation order between the communication characteristic parameters of the first antenna and those of the second antenna can be determined according to actual requirements, and specific limitations are not made here. For example, the compensation value corresponding to the first antenna is calculated through the following formula:
[0116] (P i +TE i )-(P j +TE j )=Δ ij ;
[0117] Or (P i -P j )+(TE i -TE j )=Δij ;
[0118] It can be seen that in this example, the compensation value corresponding to the first antenna is determined according to the difference between the communication characteristic parameters of the first antenna and the communication characteristic parameters of the second antenna, so as to compensate for the differences caused by factors such as conduction differences between the first antenna and the second antenna on the main board, obtain the target switching threshold corresponding to the first antenna, improve the accuracy of switching, and thus improve the user experience.
[0119] In a possible example, when the communication characteristic parameters include the back-off power of the specific absorption rate and the antenna efficiency corresponding to the target frequency band, determining the compensation value corresponding to the first antenna according to the communication characteristic parameters of the first antenna and the communication characteristic parameters of the second antenna includes: calculating the compensation value corresponding to the first antenna through the following formula:
[0120] -S i +TE i -(-S j )-TE j =Δ ij ;
[0121] Where, -S i is the back-off power of the specific absorption rate of the first antenna, TE i is the antenna efficiency of the first antenna, -S j is the back-off power of the specific absorption rate of the second antenna, TE j is the antenna efficiency of the second antenna, Δ ij is the compensation value corresponding to the first antenna.
[0122] In specific implementation, in the target frequency band, if it is necessary to switch the first antenna to the second antenna, when the communication characteristic parameters include the back-off power of the specific absorption rate and the antenna efficiency corresponding to the target frequency band, the communication characteristic parameters of the first antenna include the back-off power of the specific absorption rate of the first antenna and the antenna efficiency of the first antenna corresponding to the target frequency band, and the communication characteristic parameters of the second antenna include the back-off power of the specific absorption rate of the second antenna and the antenna efficiency of the second antenna corresponding to the target frequency band. Among them, the calculation order between the communication characteristic parameters of the first antenna and the communication characteristic parameters of the second antenna can be determined according to actual needs, and specific restrictions are not made here. For example, the compensation value corresponding to the first antenna is calculated through the following formula:
[0123] (-S i +TE i )-(-S j +TE j )=Δ ij ;
[0124] Or [(-S i )-(-S j )]+(TEi -TE j ) = Δ ij ;
[0125] Among them, the target handover threshold corresponding to the first antenna is the sum of the compensation value corresponding to the first antenna and the original handover threshold. The specific judgment process for determining whether to switch the first antenna to the second antenna includes: obtaining the first reference signal receiving power of the first antenna and the second reference signal receiving power of the second antenna, determining the difference in the first reference signal receiving power based on the first reference signal receiving power and the second reference signal receiving power, comparing the size of the target handover threshold corresponding to the first antenna with the difference in the first reference signal receiving power. If the difference in the first reference signal receiving power is greater than or equal to the target handover threshold corresponding to the first antenna, then switch the first antenna to the second antenna. The specific comparison formula is:
[0126] RSRP j -RSRP i ≥Δ ij +G;
[0127] It can be seen that in this example, the differences between the communication characteristic parameters of different antennas are compensated. Based on the comparison result between the target handover threshold corresponding to the first antenna and the difference in the first reference signal receiving power, it is determined whether to switch the antenna, preventing the total radiation power of the electronic device after the handover from being lower than the total radiation power of the electronic device before the handover, improving the accuracy of the handover, and thus improving the user experience.
[0128] In a possible example, when the communication characteristic parameter includes the conduction power, the communication characteristic parameter of the first antenna includes the conduction power of the first antenna, and the communication characteristic parameter of the second antenna includes the conduction power of the second antenna. Therefore, the compensation value corresponding to the first antenna is determined based on the difference between the conduction power of the first antenna and the conduction power of the second antenna. The sum of the compensation value corresponding to the first antenna and the original handover threshold is the target handover threshold corresponding to the first antenna. The specific judgment process for determining whether to switch the first antenna to the second antenna includes: obtaining the first reference signal receiving power of the first antenna and the second reference signal receiving power of the second antenna, determining the difference in the first reference signal receiving power based on the first reference signal receiving power and the second reference signal receiving power, comparing the size of the target handover threshold corresponding to the first antenna with the difference in the first reference signal receiving power. If the difference in the first reference signal receiving power is greater than or equal to the target handover threshold corresponding to the first antenna, then switch the first antenna to the second antenna. The specific calculation formula is:
[0129] P i -P j = Δ ij ;
[0130] RSRP j -RSRPi ≥Δ ij +G;
[0131] Wherein, Pi is the conduction power of the first antenna, and P j is the conduction power of the second antenna, and this RSRP i is the first reference signal received power, and RSRP j is the second reference signal received power, and Δ ij is the compensation value corresponding to the first antenna when the communication characteristic parameter includes the conduction power, and G is a preset original handover threshold.
[0132] It can be seen that in this example, by comparing the result of the difference between the target handover threshold corresponding to the first antenna and the first reference signal received power, it is determined whether to switch the antenna, preventing the total radiation power of the antenna after handover from being lower than the total radiation power of the antenna before handover, improving the accuracy of handover, and thus improving the user experience. Among them, the target handover threshold is determined according to the conduction power of the first antenna, the conduction power of the second antenna, and the original handover threshold. By compensating for the conduction difference between the first antenna and the second antenna, it is prevented that after the antenna is switched according to the original handover threshold, due to the influence of the conduction performance, the performance of the electronic device after handover is lower than that before handover, reducing the user experience.
[0133] In a possible example, when the communication characteristic parameter includes the back-off power of the specific absorption rate, the communication characteristic parameter of the first antenna includes the back-off power of the specific absorption rate of the first antenna, and the communication characteristic parameter of the second antenna includes the back-off power of the specific absorption rate of the second antenna. The compensation value corresponding to the first antenna is determined according to the back-off power of the specific absorption rate of the first antenna and the back-off power of the specific absorption rate corresponding to the second antenna. The sum of the compensation value corresponding to the first antenna and the original handover threshold is the target handover threshold corresponding to the first antenna. Compare the magnitude of the difference between the target handover threshold corresponding to the first antenna and the first reference signal received power. If the difference of the first reference signal received power is greater than or equal to the target handover threshold corresponding to the first antenna, then switch the first antenna to the second antenna. The specific calculation formula is:
[0134] -S i -(-S j ) = Δ ij ;
[0135] RSRP j -RSRP i ≥Δ ij +G;
[0136] Wherein, -S i is the back-off power of the specific absorption rate of the first antenna, -S j is the back-off power of the specific absorption rate of the second antenna, and this RSRP iis the received signal strength of the first reference signal, RSRP j is the received signal strength of the second reference signal, Δ ij When it is the fallback power of the communication characteristic parameter including the specific absorption rate, the compensation value corresponding to the first antenna, and G is the preset original handover threshold.
[0137] It can be seen that in this example, by comparing the result of the difference between the target handover threshold corresponding to the first antenna and the received signal strength of the first reference signal, it is determined whether to switch the antenna, preventing the total radiation power of the electronic device after the antenna switch from being lower than the total radiation power before the switch, improving the accuracy of the handover judgment, and thus improving the user experience.
[0138] In a possible example, when the communication characteristic parameter includes the antenna efficiency corresponding to the target frequency band, the communication characteristic parameter of the first antenna includes the antenna efficiency of the first antenna, and the communication characteristic parameter of the second antenna includes the antenna efficiency of the second antenna. Therefore, the compensation value of the first antenna is determined according to the antenna efficiency of the first antenna and the antenna efficiency of the second antenna. The sum of the compensation value corresponding to the first antenna and the original handover threshold is the target handover threshold corresponding to the first antenna. The received signal strength of the first reference signal of the first antenna and the received signal strength of the second reference signal of the second antenna are obtained, and the difference in the received signal strength of the first reference signal is calculated. The size of the difference in the received signal strength of the first reference signal and the target handover threshold corresponding to the first antenna is compared. If the difference in the received signal strength of the first reference signal is greater than or equal to the target handover threshold corresponding to the first antenna, the first antenna is switched to the second antenna. The specific calculation formula is:
[0139] TE i -TE j =Δ ij ;
[0140] RSRP j -RSRP i ≥Δ ij +G;
[0141] Wherein, TE i is the antenna efficiency of the first antenna, TE j is the antenna efficiency of the second antenna, and this RSRP i is the received signal strength of the first reference signal, RSRP j is the received signal strength of the second reference signal, Δ ij is the compensation value corresponding to the first antenna when the communication characteristic parameter includes the antenna efficiency, and G is the preset original handover threshold.
[0142] It can be seen that in this example, the target switching threshold corresponding to the first antenna is determined according to the antenna efficiency of the first antenna, the antenna efficiency of the second antenna, and the original switching threshold. By comparing the obtained difference in the received power of the first reference signal with the target switching threshold corresponding to the first antenna, it is determined whether to switch the antenna, preventing the total radiation power of the antenna after switching from being lower than that of the antenna before switching, improving the accuracy of switching, and thus improving the user experience.
[0143] It can be understood that the steps of obtaining the target switching threshold corresponding to the first antenna and the target switching threshold corresponding to the second antenna can be executed on the electronic device and obtained through the electronic device; the target switching threshold corresponding to the first antenna and the target switching threshold corresponding to the second antenna can also be executed on other devices with transmission functions and transmitted to the electronic device, enabling the electronic device to perform the determination process with the difference in the received power of the first reference signal and decide whether to switch the antenna. The execution device of the steps of obtaining the target switching threshold corresponding to the first antenna and the target switching threshold corresponding to the second antenna is not limited here.
[0144] An embodiment of the present application provides an antenna switching device, and this determination device can be an electronic device. Specifically, the antenna switching device is used to execute the steps performed by the electronic device in the above antenna switching method. The antenna switching device provided by the embodiment of the present application may include modules corresponding to the respective steps.
[0145] The embodiment of the present application can divide the positioning display control device into functional modules according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. The division of modules in the embodiment of the present application is illustrative, only a logical function division, and there can be other division methods in actual implementation.
[0146] In the case of dividing each functional module corresponding to each function, please refer to Figure 3 , Figure 3 is a block diagram of the functional units of an antenna switching device provided by an embodiment of the present application. The antenna switching device includes:
[0147] An obtaining unit 310, configured to obtain the received power of the first reference signal of the first antenna in the target frequency band and the received power of the second reference signal of the second antenna in the target frequency band, where the first antenna and the second antenna are antennas among at least two antennas supported by the electronic device for mutual switching;
[0148] A determining unit 320, configured to determine the difference in the received power of the first reference signal between the received power of the first reference signal and the received power of the second reference signal;
[0149] A switching unit 330, configured to switch the first antenna to the second antenna. The target switching threshold corresponding to the first antenna is a switching threshold value obtained by compensating the original switching threshold according to the difference between the second influence degree and the first influence degree. The first influence degree is the influence degree of the communication characteristic parameter of the first antenna on the total radiation power of the electronic device, and the second influence degree is the influence degree of the communication characteristic parameter of the second antenna on the total radiation power of the electronic device. The communication characteristic parameter includes at least one of the following: conduction power, back-off power of specific absorption rate, and antenna efficiency, where the antenna efficiency is used to characterize the antenna transceiver performance of the antenna in the target frequency band.
[0150] In a possible example, the target switching threshold corresponding to the first antenna is determined through the following steps: determining a compensation value corresponding to the first antenna according to the communication characteristic parameter of the first antenna and the communication characteristic parameter of the second antenna, where the compensation value corresponding to the first antenna is used to characterize the difference between the second influence degree and the first influence degree; and determining the target switching threshold corresponding to the first antenna according to the original switching threshold and the compensation value corresponding to the first antenna.
[0151] In a possible example, when the communication characteristic parameter includes conduction power, back-off power of specific absorption rate, and antenna efficiency corresponding to the target frequency band, determining the compensation value corresponding to the first antenna according to the communication characteristic parameter of the first antenna and the communication characteristic parameter of the second antenna includes: calculating the compensation value corresponding to the first antenna through the following formula:
[0152] P i +(-S i )+TE i -P j -(-S j )-TE j =Δ ij ;
[0153] where, the P i is the conduction power of the first antenna, the -S i is the back-off power of specific absorption rate of the first antenna, the TE i is the antenna efficiency of the first antenna, the P j is the conduction power of the second antenna, the -S j is the back-off power of specific absorption rate of the second antenna, the TE j is the antenna efficiency of the second antenna, and the Δ ij is the compensation value corresponding to the first antenna when the first antenna is switched to the second antenna.
[0154] In a possible example, determining the target handover threshold corresponding to the first antenna according to the compensation value corresponding to the first antenna and the original handover threshold includes: obtaining the sum of the original handover threshold and the compensation value corresponding to the first antenna, and the sum is the target handover threshold corresponding to the first antenna.
[0155] In a possible example, the determining unit 320 is further configured to obtain the difference between the second reference signal reception power and the first reference signal reception power, and the difference is the first reference signal reception power difference.
[0156] In a possible example, after switching the first antenna to the second antenna, it further includes: obtaining the difference between the first reference signal reception power and the second reference signal reception power, and the difference is the second reference signal reception power difference; if the second reference signal reception power difference is greater than or equal to the target handover threshold corresponding to the second antenna, switching the second antenna to the first antenna, and the target handover threshold corresponding to the second antenna is the handover threshold value obtained by compensating the original handover threshold according to the difference between the first influence degree and the second influence degree.
[0157] In a possible example, when the communication characteristic parameters include the conduction power, the back-off power of the specific absorption rate, and the antenna efficiency corresponding to the target frequency band, the target handover threshold corresponding to the second antenna is determined through the following steps: calculating the compensation value corresponding to the second antenna through the following formula:
[0158] P j +(-S j )+TE j -P i -(-S i )-TE i =Δ ji ;
[0159] wherein, the Δ ji is the compensation value corresponding to the second antenna when the second antenna is switched to the first antenna, and the compensation value corresponding to the second antenna is used to characterize the difference between the first influence degree and the second influence degree; and determining the target handover threshold corresponding to the second antenna according to the original handover threshold and the compensation value corresponding to the second antenna.
[0160] Please refer to Figure 4 shown in Figure 4 is a schematic diagram of another electronic device provided by an embodiment of the present application. As Figure 4 shown, an embodiment of the present application further provides an electronic device, including:
[0161] An antenna assembly, including a first antenna 410, a second antenna 420, a third antenna 430... an Nth antenna. The antennas in this antenna assembly are devices for transmitting or receiving electromagnetic waves and are used for information interaction.
[0162] A wireless communication module 440, electrically connected to the antenna assembly, is configured to: obtain a first reference signal reception power of the first antenna in a target frequency band and a second reference signal reception power of the second antenna in the target frequency band. The first antenna and the second antenna are antennas among at least two antennas of an electronic device that support mutual switching; and determine a first reference signal reception power difference between the first reference signal reception power and the second reference signal reception power; and if the first reference signal reception power difference is greater than or equal to a target switching threshold corresponding to the first antenna, switch the first antenna to the second antenna. The target switching threshold corresponding to the first antenna is a switching threshold value obtained by compensating the original switching threshold according to the difference between the second influence degree and the first influence degree. The first influence degree is the influence degree of the communication characteristic parameter of the first antenna on the total radiation power of the electronic device, and the second influence degree is the influence degree of the communication characteristic parameter of the second antenna on the total radiation power of the electronic device. The communication characteristic parameter includes at least one of the following: conduction power, back-off power of specific absorption rate, and antenna efficiency. The antenna efficiency is used to characterize the antenna transceiver performance of the antenna in the target frequency band.
[0163] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired or wireless manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more collections of available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. The semiconductor media can be a solid-state drive.
[0164] An embodiment of the present application also provides a computer storage medium. The computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute some or all of the steps of any one of the methods described in the foregoing method embodiments. The aforementioned computer includes an electronic device.
[0165] An embodiment of the present application also provides a computer program product. The computer program product includes a computer program, and the computer program is operable to enable a computer to execute some or all of the steps of any one of the methods described in the foregoing method embodiments.
[0166] The computer program product can be a software installation package, and the aforementioned computer includes an electronic device.
[0167] It should be understood that in various embodiments of the present application, the magnitudes of the serial numbers of the foregoing processes do not mean the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0168] In several embodiments provided by the present application, it should be understood that the disclosed methods, devices, and systems can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.
[0169] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0170] In addition, in each embodiment of the present invention, the functional units can be integrated into one processing unit, or each unit can be physically included separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0171] The integrated unit implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs.
[0172] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including combinations of the above different functions and implementation steps, including software and hardware implementation manners, all within the protection scope of the present invention.
Claims
1. An antenna switching method, characterized in that, Including: Obtain a first reference signal reception power of a first antenna in a target frequency band and a second reference signal reception power of a second antenna in the target frequency band, where the first antenna and the second antenna are antennas among at least two antennas supported by an electronic device for mutual switching; Determine a first reference signal reception power difference between the first reference signal reception power and the second reference signal reception power; Add the conduction power of the first antenna to the back-off power of the specific absorption rate of the first antenna to obtain a first value; And obtain a first added value by adding the first value to the antenna efficiency of the first antenna; and add the conduction power of the second antenna to the back-off power of the specific absorption rate of the second antenna to obtain a second value; And obtain a second added value by adding the second value to the antenna efficiency of the second antenna; and calculate a compensation value corresponding to the first antenna by subtracting the second added value from the first added value, where the compensation value corresponding to the first antenna is used to characterize the influence difference of the communication characteristic parameters of the second antenna relative to the communication characteristic parameters of the first antenna on the total radiation power of the electronic device; and determine the sum of the original switching threshold and the compensation value corresponding to the first antenna as the target switching threshold corresponding to the first antenna; If the first reference signal reception power difference is greater than or equal to the target switching threshold corresponding to the first antenna, switch the first antenna to the second antenna.
2. The antenna switching method according to claim 1, characterized in that The determining the first reference signal reception power difference between the first reference signal reception power and the second reference signal reception power includes: Obtain a difference obtained by subtracting the first reference signal reception power from the second reference signal reception power, and the difference is the first reference signal reception power difference.
3. The antenna switching method according to claim 1, wherein After switching the first antenna to the second antenna, it further includes: Obtain a difference obtained by subtracting the second reference signal reception power from the first reference signal reception power, and the difference is the second reference signal reception power difference; If the second reference signal reception power difference is greater than or equal to the target switching threshold corresponding to the second antenna, switch the second antenna to the first antenna, and the target switching threshold corresponding to the second antenna is a switching threshold value obtained by compensating the original switching threshold according to the difference between the first influence degree and the second influence degree.
4. The antenna switching method according to claim 3, wherein When the communication characteristic parameters include conduction power, back-off power of specific absorption rate, and antenna efficiency corresponding to the target frequency band, the target switching threshold corresponding to the second antenna is determined through the following steps: Calculate the compensation value corresponding to the second antenna through the following formula: P j +( - S j ) + TE j - P i -( - S i ) - TE i = Δ ji ; wherein, the P j is the conduction power of the second antenna, the -S j is the back-off power of the specific absorption rate of the second antenna, the TE j is the antenna efficiency of the second antenna, the P i is the conduction power of the first antenna, the -S i is the back-off power of the specific absorption rate of the first antenna, the TE i is the antenna efficiency of the first antenna, the Δ j i is the compensation value corresponding to the second antenna when the second antenna is switched to the first antenna, and the compensation value corresponding to the second antenna is used to characterize the difference between the first influence degree and the second influence degree; Determine the target switching threshold corresponding to the second antenna according to the original switching threshold and the compensation value corresponding to the second antenna.
5. An antenna switching device, characterized in that, Including: An obtaining unit, configured to obtain a first reference signal reception power of a first antenna in a target frequency band and a second reference signal reception power of a second antenna in the target frequency band, where the first antenna and the second antenna are antennas among at least two antennas supported by an electronic device for mutual switching; A determination unit, configured to determine a first reference signal reception power difference between the first reference signal reception power and the second reference signal reception power; A switching unit, configured to obtain a first value by adding the conduction power of the first antenna and the back-off power of the specific absorption rate of the first antenna; And, obtain a first added value by adding the first value and the antenna efficiency of the first antenna; and, obtain a second value by adding the conduction power of the second antenna and the back-off power of the specific absorption rate of the second antenna; And, obtain a second added value by adding the second value and the antenna efficiency of the second antenna; and, calculate a compensation value corresponding to the first antenna by subtracting the second added value from the first added value, where the compensation value corresponding to the first antenna is used to characterize the influence difference of the communication characteristic parameters of the second antenna relative to the communication characteristic parameters of the first antenna on the total radiation power of the electronic device; and, determine the sum of the original switching threshold and the compensation value corresponding to the first antenna as the target switching threshold corresponding to the first antenna; if the first reference signal reception power difference is greater than or equal to the target switching threshold corresponding to the first antenna, then switch the first antenna to the second antenna.
6. An electronic device, characterized in that, The electronic device includes: One or more processors; One or more memories, configured to store programs, The one or more memories and the programs are configured to control the device by the one or more processors to execute the steps in the method according to any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, A computer program stored for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-4.
Citation Information
Patent Citations
Antenna switching system with adaptive switching criteria
CN103797726A
Antenna switching method and device and electronic equipment
CN113395084A