Antenna control method and electronic device

By obtaining and analyzing the amount of antenna interference in electronic equipment, and performing antenna switching and adjustment according to the preset sequence and a priori data, the problem of mutual interference between antennas is solved and the communication performance of the equipment is improved.

CN117728866BActive Publication Date: 2024-10-08HONOR DEVICE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202310648004.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-10-08
Estimated Expiration
2043-05-31

AI Technical Summary

Technical Problem

In electronic devices, antennas for cellular signals and positioning signals with small frequency differences can easily interfere with each other when working at the same time, causing the device to be unable to communicate properly and affecting user experience.

Method used

By obtaining the interference amount of each antenna, switching the non-working antenna to the working antenna according to the preset order until the interference amount is less than the preset threshold, and adjusting the resonant frequency and power of the antenna based on a priori data to reduce interference.

Benefits of technology

It effectively reduces interference between antennas, ensures a comprehensive communication experience for electronic devices, and improves the normal use of positioning functions and cellular communication functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117728866B_ABST
    Figure CN117728866B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides an antenna control method and an electronic device, which can reduce the interference between different antennas when working at the same time, and ensure the comprehensive communication experience of the electronic device. The method includes: obtaining the interference amount of the first antenna to the working antenna. The working antenna is an antenna in a working state among multiple second antennas. The interference amount is the reduction of the first carrier-to-noise ratio compared to the second carrier-to-noise ratio. The first carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmission power when the first antenna is working. The second carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at the current transmission power and the current transmission power when the first antenna is not working. When the interference amount is greater than or equal to the first preset threshold, the antennas that are not in a working state in the second antenna are switched to working antennas in sequence according to a preset order until the interference amount is less than the first preset threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and in particular to an antenna control method and electronic equipment. Background Art

[0002] In electronic devices such as mobile phones, multiple antennas are usually set to support various communication modes such as cellular and WIFI (Wireless-Fidelity). Taking electronic devices that support cellular communication and positioning as an example, such electronic devices need to be equipped with both cellular antennas that support sending and receiving cellular signals and positioning antennas that support receiving positioning signals. In the embodiments of the present application, the positioning signal refers to the radio frequency signal in the frequency band supported by systems used for navigation or positioning, such as the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), and the Beidou Navigation Satellite System (BDS).

[0003] However, when antennas corresponding to signals with small frequency differences operate simultaneously, they may interfere with each other, causing electronic devices to not communicate properly and impacting the user experience. For example, positioning signals in some frequency bands and cellular signals in others have small frequency differences. Therefore, the corresponding positioning antennas and cellular antennas are prone to mutual interference when operating, resulting in the electronic device's positioning and cellular communication functions not functioning properly. Summary of the Invention

[0004] The embodiments of the present application provide an antenna control method and an electronic device, which can reduce the interference between different antennas when they work simultaneously, and ensure the comprehensive communication experience of the electronic device.

[0005] In order to achieve the above objectives, the embodiments of the present application adopt the following technical solutions.

[0006] In a first aspect, an antenna control method is provided for use in an electronic device, the electronic device comprising a first antenna and multiple second antennas. The antenna control method comprises: obtaining an amount of interference from the first antenna to a working antenna. The working antenna is an antenna in a working state among the multiple second antennas. The amount of interference is the reduction in a first carrier-to-noise ratio compared to a second carrier-to-noise ratio. The first carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at a current operating frequency band and a current transmit power when the first antenna is operating. The second carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at a current operating frequency band and a current transmit power when the first antenna is not operating. When the amount of interference is greater than or equal to a first preset threshold, antennas in the second antennas that are not in a working state are switched to working antennas in sequence according to a preset order until the amount of interference is less than the first preset threshold.

[0007] Based on this solution, after the working antenna is switched, the interference amount of the first antenna on the new working antenna is less than the interference amount of the first antenna on the original working antenna. In this way, the interference between the first antenna and the working antenna can be reduced, ensuring the comprehensive communication experience of the electronic device.

[0008] In one possible design, the method further includes: when the amount of interference from the first antenna to each second antenna is greater than or equal to a first preset threshold, switching the antenna among the second antennas that receives the least interference from the first antenna to become the working antenna. Based on this solution, the interference between the first antenna and the working antenna can be minimized.

[0009] In one possible design, first a priori data is stored in an electronic device. The first a priori data is used to indicate the relationship between the radiation efficiency and frequency of the first antenna at different resonant frequencies. The method also includes: when the interference amount is within a first preset interval, obtaining the first a priori data. The maximum value of the first preset interval is less than or equal to a first preset threshold. The minimum value of the first preset interval is greater than zero. The resonant frequency of the first antenna is adjusted according to the first a priori data to improve the radiation efficiency of the first antenna in the operating frequency band. Based on this solution, the radiation efficiency of the first antenna can be effectively improved, thereby reducing the interference of the working antenna on the first antenna.

[0010] In one possible design, adjusting the resonant frequency of the first antenna based on first a priori data includes obtaining a first resonant frequency corresponding to the maximum radiation efficiency in the operating frequency band of the first antenna according to the first a priori data. Adjusting the resonant frequency of the first antenna to the first resonant frequency is achieved. This approach maximizes the radiation efficiency of the first antenna, thereby minimizing interference from the working antenna on the first antenna.

[0011] In one possible design, second a priori data is stored in the electronic device. The second a priori data is used to indicate the isolation between the first antenna and the working antenna at different resonant frequencies. The method also includes: when the interference amount is within a first preset interval, obtaining the second a priori data. The maximum value of the first preset interval is less than or equal to the first preset threshold. The minimum value of the first preset interval is greater than zero. The resonant frequency of the first antenna is adjusted according to the second a priori data to improve the isolation between the first antenna and the working antenna. Based on this solution, the mutual interference between the first antenna and the working antenna can be reduced by improving the isolation between the first antenna and the working antenna.

[0012] In one possible design, adjusting the resonant frequency of the first antenna based on second a priori data includes obtaining a second resonant frequency corresponding to the maximum isolation between the first antenna and the working antenna in the second a priori data. Adjusting the resonant frequency of the first antenna to the second resonant frequency is crucial. This approach maximizes the isolation between the first antenna and the working antenna, thereby minimizing mutual interference between the two antennas.

