Antenna mutual assistance method and electronic equipment

By dynamically adjusting the working frequency band of the antenna according to the priority of each communication system in electronic devices, the problem of poor performance of each communication system when sharing antennas is solved, and the best performance of the communication system with the highest priority is achieved.

CN119449048APending Publication Date: 2025-02-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310963018.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In electronic devices, due to limited space, multiple communication systems need to share antennas, which cannot ensure the best performance of each communication system at the same time.

Method used

By setting up an adjustment module in the electronic device, the operating frequency band of the antenna is dynamically adjusted according to the priority of each communication system, so that it conforms to the optimal operating frequency band of the communication system with the highest priority.

Benefits of technology

Ensure the best performance of the communication system with the highest priority and avoid the performance losses of each communication system when sharing antennas are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449048A_ABST
    Figure CN119449048A_ABST
Patent Text Reader

Abstract

The invention discloses an antenna mutual assistance method and electronic equipment, and the method comprises the steps that the electronic equipment obtains first information and second information, the first information is used for representing the working state of a first communication system, the second information is used for representing the working state of a second communication system, and the second communication system and the first communication system are different systems; and the second communication system and the first communication system share the first antenna. And the electronic equipment determines the priorities of the first communication system and the second communication system according to the first information and the second information. And when the priority of the first communication system is higher than that of the second communication system, the electronic equipment adjusts the working frequency band of the first antenna to be the optimal working frequency band used by the first communication system, so that the working frequency band of the first antenna is the optimal working frequency band used by the first communication system with the highest priority. The optimal performance of the first communication system is ensured.
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 antenna technology, and more particularly to an antenna mutual assistance method and electronic equipment. Background Art

[0002] With the rapid development of electronic devices, electronic devices (such as smart phones) are becoming thinner and thinner, resulting in limited internal space for electronic devices. However, there are many antennas with similar frequency bands inside electronic devices. In the case of limited internal space for electronic devices, the various communication systems inside the electronic devices have to be laid out in a shared antenna manner. Among them, each communication system may include a cellular communication system, a global positioning system (GPS), a satellite communication system, wireless fidelity (WI-FI), a Bluetooth (BT) communication system, and the like. For example, cellular and Wi-Fi / BT share one antenna, cellular and GPS share one antenna, satellite and cellular share one antenna, and the like.

[0003] Taking cellular and Wi-Fi sharing one antenna as an example, the electronic device supports the frequency bands required for cellular and Wi-Fi operations, so the electronic device adjusts a fixed antenna state that takes into account each communication system, such as cellular ultra high band (UHB) and 5G Wi-Fi. This antenna state that takes into account allows the two communication systems to work at the same time. In actual use, users expect electronic devices to make calls through cellular while transferring files. However, each communication system has an independent system on chip and cannot communicate with each other. Therefore, a fixed antenna state that takes both sides into account is used. The antenna state that takes into account both allows the two communication systems to work at the same time, but it cannot guarantee the best performance of a certain communication system, resulting in performance losses for both communication systems. Summary of the invention

[0004] The antenna mutual assistance method and electronic device provided in the embodiments of the present application achieve the best performance of the communication system with the highest priority.

[0005] In order to achieve the above-mentioned purpose, the embodiment of the present application adopts the following technical solution.

[0006] In a first aspect, the present application provides an antenna mutual assistance method, the execution subject of the method may be an electronic device, or a component located in the electronic device (for example, a chip, a chip system or a processor, etc.), and the following description is made by taking the execution subject being an electronic device as an example. The electronic device is provided with a first communication system and a second communication system. The method may include: when the priority of the first communication system is higher than the priority of the second communication system, the electronic device adjusts the working frequency band of the first antenna to the first frequency band used by the first communication system. The first communication system and the second communication system share the first antenna, the optimal working frequency band of the first communication system is the first frequency band, the optimal working frequency band of the second communication system is the second frequency band, and the second frequency band is different from the first frequency band.

[0007] It should be understood that the first frequency band used by the first communication system is the optimal operating frequency band of the first communication system. Similarly, the second frequency band used by the second communication system is the optimal operating frequency band of the second communication system. Among them, the optimal operating frequency band can be understood as the operating frequency band that makes the performance of the communication system reach the best. That is, the optimal operating frequency band of the first communication system can make the performance of the first communication system reach the best, and the optimal operating frequency band of the second communication system can make the performance of the second communication system reach the best.

[0008] The second communication system and the first communication system can be any one of Bluetooth, navigation (i.e., GPS positioning), WLAN, Wi-Fi, satellite, and call (i.e., mobile communication). The second communication system and the first communication system are different systems.

[0009] Among them, the information of the communication system can be understood as information used to characterize the working status of the communication system. For example, if the communication system is Wi-Fi, the communication information may include but is not limited to Wi-Fi being off, Wi-Fi being on and not connected to the application processor AP, wireless screen projection, etc. If the communication system is a satellite positioning system, such as a GPS positioning system, the communication system information may include but is not limited to the GPS positioning system being in a positioning off state, continuous positioning, etc. If the communication system is a satellite communication system, the communication system information may include but is not limited to satellite communication preparation status, satellite communication inactive status, etc. If the communication system is a cellular communication system, the communication system information may include but is not limited to single card data not being connected, wireless screen projection, etc. Of course, the communication system and its information are not limited to the above enumeration, and are not specifically limited in this application.

[0010] In this way, the electronic device adjusts the working frequency band of the antenna according to the priority of each communication system. Compared with the existing solution that can only fix the working frequency band of the antenna to the frequency band of each communication system, the present application can adjust the working frequency band of the antenna to the frequency band used by the communication system with the highest priority, ensuring the best performance of the communication system.

[0011] In some designs, the method may further include: the electronic device acquires first information of the first communication system, the first information being used to characterize the working state of the first communication system. The electronic device acquires second information of the second communication system, the second communication system being a different system from the first communication system, and the second communication system and the first communication system share a first antenna, the second information being used to characterize the working state of the second communication system. The electronic device determines the priority of the first communication system and the second communication system based on the first information and the second information.

[0012] In this way, when different systems cannot communicate with each other, by obtaining the information of each communication system, the situation of each communication system can be understood. Afterwards, the priority of each communication system is determined based on the information of each communication system, so as to adjust the working frequency band of the antenna shared by the different systems according to the frequency band used by the communication system with the highest priority, that is, adjust the working frequency band of the antenna to the frequency band used by the communication system with the highest priority. Compared with the existing solution that can only fix the working frequency band of the antenna to the frequency band of each communication system, this application ensures the best performance of the communication system with the highest priority.

[0013] In some design schemes, the method may also include: when the priorities of the first communication system and the second communication system are consistent, the electronic device adjusts the working frequency band of the first antenna to the first frequency band used by the first communication system and the second frequency band used by the second communication system. In this way, when it is determined based on the information of each communication system in the heterogeneous system that the priorities of each communication system are consistent, the working frequency band of the antenna of the heterogeneous system is adjusted to the frequency band used by each communication system, effectively taking into account the performance of each communication system, so that each communication system can work normally.

[0014] In one design scheme, when the priority of the first communication system is higher than that of the second communication system, the electronic device adjusts the working frequency band of the first antenna to the frequency band used by the first communication system, specifically: when the priority of the first communication system is higher than that of the second communication system, the electronic device sends a first instruction to the first antenna switch module of the first antenna, and the first instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band. In this way, the processor of the electronic device directly sends the control instruction to the antenna switch module, and the control of the antenna switch module can be realized without relying on other chips, which is easy to implement and has high applicability.

[0015] In one design scheme, when the priority of the first communication system is higher than that of the second communication system, the electronic device adjusts the working frequency band of the first antenna to the first frequency band used by the first communication system, specifically: when the priority of the first communication system is higher than that of the second communication system, the electronic device sends an indication message to the first chip, the indication message carries the identifier of the first antenna switch module of the first antenna and the second instruction executed by the first antenna switch module, and the second instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band. In this way, by sending the indication message to the first chip, the first chip produces the control instruction according to the indication message and sends it to the antenna switch module. The first chip can be customized and does not rely on the cellular chip implementation. In this way, the first chip can be supported in cellular chips of different manufacturers, and has high applicability.

[0016] In one design solution, the first chip is a cellular chip. Then, when the priority of the first communication system is higher than the priority of the second communication system, an indication message is sent to the second chip. The second chip may be a cellular chip. The indication message carries an identifier of a first antenna switch module of the first antenna and a second instruction executed by the first antenna switch module, the second instruction being used to instruct to adjust the working frequency band of the first antenna to the first frequency band.

[0017] In this way, since the cellular chip can obtain the information of each cellular communication system, the cellular chip can accurately locate the antenna switch module of the first antenna and the instructions it executes according to the indication information and the information obtained from each cellular communication system, and can achieve fine-grained control. Even if the cellular priority is high, the priority can be adjusted to the optimal level among other modes when the cellular is asleep.

[0018] In one design scheme, the electronic device determines the priority of the first communication system and the second communication system according to the first information and the second information, specifically: the electronic device determines the first score of the first communication system and the second score of the second communication system according to the first information and the second information and a predefined scoring table; the scoring table is used to characterize the correspondence between the information of each communication system and the priority score. The electronic device determines the priority of the first communication system and the second communication system according to the first score and the second score.

