Antenna mutual assistance method and electronic device
By dynamically adjusting the working frequency band of the antenna according to the priority of each communication system in electronic devices, the problem that multiple communication systems in electronic devices cannot ensure the best performance of each communication system at the same time when multiple communication systems share antennas, and the highest priority communication system is realized Best performance.
Patent Information
- Application Number
- PCT/CN2024/102557
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-31
- Filing Date
- 2024-06-28
- Publication Date
- 2025-02-06
AI Technical Summary
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.
By setting up an adjustment module in the electronic device, the working frequency band of the antenna is dynamically adjusted according to the priority of each communication system, so that it conforms to the optimal working frequency band of the communication system with the highest priority.
It ensures the best performance of the communication system with the highest priority and avoids performance losses caused by both frequency bands of each communication system.
Smart Images

Figure CN2024102557_06022025_PF_FP_ABST
Abstract
Description
Antenna mutual assistance method and electronic equipment
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on July 31, 2023, with application number 202310963018.0 and application name “Antenna Mutual Assistance Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] 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
[0003] With the rapid development of electronic devices, electronic devices (such as smartphones) are becoming increasingly thin, resulting in limited internal space for electronic devices. However, there are many antennas with similar frequency bands inside electronic devices. Given the limited internal space of electronic devices, it is necessary for the various communication systems inside the electronic devices to be arranged in a shared antenna manner. Among them, the various communication systems may include cellular communication systems, global positioning systems (GPS), satellite communication systems, wireless fidelity (WI-FI), Bluetooth (BT) communication systems, 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 so on.
[0004] For example, consider a scenario where cellular and Wi-Fi share a single antenna. An electronic device supports the frequency bands required for both cellular and Wi-Fi operations. Therefore, the device uses a fixed antenna state that balances both communication systems, such as cellular ultra high band (UHB) and 5G Wi-Fi. This balanced antenna state allows both communication systems to operate simultaneously. In practice, users expect their electronic devices to simultaneously transfer files and make cellular calls. However, each communication system has its own independent system-on-chip (SoC) and cannot communicate with each other. Therefore, a fixed balanced antenna state allows both communication systems to operate simultaneously, but it cannot guarantee optimal performance for either system, resulting in performance losses for both systems.
[0005] Summary of the Invention
[0006] 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.
[0007] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions.
[0008] 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.
[0009] It should be understood that the first frequency band used by the first communication system is the optimal operating frequency band for the first communication system. Similarly, the second frequency band used by the second communication system is the optimal operating frequency band for the second communication system. The optimal operating frequency band can be understood as the operating frequency band that optimizes the performance of the communication system. That is, the optimal operating frequency band of the first communication system optimizes the performance of the first communication system, and the optimal operating frequency band of the second communication system optimizes the performance of the second communication system.
[0010] 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.
[0011] 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 the 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 the satellite communication preparation state, 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 this application.
[0012] In this way, the electronic device adjusts the antenna's operating frequency band based on the priority of each communication system. Compared to existing solutions that can only fix the antenna's operating frequency band to the frequency band that is compatible with each communication system, the present application can adjust the antenna's operating frequency band to the frequency band used by the communication system with the highest priority, ensuring optimal performance of that communication system.
[0013] In some designs, the method may further include: the electronic device obtaining first information of a first communication system, the first information being used to characterize an operating status of the first communication system. The electronic device obtaining second information of a second communication system, the second communication system being a different system from the first communication system and sharing a first antenna with the first communication system, the second information being used to characterize the operating status of the second communication system. The electronic device determines a priority between the first communication system and the second communication system based on the first information and the second information.
[0014] In this way, when intercommunication between different systems is impossible, by obtaining information about each communication system, the status of each communication system can be understood. Subsequently, the priority of each communication system is determined based on this information, and the operating frequency band of the antenna shared by the different systems is adjusted according to the frequency band used by the highest-priority communication system. In other words, the antenna's operating frequency band is adjusted to the frequency band used by the highest-priority communication system. Compared to existing solutions that can only fix the antenna's operating frequency band to the frequency band that is compatible with each communication system, this application ensures the best performance for the highest-priority communication system.
[0015] In some designs, the method may further include: when the priorities of the first communication system and the second communication system are the same, the electronic device adjusting the operating 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. In this way, when it is determined based on information about each communication system in the foreign system that the priorities of the communication systems are the same, the operating frequency band of the antenna of the foreign system is adjusted to the frequency band used by each communication system, effectively taking into account the performance of each communication system and enabling each communication system to operate normally.
[0016] In one design, when the priority of the first communication system is higher than the priority of the second communication system, the electronic device adjusts the operating 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 the priority of the second communication system, the electronic device sends a first instruction to the first antenna switch module of the first antenna, where the first instruction is used to instruct the first antenna to adjust the operating 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.
[0017] In one design, when the priority of the first communication system is higher than that of the second communication system, the electronic device adjusts the operating 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 instruction to the first chip. The instruction carries an identifier of the first antenna switch module of the first antenna and a second instruction to be executed by the first antenna switch module. The second instruction is used to instruct the first antenna to adjust its operating frequency band to the first frequency band. In this way, by sending the instruction to the first chip, the first chip generates a control instruction based on the instruction and sends it to the antenna switch module. The first chip can be customized and does not rely on cellular chip implementation. Therefore, the first chip can be supported in cellular chips from different manufacturers, providing high applicability.
[0018] In one design, the first chip is a cellular chip. 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 the first antenna switch module of the first antenna and a second instruction executed by the first antenna switch module. The second instruction is used to instruct the first antenna to adjust its operating frequency band to the first frequency band.
[0019] In this way, since the cellular chip can obtain information from each cellular communication system, the cellular chip can accurately locate the antenna switch module of the first antenna and the instructions it executes based on 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 of other modes when the cellular is asleep.
[0020] In one design, 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. Specifically, the electronic device determines 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, where the scoring table represents a correspondence between information of each communication system and a priority score. The electronic device determines the priority of the first communication system and the second communication system based on the first score and the second score.
[0021] In some design solutions, the method may further include: the electronic device obtaining third information of a third communication system, the third communication system using the second antenna, the third information being used to characterize an operating status of the third communication system. The electronic device determines, based on the first information and the third information, a priority between the first communication system and the third communication system. When the priority of the first communication system is higher than the priority of the third communication system and interference exists between the first antenna and the second antenna, the electronic device adjusts an operating frequency band of the second antenna to a target frequency band, where the target frequency band is different from the first frequency band.
[0022] The target frequency band can be understood as a frequency band that deviates from the first frequency band. The deviation can be understood as the deviation value between the target frequency band and the first frequency band, with a larger deviation value resulting in less interference. During implementation, the deviation value can be set based on actual needs and is not specifically limited in this application.
[0023] The method for determining the presence of interference between the first and second antennas can be: Method 1: During the development phase of the electronic device, the frequency bands of the first and second antennas are set to the same frequency band. In this way, the operating frequency bands of the first and second antennas are pre-recorded in the electronic device. Method 2: During the use phase of the electronic device, the sensitivity of the first and second antennas are tested. When the received signal sensitivity of the first antenna changes, interference between the first and second antennas is determined. The received signal sensitivity can be understood as the minimum signal strength at which the antenna can operate.
[0024] In this way, when interference occurs between the first and second antennas, and the first communication system has a higher priority than the third communication system, the electronic device adjusts the operating frequency of the second antenna to a target frequency band that is offset from the first frequency band. This reduces interference from the second antenna with the first communication system of the first antenna, effectively maintaining the performance of the first communication system.
[0025] In some design schemes, the method may further include: the electronic device obtaining fourth information of a fourth communication system, the fourth communication system using the first antenna, the fourth information being used to characterize the operating status of the fourth communication system. When the priority of the first communication system is lower than that of the second communication system, the electronic device determines the priority of the second communication system and the fourth communication system based on the second information and the fourth information. When the priority of the second communication system is higher than that of the fourth communication system, the electronic device adjusts the operating 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 of these communication systems one by one, and ultimately obtain the communication system with the highest priority. In this way, the electronic device adjusts the operating frequency band of the first antenna to the frequency band used by the communication system with the highest priority, thereby meeting the performance requirements of the communication system with the highest priority.
[0026] In one design, 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.
[0027] In a second aspect, the present application provides an electronic device, comprising: an adjustment module; wherein the adjustment module is configured to adjust an operating frequency band of a first antenna to a 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 a second frequency band, and the second frequency band is different from the first frequency band.
[0028] 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.
[0029] 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 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 the 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 the satellite communication preparation state, 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 this application.
[0030] In this way, the electronic device adjusts the antenna's operating frequency band based on the priority of each communication system. Compared to existing solutions that can only fix the antenna's operating frequency band to the frequency band that is compatible with each communication system, the present application can adjust the antenna's operating frequency band to the frequency band used by the communication system with the highest priority, ensuring optimal performance of that communication system.
[0031] In some designs, the electronic device further includes: an acquisition module and a determination module, wherein:
[0032] The acquisition module is configured to acquire first information of a first communication system, the first information being used to indicate an operating status of the first communication system. The acquisition module is configured to acquire second information of a second communication system, the second communication system being a different system from the first communication system and being different from the first communication system, the second information being used to indicate an operating status of the second communication system. The determination module is configured to determine a priority between the first communication system and the second communication system based on the first information and the second information.
[0033] In this way, when intercommunication between different systems is impossible, by obtaining information about each communication system, the status of each communication system can be understood. Subsequently, the priority of each communication system is determined based on this information, and the operating frequency band of the antenna shared by the different systems is adjusted according to the frequency band used by the highest-priority communication system. In other words, the antenna's operating frequency band is adjusted to the frequency band used by the highest-priority communication system. Compared to existing solutions that can only fix the antenna's operating frequency band to the frequency band that is compatible with each communication system, this application ensures the best performance for the highest-priority communication system.
[0034] In one design, the adjustment module is configured to adjust the operating 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 when the priorities of the first and second communication systems are the same. In this way, when the priorities of the communication systems in the foreign system are determined to be the same based on information about the communication systems, the operating frequency band of the antenna of the foreign system is adjusted to the frequency band used by the communication systems, effectively balancing the performance of each communication system and ensuring normal operation of each communication system.
[0035] In one design, the adjustment module is configured 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 configured to adjust the operating 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, thus enabling control of the antenna switch module without relying on other chips, thus facilitating implementation and increasing applicability.
[0036] In one design, the adjustment module is configured to, when the priority of the first communication system is higher than the priority of the second communication system, send an instruction to the first chip. The instruction carries an identifier of the first antenna switch module of the first antenna and a second instruction to be executed by the first antenna switch module. The second instruction is used to instruct the first antenna to adjust its operating frequency band to the first frequency band. In this way, by sending the instruction to the first chip, the first chip generates a control instruction based on the instruction and sends it to the antenna switch module. The first chip can be customized and is not dependent on the cellular chip implementation. This allows the first chip to be supported in cellular chips from different manufacturers, providing high applicability.
[0037] In one design, the first chip is a cellular chip. The adjustment module is configured to send an indication message 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 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, the second instruction being configured to instruct adjustment of the operating frequency band of the first antenna to the first frequency band.
[0038] In this way, since the cellular chip can obtain information from each cellular communication system, the cellular chip can accurately locate the antenna switch module of the first antenna and the instructions it executes based on 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 of other modes when the cellular is asleep.
[0039] In one design scheme, the determination module is used to: determine the first score of the first communication system and the second score of 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.
[0040] In one design, the acquisition module is configured to acquire third information of a third communication system, the third communication system using a second antenna, the third information being used to characterize an operating status of the third communication system. The determination module is configured 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 configured to adjust an operating frequency band of the second antenna to a target frequency band different from the first frequency band when the priority of the first communication system is higher than the priority of the third communication system and interference exists between the first antenna and the second antenna.
[0041] The target frequency band can be understood as a frequency band that deviates from the first frequency band. The deviation can be understood as the deviation value between the target frequency band and the first frequency band, with a larger deviation value resulting in less interference. During implementation, the deviation value can be set based on actual needs and is not specifically limited in this application.
[0042] The method for determining the presence of interference between the first and second antennas can be: Method 1: During the development phase of the electronic device, the frequency bands of the first and second antennas are set to the same frequency band. In this way, the operating frequency bands of the first and second antennas are pre-recorded in the electronic device. Method 2: During the use phase of the electronic device, the sensitivity of the first and second antennas are tested. When the received signal sensitivity of the first antenna changes, interference between the first and second antennas is determined. The received signal sensitivity can be understood as the minimum signal strength at which the antenna can operate.
[0043] In this way, when interference occurs between the first and second antennas, and the first communication system has a higher priority than the third communication system, the electronic device adjusts the operating frequency of the second antenna to a target frequency band that is offset from the first frequency band. This reduces interference from the second antenna with the first communication system of the first antenna, effectively maintaining the performance of the first communication system.
[0044] In one design, the acquisition module is configured to acquire fourth information of a fourth communication system, the fourth communication system using the first antenna, and the fourth information is configured to characterize the operating status of the fourth communication system. The determination module is configured to determine the priority of the second communication system and the fourth communication system based on the second information and the fourth information when the priority of the first communication system is lower than that of the second communication system. The adjustment module is configured to adjust the operating 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 that of the fourth communication system. Thus, when multiple communication systems use the first antenna, it is necessary to determine the priority of each of these communication systems one by one, ultimately obtaining the communication system with the highest priority. In this way, the electronic device adjusts the operating frequency band of the first antenna to the frequency band used by the communication system with the highest priority, thereby meeting the performance requirements of the communication system with the highest priority.
[0045] In one design, 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.
[0046] In a third aspect, the present application provides an electronic device, comprising: one or more processors; and a memory, wherein the memory stores code; when the code is executed by the processor, the electronic device executes the method described in the first aspect.
[0047] 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.
[0048] Among them, the specific implementation methods and corresponding technical effects of each of the above-mentioned second to fourth aspects can refer to the specific implementation methods and technical effects of the above-mentioned first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] FIG1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0050] FIG2 is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of the present application;
[0051] FIG3 is a schematic diagram of the structure of antenna frequency bands used by various communication systems provided in an embodiment of the present application;
[0052] FIG4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0053] FIG5-1 is a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;
[0054] FIG5-2 is a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;
[0055] FIG5-3 is a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;
[0056] FIG6 is a schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;
[0057] FIG7 is a schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;
[0058] FIG8 is a schematic diagram of a flow chart of an antenna mutual assistance method provided in an embodiment of the present application;
[0059] FIG9 is a flow chart of an antenna mutual assistance method provided in an embodiment of the present application in a scenario where cellular and Wi-Fi share an antenna;
[0060] FIG10 is a flow chart of an antenna mutual assistance method provided in an embodiment of the present application in a scenario where cellular and Wi-Fi share an antenna;
[0061] FIG11 is a flow chart of an antenna mutual assistance method provided in an embodiment of the present application in a scenario where the Beidou satellite communication system, GPS, and Wi-Fi share an antenna;
[0062] FIG12 is a flow chart of an antenna mutual assistance method provided in an embodiment of the present application in a scenario where the Beidou satellite communication system, GPS, and Wi-Fi share an antenna;
[0063] FIG13 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] FIG1 shows a schematic structural diagram of an electronic device 100 .
[0065] 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.
[0066] It should be understood that the structures illustrated in the embodiments of the present application do 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, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0067] 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. The different processing units may be independent devices or integrated into one or more processors.
[0068] In one specific implementation, for example, mobile communication system 150 and wireless communication system 160 share antenna 1. Application processor AP can obtain information about mobile communication system 150 and / or wireless communication system 160. Based on this information, application processor AP determines the priority of mobile communication system 150 and / or wireless communication system 160. When wireless communication system 160 has the highest priority, application processor AP sends a control instruction to antenna 1 to adjust the operating frequency band of antenna 1 to the frequency band used by wireless communication system 160. When mobile communication system 150 has the highest priority, application processor AP sends a control instruction to antenna 1 to adjust the operating frequency band of antenna 1 to the frequency band used by mobile communication system 150.
[0069] 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.
[0070] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0071] 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 that includes 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 used 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 typically 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 via the UART interface to implement Bluetooth functionality.
[0072] The USB interface 130 is an interface that complies with USB standards and specifications, and may specifically be a MIPI USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100 and to transfer data between the electronic device 100 and peripheral devices. This interface can also be used to connect other electronic devices, such as AR devices.
[0073] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative 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 from the above embodiments, or a combination of multiple interface connection methods.
[0074] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0075] 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 count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be provided in the same device.
[0076] 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.
[0077] 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 antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0078] The mobile communication system 150 may include a cellular network, including but not limited to a third generation (3G) mobile communication system, a fourth generation (4G) mobile communication system, a fifth generation (5G) mobile communication system, or future mobile communication systems. In other words, the mobile communication system 150 may provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use in 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 via antenna 1, filter and amplify the received electromagnetic waves, and transmit them to a modem processor for demodulation. The mobile communication system 150 may also amplify the signals modulated by the modem processor and convert them into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some of the functional modules of the mobile communication system 150 may be located in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication system 150 may be located in the same device as at least some of the modules of the processor 110.
[0079] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted 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 being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs the sound signal through the audio device or displays the image or video through the 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.
[0080] 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., 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication system 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0081] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication system 150, and antenna 2 is coupled to wireless communication system 160, so that electronic device 100 can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies 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. 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).
[0082] 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. 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.
[0083] Of course, the electronic device may also include other functional units, which is not limited in the embodiments of the present application.
[0084] The electronic device 100 is an electronic device with wireless transceiver functionality or a chip or chip system with wireless transceiver functionality. For example, the electronic device 100 may 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.
[0085] 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. For example, FIG2 is a schematic diagram illustrating the structure of antenna frequency bands used by various communication systems according to an embodiment of the present application. As shown in FIG2 , in the low frequency band (LB) segment, the cellular B5*8 / 20 / 28 uses the 703-960 MHz frequency band, with specifications of: cellular 1T2R, where T represents a transmitting antenna and R represents a receiving antenna. Cellular 1T2R indicates that the cell uses one transmitting antenna and two receiving antennas. In the middle and high frequency band (MHB), GPS L5 uses the 1.207 GHz band, GPS L1 uses the 1.575 GHz band, satellite communication Tx uses the 1.61-1.6265 GHz band, cellular B1*3 / 39 / 40 uses the 1.71-2.4 GHz band, satellite communication Rx / SLE / Bluetooth / 2.4G Wi-Fi uses the 2.402-2.482 GHz band, and cellular N41 / B7 uses the 2.496-2.69 GHz band. The specifications for the middle and high frequency bands are: cellular 2T4R, ENDC, 2.4G Wi-Fi 4T4R, Bluetooth 1T2R, SLE 1T1R, GPS 1R, and satellite communication 1T1R. In the ultra-high band (UHB) segment, the cellular N77 / N78 uses the 3.3-4.2 GHz band, the cellular N79 uses the 4.4-5 GHz band, the SLB uses the 5.735-5.815 GHz band, the 5.15-5.85 GHz band for 5G Wi-Fi, the 6.489 ± 0.25 GHz band for UWB1, and the 7.987 ± 0.25 GHz band for UWB2. The UHF band specifications are: 2T4R for cellular, 4T4R for 5G Wi-Fi, 2T2R for SLB, and 1T4R for UWB.
[0086] The above-mentioned communication systems can send or receive signals through their respective corresponding antennas, as follows: As shown in Figure 3, the cellular communication system receives electromagnetic waves through the antenna corresponding to Sub3G shown in Figure 3, processes the received electromagnetic waves, and then transmits them to the cellular system-on-chip. The cellular system-on-chip performs frequency modulation and filtering, and then 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, adjust it to the antenna corresponding to Sub3G shown in Figure 3 through the front-end module (FEM), and convert the signal into electromagnetic waves through the antenna and radiate it. For example, as shown in Figure 3, the Wi-Fi communication system can receive electromagnetic waves through the antenna corresponding to 2.4G shown in Figure 3, and perform frequency modulation and filtering on the received electromagnetic waves through the Wi-Fi system-on-chip, and then transmit 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 transmitted from the application processor AP, frequency modulate it, amplify it, adjust it to the antenna corresponding to 2.4G shown in Figure 3 through the FEM, and then convert the signal into electromagnetic waves through the antenna and radiate it.
[0087] As can be seen, electronic devices often have antennas with similar frequency bands. 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. Therefore, given the limited space within electronic devices, communication systems with similar frequency bands within these devices must be arranged using shared antennas. For example, as shown in Figure 2, cellular B1*3 / 39 / 40 and cellular N41 / B7 share an antenna, cellular N77 / N78 and cellular N79 share an antenna, and 5G Wi-Fi and cellular N79 share an antenna. Cellular B1*3 / 39 / 40 and cellular N41 / B7, as well as cellular N77 / N78 and cellular N79, belong to the same system. Electronic devices can use dynamic adjustment to ensure optimal antenna performance. For example, when the communication system uses the MHB band, the electronic device adjusts the antenna state to the MHB frequency point; when the communication system uses the LB band, the electronic device adjusts the antenna state to the LB frequency point. However, 5G Wi-Fi and cellular N79 are different systems and cannot communicate with each other. Electronic devices can tune a fixed antenna state that takes both into account. This balanced antenna state allows the 5G Wi-Fi and cellular N79 communication systems to operate simultaneously. However, there is no guarantee that the performance of a single communication system will be optimal, resulting in performance losses for both communication systems.
[0088] 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. 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. 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, thereby ensuring the best performance of the first communication system.
[0089] It should be understood that the first frequency band used by the first communication system is the optimal operating frequency band for the first communication system. Similarly, the second frequency band used by the second communication system is the optimal operating frequency band for the second communication system. The optimal operating frequency band can be understood as the operating frequency band that optimizes the performance of the communication system. That is, the optimal operating frequency band of the first communication system optimizes the performance of the first communication system, and the optimal operating frequency band of the second communication system optimizes the performance of the second communication system.
[0090] In some examples, the method further includes: the electronic device obtaining first information and second information, where the first information is used to represent the operating status of the first communication system, and the second information is used to represent the operating status 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 operating status of the first communication system and the second communication system. The electronic device can then dynamically adjust the operating frequency band of the first antenna based on the priority of the two communication systems, so that the operating frequency band of the first antenna is the frequency band used by the first communication system with the highest priority, thereby ensuring optimal performance of the first communication system.
[0091] 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 electronic device can store the correspondence between the information of each communication system and the priority score. 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.
[0092] 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 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 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 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 the embodiments of the present application.
[0093] 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. Specifically, the electronic device can determine the priority of the communication system based on the first information, the second information, and the correspondence between the communication system information and the priority score. 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. For example, assume 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 (i.e., the first antenna described above), and 5G Wi-Fi and cellular N79 are different systems. The first information may include that 5G Wi-Fi is off, corresponding to a priority score of 2. The second information may include that single-card data is not connected, corresponding to a priority score of 16. The electronic device determines that the priority score corresponding to single-card data not being connected is higher than the priority score corresponding to 5G Wi-Fi being off. In this case, the electronic device can send a control instruction to the antenna adjustment switch to control the first antenna to adjust the operating frequency band to a frequency band available to cellular N79, i.e., the 4.4-5 GHz 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 balanced 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.
[0094] 4 is a schematic diagram showing the structure of the electronic device provided by an embodiment of the present application, which is a combination of software and hardware.
[0095] As shown in Figure 4, at the software level, the layered architecture of electronic device 100 divides the software into several layers, each with distinct roles and responsibilities. Layers communicate with each other via 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.
[0096] The application layer can include a series of application packages.
[0097] The application framework layer provides application programming interfaces and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions.
[0098] The application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc. As shown in Figure 4, 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. The data acquisition module is used to obtain information about applications in the application layer. The determination module is used to determine the priority corresponding to the application information. The memory module is used to store the correspondence between information and priority scores, i.e., the priority score table.
[0099] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0100] Content providers are used to store and retrieve data and make it accessible to applications. Such data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0101] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0102] The phone manager is used to provide communication functions for electronic devices, such as call status management (including answering, hanging up, etc.).
[0103] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0104] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically, without requiring user interaction. For example, the Notification Manager can be used to notify users of completed downloads, message reminders, and so on. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog interfaces on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0105] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the core library.
[0106] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0107] The kernel layer is the layer between hardware and software. The kernel layer contains at least the switch driver.
[0108] At the hardware level: The electronic device 100 may also include a cellular modem (i.e., a cellular modem), an RFIC (radio frequency integrated circuit), an antenna switch module, and multiple antennas. The antenna switch module can be used to switch between multiple antennas, or it can be used to switch between multiple frequency bands of a single antenna. One antenna can be configured with one antenna switch module, or multiple antennas can be configured with one antenna switch module, which is not specifically limited in this application. Each antenna switch module corresponds to an identifier.
[0109] Exemplarily, based on the structure shown in FIG4 , the workflow of the electronic device is as follows: Step 1: A data acquisition module deployed on the processor of the electronic device acquires information about each communication system. For example, information about a mobile communication system, a GPS positioning communication system, a Wi-Fi communication system, a satellite communication system, etc. Step 2: The data acquisition module transmits the information obtained from each communication system to a determination module. Step 3: The determination module determines the priority of each communication system based on a priority score table and the information about each communication system, and identifies the communication system with the highest priority. The priority score table represents the correspondence between communication system information and priority scores. Step 4: The processor of the electronic device 100 generates indication information, which indicates which antenna switch module executes which adjustment instruction. The processor transmits the indication information to the cellular modem. The cellular modem generates a control instruction based on the indication information. The control instruction is processed by the RFIC and then transmitted to the antenna switch module. The antenna switch module adjusts the operating frequency band of the antenna to the frequency band used by the communication system with the highest priority.
[0110] Figures 5-1, 5-2, and 5-3 are flowcharts of an antenna mutual assistance method provided in an embodiment of the present application. As shown in Figures 5-1, 5-2, and 5-3, the method is applied to the electronic device 100 shown in Figure 4, which 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. As shown in Figure 5-1, the method may include:
[0111] 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.
[0112] Among them, the information that the electronic device obtains from the communication system 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 status of the electronic device. For example, 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. For example, 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 the 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.
[0113] It should be understood that the communication system information may refer to the service information of the communication system, which is used to characterize the service scenarios of the communication system. That is, later, determining the priority of the communication system based on the communication system information can also be understood as determining the priority of the service scenarios of the communication system based on the communication system information.
[0114] In an example, S501 can refer to the data acquisition module deployed on the processor in step ① of FIG. 4 above to obtain information of each communication system, which will not be repeated here.
[0115] S502: The electronic device obtains second information of the second communication system, where the second information is used to represent the working status of the second communication system.
[0116] In one example, S502 can be seen in step ① of FIG. 4 above, where a data acquisition module is deployed on the processor to acquire information of each communication system, which will not be described in detail here.
[0117] In some examples, the communication systems in the electronic device may include, but are not limited to, cellular, Wi-Fi, GPS, and satellite. Accordingly, the information corresponding to each communication system may be found in the information shown in Table 1. As shown in Table 1:
[0118] Table 1
[0119] 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.
[0120] 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.
[0121] In one specific implementation, the electronic device may specify that the communication system corresponding to designated information has the highest priority. After the electronic device obtains first information and second information, if the electronic device determines that the first information is pre-set designated information, the electronic device determines that the first system corresponding to the first information has the highest priority. For example, assuming the first communication system is cellular and the second communication system is Wi-Fi, the electronic device pre-sets that when cellular is turned on, the cellular system has the highest priority. Thus, when the electronic device obtains that the cellular system is turned on, regardless of the Wi-Fi information obtained by the electronic device, the cellular system can be determined to have the highest priority. In this case, the electronic device determines that the cellular system has a higher priority than the Wi-Fi system. For example, assuming 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 turned on, the Beidou satellite communication system has the highest priority. Thus, when the electronic device obtains that the Beidou satellite communication system is turned on, regardless of the GPS information obtained by the electronic device, the Beidou satellite communication system can be determined to have the highest priority. In this case, the electronic device determines that the Beidou satellite communication system has a higher priority than the GPS system.
[0122] In another specific implementation, the electronic device may pre-establish a correspondence between communication system information and priority scores. 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 based on the first information, the second information, and the correspondence between the communication system information and the priority scores.
[0123] Specifically, S503 can be implemented as follows:
[0124] S5031. The electronic device determines a first score for the first communication system and a second score for the second communication system based on the first information, the second information, and a predefined scoring table; the scoring table is used to represent the correspondence between information of each communication system and a priority score.
[0125] The priority scores corresponding to the information of each communication system may be user-defined or defined based on the service information of each communication system. This embodiment of the present application does not impose any specific limitation.
[0126] 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:
[0127] Table 2
[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 cellular information and the second GPS information. That is, the first score of the cellular and the second score of the GPS are determined. Exemplarily, as shown in Table 2, if the first information is that the cellular is off, the first score corresponding to the first information is 2. If the second information is that 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 a first score and a 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] For example, using the above example, if the first information is that the cellular is off, 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 2>0, the priority of the first information is higher than the priority of the second information, that is, the priority of the cellular is higher than the priority of the GPS. Similarly, for example, 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. If 16<65, the priority of the first information is lower than the priority of the second information, that is, the priority of the cellular is lower than the priority of the GPS.
[0133] In another specific implementation, the two implementations described above can be combined. That is, the electronic device can specify that the information corresponding to the specified communication system has the highest priority. A specific implementation can be: the electronic device pre-defines the priority score corresponding to the specified information of the specified communication system to be 100. For example, the electronic device pre-defines the priority score corresponding to the cellular being turned on to be 100. The electronic device pre-defines the priority score corresponding to the Beidou satellite communication system being turned on to be 100. In actual applications, the electronic device can specify which information can have a priority score of 100 based on the services of each communication system, and this embodiment of the application does not specifically limit this.
[0134] In an example, S5031 and S5032 can refer to steps ② and ③ in FIG4 above, which are not described in detail 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 operating frequency band of the first antenna to the first frequency band used by the first communication system, which can be achieved in the manner shown in Figures 6 to 8:
[0138] Method 1:
[0139] In a specific implementation manner, as shown in FIG6 , S504 may be 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 the first antenna to adjust the operating frequency band of the first antenna to the first frequency band. That is, the processor of the electronic device (such as the 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 operating 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 instructions 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 manner, as shown in FIG7 , S504 may be 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 instruction message to the first chip. The first chip can be capable of sending control instructions to the antenna switch module and is independent of the cellular chip. The first chip here is the independent chip shown in Figure 7. The instruction message carries the identifier of the first antenna switch module of the first antenna and a second instruction executed by the first antenna switch module. The second instruction is used to instruct the first antenna to adjust its operating frequency band 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 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 this application, instruction information is sent to the first chip, which then generates control instructions based on the instruction information and sends them 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 from different manufacturers, with high applicability.
[0147] Method 3:
[0148] In another specific implementation manner, as shown in FIG8 , S504 may be 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 the first antenna switch module of the first antenna and a second instruction executed by the first antenna switch module. The second instruction is used to instruct the first antenna to adjust its operating frequency band 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. The AT command is used to instruct which antenna switch module to execute which adjustment instruction. The second chip can generate a control instruction for adjusting the operating frequency band of the first antenna to the first frequency band based on 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, which converts the AT command into a control instruction and then sends it to the first antenna switch module.
[0151] In this 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 based on the indication information and the information of each cellular communication system, and can achieve fine-grained control. Even if the cellular priority is high, when the cell is asleep, the priority can be adjusted to the best of other modes.
[0152] S505: When the priorities of the first communication system and the second communication system are consistent, the electronic device adjusts the operating 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 and second communication systems match, the electronic device adjusts the operating frequency band of the first antenna to two frequency bands: a first frequency band used by the first communication system and a second frequency band used by the second communication system. In this way, the first and second communication systems share the first antenna. In other words, the first antenna provides the performance of both the first and second communication systems.
[0154] For example, the first communication system is cellular and the second communication system is Wi-Fi. As shown in Table 2, the cellular system is in the voice call (single card) state, and its corresponding priority score is 62. The Wi-Fi system is in the 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 this 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 operate normally.
[0156] In some embodiments, the above-mentioned first communication system and 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 the 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, the method follows the steps S501-S503 in Figure 5-1 above, as shown in Figure 5-2, and 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 the working status of the third communication system.
[0158] In one example, S506 can refer to the data acquisition module deployed on the processor in step ① in FIG. 4 above to obtain 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 obtaining 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 priorities of the first communication system and the third communication system according to the first information and the third information.
[0161] In an example, S507 can 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 operating frequency band of the second antenna to a target frequency band that 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 the deviation value between the target frequency band and the first frequency band. A larger deviation value results in less interference. In specific implementations, the deviation value can be set based on actual needs and is not specifically limited in this embodiment of the present application.
[0164] The method for determining the presence of interference between the first and second antennas can be: Method 1: During the development phase of the electronic device, the frequency bands of the first and second antennas are set to the same frequency band. In this way, the operating frequency bands of the first and second antennas are pre-recorded in the electronic device. Method 2: During the use phase of the electronic device, the sensitivity of the first and second antennas are tested. When the received signal sensitivity of the first antenna changes, interference between the first and second antennas is determined. The received signal sensitivity can be understood as the minimum signal strength at which the antenna can operate.
[0165] In this application, when interference exists between the first and second antennas, and the first communication system has a higher priority than the third communication system, the electronic device adjusts the operating frequency of the second antenna to a target frequency band that deviates from the first frequency band. This reduces the interference of the second antenna on the first communication system of the first antenna, effectively ensuring the performance of the first communication system.
[0166] In some embodiments, the first communication system and the second communication system are heterogeneous systems, and the first communication system and the second communication system share a first antenna. However, this is not limited to this, and there are other communication systems that are heterogeneous systems with 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, following the steps S501-S503 in Figure 5-1 above, as shown in Figure 5-3, 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 the working state of the fourth communication system.
[0168] In one example, S509 can refer to the data acquisition module deployed on the processor in step ① of FIG4 above to obtain 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 obtaining 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 priorities 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 and 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 can 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 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 meeting the performance of the communication system with the highest priority.
[0175] The following describes the antenna mutual assistance method provided in 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] Figures 9 and 10 are flow charts illustrating the antenna mutual assistance method provided by an embodiment of the present application in a scenario where cellular and Wi-Fi share an antenna. As shown in Figures 9 and 10, in a first scenario, an electronic device's application processor (AP) obtains cellular and Wi-Fi status information. In one example, the cellular status information indicates whether the cellular is in an active state, such as being on, not connected to data, or not resident. The Wi-Fi status information can include any status information, such as Wi-Fi being off, Wi-Fi being on, or connected to an AP. In another example, the cellular status information indicates whether the cellular is in an inactive state, such as being off, not having a SIM card inserted, or not. The Wi-Fi status information can include any status information, such as Wi-Fi being off, Wi-Fi being on, or connected to an AP. Based on the cellular and Wi-Fi status information, the electronic device's application processor (AP) can determine which of the two options has the highest priority. In one example, the electronic device can predefine that the cellular has the highest priority when the cellular is in an active state. Thus, the electronic device's application processor (AP) can determine that the cellular has the highest priority based on the cellular's active state. In another example, the application processor AP of the electronic device can determine that Wi-Fi has the highest priority based on the fact that the cellular is in an inoperative state. 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, 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 the instruction 1 is to adjust the operating 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 the instruction 2 is to adjust the operating 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 antenna's operating frequency band to the frequency band used by the communication system to help the communication system achieve optimal performance.
[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, which 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 cellular information. When the cellular is in working state, the cellular sends instruction 1 to the antenna switch module corresponding to the cellular. 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. 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 an antenna.
[0180] Figures 11 and 12 are flow charts illustrating the antenna mutual assistance method provided by an embodiment of the present application in a scenario where the Beidou satellite communication system, LBS, and Wi-Fi share an antenna. As shown in Figures 11 and 12, an electronic device's application processor (AP) obtains status information for the Beidou satellite communication system, LBS, and Wi-Fi. In one example, the Beidou satellite communication system status information indicates whether the Beidou satellite communication system is in an operational state, such as BD preparation state or satellite communication preparation state. The LBS status may include operational or inoperative status. The Wi-Fi status information may include any status information, such as Wi-Fi off, Wi-Fi on, or connected to an AP. Based on the status information for the Beidou satellite communication system, LBS, and Wi-Fi, the electronic device's application processor (AP) determines the priority of the Beidou satellite communication system, LBS, and Wi-Fi. In one example, the electronic device may predefine that the Beidou satellite communication system has the highest priority when the Beidou satellite communication system is in an operational state. If the LBS is in an operational state while the Beidou satellite communication system is inoperative, 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 based on the Beidou satellite communication system being in operation. At this point, the application processor AP of the electronic device sends instruction information to the cellular modem. This instruction information can be an AT command, which instructs the cellular modem to send instruction 1 to the antenna switch module corresponding to the Beidou satellite communication system. Instruction 1 is to adjust the operating 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 as an antenna switch module shared by the Beidou satellite communication system, the LBS, and Wi-Fi, which is not specifically limited in this application. When the application processor AP of the electronic device determines that the LBS is in operation based on the Beidou satellite communication system being inoperative, it can further determine whether the LBS is in operation. If the application processor AP of the electronic device determines that the LBS is in operation, the application processor AP of the electronic device determines that the LBS has the highest priority. At this point, the application processor AP of the electronic device sends instruction information to the cellular modem. This instruction information is used to instruct the cellular modem to send instruction 2 to the antenna switch module corresponding to the LBS. Instruction 2 is to adjust the operating 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 not operating, the application processor AP of the electronic device determines that Wi-Fi has the highest priority. At this time, the application processor AP of the electronic device sends an instruction to the cellular modem, which instructs the cellular modem to send instruction 3 to the antenna switch module corresponding to Wi-Fi, which is to adjust the operating frequency of the first antenna to the frequency band used by Wi-Fi.
[0181] In this scenario, the BeiDou short message system's BeiDou satellite communication system is not always operational. Therefore, when the BeiDou satellite communication system is not operating, the first antenna's resources can be allocated to other communication systems to optimize their performance. This effectively reduces the BeiDou satellite communication system's antenna usage when the system is not operating, helping other communication systems achieve optimal performance.
[0182] Therefore, in this application, by prioritizing optimal performance for a specific service scenario or communication system, when the communication system is not operating or not in the specified service scenario, optimal performance can be ensured for the next-highest priority service scenario or communication system. This effectively avoids the phenomenon of each communication system simultaneously occupying antenna resources, resulting in performance loss for each communication system. This allows each communication system to achieve optimal performance, improving the performance of the electronic device and enhancing the user experience.
[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 by each other. The technical features in different embodiments can be combined to form new embodiments based on their internal logical relationships.
[0184] The antenna mutual assistance method provided in the embodiments of the present application is described in detail above with reference to Figures 3 to 12. The electronic device provided in the embodiments of the present application will be described in detail below with reference to Figure 3. It should be understood that the description of the apparatus embodiment corresponds to the description of the method embodiment. Therefore, for matters not described in detail, reference can be made to the method embodiment above, and for the sake of brevity, no further description will be given here.
[0185] FIG13 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, and includes an adjustment module 1330.
[0186] Adjustment module 1330 is configured to adjust the operating 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, adjustment module 1330 may execute step S504 above. Adjustment module 1330 may be processor 110 shown in FIG1 .
[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 configured to acquire first information of the first communication system, where the first information is used to represent the operating status of the first communication system. Exemplarily, the acquisition module 1310 may execute the above-described step S501. The acquisition module 1310 may be the processor 110 shown in FIG1 , particularly an application processor AP.
[0190] Acquisition module 1310 is configured 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 configured to represent an operating status of the second communication system. Exemplarily, acquisition module 1310 may execute step S502 above. Acquisition module 1310 may be processor 110 shown in FIG1 .
[0191] The determination module 1320 is configured 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 the processor 110 shown in FIG1 .
[0192] In one embodiment, the adjustment module 1330 is configured to adjust the operating 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 when the priorities of the first communication system and the second communication system are the same. Exemplarily, the adjustment module 1330 may execute the above-described step S505. The adjustment module 1330 may be the processor 110 shown in FIG1 .
[0193] In one embodiment, adjustment module 1330 is configured 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 being used to instruct the first antenna to adjust its operating frequency band to the first frequency band. Exemplarily, adjustment module 1330 may execute step S504 above. Adjustment module 1330 may be processor 110 shown in FIG1 .
[0194] In one embodiment, adjustment module 1330 is configured to: when the priority of the first communication system is higher than the priority of the second communication system, send an indication message to the first chip, the indication message carrying an identifier of the first antenna switch module of the first antenna and a second instruction to be executed by the first antenna switch module, the second instruction being configured to instruct adjustment of the operating frequency band of the first antenna to the first frequency band. Exemplarily, adjustment module 1330 may execute step S504 above. Adjustment module 1330 may be processor 110 shown in FIG1 .
[0195] In one embodiment, determination module 1320 is configured to: determine a first score for the first communication system and a second score for the second communication system based on the first information, the second information, and a predefined scoring table; the scoring table is configured to represent the correspondence between information of each communication system and a 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. Exemplarily, determination module 1320 may execute steps S5031-S5032 described above. Determination module 1320 may be processor 110 shown in FIG1 .
[0196] In one embodiment, the acquisition module 1310 is configured to acquire third information of a third communication system, where the third communication system uses the second antenna, and the third information is used to represent the operating status of the third communication system. Exemplarily, the acquisition module 1310 may execute the above-mentioned step S506. The acquisition module 1310 may be the processor 110 shown in FIG1 .
[0197] The determination module 1320 is configured to determine the priority of the first communication system and the third communication system according to the first information and the third information. Exemplarily, the determination module 1320 may execute the above-mentioned step S507. The determination module 1320 may be the processor 110 shown in FIG1 .
[0198] Adjustment module 1330 is configured to adjust the operating frequency band of the second antenna to a target frequency band different from the first frequency band when the priority of the first communication system is higher than the priority of the third communication system and interference occurs between the first antenna and the second antenna. Exemplarily, adjustment module 1330 may execute step S508 above. Adjustment module 1330 may be processor 110 shown in FIG1 .
[0199] In one embodiment, the acquisition module 1310 is configured to acquire fourth information of a fourth communication system, where the fourth communication system uses the first antenna, and the fourth information is used to represent an operating state of the fourth communication system. Exemplarily, the acquisition module 1310 may execute the above-described step S509. The acquisition module 1310 may be the processor 110 shown in FIG1 .
[0200] The determination module 1320 is configured to determine the priorities of the second communication system and the fourth communication system based on 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. Exemplarily, the determination module 1320 may execute the above-mentioned step S510. The determination module 1320 may be the processor 110 shown in FIG1 .
[0201] Adjustment module 1330 is configured to adjust the operating 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, adjustment module 1330 may execute step S511 above. Adjustment module 1330 may be processor 110 shown in FIG1 .
[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, the working frequency band of the antenna can be adjusted to the frequency band used by the communication system with the highest priority in the present application, 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, comprising instructions, which, when executed on a computer, enables the computer to execute any of the above methods.
[0206] An embodiment of the present application also provides a computer program product comprising 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 various embodiments of the present application may 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 can 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 "a plurality" means two or more. Words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not limit them to be necessarily different.
[0210] In the description of this 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 this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[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 this 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 merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, 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 separate, 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 places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0214] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or 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 and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0216] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection 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 of the first antenna is The frequency band is adjusted to the 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.
Citation Information
Patent Citations
Path switching method and device and computer readable storage medium
CN110267365A
Antenna switching method and related product
CN110311704A
Radio frequency front-end module, transceiving device and communication terminal
CN112751573A
Access satellite communication system and land-based wireless communication system
CN115734312A
Radio frequency resource allocation method and apparatus
WO2021223539A1
Cited By
Antenna tuning method and electronic equipment
CN121151158A