[0013] In one possible design, the electronic device further stores third a priori data. The third a priori data includes the reduction in the carrier-to-noise ratio of each second antenna at different frequency bands and different transmit powers when the first antenna is working compared to when it is not working. Before obtaining the amount of interference of the first antenna on the working antenna, the method further includes: obtaining the working status of the first antenna and each second antenna. The working status is used to indicate whether the antenna is currently working. When the first antenna is working and there is a working antenna among the multiple second antennas, the third a priori data, the current working frequency band of the working antenna, and the current transmit power of the working antenna are obtained. Obtaining the amount of interference of the first antenna on the working antenna includes: determining the reduction in the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmit power as the interference amount based on the third a priori data, the current working frequency band of the working antenna, and the current transmit power of the working antenna. Based on this solution, the amount of interference of the first antenna on the working antenna can be obtained quickly and accurately.

[0014] In a possible design, the electronic device further stores third a priori data. The third a priori data includes the reduction in the carrier-to-noise ratio of each second antenna in different frequency bands and different transmission powers when the first antenna is working compared to when it is not working. The method also includes: when the interference amount is in a second preset interval, obtaining the third a priori data and the current working frequency band of the working antenna. The minimum value of the second preset interval is greater than zero, and the maximum value of the second preset interval is less than the first preset threshold. The power upper limit value of the working antenna in the current working frequency band is adjusted according to the third a priori data. To reduce the reduction in the carrier-to-noise ratio of the working antenna in the current working frequency band. Based on this solution, the mutual interference between the working antenna and the first antenna can be reduced by reducing the power upper limit value of the working antenna.

[0015] In one possible design, adjusting the upper power limit of the working antenna in the current operating frequency band based on third a priori data includes obtaining the maximum transmit power corresponding to the working antenna in the current operating frequency band when the carrier-to-noise ratio reduction is less than a second preset interval, as determined in the third a priori data. Adjusting the upper power limit of the working antenna to the maximum transmit power. Based on this solution, the impact of the reduced transmit power on the working antenna can be minimized while reducing mutual interference between the working antenna and the first antenna.

[0016] In one possible design, antennas in the second antenna that are not in operation are switched to working antennas in a preset order until the interference level is less than a first preset threshold. This includes switching antennas in the second antenna that are not in operation to working antennas in a preset order, and obtaining the interference level of the first antenna on the new working antenna after each switch completes for a preset duration. If the interference level of the first antenna on the new working antenna is greater than or equal to the first preset threshold, antennas in the second antenna that are not in operation are continued to be switched to working antennas in a preset order until the interference level is less than the first preset threshold. This solution can improve the accuracy of the acquired data, thereby enhancing antenna control efficiency.

[0017] In one possible design, the electronic device is a foldable electronic device. Before obtaining the amount of interference of the first antenna on the working antenna, the method also includes: obtaining status information of the electronic device. The status information is used to indicate whether the electronic device is in a folded state. Obtaining the amount of interference of the first antenna on the working antenna includes: when the electronic device is in a folded state, obtaining the amount of interference of the first antenna on the working antenna. Based on this solution, when the foldable electronic device is in a folded state, the probability of mutual interference between the first antenna and the working antenna is relatively high. Therefore, the amount of interference of the first antenna on the working antenna can be obtained when the foldable electronic device is in a folded state, so as to reduce the interference amount through the antenna control method provided in the embodiment of the present application.

[0018] In one possible design, the operating frequency band of the first antenna is a frequency band corresponding to the global positioning system. The operating frequency band of the second antenna is a frequency band corresponding to cellular communication. Based on this solution, the antenna control method provided in the embodiment of the present application can have a wider range of application scenarios.

[0019] In a second aspect, an antenna control circuit is provided for use in an electronic device. The antenna control circuit includes a control chip, a radio frequency module, a first antenna, and multiple second antennas. The control chip is connected to the radio frequency module and each second antenna, respectively. The radio frequency module is also connected to the first antenna. The control chip is configured to obtain the amount of interference from the first antenna to the working antenna. The working antenna is an antenna in operation among the multiple second antennas. The interference amount is the reduction in the first carrier-to-noise ratio compared to the second carrier-to-noise ratio. The first carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at the current operating frequency band and current transmit power when the first antenna is operating. The second carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at the current operating frequency band and current transmit power when the first antenna is not operating. The radio frequency module is configured to provide the control chip with the current operating frequency band of the working antenna. The control chip is further configured to, when the interference amount is greater than or equal to a first preset threshold, sequentially switch the antennas in the second antenna that are not in operation to the working antennas according to a preset order until the interference amount falls below the first preset threshold.

[0020] In a third aspect, an electronic device is provided. The electronic device includes one or more processors, one or more memories, and multiple antennas. The one or more memories are coupled to the one or more processors, and the one or more memories store computer instructions. The multiple antennas are connected to the one or more processors. When the one or more processors execute the computer instructions, the electronic device performs the antenna control method described in any one of the first aspects.

[0021] In a fourth aspect, an electronic device is provided, comprising a battery and the antenna control circuit according to the third aspect, wherein the battery is connected to the control chip and the radio frequency module, respectively, for supplying power to the control chip and the radio frequency module, respectively.

[0022] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes computer instructions. When the computer instructions are executed, the antenna control method as described in any one of the first aspects is executed.

[0023] In a sixth aspect, a computer program product is provided, which includes instructions. When the computer program product runs on a computer, the computer can execute the antenna control method of any one of the first aspects according to the instructions.

[0024] In a seventh aspect, a chip system is provided, wherein the chip includes a processing circuit and an interface. The processing circuit is configured to call and run a computer program stored in a storage medium to execute the antenna control method according to any one of the first aspects.

[0025] It should be understood that the technical solutions provided in the above-mentioned second, third, fourth, fifth, sixth and seventh aspects, and their technical features can all correspond to the antenna control method provided in the first aspect and its possible design, so the beneficial effects that can be achieved are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of an antenna in a mobile phone;

[0027] Figure 2 A schematic diagram of a foldable screen mobile phone after folding;

[0028] Figure 3 A schematic diagram of an electronic device provided in an embodiment of the present application;

[0029] Figure 4 A flowchart of an antenna control method provided in an embodiment of the present application;

[0030] Figure 5 A schematic diagram of a preset sequence provided in an embodiment of the present application;

[0031] Figure 6A flow chart of switching a working antenna provided in an embodiment of the present application;

[0032] Figure 7 A schematic diagram of first priori data provided in an embodiment of the present application;

[0033] Figure 8 A flow chart of a method for adjusting the upper limit of the power of a working antenna provided in an embodiment of the present application;

[0034] Figure 9 A schematic diagram of an antenna control circuit provided in an embodiment of the present application;

[0035] Figure 10 A schematic diagram of the composition of an electronic device provided in an embodiment of the present application;

[0036] Figure 11 A schematic diagram of the composition of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In the embodiments of the present application, the terms "first," "second," and "third" are used to distinguish different objects rather than to define a specific order. In addition, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.