[0019] In some design schemes, the method may further include: the electronic device obtains third information of a third communication system, the third communication system uses a second antenna, and the third information is used to characterize the working state of the third communication system. The electronic device determines the priority of the first communication system and the third communication system based on the first information and the third information. When the priority of the first communication system is higher than the priority of the third communication system and there is interference between the first antenna and the second antenna, the electronic device adjusts the working frequency band of the second antenna to a target frequency band, and the target frequency band is different from the first frequency band.

[0020] The target frequency band can be understood as a frequency band that deviates from the first frequency band. The deviation can be understood as a deviation value between the target frequency band and the first frequency band, and the larger the deviation value, the smaller the interference. In specific implementation, the deviation value can be set according to actual needs, and is not specifically limited in this application.

[0021] Among them, the method of determining that there is interference between the first antenna and the second antenna can be: Method 1, during the development stage of the electronic device, set the frequency band of the first antenna and the second antenna to the same frequency band. In this way, the working frequency band of the first antenna and the working frequency band of the second antenna are pre-recorded in the electronic device. Method 2, during the use stage of the electronic device, detect the sensitivity of the first antenna and the sensitivity of the second antenna, and when the receiving signal sensitivity of the first antenna changes, determine that there is interference between the first antenna and the second antenna. The receiving signal sensitivity can be understood as the minimum signal strength at which the antenna can work.

[0022] In this way, when there is interference between the first antenna and the second antenna, and the priority of the first communication system is higher than the priority of the third communication system, the electronic device adjusts the working frequency band of the second antenna to a target frequency band that deviates from the first frequency band. In this way, the interference of the second antenna to the first communication system of the first antenna is reduced, and the performance of the first communication system is effectively guaranteed.

[0023] In some design schemes, the method may further include: the electronic device obtains fourth information of a fourth communication system, the fourth communication system uses the first antenna, and the fourth information is used to characterize the working state of the fourth communication system. When the priority of the first communication system is lower than the priority of the second communication system, the electronic device determines the priority of the second communication system and the fourth communication system according to the second information and the fourth information. When the priority of the second communication system is higher than the priority of the fourth communication system, the electronic device adjusts the working frequency band of the first antenna to the second frequency band used by the second communication system. In this way, when multiple communication systems use the first antenna, it is necessary to determine the priority of each communication system in these communication systems one by one, and finally obtain the communication system with the highest priority. In this way, the electronic device adjusts the working frequency band of the first antenna to the frequency band used by the communication system with the highest priority, so as to meet the performance of the communication system with the highest priority.

[0024] In one design scheme, the first communication system includes cellular, and the second communication system includes Wireless Fidelity Wi-Fi; or, the first communication system includes satellite, the second communication system includes Global Positioning System GPS, and the fourth communication system includes Wi-Fi.

[0025] In a second aspect, the present application provides an electronic device, comprising: an adjustment module; wherein the adjustment module is used to adjust the working frequency band of the first antenna to the first frequency band used by the first communication system when the priority of the first communication system is higher than the priority of the second communication system. The first communication system and the second communication system share the first antenna, the optimal working frequency band of the first communication system is the first frequency band, the optimal working frequency band of the second communication system is the second frequency band, and the second frequency band is different from the first frequency band.

[0026] The second communication system and the first communication system can be any one of Bluetooth, navigation (i.e., GPS positioning), WLAN, Wi-Fi, satellite, and call (i.e., mobile communication). The second communication system and the first communication system are different systems.

[0027] Among them, the information of the communication system can be understood as information used to characterize the working status of the communication system. For example, if the communication system is Wi-Fi, the communication information may include but is not limited to Wi-Fi being turned off, Wi-Fi being turned on and not connected to AP, wireless screen projection, etc. If the communication system is a satellite positioning system, such as a GPS positioning system, the communication system information may include but is not limited to the GPS positioning system being in a positioning-off state, continuous positioning, etc. If the communication system is a satellite communication system, the communication system information may include but is not limited to satellite communication preparation status, satellite communication inactivated status, etc. If the communication system is a cellular communication system, the communication system information may include but is not limited to single card data not being connected, wireless screen projection, etc. Of course, the communication system and its information are not limited to the above enumeration, and are not specifically limited in this application.

[0028] In this way, the electronic device adjusts the working frequency band of the antenna according to the priority of each communication system. Compared with the existing solution that can only fix the working frequency band of the antenna to the frequency band of each communication system, the present application can adjust the working frequency band of the antenna to the frequency band used by the communication system with the highest priority, ensuring the best performance of the communication system.

[0029] In some designs, the electronic device further includes: an acquisition module and a determination module, wherein:

[0030] The acquisition module is used to acquire first information of a first communication system, the first information being used to characterize a working state of the first communication system. The acquisition module is used to acquire second information of a second communication system, the second communication system being a different system from the first communication system, and the second communication system being different from the first communication system, and the second information being used to characterize a working state of the second communication system. The determination module is used to determine a priority between the first communication system and the second communication system according to the first information and the second information.

[0031] In this way, when different systems cannot communicate with each other, by obtaining the information of each communication system, the situation of each communication system can be understood. Afterwards, the priority of each communication system is determined based on the information of each communication system, so as to adjust the working frequency band of the antenna shared by the different systems according to the frequency band used by the communication system with the highest priority, that is, adjust the working frequency band of the antenna to the frequency band used by the communication system with the highest priority. Compared with the existing solution that can only fix the working frequency band of the antenna to the frequency band of each communication system, this application ensures the best performance of the communication system with the highest priority.

[0032] In one design, the adjustment module is used to: when the priorities of the first communication system and the second communication system are consistent, adjust the working frequency band of the first antenna to the first frequency band used by the first communication system and the second frequency band used by the second communication system. In this way, when it is determined based on the information of each communication system in the heterogeneous system that the priorities of each communication system are consistent, the working frequency band of the antenna of the heterogeneous system is adjusted to the frequency band used by each communication system, effectively taking into account the performance of each communication system, so that each communication system can work normally.

[0033] In one design, the adjustment module is used to: when the priority of the first communication system is higher than the priority of the second communication system, send a first instruction to the first antenna switch module of the first antenna, wherein the first instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band. In this way, the processor of the electronic device directly sends the control instruction to the antenna switch module, and the antenna switch module can be controlled without relying on other chips, which is easy to implement and has high applicability.

[0034] In one design scheme, the adjustment module is used to: when the priority of the first communication system is higher than the priority of the second communication system, send indication information to the first chip, the indication information carries the identifier of the first antenna switch module of the first antenna and the second instruction executed by the first antenna switch module, and the second instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band. In this way, by sending the indication information to the first chip, the first chip produces the control instruction according to the indication information and sends it to the antenna switch module. The first chip can be customized and does not rely on the cellular chip implementation. In this way, the first chip can be supported in cellular chips of different manufacturers, and has high applicability.

[0035] In one design, the first chip is a cellular chip. Then, the adjustment module is used to send indication information to the second chip when the priority of the first communication system is higher than the priority of the second communication system. The second chip may be a cellular chip. The indication information carries an identifier of the first antenna switch module of the first antenna and a second instruction executed by the first antenna switch module, and the second instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band.

[0036] In this way, since the cellular chip can obtain the information of each cellular communication system, the cellular chip can accurately locate the antenna switch module of the first antenna and the instructions it executes according to the indication information and the information obtained from each cellular communication system, and can achieve fine-grained control. Even if the cellular priority is high, the priority can be adjusted to the optimal level among other modes when the cellular is asleep.

[0037] In one design scheme, the determination module is used to: determine a first score for the first communication system and a second score for the second communication system based on the first information and the second information, and a predefined scoring table; the scoring table is used to characterize the correspondence between the information of each communication system and the priority score; and determine the priority of the first communication system and the second communication system based on the first score and the second score.

[0038] In one design, the acquisition module is used to acquire third information of a third communication system, the third communication system uses a second antenna, and the third information is used to characterize an operating state of the third communication system. The determination module is used to determine a priority between the first communication system and the third communication system based on the first information and the third information. The adjustment module is used to adjust an operating frequency band of the second antenna to a target frequency band when the priority of the first communication system is higher than that of the third communication system and there is interference between the first antenna and the second antenna, the target frequency band being different from the first frequency band.

[0039] The target frequency band can be understood as a frequency band that deviates from the first frequency band. The deviation can be understood as a deviation value between the target frequency band and the first frequency band, and the larger the deviation value, the smaller the interference. In specific implementation, the deviation value can be set according to actual needs, and is not specifically limited in this application.

[0040] Among them, the method of determining that there is interference between the first antenna and the second antenna can be: Method 1, during the development stage of the electronic device, set the frequency band of the first antenna and the second antenna to the same frequency band. In this way, the working frequency band of the first antenna and the working frequency band of the second antenna are pre-recorded in the electronic device. Method 2, during the use stage of the electronic device, detect the sensitivity of the first antenna and the sensitivity of the second antenna, and when the receiving signal sensitivity of the first antenna changes, determine that there is interference between the first antenna and the second antenna. The receiving signal sensitivity can be understood as the minimum signal strength at which the antenna can work.

[0041] In this way, when there is interference between the first antenna and the second antenna, and the priority of the first communication system is higher than the priority of the third communication system, the electronic device adjusts the working frequency band of the second antenna to a target frequency band that deviates from the first frequency band. In this way, the interference of the second antenna to the first communication system of the first antenna is reduced, and the performance of the first communication system is effectively guaranteed.

