Radio frequency module, antenna control method and device, electronic equipment, medium and product
By setting multiple antennas in electronic devices and switching to use target antennas or independent antennas according to communication conditions, the problem of coexistence of multiple radio frequency links is solved, and the communication quality is improved.
Patent Information
- Application Number
- CN202310494892.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-04
- Publication Date
- 2024-11-05
AI Technical Summary
In existing electronic devices, multiple radio frequency links (such as Bluetooth and WIFI) coexist due to time division duplex mode, resulting in a large communication delay and low communication quality.
Multiple antennas are set up in the RF module, and the received signal strength of the antenna is detected through the RF chip. The target antenna or independent antenna is switched to transmit and receive RF signals according to different communication conditions, and the TDD or FDD mode is used to reduce the delay.
By separating the RF links at the antenna level, independent work is achieved, the communication delay of the RF link is reduced and the communication quality of electronic devices is improved.
Smart Images

Figure CN118900135A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a radio frequency module, an antenna control method, an apparatus, an electronic device, a medium and a product. Background Art
[0002] With the rapid development of wireless communication technology, multiple radio frequency links based on wireless communication technology are usually set up in mobile phones and other electronic devices to provide users with a more convenient communication experience.
[0003] Taking the multiple RF links, namely the Bluetooth RF link and the WIFI RF link, as an example, the Bluetooth RF link and the WIFI RF link both operate in the 2.4G frequency band. In order to avoid co-frequency interference, electronic devices usually use TDD (Time Division Duplexing) to achieve the coexistence of the Bluetooth RF link and the WIFI RF link. The TDD mode means that the Bluetooth RF link and the WIFI RF link share the antenna and operate in different time slots respectively.
[0004] However, the above-mentioned method of realizing the coexistence of multiple radio frequency links causes a large communication delay of the electronic device, resulting in low communication quality of the electronic device. Summary of the invention
[0005] The embodiments of the present application provide a radio frequency module, an antenna control method, an apparatus, an electronic device, a medium and a product, which can improve the communication quality of the electronic device.
[0006] In a first aspect, a radio frequency module is provided, the radio frequency module comprising a first radio frequency link, a second radio frequency link and a plurality of antennas, wherein among the plurality of antennas there are a first antenna and a second antenna having an antenna isolation greater than a preset isolation threshold;
[0007] The first radio frequency link and the second radio frequency link are used to use the target antenna among the multiple antennas to transmit and receive radio frequency signals in different time slices when the first communication condition is met;
[0008] The first radio frequency link and the second radio frequency link are further configured to respectively use the first antenna and the second antenna to transmit and receive radio frequency signals when a second communication condition is met.
[0009] In a second aspect, an antenna control method is provided, which is used in an electronic device, wherein the electronic device includes the radio frequency module as described in the first aspect above, and the method includes:
[0010] When the first radio frequency link and the second radio frequency link included in the radio frequency module meet the first communication condition, control the first radio frequency link and the second radio frequency link to use the target antenna among the multiple antennas included in the radio frequency module to transmit and receive radio frequency signals in different time slices;
[0011] When the first radio frequency link and the second radio frequency link meet the second communication condition, the first radio frequency link and the second radio frequency link are controlled to use the first antenna and the second antenna of the multiple antennas to transmit and receive radio frequency signals respectively.
[0012] In a third aspect, an antenna control device is provided, which is arranged in an electronic device, wherein the electronic device includes the radio frequency module as described in the first aspect above, and the device includes:
[0013] A first control module is used to control the first radio frequency link and the second radio frequency link included in the radio frequency module to use a target antenna among the multiple antennas included in the radio frequency module to transmit and receive radio frequency signals in different time slices when the first radio frequency link and the second radio frequency link included in the radio frequency module meet a first communication condition;
[0014] The second control module is used to control the first RF link and the second RF link to use the first antenna and the second antenna of the multiple antennas to send and receive RF signals respectively when the first RF link and the second RF link meet the second communication condition.
[0015] In a fourth aspect, an electronic device is provided, which includes the radio frequency module as described in the first aspect.
[0016] In a fifth aspect, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method described in the second aspect above.
[0017] In a sixth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the second aspect are implemented.
[0018] In a seventh aspect, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, the steps of the method described in the second aspect are implemented.
[0019] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0020] The radio frequency module of the electronic device includes a first radio frequency link, a second radio frequency link and multiple antennas, among which there are a first antenna and a second antenna having antenna isolation greater than a preset isolation threshold, the first radio frequency link and the second radio frequency link are used to use a target antenna among the multiple antennas to transmit and receive radio frequency signals in different time slices when a first communication condition is met, and the first radio frequency link and the second radio frequency link are also used to use the first antenna and the second antenna to transmit and receive radio frequency signals respectively when a second communication condition is met; wherein, the first radio frequency link and the second radio frequency link use the target antenna to transmit and receive radio frequency signals in a time-sharing manner means that the first radio frequency link and the second radio frequency link share the target antenna, and the first radio frequency link and the second radio frequency link respectively operate in different time slots, This time division multiplexing method will cause the communication time of the first RF link and the second RF link to be shortened and the throughput to be reduced, thereby increasing the communication delay. In view of this, in the embodiment of the present application, the first RF link and the second RF link will not always use the target antenna for time-sharing to receive and send RF signals. The target antenna will be used in time-sharing only when the first communication condition is met. When the second communication condition is met, the first RF link and the second RF link will switch to using the first antenna and the second antenna respectively to receive and send RF signals, that is, the first RF link and the second RF link are completely separated at the antenna level, and the first RF link and the second RF link use different antennas to work independently without affecting each other, thereby reducing the delay and improving the communication quality of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 is an exemplary transmit and receive time slot diagram of a Bluetooth radio link and a WIFI radio link in TDD mode;
[0023] Figure 2 is a schematic diagram of a radio frequency module in an electronic device in one embodiment;
[0024] Figure 3 A schematic diagram of exemplary arrangement positions of multiple antennas in an electronic device in an embodiment;
[0025] Figure 4 is a schematic diagram of exemplary arrangement positions of multiple antennas in an electronic device in another embodiment;
[0026] Figure 5is a schematic diagram of an exemplary transceiver channel of a Bluetooth radio frequency link and a WIFI radio frequency link in FDD mode;
[0027] Figure 6 is a schematic diagram of an exemplary radio frequency architecture of a WIFI radio frequency link and a Bluetooth radio frequency link;
[0028] Figure 7 is another exemplary radio frequency architecture diagram of a WIFI radio frequency link and a Bluetooth radio frequency link;
[0029] Figure 8 A schematic diagram showing the comparison of gaming latency effects between a test machine and a comparison machine in TDD mode and FDD mode using the radio frequency module of an embodiment of the present application;
[0030] Fig. 9 is a flow chart of an antenna control method in one embodiment;
[0031] Fig.10 is a flow chart of an antenna control method in another embodiment;
[0032] Fig.11 is a flow chart of an antenna control method in another embodiment;
[0033] Fig.12 is a structural block diagram of an antenna control device in one embodiment;
[0034] Fig.13 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0037] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
[0038] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.
[0039] It can be understood that “at least one” means one or more, “plurality” means two or more, and “at least a portion of an element” means a part or all of an element.
[0040] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.
[0041] With the rapid development of wireless communication technology, multiple radio frequency links based on wireless communication technology are usually set up in mobile phones and other electronic devices to provide users with a more convenient communication experience.
[0042] The radio frequency link is, for example, a radio frequency link based on short-range communication technology. Taking multiple radio frequency links as Bluetooth radio frequency links and WIFI radio frequency links as examples, due to the limited antenna layout space in electronic equipment, the Bluetooth radio frequency link and the WIFI radio frequency link are generally allowed to share antennas, but the Bluetooth radio frequency link and the WIFI radio frequency link both operate in the 2.4G frequency band. In order to avoid co-channel interference, the Bluetooth radio frequency link and the WIFI radio frequency link cannot use antennas at the same time. In conventional technology, time division multiplexing is usually used to allow the Bluetooth radio frequency link and the WIFI radio frequency link to work in time division. Below, in conjunction with the diagram, this working mode in which the Bluetooth radio frequency link and the WIFI radio frequency link share antennas and work in different time slots respectively is described. For ease of description, this working mode in which the Bluetooth radio frequency link and the WIFI radio frequency link share antennas and work in different time slots respectively is referred to as TDD (Time Division Duplexing, time division duplex) mode.
[0043] For example, see Figure 1 , Figure 1 The figure is an exemplary transmit and receive time slot diagram of a Bluetooth radio link and a WIFI radio link in TDD mode.
[0044] like Figure 1 As shown, in TDD mode, the Bluetooth RF link ( Figure 1The BT, Bluetooth) shown in the figure works in time slot 1, and the WIFI radio link ( Figure 1 The WIFI shown in the figure works in time slot 2, and the Bluetooth radio link then works in time slot 3, and so on, with protection frames such as NULL Data, RYS, and CTS serving as intervals between time slots.
[0045] For MIMO (multiple-in multipleout) solutions, for example, the WIFI radio link has two antennas: chain0 and chain1. The Bluetooth radio link can generally only share chain0 with the WIFI radio link. Figure 1 In the time slots 1 and 3 shown, when the Bluetooth radio link is sending and receiving radio frequency signals, the WIFI radio link can only receive beacon frames through chain1 and chain0 cannot be in working state; in time slot 2, the WIFI radio link can use chain0 and chain1 to achieve 2-transmit 2-receive (2T2R), and the Bluetooth radio link is no longer working and is in a dormant state.
[0046] However, in this TDD mode, the Bluetooth RF link and the WIFI RF link respectively operate in fixed time slots, and their respective communication times are shortened (for example, the Bluetooth RF link needs to sleep when the WIFI RF link is working). This results in a decrease in the throughput of the Bluetooth RF link and the WIFI RF link, thereby increasing the communication delay of the electronic device and causing the communication quality of the electronic device to be lower.
[0047] In view of this, the RF module of the electronic device in the embodiment of the present application includes a first RF link, a second RF link and multiple antennas, among which there are a first antenna and a second antenna having antenna isolation greater than a preset isolation threshold, the first RF link and the second RF link are used to use the target antenna among the multiple antennas to transmit and receive RF signals in different time slices when the first communication condition is met, and the first RF link and the second RF link are also used to use the first antenna and the second antenna respectively to transmit and receive RF signals when the second communication condition is met. In this way, the first RF link and the second RF link will not always use the target antenna to transmit and receive RF signals in a time-sharing manner, and the target antenna will only be used in a time-sharing manner when the first communication condition is met. When the second communication condition is met, the first RF link and the second RF link are switched to use the first antenna and the second antenna respectively to transmit and receive RF signals, that is, the first RF link and the second RF link are completely separated at the antenna level, and the first RF link and the second RF link respectively use different antennas to work independently, and the two do not affect each other, thereby reducing latency and improving the communication quality of the electronic device.
[0048] In one embodiment, Figure 2 As shown, a radio frequency module is provided, which is arranged in an electronic device, and the electronic device may include, for example, a PDA (Personal Digital Assistant), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a user device in a 5G network, or a user device in a future evolved PLMN network, etc.
[0049] The radio frequency module includes a first radio frequency link, a second radio frequency link and a plurality of antennas ( Figure 1 not shown).
[0050] The first RF link and the second RF link may be a WIFI RF link and a Bluetooth RF link, for example, the first RF link is a WIFI RF link, and the second RF link is a Bluetooth RF link. Among the multiple antennas, there are a first antenna and a second antenna whose antenna isolation is greater than a preset isolation threshold, and the setting of the antenna isolation of the first antenna and the second antenna will be introduced in the following embodiments.
[0051] The following is an exemplary description of how to configure multiple antennas in an electronic device.
[0052] For example, taking the electronic device as a mobile phone, see Figure 3 and Figure 4 , Figure 3 is a schematic diagram of an exemplary arrangement position of multiple antennas in an electronic device, Figure 4 FIG. 1 is another exemplary schematic diagram of the arrangement positions of multiple antennas in an electronic device. Figure 3 and Figure 4 As shown, the multiple antennas include a first antenna, a second antenna and a third antenna, and the multiple antennas are respectively arranged at different positions of the body of the electronic device.
[0053] Of course, in other possible implementations, the multiple antennas may also include only the first antenna and the second antenna, and the first antenna is arranged at a position such as Figure 3 or Figure 4 , the second antenna can be set at Figure 3 or Figure 4 The position shown in the "Second Antenna" can also be set Figure 3 or Figure 4 The position shown as the “third antenna” in , and so on.
[0054] In the embodiment of the present application, the first RF link and the second RF link are used to transmit and receive RF signals using a target antenna among the multiple antennas in different time slices when the first communication condition is met.
[0055] In the following, description is given by taking an example that the multiple antennas include a first antenna, a second antenna, and a third antenna.
[0056] In the embodiment of the present application, the target antenna is a third antenna among the multiple antennas except the first antenna and the second antenna, or the target antenna includes the second antenna and the third antenna among the multiple antennas except the first antenna and the second antenna.
[0057] For example, combined with Figure 3 or Figure 4 , taking the first RF link as a WIFI RF link and the second RF link as a Bluetooth RF link as an example, the third antenna is the chain0 mentioned above, and the second antenna is the chain1 mentioned above. The WIFI RF link can use chain0 and chain1; in the case of a single Bluetooth antenna, the Bluetooth RF link and the WIFI RF link can only share chain0, that is, the target antenna is the third antenna, and in the case of dual Bluetooth antennas, in addition to sharing chain0 with the WIFI RF link, the Bluetooth RF link can also share chain1 with the WIFI RF link, that is, the target antennas are the second antenna and the third antenna.
[0058] It can be seen that in the embodiment of the present application, when the first communication condition is met, the first RF link and the second RF link use the target antenna among multiple antennas in different time slices to transmit and receive RF signals, which is the TDD mode described above. The first communication condition may, for example, be that the electronic device is currently in a scenario with low latency requirements. For example, the electronic device is not currently using the first RF link and the second RF link to transmit multimedia data (audio data, video data, etc.), but only uses the first RF link and the second RF link to transmit files, and so on.
[0059] However, as described above, this TDD mode has the problem that the communication time of the first RF link and the second RF link is shortened and the throughput is reduced, thereby increasing the communication delay of the electronic device and lowering the communication quality of the electronic device.
[0060] In view of this, a method is proposed in which the first radio frequency link and the second radio frequency link use different antennas to transmit and receive radio frequency signals (hereinafter referred to as FDD mode, where FDD stands for Frequency Division Duplexing).
[0061] Continuing with the example that the first radio frequency link is a WIFI radio frequency link and the second radio frequency link is a Bluetooth radio frequency link, for example, see Figure 5 , Figure 5 FIG. 1 is a schematic diagram of an exemplary transceiver channel of a Bluetooth radio link and a WIFI radio link in FDD mode. Figure 5 As shown, in FDD mode, the Bluetooth RF link ( Figure 1 BT) and WIFI radio link ( Figure 5 The WIFI shown in the figure is completely separated at the physical level, that is, the two work independently on different antennas without affecting each other, thereby achieving high isolation between the two and reducing latency.
[0062] However, the design of FDD mode has certain requirements for the hardware design of electronic equipment. Figure 6 , Figure 6 The figure is a schematic diagram of the radio frequency architecture of an exemplary WIFI radio frequency link and a Bluetooth radio frequency link. At present, electronic devices are usually only provided with the second antenna and the third antenna mentioned above. The design of the FDD mode requires the hardware design of the electronic device as follows:
[0063] The receiving pins of the RF amplifier module and WIFI / BT chip cannot introduce too much power, otherwise the low-noise amplifier inside the device will be burned out, causing the device to fail.
[0064] Take a single Bluetooth antenna as an example, that is, the WIFI radio link can use the third antenna (chain0) and the second antenna (chain1), and the Bluetooth radio link and the WIFI radio link share the third antenna (chain0). It is necessary to calculate the power of the receiving pin of the other WIFI antenna (the second antenna) when the Bluetooth radio link transmits at maximum power, and the power of the receiving pin of the other third antenna when the second antenna transmits at maximum power. Figure 6 , calculated as follows:
[0065] A. The impact of Bluetooth transmission (third antenna transmission) on WIFI reception (second antenna reception):
[0066] The maximum power of the Bluetooth radio link is calculated as 20dBm;
[0067] 1) The RF amplifier module requires that the input power cannot exceed 10dBm;
[0068] 2) The WIFI / BT chip requires that the input power cannot exceed 0dBm;
[0069] If condition 1) is met, the minimum antenna isolation between the two antennas needs to be 20-10=10dB; if condition 2) is met, the minimum antenna isolation between the two antennas needs to be 20-0=20dB; obviously, to meet the above two conditions, the antenna isolation needs to be at least 20dB;
[0070] B. The impact of WIFI transmission (second antenna transmission) on Bluetooth reception (third antenna reception);
[0071] The maximum power of the WIFI radio link is calculated as 20dBm;
[0072] 1) The RF amplifier module requires that the input power cannot exceed 10dBm;
[0073] 2) The WIFI / BT chip requires that the input power cannot exceed 0dBm;
[0074] According to the conclusion of synchronization A, the antenna isolation needs to be at least 20dB.
[0075] Combining the conclusions of A and B, in general, the FDD mode can only be introduced when the isolation between the two antennas reaches 20dB. However, the antenna isolation between the second antenna and the third antenna mentioned above, which is usually only set in the current electronic device, cannot meet the antenna isolation requirement. For some scenarios that need to implement the FDD mode, such as scenarios with high latency requirements (such as game scenarios), the second antenna and the third antenna cannot meet the requirement. Therefore, the embodiment of the present application additionally sets a first antenna in the electronic device, and the antenna isolation between the first antenna and the second antenna is greater than the preset isolation threshold, thereby increasing the antenna isolation. The preset isolation threshold can be the minimum antenna isolation between the two antennas required by the FDD mode, such as 20dB.
[0076] Please continue to see Figure 3 and Figure 4 The third antenna is set at the top corner of the phone camera side. The first RF link (WIFI RF link) and the second RF link (Bluetooth RF link) share the antenna. The second antenna is placed on the left side of the fuselage, close to the third antenna, with an isolation degree of less than 20dB. A diversity antenna is made at the lower left or right corner of the fuselage, called the first antenna. The isolation degree between the first antenna and the second antenna can reach 20dB, which meets the isolation requirement of FDD.
[0077] Thus, in the embodiment of the present application, the first RF link and the second RF link are further used to respectively use the first antenna and the second antenna to transmit and receive RF signals when the second communication condition is met.
[0078] The second communication condition may be, for example, that the electronic device is currently in a scenario with a high latency requirement, for example, a scenario in which the electronic device currently uses the first RF link and the second RF link to transmit multimedia data, etc. In this way, in some scenarios with high latency requirements, the first RF link and the second RF link use the first antenna and the second antenna respectively to transmit and receive RF signals, that is, use the FDD mode to transmit and receive RF signals, which can reduce communication latency and improve communication quality.
[0079] The radio frequency module of the electronic device in the above-mentioned embodiment includes a first radio frequency link, a second radio frequency link and multiple antennas, among which there are a first antenna and a second antenna having an antenna isolation greater than a preset isolation threshold, the first radio frequency link and the second radio frequency link are used to use a target antenna among the multiple antennas to transmit and receive radio frequency signals in different time slices when a first communication condition is met, and the first radio frequency link and the second radio frequency link are also used to use the first antenna and the second antenna respectively to transmit and receive radio frequency signals when a second communication condition is met; wherein, the first radio frequency link and the second radio frequency link use the target antenna to transmit and receive radio frequency signals in a time-sharing manner means that the first radio frequency link and the second radio frequency link share the target antenna, and the first radio frequency link and the second radio frequency link respectively work in different Time slot, this time division multiplexing method will cause the communication time of the first RF link and the second RF link to be shortened, the throughput rate to be reduced, and thus the communication delay to be increased. In view of this, in the embodiment of the present application, the first RF link and the second RF link will not always use the target antenna for time-sharing to receive and send RF signals. The target antenna will be used in time-sharing only when the first communication condition is met. When the second communication condition is met, the first RF link and the second RF link will switch to using the first antenna and the second antenna respectively for receiving and sending RF signals, that is, the first RF link and the second RF link are completely separated at the antenna level, and the first RF link and the second RF link use different antennas to work independently, and the two do not affect each other, thereby reducing the delay and improving the communication quality of the electronic device.
[0080] based on Figure 2 In the illustrated embodiment, in one embodiment, the first RF link and the second RF link include a common RF chip, which may be, for example, a WIFI / BT chip.
[0081] The radio frequency chip is used to detect the received signal strengths of the multiple antennas, and determine whether the first communication condition or the second communication condition is met according to the detected received signal strengths.
[0082] In the embodiment of the present application, it can be determined whether the first communication condition or the second communication condition is met based on the received signal strength of some antennas among the multiple antennas, or the received signal strength of all the antennas.
[0083] In the following, two cases are divided into: a second RF link with a single antenna or a second RF link with two antennas, and a process in which the RF chip determines whether the first communication condition or the second communication condition is met according to the detected received signal strength is exemplarily described.
[0084] Among them, the case of a single antenna for the second RF link means: for the second antenna and the third antenna, the second RF link (for example, a Bluetooth RF link) can only use the third antenna, while the first RF link (for example, a WIFI RF link) can use both the third antenna and the second antenna; for the first antenna, both the first RF link and the second RF link can be used.
[0085] The case of the second RF link with two antennas means that for the second antenna and the third antenna, the first RF link and the second RF link can both use the third antenna and the second antenna; for the first antenna, the first RF link and the second RF link can also be used.
[0086] When the second RF link is a Bluetooth RF link, the second RF link cannot use the second antenna and the third antenna at the same time, and can only use one of them. However, when it is necessary to switch to FDD mode, there are more choices for WIFI RF link and Bluetooth RF link. For example, the Bluetooth RF link can work on the second antenna, and the WIFI RF link can work on the first antenna. This also meets the requirement that the antenna isolation is greater than or equal to 20dB.
[0087] 1: First, in the case of a single antenna in the second radio frequency link, a process in which the radio frequency chip determines whether the first communication condition or the second communication condition is met according to the detected received signal strength is introduced.
[0088] In this embodiment, the target antenna is a third antenna other than the first antenna and the second antenna among the multiple antennas, that is, when the first communication condition is met, the first RF link and the second RF link use the third antenna in time-sharing to transmit and receive RF signals. The second RF link has a single antenna and the first RF link has two antennas. Therefore, the first RF link is also used to use the second antenna alone to transmit and receive RF signals when the first communication condition is met. This method is the TDD method described above.
[0089] When the second communication condition is met, the first RF link and the second RF link respectively use the first antenna and the second antenna whose antenna isolation meets the antenna isolation requirements of the FDD mode to send and receive RF signals. This method is the FDD method described above.
[0090] In this embodiment, the radio frequency chip is specifically used to determine that the first communication condition is met when the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to a preset difference threshold. In this embodiment of the application, "less than or equal to" means less than or equal to.
[0091] The preset difference threshold may be, for example, a smaller value between 0 dBm and 10 dBm. If the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to the preset difference threshold, then it indicates that the first received signal strength is less than or equal to the third received signal strength, or that the first received signal strength is slightly greater than (the magnitude of the greater value does not exceed the preset difference threshold) the third received signal strength.
[0092] In this way, it is characterized that the signal quality of the first antenna is average or poor. In order to avoid the first antenna affecting the communication quality of the first RF link and the second RF link, the first RF link and the second RF link are controlled to use the third antenna for RF signal transmission and reception in time sharing. The second RF link has a single antenna, that is, in the working time slot of the second RF link, the second RF link only uses the third antenna to transmit and receive RF signals, and in the working time slot of the first RF link, the first RF link can use the third antenna and the second antenna to transmit and receive RF signals.
[0093] Optionally, the radio frequency chip is further specifically used to determine whether the first communication condition is met when the radio frequency multimedia scenario or the voice call scenario is not currently in place.
[0094] For example, the RF chip can first detect whether it is currently in a RF multimedia scenario or a voice call scenario. If it is not currently in a RF multimedia scenario or a voice call scenario, it can then determine whether the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to a preset difference threshold. If the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to the preset difference threshold, it is determined that the first communication condition is met.
[0095] The RF multimedia scenario refers to a scenario in which multimedia data is transmitted through the first RF link and / or the second RF link, and the multimedia data is, for example, video data, audio data, etc. The voice call scenario refers to a scenario in which a voice call is conducted through the first RF link and / or the second RF link.
[0096] The RF multimedia scenario and the voice call scenario have high requirements for latency. If the RF multimedia scenario or the voice call scenario is not currently in place, the characterization can consider using the target antenna for sending and receiving RF signals in a time-sharing manner using the first RF link and the second RF link.
[0097] In this embodiment, the radio frequency chip is further specifically used to determine that the second communication condition is met when the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than a preset difference threshold.
[0098] The difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than a preset difference threshold, indicating that the first received signal strength is greater than the third received signal strength, and the difference is greater than that, that is, the signal quality of the first antenna is significantly better than the signal quality of the third antenna. In this case, it is determined that the second communication condition is met, and the first RF link and the second RF link use the first antenna and the second antenna respectively to send and receive RF signals. For example, the first RF link uses the second antenna to send and receive RF signals, and the second RF link uses the first antenna to send and receive RF signals.
[0099] It is understandable that due to different holding states and other conditions of the electronic device, the received signal strengths of antennas at different positions in the electronic device may be different.
[0100] Similar to the implementation related to the first communication condition above, optionally, the radio frequency chip is further specifically used to determine whether the second communication condition is met when the current scene is a radio frequency multimedia scene or a voice call scene.
[0101] For example, the RF chip can first detect whether it is currently in a RF multimedia scenario or a voice call scenario. If it is currently in a RF multimedia scenario or a voice call scenario, it can then determine whether the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than a preset difference threshold. If the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than the preset difference threshold, it is determined that the second communication condition is met.
[0102] The RF multimedia scenario and the voice call scenario have high requirements for latency. If the current scenario is a RF multimedia scenario or a voice call scenario, the characterization may consider that the first RF link and the second RF link use the first antenna and the second antenna respectively to send and receive RF signals.
[0103] Optionally, before detecting the received signal strength of multiple antennas, the RF chip can also detect whether it is currently in a RF coexistence scenario. The RF coexistence scenario is a scenario in which both the first RF link and the second RF link are enabled. For example, taking the WIFI RF link and the Bluetooth RF link as examples, the WIFI RF link has been successfully connected to the WIFI network and the Bluetooth RF link has been successfully connected to other Bluetooth devices, which indicates that it is in a RF coexistence scenario. The RF chip is specifically used to detect the received signal strength of multiple antennas when it is currently in a RF coexistence scenario, thereby reducing the power consumption of the RF chip.
[0104] Below, taking the first RF link as a WIFI RF link and the second RF link as a Bluetooth RF link as an example, the process of the RF chip determining whether the first communication condition or the second communication condition is met based on the detected received signal strength in the case of a single antenna of the above-mentioned second RF link (i.e., Bluetooth RF link) is illustrated by way of example.
[0105] Before detecting the received signal strength of multiple antennas, the RF chip first detects whether it is currently in a RF coexistence scenario, where the RF coexistence scenario is a scenario where both the WIFI RF link and the Bluetooth RF link are enabled.
[0106] When the current scenario is a RF coexistence scenario, the RF chip detects whether the current scenario is a RF multimedia scenario or a voice call scenario.
[0107] If the current scene is not a radio frequency multimedia scene or a voice call scene, it is determined whether the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to a preset difference threshold.
[0108] When the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to the preset difference threshold, the RF chip determines that the first communication condition is met, and the RF chip controls the WIFI RF link and the Bluetooth RF link to use the third antenna for RF signal transmission and reception in time sharing. The Bluetooth RF link has a single antenna, that is, in the working time slot of the Bluetooth RF link, the Bluetooth RF link only uses the third antenna for RF signal transmission and reception, while in the working time slot of the WIFI RF link, the WIFI RF link can use the third antenna and the second antenna for RF signal transmission and reception.
[0109] If the current scenario is a RF multimedia scenario or a voice call scenario, the RF chip determines whether the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than a preset difference threshold. If the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than the preset difference threshold, the RF chip determines that the second communication condition is met, and the RF chip controls the WIFI RF link and the Bluetooth RF link to use the first antenna and the second antenna to send and receive RF signals respectively. For example, the WIFI RF link uses the second antenna to send and receive RF signals, and the Bluetooth RF link uses the first antenna to send and receive RF signals.
[0110] As an implementation mode, in the case of a single antenna for the second RF link (i.e., a Bluetooth RF link), the first received signal strength and the third received signal strength may be received signal strengths for the RF signal type corresponding to the second RF link, for example, both may be Bluetooth signal strengths. Thus, if the second communication condition is met, the Bluetooth RF link is controlled to use the third antenna for transmitting and receiving RF signals, and the WIFI RF link uses the second antenna for transmitting and receiving RF signals.
[0111] 2: In the case of the second RF link with dual antennas, a process in which the RF chip determines whether the first communication condition or the second communication condition is met according to the detected received signal strength is introduced.
[0112] In this embodiment, the target antenna includes the second antenna and the third antenna other than the first antenna and the second antenna among the multiple antennas. That is, when the first communication condition is met, the first RF link and the second RF link use the second antenna and the third antenna in a time-sharing manner to transmit and receive RF signals. Both the first RF link and the second RF link are dual antennas, and this method is the TDD method described above.
[0113] When the second communication condition is met, the first RF link and the second RF link respectively use the first antenna and the second antenna whose antenna isolation meets the antenna isolation requirements of the FDD mode to send and receive RF signals. This method is the FDD method described above.
[0114] There are two situations for satisfying the first communication condition:
[0115] In this embodiment, the RF chip is specifically used to determine that the first communication condition is met when the difference between the third received signal strength of the third antenna and the second received signal strength of the second antenna is greater than a preset difference threshold, and the difference between the third received signal strength and the first received signal strength of the first antenna is greater than the preset difference threshold.
[0116] As described above, the preset difference threshold can be a smaller value between 0dBm and 10dBm. If the difference between the third received signal strength and the second received signal strength is greater than the preset difference threshold, it indicates that the third received signal strength is greater than the second received signal strength, and the difference is greater than that by a large amount, that is, the signal quality of the third antenna is significantly better than the signal quality of the second antenna; if the difference between the third received signal strength and the first received signal strength is greater than the preset difference threshold, it also indicates that the signal quality of the third antenna is significantly better than the signal quality of the first antenna. In this case, it is determined that the first communication condition is met.
[0117] That is, when the signal quality of the third antenna is significantly better than the signal quality of the first antenna and the signal quality of the second antenna, it is determined that the first communication condition is met, which indicates that the signal quality of the first antenna is average or poor. In order to avoid the first antenna affecting the communication quality of the first RF link and the second RF link, the first RF link and the second RF link are controlled to use the target antenna (i.e., the second antenna and the third antenna) in a time-sharing manner to send and receive RF signals.
[0118] Alternatively, the RF chip is specifically used to determine that the first communication condition is met when the difference between the third received signal strength and the second received signal strength is less than or equal to a preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is greater than the preset difference threshold.
[0119] Similar to the comparison above, if the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, it indicates that the third received signal strength is less than or equal to the second received signal strength, or the third received signal strength is slightly greater than (the magnitude of the greater than does not exceed the preset difference threshold) the second received signal strength, that is, the signal quality of the third antenna is worse than or close to the signal quality of the second antenna; if the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, it indicates that the signal quality of the second antenna is significantly better than the signal quality of the first antenna; if the difference between the third received signal strength and the first received signal strength is greater than the preset difference threshold, it indicates that the signal quality of the third antenna is significantly better than the signal quality of the first antenna. Therefore, the signal quality of the second antenna is significantly better than the signal quality of the first antenna and the signal quality of the third antenna is significantly better than the signal quality of the first antenna, which indicates that the signal quality of the first antenna is average or poor. In order to avoid the first antenna affecting the communication quality of the first RF link and the second RF link, the first RF link and the second RF link are controlled to use the target antenna (i.e., the second antenna and the third antenna) in time-sharing to send and receive RF signals.
[0120] Optionally, the radio frequency chip is further specifically used to determine whether the first communication condition is met when the device is not currently in a radio frequency multimedia scenario or a voice call scenario.
[0121] For example, the RF chip can first detect whether it is currently in a RF multimedia scene or a voice call scene. If it is not currently in a RF multimedia scene or a voice call scene, it can then compare the received signal strengths of the three antennas to determine whether the first communication condition is met. RF multimedia scenes and voice call scenes have high requirements for latency. If it is not currently in a RF multimedia scene or a voice call scene, the characterization can consider using the target antenna for RF signal transmission and reception in a time-sharing manner using the first RF link and the second RF link.
[0122] There are three situations for satisfying the second communication condition:
[0123] In this embodiment, the radio frequency chip is also specifically used for:
[0124] When the difference between the third received signal strength and the second received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
[0125] The difference between the third received signal strength and the second received signal strength is greater than the preset difference threshold, indicating that the signal quality of the third antenna is significantly better than the signal quality of the second antenna; the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, indicating that the signal quality of the third antenna is less than or close to the signal quality of the first antenna, then it is determined that the second communication condition is met, and the first RF link and the second RF link respectively use the first antenna and the second antenna to send and receive RF signals. For example, the first RF link uses the second antenna to send and receive RF signals, and the second RF link uses the first antenna to send and receive RF signals.
[0126] Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to a preset difference threshold, and the difference between the second received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
[0127] The difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, indicating that the signal quality of the third antenna is worse than or close to the signal quality of the second antenna; the difference between the second received signal strength and the first received signal strength is less than or equal to the preset difference threshold, indicating that the signal quality of the second antenna is worse than or close to the signal quality of the first antenna, then it is determined that the second communication condition is met, and the first RF link and the second RF link respectively use the first antenna and the second antenna to send and receive RF signals. For example, the first RF link uses the second antenna to send and receive RF signals, and the second RF link uses the first antenna to send and receive RF signals.
[0128] Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to a preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
[0129] The difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, indicating that the signal quality of the third antenna is worse than or close to the signal quality of the second antenna; the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, indicating that the signal quality of the second antenna is significantly better than the signal quality of the first antenna; the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, indicating that the signal quality of the third antenna is worse than or close to the signal quality of the first antenna, then it is determined that the second communication condition is met, and the first RF link and the second RF link respectively use the first antenna and the second antenna to transmit and receive RF signals. For example, the first RF link uses the first antenna to transmit and receive RF signals, and the second RF link uses the second antenna to transmit and receive RF signals.
[0130] Similar to the implementation related to the first communication condition above, optionally, the radio frequency chip is further specifically used to determine whether the second communication condition is met when the current scene is a radio frequency multimedia scene or a voice call scene.
[0131] For example, the RF chip can first detect whether it is currently in a RF multimedia scene or a voice call scene. If it is currently in a RF multimedia scene or a voice call scene, it can then determine whether the second communication condition is met based on the received signal strength of the three antennas.
[0132] The RF multimedia scenario and the voice call scenario have high requirements for latency. If the current scenario is a RF multimedia scenario or a voice call scenario, the characterization may consider that the first RF link and the second RF link use the first antenna and the second antenna respectively to send and receive RF signals.
[0133] Optionally, before detecting the received signal strength of multiple antennas, the RF chip can also detect whether it is currently in a RF coexistence scenario. The RF coexistence scenario is a scenario in which both the first RF link and the second RF link are enabled. For example, taking the WIFI RF link and the Bluetooth RF link as examples, the WIFI RF link has been successfully connected to the WIFI network and the Bluetooth RF link has been successfully connected to other Bluetooth devices, which indicates that it is in a RF coexistence scenario. The RF chip is specifically used to detect the received signal strength of multiple antennas when it is currently in a RF coexistence scenario, thereby reducing the power consumption of the RF chip.
[0134] In the embodiment of the present application, the first radio frequency link is a WIFI radio frequency link, and the second radio frequency link is a Bluetooth radio frequency link. Below, taking the first radio frequency link as a WIFI radio frequency link and the second radio frequency link as a Bluetooth radio frequency link as an example, the process of the radio frequency chip determining whether the first communication condition or the second communication condition is met according to the detected received signal strength in the case of the above-mentioned second radio frequency link (i.e., Bluetooth radio frequency link) with dual antennas is described by way of example.
[0135] Set a premise: in the RF coexistence scenario, the WIFI RF link works in the dual-transmission state of chain01 (i.e., the second antenna and the third antenna) by default, and the Bluetooth RF link works in chain0 (i.e., the third antenna) by default. That is, when the RF coexistence scenario occurs, the default state is TDD mode, and then it is determined whether to maintain TDD mode or switch to FDD mode based on the first communication condition and the second communication condition.
[0136] Before detecting the received signal strength of multiple antennas, the RF chip first detects whether it is currently in a RF coexistence scenario, where the RF coexistence scenario is a scenario where both the WIFI RF link and the Bluetooth RF link are enabled.
[0137] When the current scenario is a RF coexistence scenario, the RF chip detects whether the current scenario is a RF multimedia scenario or a voice call scenario.
[0138] If the current situation is not a radio frequency multimedia scenario or a voice call scenario, the received signal strengths of the three antennas are compared to determine whether the first communication condition or the second communication condition is met.
[0139] There are two situations for satisfying the first communication condition:
[0140] If the difference between the third received signal strength of the third antenna and the second received signal strength of the second antenna is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength of the first antenna is greater than the preset difference threshold, the RF chip determines that the first communication condition is met, and the RF chip controls the WIFI RF link and the Bluetooth RF link to use the target antenna (i.e., the second antenna and the third antenna) in a time-sharing manner to send and receive RF signals.
[0141] Alternatively, if the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is greater than the preset difference threshold, the RF chip determines that the first communication condition is met, and the RF chip controls the WIFI RF link and the Bluetooth RF link to use the target antenna (i.e., the second antenna and the third antenna) in time-sharing to send and receive RF signals.
[0142] There are three situations for satisfying the second communication condition:
[0143] If the difference between the third received signal strength and the second received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, the RF chip determines that the second communication condition is met, and the RF chip controls the WIFI RF link and the Bluetooth RF link to use the first antenna and the second antenna to send and receive RF signals respectively. For example, the WIFI RF link uses the second antenna to send and receive RF signals, and the Bluetooth RF link uses the first antenna to send and receive RF signals.
[0144] Alternatively, if the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, and the difference between the second received signal strength and the first received signal strength is less than or equal to the preset difference threshold, the RF chip determines that the second communication condition is met. The RF chip controls the WIFI RF link and the Bluetooth RF link to use the first antenna and the second antenna to transmit and receive RF signals, respectively. For example, the WIFI RF link uses the second antenna to transmit and receive RF signals, and the Bluetooth RF link uses the first antenna to transmit and receive RF signals.
[0145] Alternatively, if the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, the RF chip determines that the second communication condition is met. The RF chip controls the WIFI RF link and the Bluetooth RF link to use the first antenna and the second antenna to send and receive RF signals, respectively. For example, the WIFI RF link uses the first antenna to send and receive RF signals, and the Bluetooth RF link uses the second antenna to send and receive RF signals.
[0146] In this way, the RF chip in the above embodiment determines the timing of switching TDD / FDD according to the received signal strength of multiple antennas, and switches to FDD mode for receiving and sending RF signals when the above second communication condition is met, thereby reducing the coexistence delay between the first RF link and the second RF link. When the first communication condition is met, it switches to TDD mode for receiving and sending RF signals, thereby avoiding the problem of reduced communication quality caused by using the first antenna when the signal quality of the first antenna is poor.
[0147] In one possible implementation, see Figure 7 In this embodiment, the radio frequency module further includes an antenna switch connected to the radio frequency chip, and the antenna switch is connected to the first antenna and the third antenna respectively.
[0148] The RF chip is also used to control the antenna switch to conduct the path between the RF chip and the third antenna when the first communication condition is met; and to control the antenna switch to conduct the path between the RF chip and the first antenna when the second communication condition is met.
[0149] That is, the RF chip can turn on the TDD mode or FDD mode by controlling the antenna switch.
[0150] Hereinafter, the delay test results of the TDD mode (i.e., the first RF link and the second RF link use the target antenna among multiple antennas to transmit and receive RF signals in different time slices when the first communication condition is met) and the FDD mode (i.e., the first RF link and the second RF link use the first antenna and the second antenna respectively to transmit and receive RF signals when the second communication condition is met) of the embodiments of the present application are introduced.
[0151] See also Figure 8 , Figure 8 This is a schematic diagram comparing the gaming latency effects of the test machine and the comparison machine in the TDD mode and FDD mode of the embodiment of the present application. The vertical axis unit is ms, and the horizontal axis unit is s.
[0152] Figure 8 The upper middle image shows the latency of the comparison machine using TDD mode. Figure 8 The lower middle figure shows the latency of the test machine using the FDD mode. It can be seen that the coexistence latency of the FDD solution is about 50ms, and the coexistence latency of the TDD solution is up to 200ms at most and about 75ms at least. It is obvious that the FDD solution is more effective in reducing latency.
[0153] In one embodiment, Fig. 9 As shown, an antenna control method is provided, which can be applied to the electronic device in the above embodiments, and the electronic device includes the radio frequency module described in any of the above embodiments.
[0154] It should be noted that the method is applied in an electronic device, which may refer to the method being applied to an AP (Application Process) chip in the electronic device, or the method being applied to a RF chip included in the first RF link and the second RF link in the electronic device.
[0155] The following description is made by taking the method applied to the above-mentioned radio frequency chip as an example. Of course, in other possible implementations, the method can also be applied to an AP chip in an electronic device, which is not specifically limited here.
[0156] The antenna control method comprises:
[0157] Step 901, when the first RF link and the second RF link included in the RF module meet the first communication condition, control the first RF link and the second RF link to use the target antenna among the multiple antennas included in the RF module to send and receive RF signals in different time slices.
[0158] Step 902: When the first RF link and the second RF link meet the second communication condition, control the first RF link and the second RF link to use the first antenna and the second antenna of the multiple antennas to transmit and receive RF signals respectively.
[0159] In one embodiment, the antenna control method further includes:
[0160] The received signal strengths of the plurality of antennas are detected, and it is determined whether the first communication condition or the second communication condition is satisfied according to the detected received signal strengths.
[0161] In the following, two cases are divided into: a second RF link with a single antenna or a second RF link with two antennas, and a process in which the RF chip determines whether the first communication condition or the second communication condition is met according to the detected received signal strength is exemplarily described.
[0162] Among them, the case of a single antenna for the second RF link means: for the second antenna and the third antenna, the second RF link (for example, a Bluetooth RF link) can only use the third antenna, while the first RF link (for example, a WIFI RF link) can use both the third antenna and the second antenna; for the first antenna, both the first RF link and the second RF link can be used.
[0163] The case of the second RF link with two antennas means that for the second antenna and the third antenna, the first RF link and the second RF link can both use the third antenna and the second antenna; for the first antenna, the first RF link and the second RF link can also be used.
[0164] In the case of a single antenna for the second radio frequency link, the target antenna is a third antenna other than the first antenna and the second antenna among the multiple antennas, and determining whether the first communication condition or the second communication condition is met according to the detected received signal strength includes:
[0165] When a difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to a preset difference threshold, determining that the first communication condition is met;
[0166] When the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than a preset difference threshold, it is determined that the second communication condition is met.
[0167] In one embodiment, the antenna control method further includes:
[0168] In a case where the radio frequency multimedia scenario or the voice call scenario is not currently in place, it is determined that the first communication condition is met.
[0169] In one embodiment, the antenna control method further includes:
[0170] In the case of being in a radio frequency multimedia scenario or a voice call scenario, it is determined that the second communication condition is met.
[0171] In one embodiment, the detecting the received signal strengths of the multiple antennas includes:
[0172] In the current RF coexistence scenario (such as the WIFI RF link has been successfully connected to the WIFI network and the Bluetooth RF link has been successfully connected to other Bluetooth devices), the received signal strength of multiple antennas is detected, wherein the RF coexistence scenario is a scenario in which both the first RF link and the second RF link are in an enabled state.
[0173] In one embodiment, the first radio frequency link is a WIFI radio frequency link, and the second radio frequency link is a Bluetooth radio frequency link.
[0174] For example, the first radio frequency link is a WIFI radio frequency link, the second radio frequency link is a Bluetooth radio frequency link, and the electronic device is a mobile phone. Fig.10 , Fig.10 The figure is a flow chart of an exemplary antenna control method in the case of a single antenna in a Bluetooth radio frequency link.
[0175] It is assumed that the WIFI radio frequency link is fixed to use the second antenna in the FDD mode.
[0176] Fig.10 In the case of wireless communication, whether the mobile phone is connected to the WFI network and paired with the Bluetooth device means that the mobile phone detects whether it is in the RF coexistence scenario.
[0177] Fig.10 In the description, whether the mobile phone is working in the Bluetooth audio scene or the voice call scene refers to the mobile phone detecting whether it is in the radio frequency multimedia scene (ie, the Bluetooth audio scene) or the voice call scene.
[0178] After detecting that it is in a Bluetooth audio scenario or a voice call scenario, it first switches to TDD mode to avoid damage to devices in the RF link, then starts the timer and detects the received signal strength RSSI1 of the first antenna and the received signal strength RSSI0 of the third antenna.
[0179] When RSSI1-RSSI0 is greater than the preset difference threshold 5, it is determined that the second communication condition is met, the Bluetooth radio link is switched to the first antenna, and the mobile phone is switched to the FDD mode.
[0180] When RSSI1-RSSI0 is less than or equal to the preset difference threshold 5, it is determined that the first communication condition is met, the Bluetooth radio link is switched to the third antenna, the WIFI radio link can use the second antenna and the third antenna, and the mobile phone maintains TDD mode.
[0181] In the case of a second radio frequency link with two antennas, the target antenna includes a second antenna and a third antenna other than the first antenna and the second antenna among the multiple antennas, and determining whether the first communication condition or the second communication condition is met according to the detected received signal strength includes:
[0182] When a difference between a third received signal strength of the third antenna and a second received signal strength of the second antenna is greater than a preset difference threshold, and a difference between the third received signal strength and the first received signal strength of the first antenna is greater than a preset difference threshold, determining that the first communication condition is met;
[0183] Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to a preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is greater than the preset difference threshold, it is determined that the first communication condition is met;
[0184] When the difference between the third received signal strength and the second received signal strength is greater than a preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, determining that the second communication condition is met;
[0185] Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to a preset difference threshold, and the difference between the second received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met;
[0186] Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to a preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
[0187] In one embodiment, the antenna control method further includes:
[0188] In a case where the radio frequency multimedia scenario or the voice call scenario is not currently in place, it is determined that the first communication condition is met.
[0189] In one embodiment, the antenna control method further includes:
[0190] In the case of being in a radio frequency multimedia scenario or a voice call scenario, it is determined that the second communication condition is met.
[0191] In one embodiment, the detecting the received signal strengths of the multiple antennas includes:
[0192] In the case of a current RF coexistence scenario, the received signal strengths of multiple antennas are detected, wherein the RF coexistence scenario is a scenario in which both the first RF link and the second RF link are in an enabled state.
[0193] In one embodiment, the first radio frequency link is a WIFI radio frequency link, and the second radio frequency link is a Bluetooth radio frequency link.
[0194] For example, the first radio frequency link is a WIFI radio frequency link, the second radio frequency link is a Bluetooth radio frequency link, and the electronic device is a mobile phone. Fig.11 , Fig.11 The figure is a flowchart of an exemplary antenna control method in the case of dual antennas in a Bluetooth radio frequency link.
[0195] Fig.11 In the case of wireless communication, whether the mobile phone is connected to the WFI network and paired with the Bluetooth device means that the mobile phone detects whether it is in the RF coexistence scenario.
[0196] Fig.11 In the description, whether the mobile phone is working in the Bluetooth audio scene or the voice call scene refers to the mobile phone detecting whether it is in the radio frequency multimedia scene (ie, the Bluetooth audio scene) or the voice call scene.
[0197] After detecting that it is in a Bluetooth audio scenario or a voice call scenario, it first switches to TDD mode to avoid damage to devices in the RF link, then starts the timer and detects the received signal strength RSSI2 of the first antenna, the received signal strength RSSI1 of the second antenna, and the received signal strength RSSI0 of the third antenna.
[0198] When the difference between the third received signal strength RSSI0 and the second received signal strength RSSI1 of the second antenna is greater than the preset difference threshold, and the difference between the third received signal strength RSSI0 and the first received signal strength RSSI2 of the first antenna is greater than the preset difference threshold, that is, when RSSI0-RSSI1 is greater than 5, and RSSI0-RSSI2 is greater than 5, it is determined that the first communication condition is met, the Bluetooth radio frequency link uses the third antenna, the WIFI radio frequency link uses the second antenna, and the mobile phone maintains TDD mode;
[0199] Alternatively, when the difference between the third received signal strength RSSI0 and the second received signal strength RSSI1 is less than or equal to the preset difference threshold, the difference between the second received signal strength RSSI1 and the first received signal strength RSSI2 is greater than the preset difference threshold, and the difference between the third received signal strength RSSI0 and the first received signal strength RSSI2 is greater than the preset difference threshold, it is determined that the first communication condition is met; that is, RSSI0-RSSI1 is not greater than 5, RSSI1-RSSI2 is greater than 5, and RSSI0-RSSI2 is greater than 5, then the Bluetooth RF link uses the second antenna, the WIFI RF link uses the third antenna, and the mobile phone remains in TDD mode.
[0200] Alternatively, RSSI0, RSSI1 and RSSI2 can be the received signal strength for the Bluetooth signal. In this way, after SSI0-RSSI1 is not greater than 5 and RSSI1-RSSI2 is greater than 5, the Bluetooth RF link is locked to the second antenna, and then the WIFI signal strength of the remaining third antenna and the first antenna is detected, recorded as RSSI4 and RSSI5. If RSSI4-RSSI5 is greater than 5, the WIFI RF link uses the third antenna and the mobile phone remains in TDD mode.
[0201] When the difference between the third received signal strength RSSI0 and the second received signal strength RSSI1 is greater than the preset difference threshold, and the difference between the third received signal strength RSSI0 and the first received signal strength RSSI2 is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
[0202] That is, if RSSI0-RSSI1 is greater than 5 and RSSI0-RSSI2 is not greater than 5, it is determined that the second communication condition is met, the Bluetooth radio frequency link uses the first antenna, the WIFI radio frequency link uses the second antenna, and the mobile phone switches to FDD mode.
[0203] Alternatively, when the difference between the third received signal strength RSSI0 and the second received signal strength RSSI1 is less than or equal to the preset difference threshold, and the difference between the second received signal strength RSSI1 and the first received signal strength RSSI2 is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
[0204] That is, if RSSI0-RSSI1 is not greater than 5 and RSSI1-RSSI2 is not greater than 5, it is determined that the second communication condition is met, the Bluetooth radio frequency link uses the first antenna, the WIFI radio frequency link uses the second antenna, and the mobile phone switches to FDD mode.
[0205] Alternatively, when the difference between the third received signal strength RSSI0 and the second received signal strength RSSI1 is less than or equal to the preset difference threshold, the difference between the second received signal strength RSSI1 and the first received signal strength RSSI2 is greater than the preset difference threshold, and the difference between the third received signal strength RSSI0 and the first received signal strength RSSI2 is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
[0206] That is, if RSSI0-RSSI1 is not greater than 5, RSSI1-RSSI2 is greater than 5, and RSSI0-RSSI2 is not greater than 5, the Bluetooth radio link uses the second antenna, the WIFI radio link uses the first antenna, and the mobile phone switches to FDD mode.
[0207] Alternatively, RSSI0, RSSI1 and RSSI2 can be the received signal strength for the Bluetooth signal. In this way, after RSSI0-RSSI1 is not greater than 5 and RSSI1-RSSI2 is greater than 5, the Bluetooth RF link is locked to the second antenna, and then the WIFI signal strength of the remaining third antenna and the first antenna is detected, recorded as RSSI4 and RSSI5. If RSSI4-RSSI5 is not greater than 5, the WIFI RF link uses the first antenna and the mobile phone remains in TDD mode.
[0208] The specific implementation and beneficial effects of the antenna control method are similar to those of the above-mentioned radio frequency module, and can be found in the above-mentioned radio frequency module embodiments, which will not be described in detail here.
[0209] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0210] Based on the same inventive concept, the embodiment of the present application also provides an antenna control device for implementing the antenna control method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more antenna control device embodiments provided below can refer to the limitations of the antenna control method above, and will not be repeated here.
[0211] In one embodiment, Fig.12 As shown, an antenna control device is provided, which is arranged in an electronic device, and the electronic device includes the radio frequency module as described in the above embodiment, and the device includes:
[0212] The first control module 1201 is used to control the first radio frequency link and the second radio frequency link included in the radio frequency module to use the target antenna among the multiple antennas included in the radio frequency module to transmit and receive radio frequency signals in different time slices when the first radio frequency link and the second radio frequency link included in the radio frequency module meet the first communication condition;
[0213] The second control module 1202 is configured to control the first RF link and the second RF link to respectively use the first antenna and the second antenna of the multiple antennas to transmit and receive RF signals when the first RF link and the second RF link meet a second communication condition.
[0214] In one embodiment, the device further comprises:
[0215] The detection module is used to detect the received signal strengths of the multiple antennas, and determine whether the first communication condition or the second communication condition is met according to the detected received signal strengths.
[0216] In one of the embodiments, the target antenna is a third antenna among the multiple antennas other than the first antenna and the second antenna, and the detection module is specifically used to determine that the first communication condition is met when the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to a preset difference threshold.
[0217] In one of the embodiments, the detection module is further specifically configured to determine that the second communication condition is satisfied when a difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than a preset difference threshold.
[0218] In one of the embodiments, the target antenna includes the second antenna and a third antenna among the multiple antennas except the first antenna and the second antenna, and the detection module is specifically used to determine that the first communication condition is met when the difference between the third received signal strength of the third antenna and the second received signal strength of the second antenna is greater than a preset difference threshold, and the difference between the third received signal strength and the first received signal strength of the first antenna is greater than the preset difference threshold;
[0219] Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is greater than the preset difference threshold, it is determined that the first communication condition is met.
[0220] In one embodiment, the device further comprises:
[0221] The first determining module is used to determine that the first communication condition is met when the current scene is not a radio frequency multimedia scene or a voice call scene.
[0222] In one embodiment, the detection module is further specifically used for:
[0223] In a case where a difference between the third received signal strength and the second received signal strength is greater than the preset difference threshold, and a difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, determining that the second communication condition is met;
[0224] Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, and the difference between the second received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met;
[0225] Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
[0226] In one embodiment, the device further comprises:
[0227] The second determining module is used to determine whether the second communication condition is met when the current scene is in a radio frequency multimedia scene or a voice call scene.
[0228] In one of the embodiments, the detection module is further specifically used to detect the received signal strength of the multiple antennas when the current scenario is a radio frequency coexistence scenario, wherein the radio frequency coexistence scenario is a scenario in which both the first radio frequency link and the second radio frequency link are in an enabled state.
[0229] In one embodiment, the first radio frequency link is a WIFI radio frequency link, and the second radio frequency link is a Bluetooth radio frequency link.
[0230] Each module in the above antenna control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0231] Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which includes the radio frequency module described in any of the above embodiments. The implementation solution provided by the electronic device to solve the problem is similar to the implementation solution recorded in the above method, and the above definition of the antenna control method can be referred to, which will not be repeated here.
[0232] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Fig.13 The radio frequency module of the electronic device includes a first radio frequency link and a second radio frequency link ( Fig.13 (not shown), the electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an antenna control method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0233] Those skilled in the art will understand that Fig.13 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0234] The embodiment of the present application further provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the antenna control method.
[0235] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the antenna control method.
[0236] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0237] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0238] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0239] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A radio frequency module, characterized in that: The radio frequency module includes a first radio frequency link, a second radio frequency link and a plurality of antennas, wherein the plurality of antennas include a first antenna and a second antenna having an antenna isolation greater than a preset isolation threshold; The first radio frequency link and the second radio frequency link are used to use the target antenna among the multiple antennas to transmit and receive radio frequency signals in different time slices when the first communication condition is met; The first radio frequency link and the second radio frequency link are further configured to respectively use the first antenna and the second antenna to transmit and receive radio frequency signals when a second communication condition is met.
2. The radio frequency module according to claim 1, characterized in that: The first radio frequency link and the second radio frequency link include a common radio frequency chip; The radio frequency chip is used to detect the received signal strengths of the multiple antennas, and determine whether the first communication condition or the second communication condition is met according to the detected received signal strengths.
3. The radio frequency module according to claim 2, characterized in that: The target antenna is a third antenna among the multiple antennas except the first antenna and the second antenna; The first radio frequency link is further configured to use the second antenna alone to transmit and receive radio frequency signals when the first communication condition is met.
4. The radio frequency module according to claim 3, characterized in that: The radio frequency chip is specifically used to determine that the first communication condition is met when a difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to a preset difference threshold.
5. The radio frequency module according to claim 4, characterized in that: The radio frequency chip is further specifically used to determine that the second communication condition is met when the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than the preset difference threshold.
6. The radio frequency module according to claim 2, characterized in that: The target antenna includes the second antenna and a third antenna among the plurality of antennas excluding the first antenna and the second antenna.
7. The radio frequency module according to claim 6, characterized in that: The radio frequency chip is specifically used for: When a difference between a third received signal strength of the third antenna and a second received signal strength of the second antenna is greater than a preset difference threshold, and a difference between the third received signal strength and the first received signal strength of the first antenna is greater than the preset difference threshold, determining that the first communication condition is met; Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is greater than the preset difference threshold, it is determined that the first communication condition is met.
8. The radio frequency module according to claim 4 or 7, characterized in that: The radio frequency chip is further specifically used to determine that the first communication condition is met when the current state is not in a radio frequency multimedia scenario or a voice call scenario.
9. The radio frequency module according to claim 7, characterized in that: The radio frequency chip is also specifically used for: In a case where a difference between the third received signal strength and the second received signal strength is greater than the preset difference threshold, and a difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, determining that the second communication condition is met; Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, and the difference between the second received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met; Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
10. The radio frequency module according to claim 5 or 9, characterized in that: The radio frequency chip is further specifically used to determine that the second communication condition is met when the current scene is a radio frequency multimedia scene or a voice call scene.
11. The radio frequency module according to claim 2, characterized in that: The RF chip is specifically used to detect the received signal strength of the multiple antennas when currently in a RF coexistence scenario, wherein the RF coexistence scenario is a scenario in which both the first RF link and the second RF link are in an enabled state.
12. The radio frequency module according to claim 3 or 6, characterized in that: The RF module further includes an antenna switch connected to the RF chip, and the antenna switch is connected to the first antenna and the third antenna respectively; The RF chip is also used to control the antenna switch to conduct the path between the RF chip and the third antenna when the first communication condition is met; and to control the antenna switch to conduct the path between the RF chip and the first antenna when the second communication condition is met.
13. The radio frequency module according to claim 1, characterized in that: The first radio frequency link is a WIFI radio frequency link, and the second radio frequency link is a Bluetooth radio frequency link.
14. An antenna control method, characterized in that: Used in an electronic device, the electronic device comprising a radio frequency module according to any one of claims 1 to 13, the method comprising: When the first radio frequency link and the second radio frequency link included in the radio frequency module meet the first communication condition, control the first radio frequency link and the second radio frequency link to use the target antenna among the multiple antennas included in the radio frequency module to transmit and receive radio frequency signals in different time slices; When the first radio frequency link and the second radio frequency link meet the second communication condition, the first radio frequency link and the second radio frequency link are controlled to use the first antenna and the second antenna of the multiple antennas to transmit and receive radio frequency signals respectively.
15. The method according to claim 14, characterized in that The method further comprises: The received signal strengths of the multiple antennas are detected, and whether the first communication condition or the second communication condition is satisfied is determined according to the detected received signal strengths.
16. The method according to claim 15, characterized in that The target antenna is a third antenna among the multiple antennas except the first antenna and the second antenna, and determining whether the first communication condition or the second communication condition is met according to the detected received signal strength includes: When a difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is less than or equal to a preset difference threshold, it is determined that the first communication condition is met.
17. The method according to claim 16, characterized in that The determining whether the first communication condition or the second communication condition is met according to the detected received signal strength further includes: When the difference between the first received signal strength of the first antenna and the third received signal strength of the third antenna is greater than the preset difference threshold, it is determined that the second communication condition is met.
18. The method according to claim 15, characterized in that The target antenna includes the second antenna and a third antenna among the multiple antennas except the first antenna and the second antenna, and determining whether the first communication condition or the second communication condition is met according to the detected received signal strength includes: When a difference between a third received signal strength of the third antenna and a second received signal strength of the second antenna is greater than a preset difference threshold, and a difference between the third received signal strength and the first received signal strength of the first antenna is greater than the preset difference threshold, determining that the first communication condition is met; Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is greater than the preset difference threshold, it is determined that the first communication condition is met.
19. The method according to claim 16 or 18, characterized in that The method further comprises: When the current scene is not a radio frequency multimedia scene or a voice call scene, it is determined that the first communication condition is met.
20. The method according to claim 18, characterized in that The determining whether the first communication condition or the second communication condition is met according to the detected received signal strength further includes: In a case where a difference between the third received signal strength and the second received signal strength is greater than the preset difference threshold, and a difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, determining that the second communication condition is met; Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, and the difference between the second received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met; Alternatively, when the difference between the third received signal strength and the second received signal strength is less than or equal to the preset difference threshold, the difference between the second received signal strength and the first received signal strength is greater than the preset difference threshold, and the difference between the third received signal strength and the first received signal strength is less than or equal to the preset difference threshold, it is determined that the second communication condition is met.
21. The method according to claim 17 or 20, characterized in that The method further comprises: In a case where the current scene is a radio frequency multimedia scene or a voice call scene, it is determined that the second communication condition is met.
22. The method according to claim 15, characterized in that The detecting the received signal strengths of the multiple antennas includes: In the case of a current RF coexistence scenario, the received signal strengths of the multiple antennas are detected, wherein the RF coexistence scenario is a scenario in which both the first RF link and the second RF link are in an enabled state.
23. The method according to claim 14, characterized in that The first radio frequency link is a WIFI radio frequency link, and the second radio frequency link is a Bluetooth radio frequency link.
24. An antenna control device, characterized in that: The device is provided in an electronic device, wherein the electronic device comprises a radio frequency module according to any one of claims 1 to 13, and the device comprises: A first control module is used to control the first radio frequency link and the second radio frequency link included in the radio frequency module to use a target antenna among the multiple antennas included in the radio frequency module to transmit and receive radio frequency signals in different time slices when the first radio frequency link and the second radio frequency link included in the radio frequency module meet a first communication condition; The second control module is used to control the first RF link and the second RF link to use the first antenna and the second antenna of the multiple antennas to send and receive RF signals respectively when the first RF link and the second RF link meet the second communication condition.
25. An electronic device, characterized in that: The electronic device comprises the radio frequency module as described in any one of claims 1-13.
26. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 14 to 23.
27. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 14 to 23 are implemented.
28. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 14 to 23 are implemented.