[0038] For ease of understanding, some terms in the embodiments of this application are first explained below.

[0039] Cellular communication: also known as cellular mobile communication (CMC), refers to a communication method that uses cellular wireless networking to establish a wireless channel between terminal devices and network devices to achieve communication between users. In the embodiment of the present application, cellular communication may include at least 1G (1st Generation Mobile

[0040] Communication System, the first generation of mobile communication system) communication, 2G (2nd Generation Mobile

[0041] Communication System, Second Generation Mobile Communication System) Communication, 3G (3rd Generation Mobile

[0042] Communication System, 4G (4th Generation Mobile

[0043] Communication System, 5G (5th Generation Mobile Communication System)

[0044] Communication System, fifth-generation mobile communication system) communications in one or more.

[0045] Cellular signal: A radio frequency signal within the frequency band supported by cellular communications. Frequency bands supported by cellular communications include, but are not limited to, B1 (1920MHz-2170MHz), B3 (1710MHz-1880MHz), B34 (2010MHz-2025MHz), and B39 (1880MHz-1920MHz).

[0046] Positioning signal: A radio frequency signal within the frequency band supported by navigation or positioning systems such as GPS, GLONASS, and BDS. Taking GPS as an example, the frequency bands supported by GPS include L1 (1575.42 MHz ± 1.023 MHz) and L5 (1176.45 MHz ± 1.023 MHz). Therefore, radio frequency signals within the L1 or L5 bands can be called positioning signals. Among them, radio frequency signals within the frequency band supported by GPS can be called GPS signals.

[0047] Cellular antenna: An antenna used to send and receive cellular signals.

[0048] Positioning antenna: An antenna used to receive positioning signals. An antenna used to receive GPS signals is also called a GPS antenna.

[0049] Based on the above explanations of the terms, several possible application scenarios of the embodiments of the present application are introduced below.

[0050] In electronic devices such as mobile phones and tablets, many antennas are usually installed to meet various communication needs such as cellular communication, Wi-Fi communication, and positioning. These antennas are distributed in different locations in the electronic device based on factors such as isolation requirements and the amount of space they occupy. Among them, GPS antennas are usually installed in the same area. In the embodiments of the present application, GPS antennas installed in the same area can be regarded as one antenna. There are usually multiple cellular antennas, which are distributed in different locations of the electronic device to support different cellular frequency bands.

[0051] Taking mobile phones as an example, please refer to Figure 1 , is a schematic diagram of an antenna in a mobile phone. Figure 1As shown, the mobile phone may include antenna a, antenna b, antenna c, antenna d and antenna f.

[0052] It should be understood that Figure 1 The antennas shown are only used to identify the distribution of antennas and do not represent the shape or structure of antennas in electronic devices. For example, if antenna a is a GPS antenna, this means that there are GPS antennas distributed in the shaded area corresponding to antenna a. However, this embodiment does not impose any restrictions on the shape or structure of the GPS antennas in the shaded area.

[0053] In one possible scenario, based on space requirements or other considerations, antenna a is a GPS antenna, used to receive GPS signals in the L1 band. Antennas b, c, f, and d are cellular antennas, used to transmit and receive cellular signals in the B3 band. Antenna f is the primary transmitting antenna for each cellular antenna, meaning that in most scenarios, cellular signals are transmitted and received via antenna f.

[0054] Because the L1 and B3 bands have a small frequency difference, antennas a and f may interfere with each other when operating simultaneously. For example, a B3 band cellular signal could interfere with antenna a's reception of an L1 band GPS signal, or an L1 band GPS signal could interfere with antenna f's reception of a B3 band cellular signal.

[0055] To address the above issues, the antenna control method provided in the embodiments of the present application can be used to reduce the mutual interference between the GPS antenna and the cellular antenna during operation.

[0056] It should be understood that the above examples of mutual interference frequency bands are only for clarification and do not mean that the present application is limited thereto.

[0057] In another possible scenario, based on the required isolation between the cellular and GPS antennas, antenna a can be used as the GPS antenna, and antenna d as the primary cellular antenna. Because antenna d is physically farther away from antenna a, this design provides higher isolation and minimizes mutual interference.

[0058] However, with the development of electronic device form factors, foldable electronic devices are becoming increasingly popular. Foldable electronic devices refer to foldable electronic devices, such as foldable screen mobile phones, foldable screen tablets, and foldable computers. Furthermore, foldable devices can fold inward, outward, two-stage, three-stage, longitudinal, transverse, or a combination of these folding types, and the present application does not specifically limit this.

[0059] When a foldable device is folded, the physical distance between antennas may become closer, resulting in poor isolation between antennas and increased mutual interference.

[0060] by Figure 1 Take the mobile phone shown in the figure as an example. Figure 1 The mobile phone shown is a foldable screen mobile phone that can be folded vertically. The folded shape can be as follows Figure 2 shown.

[0061] Please refer to Figure 2 , it can be seen that Figure 1 When the phone is folded vertically, the previously distant antennas A and D become very close. This creates significant interference when both antennas A and D operate simultaneously, disrupting both the phone's positioning and cellular communication functions.

[0062] To address the above issues, the antenna control method provided in the embodiments of the present application can also be used to reduce the mutual interference between the GPS antenna and the cellular antenna during operation, so as to ensure the comprehensive communication experience of the electronic device.

[0063] The above provides two possible application scenarios of the antenna control method provided in the embodiment of the present application. It should be understood that the above description of the application scenario is merely exemplary, and the antenna control method provided in the embodiment of the present application can also be used to solve the problem of large mutual interference between antennas in other application scenarios, which will not be described in detail here.

[0064] In the embodiment of the present application, the electronic device may be a portable terminal equipped with multiple antennas and having functions such as cellular communication, navigation, and positioning, such as a mobile phone, a tablet computer, a wearable device (such as a smart watch), a vehicle-mounted device, etc. Exemplary embodiments of the portable terminal include but are not limited to a portable terminal equipped with Or a portable terminal with other operating systems. The portable terminal may also be a laptop computer, etc. It should also be understood that in some other embodiments, the terminal may also be a desktop computer.

[0065] like Figure 3 As shown, the electronic device 300 may include a processor 301, a communication module 302, a control chip 303, multiple antennas 304, etc.

[0066] The processor 301 may include one or more processing units. For example, the processor 301 may include an application processor 311 (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video stream codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors 301.

[0067] The controller can be the nerve center and command center of the electronic device 300. The controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of instruction fetching and execution.

[0068] Processor 301 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 301 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 301. If processor 301 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 301's latency, and thus improves system efficiency.

[0069] The processor 301 may be connected to the communication module 302 to control the communication module 302 to transmit and receive radio frequency signals via the antenna 304 .

[0070] The communication module 302 may include a radio frequency chip 312 and a radio frequency front end 322. The radio frequency chip 312 may be configured to receive and process radio frequency signals received by the antenna 304 or provide an excitation signal to the radio frequency front end 322. The radio frequency front end 322 may be configured to receive radio frequency signals received by the antenna 304 and transmit them to the radio frequency signal 312 after filtering or other processing; or to receive excitation signals transmitted by the radio frequency chip 312 and transmit them to the antenna 304 after power amplification or other processing.

[0071] In the embodiment of the present application, the RF chip 312 may be an RFIC (Radio Frequency Integrated Circuit). The antenna 304 may include a cellular antenna, a GPS antenna, etc. The RF front end 322 may include a filter, a power amplifier, an LNA (Low Noise Amplifier), etc.

[0072] The control chip 303 can be connected to the RF chip 312 through the mobile industry processor interface (MIPI) to obtain information such as the current operating frequency band of the antenna 304. The control chip 303 can also be connected to the application processor 311 or to the RF front end 322 through the general-purpose input / output (GPIO) interface ( Figure 3 The control chip 303 can also be connected to the application processor 311 via a serial peripheral interface (SPI) to obtain status information of whether the electronic device is in a folded state when the electronic device is a foldable electronic device. The control chip 303 can also be coupled to the RF line from the antenna 304 to the RF front end 322 via a coupler 305 to obtain information such as the current transmit power of the antenna 304.

[0073] Antenna 304 is used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 300 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.

[0074] The antenna 304 may be provided with a plurality of tuning switches or tuning circuits for adjusting the resonant frequency of the corresponding antenna.

[0075] In some embodiments, at least some functional modules of the communication module 302 may be provided in the processor 301. In some embodiments, at least some functional modules of the communication module 302 may be provided in the same device as at least some functional modules of the processor 301.

[0076] It should be noted that the antenna control method provided in the embodiment of the present application is executed in the aforementioned control chip 303. The control chip 303 is independent of the existing hardware platform, the modem platform, and the RF chip 312 in the electronic device, thus avoiding the situation where the platform is limited and the current transmit power and current operating frequency band of the antenna cannot be obtained, thereby improving the efficiency of antenna control.

[0077] It should be understood that the functions of the above-mentioned control chip 303 can also be integrated into existing hardware of the electronic device, such as a modem or a processor, and no specific limitation is made here.

[0078] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 300. In other embodiments, the electronic device 300 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0079] The following describes the antenna control method provided in the embodiment of the present application based on the hardware architecture of the above-mentioned electronic device.

[0080] As described in the above embodiments, the antenna control method can be applied to the control chip 303 in the electronic device 300. The antenna 304 in the electronic device 300 can include a first antenna and a plurality of second antennas.

[0081] For example, the first antenna can be a GPS antenna, and the second antenna can be a cellular antenna for transmitting and receiving cellular signals in frequency bands such as B1, B3, and B39. In this case, when the first and second antennas operate simultaneously, they may interfere with each other, causing the electronic device's cellular communication and positioning functions to not function properly.

[0082] In addition, the position of the first antenna in the electronic device can be as shown by antenna a in 1, and the position of each second antenna can be as shown by Figure 1 As shown in the figure, antenna b, antenna c, antenna d, antenna f, etc.

[0083] Please refer to Figure 4 , is a flow chart of an antenna control method provided in an embodiment of the present application. Figure 4 As shown, the process of the method includes the following steps.

[0084] S401: Obtain the working status of the first antenna and each second antenna.

[0085] In the embodiments of the present application, the operating status of an antenna refers to whether the antenna is currently operating. For example, if the antenna is currently transmitting or receiving radio frequency signals in the operating frequency band, the antenna can be considered to be currently operating. For another example, if the antenna is currently neither transmitting nor receiving radio frequency signals in the operating frequency band, the antenna can be considered to be currently not operating.

[0086] The first antenna is a GPS antenna and the second antenna is a cellular antenna. The execution subject of the antenna control method is Figure 3 When the control chip 303 is used, the control chip 303 can obtain the working status of each cellular antenna from the radio frequency chip 312 through the MIPI interface, and obtain the working status of the GPS antenna from the application processor 311 through the GPIO interface.

[0087] S402: Determine whether the first antenna is currently working and whether any of the second antennas is working. If the first antenna is currently working and any of the second antennas is working, execute S403. Otherwise, stop executing the antenna control method provided in the embodiment of the present application.

[0088] That is, if the working status of the first antenna obtained in S401 indicates that the first antenna is currently working, and the working status of the second antenna indicates that there is a working antenna in each second antenna that is currently working, then S403 is executed; otherwise, the antenna control method provided in the embodiment of the present application is stopped.

[0089] The working antenna refers to the antenna in the working state among the multiple second antennas. For example, Figure 1 In the figure, antennas b, c, and d are all second antennas. If antenna b is currently operating, the active antenna is antenna b. If antenna c is active during antenna switching, the active antenna is also antenna c. In other words, the active antenna is a generic term for the active antennas among the second antennas, not a specific one.

[0090] When the first antenna and the second antenna operate simultaneously, they may interfere with each other. The subsequent steps of the antenna control method provided in the embodiments of the present application can be used to reduce the interference between the two. When the first antenna and the second antenna operate separately, there is no interference between the two, and therefore, the subsequent steps do not need to be performed.

[0091] It should be supplemented that, if the electronic device is a foldable electronic device, the above S401 may also include a step of obtaining status information of the electronic device. The status information of the electronic device is used to indicate whether the electronic device is in a folded state. If it is not in a folded state, the mutual interference between the first antenna and the second antenna may be small, and there is no need to execute the antenna control method provided in the embodiment of the present application to reduce the mutual interference. That is to say, the above S402 can be used to determine whether the current first antenna is working, whether there is a working antenna in each second antenna, and whether the electronic device is in a folded state. If the current first antenna is working, there is a working antenna in each second antenna, and the electronic device is in a folded state, execute S403. Otherwise, stop executing the antenna control method provided in the embodiment of the present application.

[0092] S403: Acquire third priori data: the current working frequency band of the working antenna and the current transmit power of the working antenna.

[0093] The third priori data includes the reduction in carrier-to-noise ratio of each second antenna at different frequency bands and different transmit powers when the first antenna is operating compared to when the first antenna is not operating. In the embodiment of the present application, the carrier-to-noise ratio may refer to the ratio of signal power to noise power density.

[0094] The third priori data can be data measured in advance through a large number of experiments in the laboratory. The third priori data can be in the form of a database, a table, a key-value pair, etc. The second antenna includes Figure 1 Antenna b, antenna c, antenna d, and antenna f, the operating frequency bands of each second antenna are B1, B3, and B39, the first antenna is a GPS antenna, and the third priori data is in the form of a table. For example, the third priori data can be shown in Table 1 below.

[0095]

[0096]

[0097] Table 1

[0098] As shown in Table 1. When the first antenna is not operating, the carrier-to-noise ratio reduction for each second antenna is 0 dB at each frequency band and transmit power. When the first antenna is operating and antenna f is operating, antenna f's transmit power is Pmax, and the operating frequency band is B1, the carrier-to-noise ratio reduction for antenna f is 5 dB. When the first antenna is operating and antenna b is operating, antenna b's transmit power is 20 dBm, and the operating frequency band is B1, the carrier-to-noise ratio reduction for antenna b is 2 dB. Similarly, Table 1 includes the corresponding carrier-to-noise ratio reductions for antenna b, antenna c, antenna d, and antenna f at frequency bands B1, B3, and B39, and transmit powers of 0, 11, 13, 15, 17, 18, 20, 22, and Pmax, when the first antenna is operating.

[0099] The third a priori data can be calculated from experimentally measured data. For example, the carrier-to-noise ratio (CNR) of each second antenna at each frequency band and transmit power can be measured when the first antenna is not operating. This is referred to as the second CNR. The CNR of each second antenna at each frequency band and transmit power can be measured when the first antenna is operating. This is referred to as the first CNR. The difference between the second CNR and the first CNR at each frequency band and transmit power is then calculated as the CNR reduction for each second antenna at the corresponding frequency band and transmit power.

[0100] The current working frequency band of the working antenna can be obtained by the control chip 303 from the radio frequency chip 312 via the MIPI interface. The current transmit power of the working antenna can be obtained through the coupling path between the control chip 303 and the working antenna.

[0101] S404: Determine a reduction in the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmit power based on the third priori data, the current working frequency band of the working antenna, and the current transmit power of the working antenna.

[0102] For example, taking the third priori data as shown in Table 1 above, the working antenna being antenna f, the current working frequency band of the working antenna being B1, and the current transmit power being 22 dBm, it can be determined from Table 1 above that the reduction in the carrier-to-noise ratio of the working antenna (i.e., antenna f) is 5 dB.

[0103] In an embodiment of the present application, the current working frequency band of the above-mentioned working antenna and the current transmission power of the working antenna determine the reduction in the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmission power, which can also be called the interference amount of the first antenna on the working antenna.

[0104] S405. Determine the relationship between the interference amount and the first preset threshold, the first preset interval, and the second preset interval. If the interference amount is greater than or equal to the first preset threshold, execute S406a. If the interference amount is within the first preset interval, execute S406b-S407b, or S406c-S407c. If the interference amount is within the second preset interval, execute S406d. If the interference amount is less than the minimum value of the second preset interval, it indicates that there is substantially no interference between the first antenna and the working antenna, and the antenna control method provided in this embodiment of the application is executed.

[0105] In an embodiment of the present application, the first preset threshold may be greater than or equal to the maximum value of the first preset interval. The minimum value of the first preset interval may be greater than or equal to the maximum value of the second preset interval. The minimum value of the second preset interval is greater than zero.

[0106] For example, the first antenna is a GPS antenna, and the second antenna is a cellular antenna for frequency bands such as B1, B3, or B39. The first preset threshold may be 5 dB, the first preset interval may be (2, 5), and the second preset interval may be (1, 2). It should be understood that this is merely an example and does not limit the present application to this.

[0107] The following first introduces the subsequent steps when the interference amount is greater than or equal to the first preset threshold.

[0108] S406a: Switch the antennas in the second antenna that are not in a working state to working antennas in sequence according to a preset order until the interference amount is less than a first preset threshold.

[0109] The preset sequence can be stored in the electronic device or the aforementioned Figure 3 In the control chip 303 in. Exemplarily, the preset order can be designed based on the isolation between the first antenna and each second antenna. For example, the second antenna is Figure 1 Antenna b, antenna c, antenna d, antenna f, the first antenna is Figure 1 Antenna a in the figure. The isolation between the second antenna and the first antenna is antenna d, antenna c, antenna b, and antenna f from large to small. The preset order can be as follows: Figure 5As shown, they are antenna d, antenna c, antenna b, and antenna f in sequence.

[0110] That is, regardless of which antenna is initially active, when it is determined that the interference from the first antenna to the active antenna is greater than or equal to the first preset threshold, the control chip will switch the active antenna to antenna d, which has the highest isolation from antenna a. If the interference from the first antenna to antenna d is still greater than the first preset threshold, the control chip will continue to switch the active antenna to antenna c, which has the second highest isolation from antenna a, according to the preset sequence. This continues until the interference from the first antenna to the active antenna is less than the first preset threshold. It should be noted that if switching antenna d to the active antenna still fails to reduce the interference from the first antenna to antenna d to less than the first preset threshold, the active antenna is switched to antenna c, which has the second highest isolation from the first antenna, because the isolation between the two antennas does not fully represent the degree of mutual interference. That is, there may be a situation where the isolation between antenna a and antenna d is higher than the isolation between antenna a and antenna c, but the interference from antenna a to antenna c is less than the interference from antenna a to antenna d. Therefore, when switching antenna d to the working antenna still cannot make the interference amount of the first antenna to antenna d less than the first preset threshold, the working antenna can be switched to antenna c with the second highest isolation from the first antenna to test the interference amount of the first antenna to antenna c.

[0111] For example, the initial working antenna is antenna f, and the subsequent working antenna switching process can be as follows: Figure 6 shown.

[0112] S601: Determine whether the interference amount of the first antenna to the antenna f is greater than a first preset threshold. If so, execute S602; if not, execute S405 (not shown in the figure).

[0113] S602: Switch the working antenna to antenna d.

[0114] S603: Determine whether the interference amount of the first antenna to antenna d is greater than a first preset threshold. If so, execute S604; if not, execute S405 (not shown in the figure).

[0115] S604: Switch the working antenna to antenna c.

[0116] In the embodiment of the present application, in order to reduce the power consumption of the control chip and the electronic device, the working antenna may no longer be switched after a preset number of switchings. For example, the antenna may no longer be switched after two switchings.

[0117] Furthermore, each time the active antenna is switched, the amount of interference from the first antenna to the new active antenna can be obtained after a preset time has passed. This allows the electronic device and the base station ample time to switch the corresponding communication interfaces, improving the accuracy of the acquired data and thus the efficiency of antenna control. The preset time can be 1ms, 2ms, etc., and is not specifically limited here.

[0118] In actual applications, it may happen that the interference amount of the first antenna on each second antenna is greater than or equal to the first preset threshold.

[0119] In some possible designs, the antenna among the second antennas that is least interfered with by the first antenna may be switched to the working antenna to minimize mutual interference between the first antenna and the working antenna.

[0120] It should be understood that after the execution of S406a, the antenna control method provided in the embodiment of the present application may stop executing, or may jump to S405 and continue executing until the interference amount is less than the minimum value of the second preset interval, that is, there is substantially no interference between the first antenna and the working antenna. This embodiment of the present application does not specifically limit this.

[0121] The following describes one possible subsequent step S406b-S407b when the interference amount is within the first preset range.

[0122] Antennas in electronic devices operate within more than one frequency band. For example, a GPS antenna can receive RF signals in the GPS band and transmit and receive cellular signals in bands like N78. To ensure balanced communication performance across different frequency bands, the antenna's resonant frequency is typically adjusted to provide high radiation efficiency across all operating frequency bands.

[0123] Therefore, when the first antenna and the working antenna interfere with each other, the resonant frequency of the first antenna can be adjusted to favor GPS performance, thereby reducing interference of the working antenna on the first antenna, namely, S406b-S407b described below.

[0124] S406b: Obtain first priori data.

[0125] The first a priori data is used to indicate the relationship between the radiation efficiency and frequency of the first antenna at different resonant frequencies. Similar to the third a priori data, the first a priori data can also be data measured in advance in a laboratory through a large number of experiments. The first a priori data can be in the form of a coordinate graph, a database, a table, a key-value pair, etc. The second antenna includes Figure 1 The working frequency bands of antenna b, antenna c, antenna d and antenna f are B1, B3 and B39 respectively. The first antenna is a GPS antenna. The first priori data is in the form of a coordinate diagram. For example, the first priori data can be as follows: Figure 7 Curve 1 is a curve showing the relationship between the radiation efficiency of the first antenna and the frequency at a certain resonant frequency, and curve 2 is a curve showing the relationship between the radiation efficiency of the first antenna and the frequency at another resonant frequency.

[0126] Assuming that the operating frequency band of the first antenna is near point M, it can be seen that when the first antenna operates at the resonant frequency corresponding to curve 1, the radiation efficiency at point M is greater than the radiation efficiency at point M when the first antenna operates at the resonant frequency corresponding to curve 2.

[0127] S407b: Adjust the resonant frequency of the first antenna according to the first priori data to improve the radiation efficiency of the first antenna in the working frequency band.

[0128] That is, the target resonant frequency can be found in the first priori data. The target resonant frequency satisfies that when the first antenna operates at the target resonant frequency, the radiation efficiency in the operating frequency band is greater than when the first antenna operates at the current resonant frequency.

[0129] Taking the first prior data as Figure 7 The operating frequency band of the first antenna is near point M. Curve 2 shows the relationship between radiation efficiency and frequency corresponding to the current resonant frequency. Since the radiation efficiency of Curve 1 at point M is greater than that of Curve 2, the control chip can determine the target resonant frequency as the resonant frequency corresponding to Curve 2 based on the first prior data.

[0130] For example, when the first a priori data contains multiple curves of the relationship between radiation efficiency and frequency at multiple resonant frequencies, the first resonant frequency corresponding to the maximum radiation efficiency in the operating frequency band of the first antenna in the first a priori data can be obtained, and the resonant frequency of the first antenna can be adjusted to the first resonant frequency. In this way, the radiation efficiency of the first antenna can be maximized, thereby reducing interference from the working antenna on the first antenna.

[0131] It should be understood that after the execution of S407b above, the antenna control method provided in the embodiment of the present application can stop executing, or can jump to S405 and continue executing until the interference amount is less than the minimum value of the second preset interval, that is, there is substantially no interference between the first antenna and the working antenna. This embodiment of the present application does not specifically limit this.

[0132] Another possible subsequent steps S406c-S407c when the interference amount is within the first preset interval are described below.

[0133] This step mainly reduces the mutual interference between the first antenna and the working antenna by improving the isolation between the two. Detailed description is given below.

[0134] S406c: Obtain second priori data.

[0135] The second priori data is used to indicate the isolation between the first antenna and the working antenna at different resonant frequencies. Similar to the third priori data, the second priori data can also be data measured in advance in a laboratory through a large number of experiments. The second priori data can be in the form of a database, a table, a key-value pair, etc. Figure 1 For antenna b, antenna c, antenna d, and antenna f, the operating frequency bands of each second antenna are B1, B3, and B39, the first antenna is antenna a, and the first priori data is in the form of a table. For example, the first priori data can be shown in Table 2 below.

[0136]

[0137] Table 2

[0138] As shown in Table 2, the second a priori data includes the isolation between antenna a and antennas b, c, d, and f at different resonant frequencies (resonant frequency 1, resonant frequency 2, resonant frequency 3, and resonant frequency 4). Resonant frequency 1 to resonant frequency 4 represent specific resonant frequency values, and isolations 1 to 16 also represent specific isolation values.

[0139] S407c: Adjust the resonant frequency of the first antenna according to the second priori data to improve the isolation between the first antenna and the working antenna.

[0140] For example, the current resonant frequency of the first antenna is resonant frequency 3 in Table 2, and the operating antenna is antenna d. Table 2 shows that when the first antenna operates at resonant frequency 3, the isolation between the first antenna and antenna d is 11. If isolation 3, isolation 7, and isolation 15 are all greater than isolation 11, the resonant frequency of the first antenna can be adjusted to any resonant frequency corresponding to isolation 3, isolation 7, or isolation 15, that is, any resonant frequency of resonant frequency 1, resonant frequency 2, or resonant frequency 4.

[0141] In some possible designs, a second resonant frequency corresponding to the maximum isolation between the first antenna and the working antenna, as determined from the second a priori data, can be obtained. The resonant frequency of the first antenna is then adjusted to the second resonant frequency. Specifically, in the above example, if the maximum value among isolation 3, isolation 7, isolation 15, and isolation 11 is isolation 3, the resonant frequency of the first antenna is adjusted to resonant frequency 1, corresponding to isolation 3. This maximizes the isolation between the first antenna and the working antenna, helping to minimize mutual interference between the two.

[0142] It should be understood that after the execution of S407c, the antenna control method provided in the embodiment of the present application may stop executing, or may jump to S405 and continue executing until the interference amount is less than the minimum value of the second preset interval, that is, there is substantially no interference between the first antenna and the working antenna. This embodiment of the present application does not specifically limit this.

[0143] The following describes the subsequent steps when the interference amount is within the second preset range.

[0144] S406d: Adjust the upper limit of the power of the working antenna in the current working frequency band according to the third priori data to reduce the reduction in the carrier-to-noise ratio of the working antenna in the current working frequency band.

[0145] It should be noted that, in the embodiment of the present application, the specific process of adjusting the upper limit value of the working antenna power can be as follows: Figure 8 As shown, the control chip can first determine a target power value based on the third prior data, and then send the target power value to the application processor, which then updates the upper power limit of the working antenna in the current operating frequency band to the target power value. When the upper power limit of the working antenna in the current operating frequency band is the target power value, the transmit power of the working antenna cannot exceed the target power value, but can be less than the target power value.

[0146] In one possible design, the maximum transmit power corresponding to the working antenna in the current working frequency band when the carrier-to-noise ratio reduction is less than the second preset interval can be obtained from the third prior data, and the transmit power of the working antenna is adjusted to the maximum transmit power.

[0147] For example, the third prior data is shown in Table 1 above, with the active antenna being antenna f, the current operating frequency band being B1, and the second preset interval being [0.5, 2]. Table 1 shows that when the carrier-to-noise ratio reduction for antenna f in the B1 frequency band is less than 0.5 dB, the corresponding transmit powers are 0, 11 dBm, 13 dBm, 15 dBm, and so on. Since the maximum transmit power is 15 dBm, the power cap for antenna f in the B1 frequency band can be adjusted to 15 dBm.

[0148] It should be understood that after the execution of S406d, the antenna control method provided in the embodiment of the present application may stop executing, or may jump to S405 and continue executing until the interference amount is less than the minimum value of the second preset interval, that is, there is substantially no interference between the first antenna and the working antenna. This embodiment of the present application does not specifically limit this.

[0149] Based on the antenna control method provided in the embodiment of the present application, it can be seen from the above description that the antenna control method provided in the embodiment of the present application can effectively reduce the interference between different antennas when working simultaneously, thereby ensuring the comprehensive communication experience of the electronic device.

[0150] In addition, the present application also provides an antenna control circuit. Figure 9 , is a schematic diagram of an antenna control circuit provided in an embodiment of the present application. Figure 9 As shown, the antenna control circuit may include a control chip 901, an application processor 902, a radio frequency chip 903, a radio frequency front end 904, a first antenna 905, a second antenna 906, a coupler 907, etc.

[0151] Among them, the control chip 901 can correspond to Figure 3 Control chip 303. Application processor 902 can correspond to Figure 3 The application processor 311 in the RF chip 903 can correspond to Figure 3 The RF chip 312 in the RF front end 904 can correspond to Figure 3 The first antenna 905 and the second antenna 906 may correspond to Figure 3 The antenna 304 in FIG. The coupler 907 may correspond to Figure 3 Coupler 305 in.

[0152] The connection relationship between the components can be found in Figure 3 The corresponding description will not be repeated here.

[0153] In addition, the RF front end 904 and the RF chip 903 may be collectively referred to as a RF module. The RF front end 904 may include a RF front end 914 of the first antenna and a RF front end 924 of the second antenna.

[0154] Figure 9 The antenna control circuit shown can execute the antenna control method described in the above method embodiment under the control of the control chip 901. Detailed description is omitted here.

[0155] Please refer to Figure 10 , is a schematic diagram of the composition of an electronic device 1000 provided in an embodiment of the present application. The electronic device 1000 can be any of the electronic devices in the above examples, for example, the electronic device 1000 can be a mobile phone, a computer, etc. For example, Figure 10 As shown, the electronic device 1000 may include: a processor 1001, a memory 1002, and multiple antennas 1003. The processor 1001 may be Figure 3 The memory 1002 is configured to store computer-executable instructions. For example, in some embodiments, when the processor 1001 executes the instructions stored in the memory 1002, the electronic device 1000 may perform any of the functions of the electronic devices in the above embodiments, thereby implementing any of the antenna control methods in the above examples.

[0156] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0157] Figure 11 A schematic diagram of the composition of a chip system 1100 is shown. The chip system 1100 can be set in an electronic device. For example, the chip system 1100 can be set in a mobile phone. Exemplarily, the chip system 1100 may include: a processor 1101 and a communication interface 1102, which are used to support the electronic device to implement the functions involved in the above embodiments. In one possible design, the chip system 1100 also includes a memory for storing program instructions and data necessary for the electronic device. The chip system can be composed of chips, or it can include chips and other discrete devices. It should be noted that in some implementations of the present application, the communication interface 1102 may also be referred to as an interface circuit.

[0158] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0159] An embodiment of the present application further provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method in the above-mentioned embodiment.