[0042] In one design scheme, the acquisition module is used to acquire fourth information of a fourth communication system, the fourth communication system uses the first antenna, and the fourth information is used to characterize the working state of the fourth communication system. The determination module is used to determine the priority of the second communication system and the fourth communication system according to the second information and the fourth information when the priority of the first communication system is lower than the priority of the second communication system. The adjustment module is used to adjust the working frequency band of the first antenna to the second frequency band used by the second communication system when the priority of the second communication system is higher than the priority of the fourth communication system. In this way, when multiple communication systems use the first antenna, it is necessary to determine the priority of each communication system in these communication systems one by one, and finally obtain the communication system with the highest priority. In this way, the electronic device adjusts the working frequency band of the first antenna to the frequency band used by the communication system with the highest priority, thereby satisfying the performance of the communication system with the highest priority.

[0043] In one design scheme, the first communication system includes cellular, and the second communication system includes Wireless Fidelity Wi-Fi; or, the first communication system includes satellite, the second communication system includes Global Positioning System GPS, and the fourth communication system includes Wi-Fi.

[0044] In a third aspect, the present application provides an electronic device, comprising: one or more processors; and a memory, wherein the memory stores a code; when the code is executed by the processor, the electronic device executes the method described in the first aspect.

[0045] In a fourth aspect, the present application provides a computer-readable storage medium storing a program or instruction. When the program or instruction is executed on a computer or a processor, the computer or processor executes the method described in the first aspect.

[0046] Among them, the specific implementation methods and corresponding technical effects of each of the second to fourth aspects mentioned above can refer to the specific implementation methods and technical effects of the first aspect mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0048] Figure 2 A schematic diagram of the circuit structure of an electronic device provided in an embodiment of the present application;

[0049] Figure 3 A schematic diagram of the structure of antenna frequency bands used by each communication system provided in the embodiments of the present application;

[0050] Figure 4A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0051] Figure 5-1 A schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;

[0052] Figure 5-2 A schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;

[0053] Figure 5-3 A schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;

[0056] Figure 8 A schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;

[0057] Fig. 9 A schematic diagram of the flow of the antenna mutual assistance method provided in an embodiment of the present application in a scenario where cellular and Wi-Fi share an antenna;

[0058] Fig.10 A schematic diagram of the flow of the antenna mutual assistance method provided in an embodiment of the present application in a scenario where cellular and Wi-Fi share an antenna;

[0059] Fig.11 A schematic diagram of the flow of the antenna mutual assistance method provided in the embodiment of the present application in a Beidou satellite communication system, GPS and Wi-Fi shared antenna scenario;

[0060] Fig.12 A schematic diagram of the flow of the antenna mutual assistance method provided in the embodiment of the present application in a Beidou satellite communication system, GPS and Wi-Fi shared antenna scenario;

[0061] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] Figure 1 A schematic structural diagram of an electronic device 100 is shown.

[0063] The electronic device 100 may include a processor 110, a memory 120, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication system 150, a wireless communication system 160, etc.

[0064] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0065] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a controller, a baseband processor, etc. Different processing units may be independent devices or integrated into one or more processors.

[0066] In a specific implementation manner, illustratively, the mobile communication system 150 and the wireless communication system 160 share the antenna 1. The application processor AP can obtain information of the mobile communication system 150 and / or the wireless communication system 160. The application processor AP determines the priority of the mobile communication system 150 and / or the wireless communication system 160 based on the information. When the wireless communication system 160 has the highest priority, the application processor AP sends a control instruction to the antenna 1 to control the working frequency band of the antenna 1 to be adjusted to the frequency band used by the wireless communication system 160. When the mobile communication system 150 has the highest priority, the application processor AP sends a control instruction to the antenna 1 to control the working frequency band of the antenna 1 to be adjusted to the frequency band used by the mobile communication system 150.

[0067] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0068] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0069] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, a universal asynchronous receiver / transmitter (UART) interface, etc. The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 to the wireless communication system 160. For example: the processor 110 communicates with the Bluetooth module in the wireless communication system 160 through the UART interface to implement the Bluetooth function.

[0070] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a MIPI USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and a peripheral device. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0071] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0072] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0073] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the memory 120, and the wireless communication system 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0074] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication system 150, the wireless communication system 160, the modem processor and the baseband processor.

[0075] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0076] The mobile communication system 150 may include a cellular, which includes but is not limited to a third generation (3rd generation, 3G) mobile communication system, a fourth generation (4th generation, 4G) mobile communication system, a fifth generation (5th generation, 5G) mobile communication system or a future mobile communication system. That is, the mobile communication system 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication system 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication system 150 may receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication system 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication system 150 may be set in the processor 110. In some embodiments, at least some functional modules of the mobile communication system 150 may be set in the same device as at least some modules of the processor 110.

[0077] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device, or displays an image or video through a display screen. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication system 150 or other functional modules.

[0078] The wireless communication system 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), global positioning system (GPS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication system 160 can be one or more devices integrating at least one communication processing module. The wireless communication system 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication system 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0079] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication system 150, and the antenna 2 is coupled to the wireless communication system 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0080] The memory 120 can be used to store computer executable program codes, which include instructions. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the memory 120, and / or instructions stored in a memory provided in the processor.

[0081] Of course, the electronic device may also include other functional units, which are not limited in the embodiments of the present application.

[0082] The electronic device 100 is an electronic device with a wireless transceiver function or a chip or chip system with a wireless transceiver function. Illustratively, the electronic device 100 can be a mobile phone, a tablet computer (Pad), a laptop, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable electronic device, a virtual reality (VR) device, etc.

[0083] The mobile communication system 150 and the wireless communication system 160 in the electronic device 100 may be collectively referred to as a communication system. Figure 2 A schematic diagram of the structure of the antenna frequency bands used by each communication system provided in the embodiment of the present application, such as Figure 2As shown, in the low frequency band (LB), cellular B5*8 / 20 / 28 uses the 703-960MHz frequency band, and its specifications are: cellular 1T2R, T represents the transmitting antenna, and R represents the receiving antenna. Cellular 1T2R means that the cellular uses 1 transmitting antenna and 2 receiving antennas. In the middle high frequency band (MHB), GPS L5 uses the 1.207GHz frequency band, GPS L1 uses the 1.575GHz frequency band, satellite communication Tx uses the 1.61-1.6265GHz frequency band, cellular B1*3 / 39 / 40 uses the 1.71-2.4GHz frequency band, satellite communication Rx / SLE / Bluetooth / 2.4GWi-Fi uses the 2.402-2.482GHz frequency band, and cellular N41 / B7 uses the 2.496-2.69GHz frequency band. The specifications of the medium and high frequency bands are: cellular 2T4R, ENDC, 2.4G Wi-Fi 4T4R, Bluetooth 1T2R, SLE 1T1R, GPS1R, satellite communication 1T1R. In the ultra high band (UHB) band, cellular N77 / N78 uses the 3.3-4.2GHz band, cellular N79 uses the 4.4-5GHz band, SLB uses the 5.735-5.815GHz band, 5GWi-Fi uses the 5.15-5.85GHz band, UWB1 uses the 6.489±0.25GHz band, and UWB2 uses the 7.987±0.25GHz band. The specifications of the ultra high band are: cellular 2T4R, 5G WIFI 4T4R, SLB 2T2R, UWB 1T4R.

[0084] The above communication systems can send or receive signals through their respective corresponding antennas, as follows: Figure 3 As shown, the cellular communication system is implemented by Figure 3 The antenna corresponding to the Sub3G shown receives electromagnetic waves, processes the received electromagnetic waves, and transmits them to the cellular system-on-chip, which performs frequency modulation and filtering, and transmits the processed signals to the application processor AP. During the signal transmission process, the cellular communication system can also amplify the signal to be transmitted and adjust it to the following through the front-end module (FEM). Figure 3 The antenna corresponding to Sub3G shown in the figure converts the signal into electromagnetic waves and radiates them out through the antenna. Figure 3 As shown, the Wi-Fi communication system can be Figure 3The antenna corresponding to the 2.4G shown in the figure receives electromagnetic waves, and performs frequency modulation and filtering on the received electromagnetic waves through the Wi-Fi on-chip system, and sends the processed signals to the application processor AP. During the signal transmission process, the Wi-Fi communication system can also receive the signal to be sent from the application processor AP, frequency modulate it, amplify it, and adjust it to the following through the FEM: Figure 3 The 2.4G corresponding antenna shown in the figure converts the signal into electromagnetic waves and radiates them out.

[0085] It can be seen that there are many antennas with similar frequency bands inside electronic devices. For example, the frequency bands of cellular B1*3 / 39 / 40 and cellular N41 / B7 are similar, the frequency bands of cellular N77 / N78 and cellular N79 are similar, and the frequency bands of 5G Wi-Fi and cellular N79 are similar. In this way, when the internal space of electronic devices is limited, the communication systems with similar frequency bands inside electronic devices have to be arranged in a shared antenna manner. For example, Figure 2 As shown, cellular B1*3 / 39 / 40 and cellular N41 / B7 share one antenna, cellular N77 / N78 and cellular N79 share one antenna, and 5G Wi-Fi and cellular N79 share one antenna. Among them, cellular B1*3 / 39 / 40 and cellular N41 / B7, and cellular N77 / N78 and cellular N79 belong to the same system, and the electronic device can use dynamic adjustment to ensure the optimal antenna state. For example, when the communication system uses the MHB frequency band, the electronic device adjusts the antenna state to the MHB frequency point; when the communication system uses the LB frequency band, the electronic device adjusts the antenna state to the LB frequency point. However, 5G Wi-Fi and cellular N79 belong to different systems, and different systems cannot communicate with each other. Electronic devices can tune a fixed antenna state that takes both into account. The antenna state that takes into account allows the two communication systems, 5G Wi-Fi and cellular N79, to work simultaneously. However, it is impossible to guarantee the best performance of a certain communication system, resulting in performance losses of both communication systems.

[0086] In order to solve the above technical problems, an embodiment of the present application provides an antenna mutual assistance method, which is applied to an electronic device, and the electronic device includes a first communication system, a second communication system and a first antenna. Among them, the first communication system and the second communication system are different systems, and the first communication system and the second communication system share the first antenna. The method includes: when the priority of the first communication system is higher than the priority of the second communication system, the electronic device adjusts the working frequency band of the first antenna to the first frequency band used by the first communication system. Among them, the optimal working frequency band of the first communication system is the first frequency band, and the optimal working frequency band of the second communication system is the second frequency band, and the second frequency band is different from the first frequency band. That is, the electronic device can dynamically adjust the working frequency band of the first antenna according to the priority of the two communication systems, so that the working frequency band of the first antenna is the optimal working frequency band used by the first communication system with the highest priority, ensuring the best performance of the first communication system.

[0087] It should be understood that the first frequency band used by the first communication system is the optimal operating frequency band of the first communication system. Similarly, the second frequency band used by the second communication system is the optimal operating frequency band of the second communication system. Among them, the optimal operating frequency band can be understood as the operating frequency band that makes the performance of the communication system reach the best. That is, the optimal operating frequency band of the first communication system can make the performance of the first communication system reach the best, and the optimal operating frequency band of the second communication system can make the performance of the second communication system reach the best.

[0088] In some examples, the method further includes: the electronic device obtains first information and second information, the first information is used to characterize the working state of the first communication system, and the second information is used to characterize the working state of the second communication system. The electronic device determines the priority of the first communication system and the second communication system based on the first information and the second information. That is, the electronic device can determine the priority of the first communication system and the second communication system based on the working states of the first communication system and the second communication system. Afterwards, the electronic device can dynamically adjust the working frequency band of the first antenna according to the priorities of the two communication systems, so that the working frequency band of the first antenna is the frequency band used by the first communication system with the highest priority, ensuring the best performance of the first communication system.

[0089] In some examples, it can be understood that: the present application is for an antenna sharing scenario of different systems, in which two or more communication systems share one antenna. In this case, first, the correspondence between the information of each communication system and the priority score can be stored in the electronic device. When the electronic device obtains the information of each communication system, the electronic device can determine the priority of each communication system based on the information of each communication system and the correspondence between the information of the communication system and the priority score, and adjust the working frequency band of the antenna according to the frequency band used by the communication system with the highest priority, so that the performance of the communication system with the highest priority is the best.

[0090] Among them, the information of the communication system can be understood as information used to characterize the working status of the communication system. For example, if the communication system is Wi-Fi, the communication information may include but is not limited to Wi-Fi being turned off, Wi-Fi being turned on and not connected to AP, wireless screen projection, etc. If the communication system is a satellite positioning system, such as a GPS positioning system, the communication system information may include but is not limited to the GPS positioning system being turned off, continuous positioning, etc. If the communication system is a satellite communication system, the communication system information may include but is not limited to the satellite communication preparation state, the satellite communication inactivated state, etc. If the communication system is a cellular communication system, the communication system information may include but is not limited to single card data not being connected, wireless screen projection, etc. Of course, the communication system and its information are not limited to the above enumeration, and are not specifically limited in the embodiments of the present application.

[0091] Among them, the electronic device determines the priority of the first communication system and the second communication system according to the first information and the second information. Specifically, the electronic device can determine the priority of the communication system according to the first information and the second information, and the correspondence between the communication system information and the priority score. Among them, the first information is the communication system information of the first communication system, and the second information is the communication system information of the second communication system. Exemplarily, it is assumed that the first communication system is 5G Wi-Fi and the second communication system is cellular N79. 5G Wi-Fi and cellular N79 share an antenna (that is, the first antenna mentioned above), and 5G Wi-Fi and cellular N79 belong to different systems. The first information may include that 5G Wi-Fi is in an off state, and its corresponding priority score is 2. The second information may include that single card data is not connected, and its corresponding priority score is 16. The electronic device determines that the priority score corresponding to the single card data not being connected is higher than the priority score corresponding to the 5G Wi-Fi being in an off state. At this time, the electronic device can send a control instruction to the antenna adjustment switch to control the first antenna to adjust the working frequency band to the frequency band that can be used by cellular N79, that is, the 4.4-5GHz frequency band. In this way, when different systems cannot communicate with each other, the information of each communication system is obtained through the AP, so that the AP can understand the situation of each communication system. Afterwards, the AP determines the priority of each communication system based on the information of each communication system, and adjusts the working frequency band of the antenna shared by the different systems according to the frequency band used by the communication system with the highest priority, so that the performance of the communication system with the highest priority is the best. That is to say, when different systems cannot communicate with each other, the information of each communication system is obtained with the help of the AP, and the priority of each communication system is determined based on the information to adjust the working frequency band of the antenna. Compared with the existing solution that can only fix the working frequency band of the antenna to the compromised frequency band of each communication system, in this application, the working frequency band of the antenna can be adjusted to the frequency band used by the communication system with the highest priority, ensuring the best performance of the communication system.

[0092] See also Figure 4 is a schematic diagram of the structure of the combination of software and hardware of the electronic device provided in the embodiment of the present application. Figure 4 Combination Figure 1 Electronic equipment shown.

[0093] like Figure 4 As shown, at the software level: the layered architecture of the electronic device 100 divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some feasible implementations, the operating system can be divided from top to bottom into an application layer, an application framework layer, and a kernel layer.

[0094] The application layer can include a series of application packages.

[0095] The application framework layer provides application programming interface and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0096] The application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc. Figure 4 As shown, the application framework layer may also include: Bluetooth, navigation (i.e., GPS positioning), WLAN, Wi-Fi, satellite, call (i.e., mobile communication), data acquisition module, determination module, and memory module. Among them, the data acquisition module is used to obtain the information of the application program of the application program layer. The determination module is used to determine the priority corresponding to the information of the application program. The memory module is used to store the correspondence between the information and the priority score, i.e., the priority score table.

[0097] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0098] Content providers are used to store and retrieve data and make it accessible to applications. The above data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0099] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0100] The phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).

[0101] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0102] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications from applications running in the background, or a notification that appears on the screen in the form of a dialogue interface. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0103] The core library consists of two parts: one part is the function that the Java language needs to call, and the other part is the core library.

[0104] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0105] The kernel layer is the layer between hardware and software. The kernel layer contains at least the switch driver.

[0106] At the hardware level: the electronic device 100 may also include a cellular modem, an RFIC (radio frequency integrated circuit), an antenna switch module, and multiple antennas. The antenna switch module may be used to switch between multiple antennas, or may be used to switch between multiple frequency bands of an antenna. One antenna may be configured with one antenna switch module, or multiple antennas may be configured with one antenna switch module, which is not specifically limited in this application. Each antenna switch module corresponds to an identifier.

[0107] For example, based on Figure 4According to the structure shown, the workflow of the electronic device is specifically as follows: Step ① The data acquisition module deployed on the processor of the electronic device acquires the information of each communication system. For example, information of the mobile communication system, information of the GPS positioning communication system, information of the Wi-Fi communication system, information of the satellite communication system, etc. ② The data acquisition module sends the read information of each communication system to the determination module. ③ The determination module determines the priority of each communication system according to the priority score table and the information of each communication system, and determines the communication system with the highest priority. Among them, the priority score table is used to characterize the correspondence between the information of the communication system and the priority score. ④ The processor of the electronic device 100 generates indication information, which is used to indicate which antenna switch module executes which adjustment instruction. The processor sends the indication information to the cellular modem, and the cellular modem generates a control instruction according to the indication information. The control instruction is transmitted to the antenna switch module after being processed by the RFIC, and the antenna switch module adjusts the working frequency band of the antenna to the frequency band used by the communication system with the highest priority.

[0108] Figure 5-1 , Figure 5-2 and Figure 5-3 A schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application. Figure 5-1 , Figure 5-2 and Figure 5-3 As shown, this method is applied to Figure 4 The electronic device 100 shown in the figure may include a first communication system, a second communication system and a first antenna. The first communication system and the second communication system are different systems, and the second communication system and the first communication system share the first antenna. Figure 5-1 As shown, the method may include:

[0109] S501. An electronic device obtains first information of a first communication system, where the first information is used to represent a working state of the first communication system.

[0110] Among them, the electronic device obtains information of the communication system, which may include information of the following nature: the information may be information predicted by cloud big data. Alternatively, the information may be information obtained based on the state of the electronic device, such as, if the electronic device is in flight mode, the information that can be obtained may include cellular flight mode status information, etc. Alternatively, the information may be indoor and outdoor identification information, such as, if the electronic device is outdoors, the information that can be obtained may include GPS positioning information and cellular status information, etc. Alternatively, the information may be information obtained from applications of each communication system. Of course, there may also be information of other natures, which is not specifically limited in the embodiments of the present application.

[0111] It should be understood that the information of the communication system may refer to the service information of the communication system, which is used to characterize the service scenario of the communication system. That is, in the subsequent process, determining the priority of the communication system by the information of the communication system may also be understood as determining the priority of the service scenario of the communication system by the information of the communication system.