[0160] The embodiments of the present application also provide a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the method in the above-mentioned embodiment.

[0161] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to execute the methods in the above-mentioned method embodiments.

[0162] Among them, the electronic device, computer storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0163] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of electronic equipment. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0164] The embodiments of the present application can divide the functional modules of the devices involved therein according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.

[0165] The functions, actions, operations, steps, etc. in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, they 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. When the computer program instructions are loaded and 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 device. 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 via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. 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 data center that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0166] Although the present application has been described with reference to specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely illustrative of the present application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, the present application is intended to include such modifications and variations as fall within the scope of the claims of the present application and their equivalents.

Claims

1. An antenna control method, characterized in that: Applied in an electronic device, the electronic device comprises a first antenna and a plurality of second antennas; The antenna control method comprises: Obtaining the amount of interference of the first antenna on the working antenna; the working antenna is an antenna in a working state among the multiple second antennas; the amount of interference is a reduction in the first carrier-to-noise ratio compared to the second carrier-to-noise ratio; the first carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmit power when the first antenna is working; the second carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmit power when the first antenna is not working; When the interference amount is greater than or equal to a first preset threshold, the antennas in the second antenna that are not in working state are switched to the working antennas in sequence according to a preset order until the interference amount is less than the first preset threshold.

2. The antenna control method according to claim 1, characterized in that: The method further comprises: When the interference amount of the first antenna on each of the second antennas is greater than or equal to the first preset threshold, the antenna among the second antennas with the smallest interference amount from the first antenna is switched to the working antenna.

3. The antenna control method according to any one of claims 1 to 2, characterized in that: The electronic device stores first priori data; The first priori data is used to indicate the relationship between the radiation efficiency and frequency of the first antenna at different resonant frequencies; the method further includes: When the interference amount is in a first preset interval, the first priori data is acquired; the maximum value of the first preset interval is less than or equal to the first preset threshold; and the minimum value of the first preset interval is greater than zero; The resonant frequency of the first antenna is adjusted according to the first priori data to improve the radiation efficiency of the first antenna in the working frequency band.

4. The antenna control method according to claim 3, characterized in that: The adjusting the resonant frequency of the first antenna according to the first priori data includes: Acquire a first resonant frequency corresponding to a maximum radiation efficiency in an operating frequency band of the first antenna in the first priori data; The resonant frequency of the first antenna is adjusted to the first resonant frequency.

5. The antenna control method according to any one of claims 1, 2 and 4, characterized in that: The electronic device stores second priori data; The second priori data is used to indicate the isolation degree between the first antenna and the working antenna at different resonant frequencies; the method further includes: When the interference amount is in a first preset interval, acquiring the second priori data; the maximum value of the first preset interval is less than or equal to the first preset threshold; and the minimum value of the first preset interval is greater than zero; The resonant frequency of the first antenna is adjusted according to the second priori data to improve the isolation between the first antenna and the working antenna.