[0112] In one example, S501 can refer to the above Figure 4 In step ①, the data acquisition module deployed on the processor acquires information of each communication system, which will not be repeated here.

[0113] S502: The electronic device obtains second information of the second communication system, where the second information is used to represent a working state of the second communication system.

[0114] In one example, S502 can be seen above Figure 4 In step ①, the data acquisition module deployed on the processor acquires information of each communication system, which will not be repeated here.

[0115] In some examples, each communication system in the electronic device may include but is not limited to cellular, Wi-Fi, GPS, and satellite. Accordingly, the information corresponding to each communication system can be included in the information shown in Table 1. As shown in Table 1:

[0116] Table 1

[0117]

[0118] Of course, the information of the above communication systems is not limited to the information in Table 1, and this application will not list them one by one.

[0119] S503: The electronic device determines the priorities of the first communication system and the second communication system according to the first information and the second information.

[0120] In a specific implementable manner, the electronic device may specify that the priority corresponding to the designated information of the communication system is the highest. After the electronic device obtains the first information and the second information, the electronic device determines that the first information is the preset designated information, and then the electronic device determines that the priority of the first system corresponding to the first information is the highest. Exemplarily, it is assumed that the first communication system is cellular and the second communication system is Wi-Fi. The electronic device pre-sets that when the cellular is in an on state, the cellular has the highest priority. In this way, when the electronic device obtains that the cellular is in an on state, no matter what the Wi-Fi information obtained by the electronic device is, it can be determined that the cellular has the highest priority. At this time, the electronic device determines that the priority of the cellular is higher than the priority of the Wi-Fi. Exemplarily, it is assumed that the first communication system is the Beidou satellite communication system and the second communication system is GPS. The electronic device pre-sets that when the Beidou satellite communication system is in an on state, the Beidou satellite communication system has the highest priority. In this way, when the electronic device obtains that the Beidou satellite communication system is in an on state, no matter what the GPS information obtained by the electronic device is, it can be determined that the Beidou satellite communication system has the highest priority. At this time, the electronic device determines that the priority of the Beidou satellite communication system is higher than the priority of GPS.

[0121] In another specific implementation, the electronic device may pre-establish a correspondence between the information of the communication system and the priority score. After the electronic device obtains the first information and the second information, the electronic device may determine the priority of the first communication system and the second communication system according to the first information and the second information, and the correspondence between the information of the communication system and the priority score.

[0122] Specifically, S503 can be implemented as follows:

[0123] S5031. The electronic device determines a first score of the first communication system and a second score of the second communication system according to the first information, the second information, and a predefined scoring table; the scoring table is used to characterize the correspondence between the information of each communication system and the priority score.

[0124] The priority score corresponding to the information of each communication system may be user-defined, or defined according to the service information of each communication system. This embodiment of the present application does not make any specific limitation.

[0125] For example, assuming that the first communication system is cellular and the second communication system is GPS, the scoring table represents the cellular information and its priority score, and the GPS information and its priority score. Specifically, as shown in Table 2:

[0126] Table 2

[0127] Cellular status information Priority score GPS positioning status information Priority score Cellular is off (airplane mode) 2 Navigation is not enabled 0 No SIM card inserted 4 Continuous positioning (weak outdoor signal) 65 The bit is in the resident state, and the network is disconnected 4 Continuous positioning (strong outdoor signal) 19 Single card data not connected 16 Continuous positioning (indoor) 10 Single SIM card data connection 20 Continuous positioning (indoor and outdoor recognition) 19 Dual SIM card data service is not connected 22 Single point positioning (front desk) 65 Dual SIM data service connection 23 Single point positioning (background) 19 High priority data service (game) 52 Voice call (single card) 62 Voice call (dual SIM) 70 Weak signal resident state 71

[0128] Of course, the above cellular and GPS information and their priority scores are not limited to those listed in Table 2, and this application does not make any specific limitations.

[0129] Specifically, the electronic device can determine the first score of the first information and the second score of the second information based on the first information of the cellular and the second information of the GPS. That is, determine the first score of the cellular and the second score of the GPS. Exemplarily, as shown in Table 2, if the first information is that the cellular is in an off state, the first score corresponding to the first information is 2. If the second information is that the navigation is not turned on, the second score corresponding to the second information is 0. If the first information is that the single card data is not connected, the first score corresponding to the first information is 16. If the second information is continuous positioning (weak outdoor signal), the second score corresponding to the second information is 65.

[0130] S5032. The electronic device determines the priorities of the first communication system and the second communication system according to the first score and the second score.

[0131] In one example, the electronic device compares the first score and the second score. When the first score is greater than the second score, the electronic device determines that the priority of the first communication system is higher than the priority of the second communication system. When the first score is equal to the second score, the electronic device determines that the priority of the first communication system is consistent with the priority of the second communication system. When the first score is less than the second score, the electronic device determines that the priority of the first communication system is lower than the priority of the second communication system.

[0132] Exemplarily, using the above example, the first information is that the cellular is off, then the first score corresponding to the first information is 2. The second information is that the navigation is not turned on, then the second score corresponding to the second information is 0. 2>0, then the priority of the first information is higher than the priority of the second information, that is, the priority of cellular is higher than the priority of GPS. Similarly, exemplarily, the first information is that the single card data is not connected, then the first score corresponding to the first information is 16. The second information is continuous positioning (weak outdoor signal), then the second score corresponding to the second information is 65. 16<65, then the priority of the first information is lower than the priority of the second information, that is, the priority of cellular is lower than the priority of GPS.

[0133] In another specific implementation, the above two implementations can be combined, that is, the electronic device can specify that the specified information of the communication system has the highest priority. The specific implementation can be: the electronic device predefines the priority score corresponding to the specified information of the specified communication system as 100. Exemplarily, the electronic device predefines the priority score of the cellular being in the on state as 100. The electronic device predefines the priority score corresponding to the Beidou satellite communication system being in the on state as 100. In actual applications, the electronic device can specify which information can have a priority score of 100 according to the services of each communication system, and the embodiments of the present application do not make specific limitations.

[0134] In one example, S5031 and S5032 can refer to the above Figure 4 Steps ② and ③ will not be repeated here.

[0135] In S503, the electronic device determines the priority of each communication system. Afterwards, the electronic device can adjust the working frequency band of the antenna according to the priority of each communication system. Specifically, as described in S504 and S505:

[0136] S504: When the priority of the first communication system is higher than the priority of the second communication system, the electronic device adjusts the working frequency band of the first antenna to the first frequency band used by the first communication system.

[0137] The electronic device adjusts the working frequency band of the first antenna to the first frequency band used by the first communication system, which can be done as follows: Figures 6 to 8 The method shown is implemented as follows:

[0138] Method 1:

[0139] In a specific implementation, Figure 6 As shown, S504 can be specifically implemented as follows:

[0140] When the priority of the first communication system is higher than the priority of the second communication system, the electronic device sends a first instruction to the first antenna switch module of the first antenna, and the first instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band. That is, the processor of the electronic device (such as an application processor AP) directly sends a control instruction to the antenna switch module. The control instruction is used to instruct the antenna switch module to adjust the working frequency band of the first antenna to the first frequency band. Exemplarily, the control instruction can be a MIPI / GPIO instruction.

[0141] In the present application, the processor of the electronic device directly sends the control instruction to the antenna switch module, and the antenna switch module can be controlled without relying on other chips. It is easy to implement and has high applicability.

[0142] Method 2:

[0143] In another specific implementation, Figure 7 As shown, S504 can be specifically implemented as follows:

[0144] When the priority of the first communication system is higher than the priority of the second communication system, the electronic device sends an indication message to the first chip. The first chip may be capable of sending control instructions to the antenna switch module, and the first chip does not depend on the cellular chip. The first chip here is Figure 7 The independent chip shown in . The indication information carries the identifier of the first antenna switch module of the first antenna and the second instruction executed by the first antenna switch module, and the second instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band.

[0145] It can be understood that when the priority of the first communication system is higher than the priority of the second communication system, the electronic device sends a first command to the first chip, and the first command is used to indicate which antenna switch module executes which adjustment instruction. The first chip can generate a control instruction for adjusting the operating frequency band of the first antenna to the first frequency band according to the first command. Specifically, the processor of the electronic device (such as an application processor AP) can send the first command to the first chip through a universal interface such as a high-speed serial computer expansion bus standard (peripheral component interconnect express, PCIE) / I2C (inter-integrated circuit) / universal asynchronous receiver and transmitter (uart), and the first chip sends a control instruction to the first antenna switch module corresponding to the first antenna according to the first command, and the first antenna switch module adjusts the operating frequency band of the first antenna to the first frequency band according to the control instruction.

[0146] In the present application, by sending indication information to the first chip, the first chip generates a control instruction according to the indication information and sends it to the antenna switch module. The first chip can be customized and does not rely on the cellular chip implementation. In this way, the first chip can be supported in cellular chips of different manufacturers, and has high applicability.

[0147] Method 3:

[0148] In another specific implementation, Figure 8 As shown, S504 can be specifically implemented as follows:

[0149] When the priority of the first communication system is higher than the priority of the second communication system, an indication message is sent to the second chip. The second chip may be a cellular chip. For example, a cellular modem processor. The indication message carries an identifier of a first antenna switch module of the first antenna and a second instruction executed by the first antenna switch module, where the second instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band.