6. The antenna control method according to claim 5, characterized in that: The adjusting the resonant frequency of the first antenna according to the second priori data comprises: Acquire a second resonant frequency corresponding to when the isolation between the first antenna and the working antenna is maximum in the second priori data; The resonant frequency of the first antenna is adjusted to the second resonant frequency.

7. The antenna control method according to any one of claims 1, 2, 4 and 6, characterized in that: The electronic device further stores third a priori data; the third a priori data includes a reduction in carrier-to-noise ratio of each of the second antennas at different frequency bands and different transmission powers when the first antenna is working compared to when the first antenna is not working; Before obtaining the interference amount of the first antenna to the working antenna, the method further includes: Obtaining a working status of the first antenna and each of the second antennas; the working status is used to indicate whether the antenna is currently working; When the first antenna is working and the working antenna exists among the plurality of second antennas, acquiring the third priori data, the current working frequency band of the working antenna and the current transmission power of the working antenna; The obtaining the interference amount of the first antenna to the working antenna includes: According to the third prior data, the current working frequency band of the working antenna and the current transmission power of the working antenna, the reduction in the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmission power is determined as the interference amount.

8. The antenna control method according to any one of claims 1, 2, 4 and 6, characterized in that: The electronic device further stores third a priori data; the third a priori data includes a reduction in carrier-to-noise ratio of each of the second antennas at different frequency bands and different transmission powers when the first antenna is working compared to when the first antenna is not working; the method further includes: When the interference amount is in a second preset interval, acquiring the third priori data and the current working frequency band of the working antenna; a minimum value of the second preset interval is greater than zero, and a maximum value of the second preset interval is less than the first preset threshold; The power upper limit value of the working antenna in the current working frequency band is adjusted according to the third priori data to reduce the reduction amount of the carrier-to-noise ratio of the working antenna in the current working frequency band.

9. The antenna control method according to claim 8, characterized in that: The adjusting the power upper limit value of the working antenna in the current working frequency band according to the third priori data includes: Acquire the maximum transmission power corresponding to the working antenna in the current working frequency band when the reduction amount of the carrier-to-noise ratio is less than the second preset interval in the third priori data; The power upper limit value of the working antenna is adjusted to the maximum transmit power.

10. The antenna control method according to any one of claims 1, 2, 4, 6 and 9, characterized in that: The step of switching the antennas in the second antenna that are not in a working state to the working antennas in sequence according to a preset order until the interference amount is less than the first preset threshold includes: Switch the antennas in the second antenna that are not in a working state to the working antennas in sequence according to a preset order, and obtain the interference amount of the first antenna to the new working antenna after each switching is completed for a preset time period; when the interference amount of the first antenna to the new working antenna is greater than or equal to a first preset threshold, continue to switch the antennas in the second antenna that are not in a working state to the working antenna in sequence according to a preset order until the interference amount is less than the first preset threshold.

11. The antenna control method according to any one of claims 1, 2, 4, 6 and 9, characterized in that: The electronic device is a foldable electronic device; Before obtaining the interference amount of the first antenna to the working antenna, the method further includes: Acquiring status information of the electronic device; the status information is used to indicate whether the electronic device is in a folded state; The obtaining the interference amount of the first antenna to the working antenna includes: When the electronic device is in the folded state, an interference amount of the first antenna on the working antenna is obtained.