[0150] It can be understood that when the priority of the first communication system is higher than the priority of the second communication system, the electronic device sends an AT command (attention) to the second chip, and the AT command is used to indicate which antenna switch module executes which adjustment instruction. The second chip can generate a control instruction for adjusting the working frequency band of the first antenna to the first frequency band according to the AT command. The second chip is a cellular chip. That is, the processor of the electronic device sends the AT command to the cellular chip, and the cellular chip converts the AT command into a control instruction and then sends it to the first antenna switch module.

[0151] In the present application, since the cellular chip can know the information of each cellular communication system, the cellular chip can accurately locate the antenna switch module of the first antenna and the instructions it executes according to the indication information and the information of each cellular communication system, and can achieve fine-grained control. Even if the cellular priority is high, the priority can be adjusted to the optimal level among other modes when the cellular is asleep.

[0152] S505: When the priorities of the first communication system and the second communication system are consistent, the electronic device adjusts the working frequency band of the first antenna to a first frequency band used by the first communication system and a second frequency band used by the second communication system.

[0153] That is, when the priorities of the first communication system and the second communication system are the same, the electronic device adjusts the working frequency band of the first antenna into two frequency bands, namely the first frequency band used by the first communication system and the second frequency band used by the second communication system. In this way, the first communication system and the second communication system use the first antenna together. In other words, the first antenna takes into account the performance of both the first communication system and the second communication system.

[0154] Exemplarily, the first communication system is cellular and the second communication system is Wi-Fi. As shown in Table 2, cellular is in voice call (single card) state, and its corresponding priority score is 62. Wi-Fi is in continuous positioning (weak outdoor signal) state, and its corresponding priority score is 65. If these two scores are close, the electronic device can determine that the priorities of cellular and Wi-Fi are consistent. At this time, the electronic device can send a control instruction to the first antenna switch module to adjust the operating frequency band of the first antenna to the first frequency band used by cellular and the second frequency band used by Wi-Fi.

[0155] In the present application, when it is determined that the priorities of each communication system are consistent based on the information of each communication system in the heterogeneous system, the working frequency band of the antenna of the heterogeneous system is adjusted to the frequency band used by each communication system, effectively taking into account the performance of each communication system so that each communication system can work normally.

[0156] In some embodiments, the first communication system and the second communication system are different systems, and the first communication system and the second communication system share a first antenna. In one case, the first antenna and the second antenna are in the same frequency band, and the second antenna is an antenna used by the third communication system. When the first antenna receives electromagnetic waves, it may receive electromagnetic waves that are unrelated to it and have the same frequency. Similarly, when the second antenna receives electromagnetic waves, it may receive electromagnetic waves that are unrelated to it and have the same frequency. This is the mutual interference between the first antenna and the second antenna. In this case, the antenna mutual assistance method provided in the embodiment of the present application can reduce interference. Specifically, using the above Figure 5-1 Steps S501-S503 in Figure 5-2 As shown, the method may also include:

[0157] S506: When the priority of the first communication system is higher than the priority of the second communication system, the electronic device obtains third information of the third communication system, where the third information is used to represent a working state of the third communication system.

[0158] In one example, S506 can refer to the above Figure 4 In step ①, the data acquisition module deployed on the processor acquires information of each communication system, which will not be repeated here.

[0159] Of course, the timing for the electronic device to obtain the third information of the third communication system is not limited to this, and may also include: the electronic device obtains the third information of the third communication system before executing S503. Alternatively, the electronic device may also obtain the third information of the third communication system after executing S502, which is not specifically limited in the embodiments of the present application.

[0160] S507: The electronic device determines the priority between the first communication system and the third communication system according to the first information and the third information.

[0161] In an example, S507 may refer to the relevant description in the above S503, which will not be repeated here.

[0162] S508: When the priority of the first communication system is higher than the priority of the third communication system and there is interference between the first antenna and the second antenna, the electronic device adjusts the working frequency band of the second antenna to a target frequency band, which is different from the first frequency band.

[0163] The target frequency band can be understood as a frequency band that deviates from the first frequency band. The deviation can be understood as a deviation value between the target frequency band and the first frequency band, and the larger the deviation value, the smaller the interference. In specific implementation, the deviation value can be set according to actual needs, and the embodiment of the present application does not make specific limitations.

[0164] Among them, the method of determining that there is interference between the first antenna and the second antenna can be: Method 1, during the development stage of the electronic device, set the frequency band of the first antenna and the second antenna to the same frequency band. In this way, the working frequency band of the first antenna and the working frequency band of the second antenna are pre-recorded in the electronic device. Method 2, during the use stage of the electronic device, detect the sensitivity of the first antenna and the sensitivity of the second antenna, and when the receiving signal sensitivity of the first antenna changes, determine that there is interference between the first antenna and the second antenna. The receiving signal sensitivity can be understood as the minimum signal strength at which the antenna can work.

[0165] In the present application, when there is interference between the first antenna and the second antenna, and the priority of the first communication system is higher than the priority of the third communication system, the electronic device adjusts the working frequency band of the second antenna to a target frequency band that deviates from the first frequency band. In this way, the interference of the second antenna to the first communication system of the first antenna is reduced, and the performance of the first communication system is effectively guaranteed.

[0166] In some embodiments, the first communication system and the second communication system are different systems, and the first communication system and the second communication system share the first antenna. However, this is not limited to this. There are other communication systems that are different systems from the first communication system and the second communication system and also use the first antenna. For example, the other communication system is a fourth communication system. In this case, the above Figure 5-1 Steps S501-S503 in Figure 5-3 As shown, an antenna mutual assistance method provided in an embodiment of the present application also includes:

[0167] S509: When the priority of the first communication system is lower than the priority of the second communication system, the electronic device obtains fourth information of the fourth communication system, where the fourth information is used to represent a working state of the fourth communication system.

[0168] In one example, S509 can refer to the above Figure 4 In step ①, the data acquisition module deployed on the processor acquires information of each communication system, which will not be repeated here.

[0169] Of course, the timing for the electronic device to obtain the fourth information of the fourth communication system is not limited to this, and may also include: the electronic device obtains the fourth information of the fourth communication system before executing S503. Alternatively, the electronic device may also obtain the fourth information of the fourth communication system after executing S502, which is not specifically limited in the embodiments of the present application.

[0170] S510: When the priority of the first communication system is lower than the priority of the second communication system, the electronic device determines the priority of the second communication system and the fourth communication system according to the second information and the fourth information.

[0171] In an example, S510 may refer to the relevant description in the above S503, which will not be repeated here.

[0172] S511. When the priority of the second communication system is higher than the priority of the fourth communication system, the electronic device adjusts the working frequency band of the first antenna to the second frequency band used by the second communication system.

[0173] In an example, S511 may refer to the relevant description in the above S504, which will not be repeated here.

[0174] That is to say, when multiple communication systems use the first antenna, it is necessary to determine the priority of each of these communication systems one by one, and finally obtain the communication system with the highest priority. In this way, the electronic device adjusts the working frequency band of the first antenna to the frequency band used by the communication system with the highest priority, thereby meeting the performance of the communication system with the highest priority.

[0175] The following describes the antenna mutual assistance method provided by the embodiment of the present application with respect to the application scenario, as follows:

[0176] Scenario 1: Cellular and Wi-Fi share the same antenna.

[0177] Fig. 9 and Fig.10 The following is a flow chart of the antenna mutual assistance method provided in the embodiment of the present application in the scenario where cellular and Wi-Fi share antennas. Fig. 9 and Fig.10As shown, in the first scheme, the application processor AP of the electronic device obtains the status information of the cellular and Wi-Fi. In one example, the status information of the cellular is that the cellular is in a working state, such as the cellular is in an open state, the data is not connected, the non-resident state, etc. The status information of Wi-Fi may include any status information, such as Wi-Fi is in a closed state, Wi-Fi is in a turned-on state, connected to AP, etc. In another example, the status information of the cellular is that the cellular is not in a working state, such as the cellular is in a closed state, no SIM card is inserted, etc. The status information of Wi-Fi may include any status information, such as Wi-Fi is in a closed state, Wi-Fi is in a turned-on state, connected to AP, etc. The application processor AP of the electronic device can determine that the priority of the cellular and Wi-Fi is the highest according to the status information of the cellular and Wi-Fi. In one example, the electronic device can predefine that the cellular has the highest priority when the cellular is in a working state. In this way, the application processor AP of the electronic device can determine that the cellular has the highest priority according to the cellular being in a working state. In another example, the application processor AP of the electronic device can determine that the Wi-Fi has the highest priority according to the cellular being in a non-working state. The application processor AP of the electronic device sends an indication message to the cellular modem, and the indication message may be an AT command, and the indication message is used to instruct the cellular modem to which antenna switch module to send which instruction. Exemplarily, when the cellular has the highest priority, the indication message instructs the cellular modem to send instruction 1 to the antenna switch module corresponding to the cellular, and instruction 1 is to adjust the working frequency of the first antenna to the frequency band used by the cellular. When the Wi-Fi has the highest priority, the indication message instructs the cellular modem to send instruction 2 to the antenna switch module corresponding to the Wi-Fi, and instruction 2 is to adjust the working frequency of the first antenna to the frequency band used by the Wi-Fi. In this way, the electronic device can ensure that when each communication system is in a priority service scenario, the first antenna adjusts the working frequency band of the antenna to the frequency band used by the communication system to help optimize the performance of the communication system.

[0178] In the second solution, the difference from the first solution is that the application processor AP of the electronic device sends an indication message to the cellular, and the indication message is used to instruct the cellular to configure Wi-Fi to use the first antenna first when it is not working. The cellular determines whether it is in working state based on the indication message and the information of the cellular. When the cellular is in working state, the cellular sends instruction 1 to the antenna switch module corresponding to the cellular, and instruction 1 is to adjust the working frequency of the first antenna to the frequency band used by the cellular. When the cellular is not working, the cellular sends instruction 2 to the antenna switch module corresponding to Wi-Fi, and instruction 2 is to adjust the working frequency of the first antenna to the frequency band used by Wi-Fi. In this way, the electronic device sends instructions through the cellular. Since the cellular can know when it is working and when it is not working, when the cellular is not working, it can be configured to help Wi-Fi prioritize the scene. The solution is simple and easy to implement.

[0179] Scenario 2: Beidou satellite communication system, LBS and Wi-Fi share the same antenna.

[0180] Fig.11 and Fig.12 The schematic diagram of the flow of the antenna mutual assistance method provided in the embodiment of the present application in the Beidou satellite communication system, LBS and Wi-Fi shared antenna scenario. Fig.11 and Fig.12As shown, the application processor AP of the electronic device obtains the status information of the Beidou satellite communication system, LBS and Wi-Fi. In one example, the status information of the Beidou satellite communication system is that the Beidou satellite communication system is in a working state, such as a BD preparation state, a satellite communication preparation state, etc. The status of the LBS may include a working state, a non-working state, etc. The status information of Wi-Fi may include any status information, such as Wi-Fi is in a closed state, Wi-Fi is in a turned-on state, connected to AP, etc. The application processor AP of the electronic device can determine the priority of the Beidou satellite communication system, LBS and Wi-Fi according to the status information of the Beidou satellite communication system, LBS and Wi-Fi. In one example, the electronic device can pre-define that the Beidou satellite communication system has the highest priority when the Beidou satellite communication system is in a working state. If the LBS is in a working state when the Beidou satellite communication system is not in a working state, the LBS has the highest priority. In this way, the application processor AP of the electronic device can determine that the Beidou satellite communication system has the highest priority according to the Beidou satellite communication system being in a working state. At this time, the application processor AP of the electronic device sends an indication message to the cellular modem, and the indication message can be an AT command. The indication message is used to instruct the cellular modem to send instruction 1 to the antenna switch module corresponding to the Beidou satellite communication system. The instruction 1 is to adjust the working frequency of the first antenna to the frequency band used by the Beidou satellite communication system. The antenna switch module can be understood as an antenna switch module unique to the Beidou satellite communication system, or it can be understood as an antenna switch module shared by the Beidou satellite communication system, LBS and Wi-Fi. This application is not specifically limited. When the application processor AP of the electronic device is in a non-working state according to the Beidou satellite communication system, it can further determine whether the LBS is in a working state. If the application processor AP of the electronic device determines that the LBS is in a working state, the application processor AP of the electronic device determines that the LBS has the highest priority. At this time, the application processor AP of the electronic device sends an indication message to the cellular modem, and the indication message is used to instruct the cellular modem to send instruction 2 to the antenna switch module corresponding to the LBS. The instruction 2 is to adjust the working frequency of the first antenna to the frequency band used by the LBS. If the application processor AP of the electronic device determines that the LBS is in a non-working state, the application processor AP of the electronic device determines that the Wi-Fi has the highest priority. At this time, the application processor AP of the electronic device sends instruction information to the cellular modem, which is used to instruct the cellular modem to send instruction 3 to the antenna switch module corresponding to Wi-Fi, and the instruction 3 is to adjust the working frequency of the first antenna to the frequency band used by Wi-Fi.

[0181] In this scenario, the Beidou short message of the Beidou satellite communication system does not work frequently. Therefore, when the Beidou satellite communication system is not working, the resources of the first antenna can be given to other communication systems to optimize the performance of other communication systems. In this way, when the Beidou satellite communication system is not working, the Beidou satellite communication system effectively reduces the occupancy of the antenna, which can help other communication systems achieve optimal performance.

[0182] Therefore, in this application, the performance of the specified business scenario or the specified communication system is ensured to be optimal by giving priority. When the communication system is not working or is not in the specified business scenario, the performance of the business scenario or communication system with the second priority can be ensured to be optimal. In this way, it is effectively avoided that each communication system occupies the resources of the antenna at the same time, resulting in the phenomenon that each communication system has performance loss. The performance of each communication system can be optimized, the performance of the electronic device is improved, and the user experience is improved.

[0183] Unless otherwise specified or there is no logical conflict, the terms and / or descriptions between the various embodiments of the present application are consistent and can be referenced to each other. The technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0184] Combined with the above Figures 3 to 12 The antenna mutual assistance method provided in the embodiment of the present application is described in detail. Figure 3 It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, so the contents not described in detail can be referred to the method embodiment above, and will not be repeated here for the sake of brevity.

[0185] Fig.13 1 shows a schematic block diagram of an electronic device 1300 provided in an embodiment of the present application. The electronic device 1300 is provided with a first communication system and a second communication system. The electronic device 1300 includes: an adjustment module 1330.

[0186] The adjustment module 1330 is used to adjust the working frequency band of the first antenna to the first frequency band used by the first communication system when the priority of the first communication system is higher than the priority of the second communication system. Exemplarily, the adjustment module 1330 may execute the above-mentioned step S504. The adjustment module 1330 may be Figure 1 The processor 110 shown in .

[0187] The first communication system and the second communication system share a first antenna, the optimal operating frequency band of the first communication system is the first frequency band, the optimal operating frequency band of the second communication system is the second frequency band, and the second frequency band is different from the first frequency band.

[0188] In one embodiment, the electronic device 1300 may further include: an acquisition module 1310 and a determination module 1320.

[0189] The acquisition module 1310 is used to acquire first information of the first communication system, where the first information is used to represent the working state of the first communication system. Exemplarily, the acquisition module 1310 may execute the above-mentioned step S501. The acquisition module 1310 may be Figure 1 The processor 110 shown in FIG. 1 is, in particular, an application processor AP.

[0190] The acquisition module 1310 is used to acquire second information of a second communication system, where the second communication system shares a first antenna with the first communication system, and the second information is used to characterize the working state of the second communication system. Exemplarily, the acquisition module 1310 may execute the above-mentioned step S502. The acquisition module 1310 may be Figure 1 The processor 110 shown in .

[0191] The determination module 1320 is used to determine the priority of the first communication system and the second communication system according to the first information and the second information. Exemplarily, the determination module 1320 may execute the above-mentioned step S503. The determination module 1320 may be Figure 1 The processor 110 shown in .

[0192] In one embodiment, the adjustment module 1330 is used to: when the priorities of the first communication system and the second communication system are consistent, adjust the working frequency band of the first antenna to the first frequency band used by the first communication system and the second frequency band used by the second communication system. Exemplarily, the adjustment module 1330 may execute the above step S505. The adjustment module 1330 may be Figure 1 The processor 110 shown in .

[0193] In one embodiment, the adjustment module 1330 is used to: when the priority of the first communication system is higher than the priority of the second communication system, send a first instruction to the first antenna switch module of the first antenna, the first instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band. Exemplarily, the adjustment module 1330 can execute the above step S504. The adjustment module 1330 can be Figure 1 The processor 110 shown in .

[0194] In one embodiment, the adjustment module 1330 is used to: when the priority of the first communication system is higher than the priority of the second communication system, send indication information to the first chip, the indication information carries the identifier of the first antenna switch module of the first antenna and the second instruction executed by the first antenna switch module, and the second instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band. Exemplarily, the adjustment module 1330 can execute the above step S504. The adjustment module 1330 can be Figure 1 The processor 110 shown in .

[0195] In one embodiment, the determination module 1320 is used to: determine the first score of the first communication system and the second score of the second communication system according to the first information and the second information, and a predefined scoring table; the scoring table is used to characterize the correspondence between the information of each communication system and the priority score; determine the priority of the first communication system and the second communication system according to the first score and the second score. Exemplarily, the determination module 1320 can perform the above steps S5031-S5032. The determination module 1320 can be Figure 1 The processor 110 shown in .

[0196] In one embodiment, the acquisition module 1310 is used to acquire third information of a third communication system, the third communication system uses the second antenna, and the third information is used to characterize the working state of the third communication system; illustratively, the acquisition module 1310 may execute the above step S506. The acquisition module 1310 may be Figure 1 The processor 110 shown in .

[0197] The determination module 1320 is used to determine the priority of the first communication system and the third communication system according to the first information and the third information; illustratively, the determination module 1320 may execute the above-mentioned step S507. The determination module 1320 may be Figure 1 The processor 110 shown in .

[0198] The adjustment module 1330 is used to adjust the working frequency band of the second antenna to a target frequency band when the priority of the first communication system is higher than the priority of the third communication system and there is interference between the first antenna and the second antenna, and the target frequency band is different from the first frequency band. Exemplarily, the adjustment module 1330 can execute the above step S508. The adjustment module 1330 can be Figure 1 The processor 110 shown in .

[0199] In one embodiment, the acquisition module 1310 is used to acquire fourth information of a fourth communication system, the fourth communication system uses the first antenna, and the fourth information is used to characterize the working state of the fourth communication system; illustratively, the acquisition module 1310 may execute the above-mentioned step S509. The acquisition module 1310 may be Figure 1 The processor 110 shown in .