12. The antenna control method according to any one of claims 1, 2, 4, 6 and 9, characterized in that: The operating frequency band of the first antenna is a frequency band corresponding to the global positioning system; the operating frequency band of the second antenna is a frequency band corresponding to cellular communication.

13. An antenna control circuit, characterized in that: Applicable to electronic equipment; the antenna control circuit comprises a control chip, a radio frequency module, a first antenna and a plurality of second antennas; the control chip is respectively connected to the radio frequency module and each of the second antennas; the radio frequency module is also connected to the first antenna; The control chip is used to obtain the interference amount of the first antenna to the working antenna; the working antenna is an antenna in working state among the multiple second antennas; the interference amount is the reduction amount of the first carrier-to-noise ratio compared with the second carrier-to-noise ratio; the first carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmission power when the first antenna is working; the second carrier-to-noise ratio is the carrier-to-noise ratio of the working antenna at the current working frequency band and the current transmission power when the first antenna is not working; wherein the RF module is used to provide the current working frequency band of the working antenna to the control chip; The control chip is also used to switch the antennas that are not in working state in the second antenna to the working antennas in sequence according to a preset order when the interference amount is greater than or equal to a first preset threshold value, until the interference amount is less than the first preset threshold value.

14. An electronic device, characterized in that: The electronic device comprises one or more processors, one or more memories, and multiple antennas; the one or more memories are coupled to the one or more processors, and the one or more memories store computer instructions; the multiple antennas are connected to the one or more processors; When the one or more processors execute the computer instructions, the electronic device executes the antenna control method as described in any one of claims 1-12.

15. An electronic device, characterized in that: The electronic device comprises a battery and the antenna control circuit as claimed in claim 13; the battery is respectively connected to the control chip and the radio frequency module for supplying power to the control chip and the radio frequency module respectively.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer instructions, and when the computer instructions are executed, the antenna control method according to any one of claims 1 to 12 is executed.

17. A computer program product, characterized in that The computer program product includes instructions, and when the computer program product is run on a computer, the computer can execute the antenna control method according to any one of claims 1 to 12 according to the instructions.

Citation Information

Patent Citations

  • Antenna control method, antenna control device, storage medium, and electronic equipment

    CN108365882A

  • Radio frequency interference processing method and device, storage medium and electronic equipment

    CN108540152A

  • GPS aerial switching method, storage medium and GPS equipment

    CN109490912A

  • Wireless interference source detecting system and detecting method

    CN109526054A

  • Interference processing method and device and mobile terminal

    CN109788125A