[0200] The determination module 1320 is used to determine the priority of the second communication system and the fourth communication system according to the second information and the fourth information when the priority of the first communication system is lower than the priority of the second communication system; illustratively, the determination module 1320 may execute the above-mentioned step S510. The determination module 1320 may be Figure 1 The processor 110 shown in .

[0201] The adjustment module 1330 is used to adjust the working frequency band of the first antenna to the second frequency band used by the second communication system when the priority of the second communication system is higher than the priority of the fourth communication system. Exemplarily, the adjustment module 1330 may execute the above step S511. The adjustment module 1330 may be Figure 1 The processor 110 shown in .

[0202] In one embodiment, the first communication system includes cellular, and the second communication system includes Wireless Fidelity Wi-Fi; or, the first communication system includes satellite, the second communication system includes Global Positioning System GPS, and the fourth communication system includes Wi-Fi.

[0203] In the present application, when different systems cannot communicate with each other, the electronic device obtains the information of each communication system, so that the situation of each communication system can be understood. Afterwards, the electronic device determines the priority of each communication system based on the information of each communication system, and adjusts the working frequency band of the antenna shared by the different systems according to the frequency band used by the communication system with the highest priority, so that the performance of the communication system with the highest priority is the best. That is to say, when different systems cannot communicate with each other, the working frequency band of the antenna is adjusted by obtaining the information of each communication system and combining the information to determine the priority of each communication system. Compared with the existing solution that can only fix the working frequency band of the antenna to the balanced frequency band of each communication system, in the present application, the working frequency band of the antenna can be adjusted to the frequency band used by the communication system with the highest priority, ensuring the best performance of the communication system.

[0204] 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.

[0205] An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute any of the above methods.

[0206] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute any of the above methods.

[0207] An embodiment of the present application also provides a chip, which includes a processor and an interface circuit, the interface circuit is coupled to the processor, the processor is used to run a computer program or instruction to implement the above method, and the interface circuit is used to communicate with other modules outside the chip.

[0208] All or part of any features or steps in the embodiments of the present application can be freely combined, and the combined technical solutions are also within the scope of the present application.

[0209] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0210] In the description of the present application, 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 specific way.

[0211] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0212] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0213] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0214] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0215] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0216] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. An antenna mutual assistance method, applied to an electronic device, wherein the electronic device is provided with a first communication system and a second communication system, characterized in that: include: When the priority of the first communication system is higher than the priority of the second communication system, adjusting the working frequency band of the first antenna to a first frequency band used by the first communication system; The first communication system and the second communication system share the first antenna, the optimal operating frequency band of the first communication system is the first frequency band, the optimal operating frequency band of the second communication system is the second frequency band, and the second frequency band is different from the first frequency band.

2. The method according to claim 1, characterized in that Before adjusting the working frequency band of the first antenna to the first frequency band used by the first communication system, the method further includes: Acquire first information of the first communication system, where the first information is used to represent a working state of the first communication system; Acquire second information of the second communication system, where the second information is used to represent a working state of the second communication system; The priorities of the first communication system and the second communication system are determined according to the first information and the second information.

3. The method according to claim 1 or 2, characterized in that: Also includes: When the priorities of the first communication system and the second communication system are consistent, the working frequency band of the first antenna is adjusted to a first frequency band used by the first communication system and a second frequency band used by the second communication system.

4. The method according to any one of claims 1 to 3, characterized in that When the priority of the first communication system is higher than the priority of the second communication system, adjusting the working frequency band of the first antenna to a frequency band used by the first communication system includes: When the priority of the first communication system is higher than the priority of the second communication system, a first instruction is sent to the first antenna switch module of the first antenna, where the first instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band.

5. The method according to any one of claims 1 to 3, characterized in that: When the priority of the first communication system is higher than the priority of the second communication system, adjusting the working frequency band of the first antenna to a first frequency band used by the first communication system includes: When the priority of the first communication system is higher than the priority of the second communication system, an indication message is sent to the first chip, wherein the indication message carries an identifier of the first antenna switch module of the first antenna and a second instruction executed by the first antenna switch module, wherein the second instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band.

6. The method according to any one of claims 2 to 5, characterized in that: Determining the priority of the first communication system and the second communication system according to the first information and the second information includes: Determine a first score of the first communication system and a second score of the second communication system according to the first information and the second information and a predefined scoring table, wherein the scoring table is used to characterize the correspondence between the information of each communication system and the priority score; Priorities of the first communication system and the second communication system are determined according to the first score and the second score.

7. The method according to any one of claims 2 to 6, characterized in that: Also includes: Acquire third information of a third communication system, where the third communication system uses the second antenna, and the third information is used to characterize a working state of the third communication system; Determining priorities of the first communication system and the third communication system according to the first information and the third information; When the priority of the first communication system is higher than the priority of the third communication system and there is interference between the first antenna and the second antenna, the working frequency band of the second antenna is adjusted to a target frequency band, and the target frequency band is different from the first frequency band.

8. The method according to any one of claims 2 to 7, characterized in that: Also includes: Acquire fourth information of a fourth communication system, where the fourth communication system uses the first antenna, and the fourth information is used to characterize a working state of the fourth communication system; When the priority of the first communication system is lower than the priority of the second communication system, determining the priority of the second communication system and the fourth communication system according to the second information and the fourth information; When the priority of the second communication system is higher than the priority of the fourth communication system, the working frequency band of the first antenna is adjusted to a second frequency band used by the second communication system.

9. The method according to claim 8, characterized in that The first communication system includes cellular, and the second communication system includes Wireless Fidelity Wi-Fi; or, the first communication system includes satellite, the second communication system includes Global Positioning System GPS, and the fourth communication system includes Wi-Fi.

10. An electronic device, the electronic device being provided with a first communication system and a second communication system, characterized in that: The electronic device comprises: an adjustment module; wherein, The adjustment module is used for adjusting the working frequency band of the first antenna to the first frequency band used by the first communication system when the priority of the first communication system is higher than the priority of the second communication system; The first communication system and the second communication system share the first antenna, the optimal operating frequency band of the first communication system is the first frequency band, the optimal operating frequency band of the second communication system is the second frequency band, and the second frequency band is different from the first frequency band.

11. The electronic device according to claim 10, characterized in that: Also includes: Get module and determine module, where, The acquisition module is used to acquire first information of the first communication system, where the first information is used to represent the working state of the first communication system; The acquisition module is used to acquire second information of the second communication system, where the second information is used to represent the working state of the second communication system; The determination module is used to determine the priority of the first communication system and the second communication system according to the first information and the second information.

12. The electronic device according to claim 10 or 11, characterized in that: The adjustment module is used for: When the priorities of the first communication system and the second communication system are consistent, the working frequency band of the first antenna is adjusted to a first frequency band used by the first communication system and a second frequency band used by the second communication system.

13. The electronic device according to any one of claims 10 to 12, characterized in that: The adjustment module is used for: When the priority of the first communication system is higher than the priority of the second communication system, a first instruction is sent to the first antenna switch module of the first antenna, where the first instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band.

14. The electronic device according to any one of claims 10 to 12, characterized in that: The adjustment module is used for: When the priority of the first communication system is higher than the priority of the second communication system, an indication message is sent to the first chip, wherein the indication message carries an identifier of the first antenna switch module of the first antenna and a second instruction executed by the first antenna switch module, wherein the second instruction is used to instruct to adjust the working frequency band of the first antenna to the first frequency band.

15. The electronic device according to any one of claims 11 to 14, characterized in that: The determination module is used for: Determine a first score of the first communication system and a second score of the second communication system according to the first information and the second information and a predefined scoring table, wherein the scoring table is used to characterize the correspondence between the information of each communication system and the priority score; Priorities of the first communication system and the second communication system are determined according to the first score and the second score.

16. The electronic device according to any one of claims 11 to 15, characterized in that: The acquisition module is used to acquire third information of a third communication system, the third communication system uses the second antenna, and the third information is used to characterize the working state of the third communication system; The determination module is used to determine the priority of the first communication system and the third communication system according to the first information and the third information; The adjustment module is used to adjust the working frequency band of the second antenna to a target frequency band when the priority of the first communication system is higher than the priority of the third communication system and there is interference between the first antenna and the second antenna, and the target frequency band is different from the first frequency band.

17. The electronic device according to any one of claims 11 to 16, characterized in that: The acquisition module is used to acquire fourth information of a fourth communication system, the fourth communication system uses the first antenna, and the fourth information is used to characterize the working state of the fourth communication system; The determination module is used to determine the priority of the second communication system and the fourth communication system according to the second information and the fourth information when the priority of the first communication system is lower than the priority of the second communication system; The adjustment module is used to adjust the working frequency band of the first antenna to a second frequency band used by the second communication system when the priority of the second communication system is higher than the priority of the fourth communication system.

18. The electronic device according to claim 17, characterized in that: The first communication system includes cellular, and the second communication system includes Wireless Fidelity Wi-Fi; or, the first communication system includes satellite, the second communication system includes Global Positioning System GPS, and the fourth communication system includes Wi-Fi.

19. An electronic device, characterized in that: The electronic device comprises: one or more processors; and a memory, wherein codes are stored in the memory; when the codes are executed by the processor, the electronic device executes the method according to any one of claims 1 to 9.

20. A computer-readable storage medium, characterized in that: A program or instruction is stored, and when the program or instruction is executed on a computer or a processor, the computer or the processor is caused to execute the method according to any one of claims 1 to 9.