Radio frequency circuit, radio frequency circuit control method and electronic equipment

By using low -power first short -distance communication chips and high -performance second short -range communication chips in electronic devices, combined with the control of time -sharing and coexistence strategy information, the existing short -range communication chip is in Wi -Fi scanning the problem of high power consumption has achieved the flexible reduction of power consumption and the satisfaction of business demand.

CN119382735APending Publication Date: 2025-01-28HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310918293.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

Existing short-range communication chips consume high power when performing Wi-Fi scanning and cannot scan for a long time, resulting in communication link disconnection and scanning frequency in the Wi-Fi fence service and Wi-Fi proximity discovery service. A problem of insufficient.

Method used

Use a low -power first short -distance communication chip and a high -performance second short -range communication chip, and reuse a antenna through the switch with a time -sharing switch. The communication chip sends coexistence strategy information, and controls the time -sharing switch to turn the antenna with the appropriate communication chip to achieve the flexible reduction of power consumption and the satisfaction of business demand.

Benefits of technology

At the same time as meeting business needs, it is flexibly reduce power consumption, extend the working hours of electronic equipment in Wi-Fi scanning, and avoid the problem of disconnection and scanning frequency of communication links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119382735A_ABST
    Figure CN119382735A_ABST
Patent Text Reader

Abstract

The invention discloses a radio frequency circuit, a radio frequency circuit control method and electronic equipment, relates to the field of wireless communication, and is used for reducing power consumption of short-distance communication. The radio frequency circuit comprises a processor, a first short-distance communication chip, a second short-distance communication chip and a time division multiplexing switch, the processor is used for sending coexistence strategy information to the first short-distance communication chip according to the working state of the second short-distance communication chip, and the coexistence strategy information indicates whether the first short-distance communication chip can preempt the first antenna or not in the working state; the working state of the second short-distance communication chip comprises whether to wirelessly connect with other equipment, whether to transmit effective data with other equipment, and throughput or time delay of effective data transmission; and the first short-distance communication chip is used for acquiring a data receiving and transmitting state of the second short-distance communication chip, and controlling the time division multiplexing switch to conduct the first antenna with the second short-distance communication chip or the first short-distance communication chip according to the data receiving and transmitting state and the coexistence strategy information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communications, and in particular to a radio frequency circuit, a radio frequency circuit control method, and an electronic device. Background Art

[0002] Mobile phones and other electronic devices use short-range communication chips to amplify the wireless fidelity (Wi-Fi) signals they receive and send, so as to perform Wi-Fi scanning. However, due to the high power consumption of short-range communication chips with good performance, they cannot perform scanning for a long time. Summary of the invention

[0003] Embodiments of the present application provide a radio frequency circuit, a radio frequency circuit control method, and an electronic device for reducing power consumption in short-range communications.

[0004] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0005] In a first aspect, a radio frequency circuit is provided, comprising: a processor, a first short-range communication chip, a second short-range communication chip and a time-division multiplexing switch; the second short-range communication chip is coupled to the first short-range communication chip, the second short-range communication chip is coupled to the second active end of the time-division multiplexing switch, the first short-range communication chip is coupled to the first active end and the control end of the time-division multiplexing switch, and the fixed end of the time-division multiplexing switch is used to couple to a first antenna; under the same working state, the power consumption of the first short-range communication chip is lower than that of the second short-range communication chip, and the second short-range communication chip and the first short-range communication chip support the same wireless communication protocol; the processor is used to send a signal to the first short-range communication chip according to the working state of the second short-range communication chip. The communication chip sends coexistence strategy information, and the coexistence strategy information is used to indicate whether the first short-range communication chip can preempt the first antenna when the second short-range communication chip is in a working state. The working state of the second short-range communication chip includes: whether the second short-range communication chip is wirelessly connected to other devices, whether the second short-range communication chip transmits valid data with other devices, and the throughput or delay of the second short-range communication chip in transmitting valid data. The first short-range communication chip is used to obtain the state of receiving and sending data of the second short-range communication chip, and according to the state of receiving and sending data of the second short-range communication chip and the coexistence strategy information, control the time-division multiplexing switch to connect the first antenna with the second short-range communication chip or the first short-range communication chip.

[0006] The radio frequency circuit, radio frequency circuit control method and electronic device provided in the embodiments of the present application, the high-power second short-distance communication chip and the low-power first short-distance communication chip, reuse a first antenna through a time-division multiplexing switch. The processor sends different coexistence strategy information to the first short-distance communication chip according to the different working states of the second short-distance communication chip (for example, whether the second short-distance communication chip is wirelessly connected to other devices, whether it transmits valid data with other devices, and the throughput or delay of transmitting valid data), that is, whether the first short-distance communication chip seizes the multiplexed antenna. The first short-distance communication chip controls the time-division multiplexing switch to connect the first antenna to the first short-distance communication chip or the second short-distance communication chip according to the state of the receiving and transmitting data of the second short-distance communication chip and the coexistence strategy information. It is achieved that both business needs can be met and power consumption can be flexibly reduced.

[0007] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned off, or the second short-range communication chip is turned on but not wirelessly connected to other devices, the first short-range communication chip occupies the first antenna; the first short-range communication chip is specifically used for: when the second short-range communication chip does not send any data, controlling the time-division multiplexing switch to connect the first antenna to the first short-range communication chip.

[0008] In this implementation, when the first short-range communication chip seizes the first antenna, the first short-range communication chip can periodically scan other devices through the first antenna, so that even if the second short-range communication chip is dormant, the first short-range communication chip can perform periodic Wi-Fi scanning or Wi-Fi proximity discovery services. In addition, compared with the second short-range communication chip scanning other devices through the first antenna, the second short-range communication chip has lower power consumption when scanning other devices through the first antenna.

[0009] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned on and wirelessly connected to other devices but transmits periodic keep-alive data, the second short-range communication chip and the first short-range communication chip periodically occupy the first antenna respectively, and the first short-range communication chip is specifically used for: when the second short-range communication chip transmits keep-alive data, controlling the time-division multiplexing switch to connect the first antenna to the second short-range communication chip; otherwise, controlling the time-division multiplexing switch to connect the first antenna to the first short-range communication chip.

[0010] In this implementation, the second short-range communication chip and the first short-range communication chip periodically occupy the first antenna respectively. When the second short-range communication chip occupies the first antenna, keep-alive data can be sent through the first antenna to keep the communication link alive; when the first short-range communication chip occupies the first antenna, other devices can be scanned through the first antenna to perform Wi-Fi scanning or Wi-Fi proximity discovery services.

[0011] In one possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned on, other devices are wirelessly connected and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold, the first short-range communication chip does not preempt the first antenna. The first short-range communication chip is specifically used to: regardless of whether the second short-range communication chip sends valid data, control the time-division multiplexing switch to connect the first antenna and the second short-range communication chip.

[0012] In this embodiment, if the data service being carried out by the second short-range communication chip has high requirements on throughput and latency, the first short-range communication chip will not preempt the first antenna, and the first antenna will be occupied by the second short-range communication chip with better performance to meet the requirements of the data service on throughput and latency as much as possible, thereby not reducing the performance of high-throughput or low-latency data services.

[0013] In one possible implementation, the second short-range communication chip is also coupled to the second antenna, and the coexistence strategy information is: when the second short-range communication chip is turned on, wirelessly connected to other devices and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold, if the second short-range communication chip sends valid data, the first short-range communication chip does not occupy the first antenna; if the second short-range communication chip receives valid data, the first short-range communication chip occupies the first antenna; the first short-range communication chip is specifically used for: when the second short-range communication chip sends valid data, controlling the time-division multiplexing switch to turn on the first antenna and the second short-range communication chip; when the second short-range communication chip receives valid data, controlling the time-division multiplexing switch to turn on the first antenna and the first short-range communication chip.

[0014] In this embodiment, when sending valid data, the second short-range communication chip occupies the first antenna and the second antenna to send valid data, thereby realizing transmit diversity; when receiving valid data, the second short-range communication chip occupies the second antenna to receive valid data, and the first short-range communication chip occupies the first antenna to receive valid data, that is, valid data is received in parallel by dual antennas, thereby realizing receive diversity.

[0015] In a second aspect, a radio frequency circuit control method is provided, which is applied to a circuit such as the first aspect and any embodiment thereof, the method comprising: a processor sending coexistence strategy information to a first short-range communication chip according to a working state of a second short-range communication chip, the coexistence strategy information being used to indicate whether the first short-range communication chip can occupy the first antenna when the second short-range communication chip is in the working state; the working state of the second short-range communication chip comprising: whether the second short-range communication chip is wirelessly connected to other devices, whether the second short-range communication chip transmits valid data with other devices, and the throughput or delay of the second short-range communication chip in transmitting valid data; the first short-range communication chip obtains the state of receiving and sending data of the second short-range communication chip, and controls the time-division multiplexing switch to connect the first antenna to the second short-range communication chip or the first short-range communication chip according to the state of receiving and sending data of the second short-range communication chip and the coexistence strategy information.

[0016] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned off, or the second short-range communication chip is turned on but not wirelessly connected to other devices, the first short-range communication chip occupies the first antenna, and according to the state of the second short-range communication chip receiving and sending data and the coexistence strategy information, the time-division multiplexing switch is controlled to connect the first antenna to the second short-range communication chip or the first short-range communication chip, including: when the second short-range communication chip does not send any data, the time-division multiplexing switch is controlled to connect the first antenna to the first short-range communication chip.

[0017] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned on and wirelessly connected to other devices but transmitting periodic keep-alive data, the second short-range communication chip and the first short-range communication chip periodically occupy the first antenna respectively, and according to the state of the second short-range communication chip receiving and sending data and the coexistence strategy information, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip or the first short-range communication chip, including: when the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip, otherwise, the time-division multiplexing switch is controlled to connect the first antenna with the first short-range communication chip.

[0018] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned on, connected to other devices and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold, the first short-range communication chip does not preempt the first antenna, and according to the state of the second short-range communication chip receiving and sending data and the coexistence strategy information, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip or the first short-range communication chip, including: regardless of whether the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip.

[0019] In a possible implementation, when the second short-range communication chip is turned on, connected to other devices and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold, if the second short-range communication chip sends valid data, the first short-range communication chip does not preempt the first antenna; if the second short-range communication chip receives valid data, the first short-range communication chip preempts the first antenna; and according to the state of the second short-range communication chip sending and receiving data and the coexistence strategy information, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip or the first short-range communication chip, including: when the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip; when the second short-range communication chip receives valid data, the time-division multiplexing switch is controlled to connect the first antenna with the first short-range communication chip.

[0020] In a third aspect, a radio frequency circuit is provided, including: a processor, a first short-range communication chip, a second short-range communication chip and a time-division multiplexing switch; the second short-range communication chip is coupled to the first short-range communication chip, the second short-range communication chip is coupled to the second active end of the time-division multiplexing switch, the first short-range communication chip is coupled to the first active end and the control end of the time-division multiplexing switch, and the fixed end of the time-division multiplexing switch is used to couple to a first antenna; under the same working state, the power consumption of the first short-range communication chip is lower than that of the second short-range communication chip, and the second short-range communication chip and the first short-range communication chip support the same wireless communication protocol; the processor is used to send coexistence strategy information to the first short-range communication chip according to the working state of the second short-range communication chip, and the coexistence strategy information is used to indicate whether the first short-range communication chip can occupy the first antenna under the working state of the second short-range communication chip; the coexistence strategy information includes: when the second short-range communication chip is turned off, or the second short-range communication chip is turned on but not wirelessly connected to other devices, the first short-range communication chip The chip occupies the first antenna; when the second short-range communication chip is turned on, wirelessly connected to other devices but transmitting periodic keep-alive data, the second short-range communication chip and the first short-range communication chip periodically time-share the first antenna; when the second short-range communication chip is turned on, connected to other devices and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold, the first short-range communication chip does not occupy the first antenna; when the second short-range communication chip is turned on, connected to other devices and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold, if the second short-range communication chip sends valid data, the first short-range communication chip does not occupy the first antenna, if the second short-range communication chip receives valid data, the first short-range communication chip occupies the first antenna; the first short-range communication chip is used to obtain the state of sending and receiving data of the second short-range communication chip, and according to the state of sending and receiving data of the second short-range communication chip and the coexistence strategy information, control the time-share multiplexing switch to connect the first antenna with the second short-range communication chip or the first short-range communication chip.

[0021] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned off, or the second short-range communication chip is turned on but not wirelessly connected to other devices, the first short-range communication chip occupies the first antenna; the first short-range communication chip is specifically used for: when the second short-range communication chip does not send any data, controlling the time-division multiplexing switch to connect the first antenna to the first short-range communication chip.

[0022] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned on, wirelessly connected to other devices but transmitting periodic keep-alive data, the second short-range communication chip and the first short-range communication chip periodically occupy the first antenna respectively, and the first short-range communication chip is specifically used to: when the second short-range communication chip transmits keep-alive data, control the time-division multiplexing switch to connect the first antenna with the second short-range communication chip, otherwise, control the time-division multiplexing switch to connect the first antenna with the first short-range communication chip. This allows the second short-range communication chip and the first short-range communication chip to periodically time-division multiplex the first antenna.

[0023] In one possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned on, other devices are wirelessly connected and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold, the first short-range communication chip does not preempt the first antenna. The first short-range communication chip is specifically used to: regardless of whether the second short-range communication chip sends valid data, control the time-division multiplexing switch to connect the first antenna and the second short-range communication chip.

[0024] In one possible implementation, the second short-range communication chip is also coupled to the second antenna, and the coexistence strategy information is: when the second short-range communication chip is turned on, wirelessly connected to other devices and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold, if the second short-range communication chip sends valid data, the first short-range communication chip does not occupy the first antenna; if the second short-range communication chip receives valid data, the first short-range communication chip occupies the first antenna; the first short-range communication chip is specifically used for: when the second short-range communication chip sends valid data, controlling the time-division multiplexing switch to turn on the first antenna and the second short-range communication chip; when the second short-range communication chip receives valid data, controlling the time-division multiplexing switch to turn on the first antenna and the first short-range communication chip.

[0025] In a fourth aspect, a radio frequency circuit control method is provided, which is applied to a circuit such as the third aspect and any embodiment thereof, the method comprising: a processor sending coexistence strategy information to a first short-range communication chip according to a working state of a second short-range communication chip, the coexistence strategy information being used to indicate whether the first short-range communication chip can occupy the first antenna when the second short-range communication chip is in the working state; the working state of the second short-range communication chip comprises: whether the second short-range communication chip is wirelessly connected to other devices, whether the second short-range communication chip transmits valid data to other devices, and the throughput or delay of the second short-range communication chip in transmitting valid data; the coexistence strategy information comprises: when the second short-range communication chip is turned off, or the second short-range communication chip is turned on but not wirelessly connected to other devices, the first short-range communication chip occupies the first antenna; when the second short-range communication chip is turned on, it is wirelessly connected to other devices but the transmission periodic protection When active data is transmitted, the second short-range communication chip and the first short-range communication chip periodically time-share the first antenna; when the second short-range communication chip is turned on, connected to other devices and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold, the first short-range communication chip does not occupy the first antenna; when the second short-range communication chip is turned on, connected to other devices and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold, if the second short-range communication chip sends valid data, the first short-range communication chip does not occupy the first antenna, if the second short-range communication chip receives valid data, the first short-range communication chip seizes the first antenna; the first short-range communication chip obtains the state of sending and receiving data of the second short-range communication chip, and controls the time-share multiplexing switch to connect the first antenna to the second short-range communication chip or the first short-range communication chip according to the state of sending and receiving data of the second short-range communication chip and the coexistence strategy information.

[0026] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned off, or the second short-range communication chip is turned on but not wirelessly connected to other devices, the first short-range communication chip occupies the first antenna, and according to the state of the second short-range communication chip receiving and sending data and the coexistence strategy information, the time-division multiplexing switch is controlled to connect the first antenna to the second short-range communication chip or the first short-range communication chip, including: when the second short-range communication chip does not send any data, the time-division multiplexing switch is controlled to connect the first antenna to the first short-range communication chip.

[0027] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned on and wirelessly connected to other devices but transmitting periodic keep-alive data, the second short-range communication chip and the first short-range communication chip periodically occupy the first antenna respectively, and according to the state of the second short-range communication chip receiving and sending data and the coexistence strategy information, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip or the first short-range communication chip, including: when the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip, otherwise, the time-division multiplexing switch is controlled to connect the first antenna with the first short-range communication chip.

[0028] In a possible implementation, the coexistence strategy information is: when the second short-range communication chip is turned on, connected to other devices and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold, the first short-range communication chip does not preempt the first antenna, and according to the state of the second short-range communication chip receiving and sending data and the coexistence strategy information, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip or the first short-range communication chip, including: regardless of whether the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip.

[0029] In a possible implementation, when the second short-range communication chip is turned on, connected to other devices and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold, if the second short-range communication chip sends valid data, the first short-range communication chip does not preempt the first antenna; if the second short-range communication chip receives valid data, the first short-range communication chip preempts the first antenna; and according to the state of the second short-range communication chip sending and receiving data and the coexistence strategy information, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip or the first short-range communication chip, including: when the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna with the second short-range communication chip; when the second short-range communication chip receives valid data, the time-division multiplexing switch is controlled to connect the first antenna with the first short-range communication chip.

[0030] In a fifth aspect, an electronic device is provided, comprising a coupled antenna and a radio frequency circuit as described in the first aspect and any embodiment thereof, or comprising a coupled antenna and a radio frequency circuit as described in the third aspect and any embodiment thereof.

[0031] In a sixth aspect, a computer-readable storage medium is provided, comprising instructions, which, when executed on an electronic device, cause the electronic device to execute a method as described in the second aspect and any one of its embodiments, or cause the electronic device to execute a method as described in the fourth aspect and any one of its embodiments.

[0032] In the seventh aspect, a computer program product comprising instructions is provided. When the instructions are executed on the electronic device, the electronic device executes the method as described in the second aspect and any one of its embodiments, or the electronic device executes the method as described in the fourth aspect and any one of its embodiments.

[0033] In an eighth aspect, a chip system is provided, the chip system including a processor for supporting an electronic device to implement the functions involved in the second aspect or the fourth aspect. In one possible design, the device also includes an interface circuit, which can be used to receive signals from other devices (such as a memory) or send signals to other devices (such as a communication interface). The chip system may include a chip and may also include other discrete devices.

[0034] The technical effects of the second to eighth aspects refer to the technical effects of the first aspect and any of its embodiments, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of a Wi-Fi fence service scenario provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of a Wi-Fi proximity discovery service scenario provided in an embodiment of the present application;

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

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

[0039] Figure 5 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application;

[0040] Figure 6 A flowchart of a radio frequency circuit control method provided in an embodiment of the present application;

[0041] Figure 7 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] First, some concepts involved in this application are described.

[0043] The terms "first", "second", etc. involved in the embodiments of the present application are only used to distinguish features of the same type and cannot be understood as indicating relative importance, quantity, order, etc.

[0044] The terms "exemplary" or "for example" and the like in the embodiments of the present application are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the related concepts in a specific way.

[0045] The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense. For example, they may refer to a direct physical connection, or an indirect connection achieved through electronic devices, such as a connection achieved through resistors, inductors, capacitors or other electronic devices.

[0046] In order to support Wi-Fi fence services or Wi-Fi proximity discovery services, electronic devices need to periodically perform Wi-Fi scans to determine whether there are other devices around, such as access points (APs) that provide Wi-Fi networks, other electronic devices logged in with the same account, etc.

[0047] For example, Figure 1 As shown, in the Wi-Fi fence service scenario, when the electronic device 10 enters the range of the cellular fence, a periodic Wi-Fi scan will be triggered to determine whether there is an AP 20 nearby. When the electronic device 10 enters the range of the Wi-Fi fence, the range of entering the Wi-Fi fence is determined according to the Wi-Fi fence algorithm. The electronic device uses a short-range communication chip to send and receive Wi-Fi signals. However, the short-range communication chip with better performance has high power consumption and cannot scan for a long time.

[0048] like Figure 2 As shown, in the Wi-Fi proximity discovery service scenario (also known as the super terminal scenario), the various electronic devices of the smart interconnection are discovered and networked, and they need to complete communication with each other after the electronic device is in a dormant state. When the electronic device enters the dormant state, the short-range communication chip also enters the dormant state, and cannot receive broadcast messages from other electronic devices in the Wi-Fi network, resulting in other electronic devices logged in with the same account being unable to discover the dormant electronic device. In addition, when the short-range communication chip enters the dormant state, it will stop communicating with the cloud server, causing the link between the electronic device and the cloud server to be disconnected, and the cloud message cannot be received in time. The electronic device needs to periodically send keep-alive data to keep the communication link alive, and the electronic device must also periodically perform Wi-Fi scans in the dormant state to discover other electronic devices in the Wi-Fi network.

[0049] Therefore, the embodiment of the present application provides a radio frequency circuit and an electronic device, which uses a second short-range communication chip and a first short-range communication chip for short-range communication. The performance of the second short-range communication chip is better and the power consumption is also higher. The performance of the first short-range communication chip is worse than that of the second short-range communication chip, but the power consumption is relatively low. Due to the internal space limitation of the electronic device, it is impossible to provide a separate antenna for the newly added first short-range communication chip, so the second short-range communication chip and the first short-range communication chip reuse an antenna through a time-division multiplexing switch. The first short-range communication chip is responsible for controlling the time-division multiplexing switch to connect the second short-range communication chip or the first short-range communication chip to the antenna. Even if the second short-range communication chip is dormant, short-range communication can be performed through the low-power first short-range communication chip. For services with higher performance requirements, the second short-range communication chip is responsible for communication to provide better communication performance. For services with lower performance requirements (such as keeping the communication link alive during sleep), the first short-range communication chip is responsible for communication to reduce power consumption.

[0050] The electronic device involved in the embodiments of the present application may be a mobile phone, a tablet, a laptop computer, etc., without specific limitation.

[0051] like Figure 3 and Figure 4 As shown, an embodiment of the present application provides an electronic device 10, including: a radio frequency circuit 100, a first antenna ANT1, and a second antenna ANT2. The radio frequency circuit 100 includes a processor 101, a memory 102, a first short-range communication chip 103, a second short-range communication chip 104, and a time-division multiplexing switch 105. Figure 3 The structure of a low-end electronic device is shown in FIG. 1 , wherein the first short-distance communication chip 103 and the second short-distance communication chip 104 are internally integrated with front-end modules (FEM). The FEM is used to amplify the power of the radio frequency signal of the short-distance communication (Wi-Fi or Bluetooth (BT)). Figure 4 As shown, in some implementations (such as high-end electronic devices), the RF circuit 100 further includes a first front-end module (FEM) 106 and a second FEM 107 externally disposed outside the short-range communication chip to provide better amplification performance.

[0052] The second short-range communication chip 104 and the first short-range communication chip 103 support the same wireless communication protocol, such as supporting Wi-Fi communication protocol, Bluetooth (bluetooth, BT) communication protocol, etc., which is not limited in this application. The performance of the second short-range communication chip is better than that of the first short-range communication chip. For example, the second short-range communication chip supports multiple in multiple out (multiple inmultiple out, MIMO), and the first short-range communication chip supports single in single out (single in single out, SISO). However, under the same working state, the power consumption of the first short-range communication chip is lower than that of the second short-range communication chip. The second short-range communication chip can be a high-end short-range communication chip or a flagship short-range communication chip, and the first short-range communication chip can be a mid-to-low-end short-range communication chip.

[0053] The second short-distance communication chip 104 is coupled to the first short-distance communication chip 103, the second short-distance communication chip 104 is coupled to the second active end of the time-division multiplexing switch 105, the first short-distance communication chip is coupled to the first active end and the control end of the time-division multiplexing switch, and the fixed end of the time-division multiplexing switch 105 is used to couple to the first antenna ANT1. Figure 4 As shown, in some implementations, the fixed end of the time-division multiplexing switch 105 is coupled to the first antenna ANT1 through the first FEM 106 .

[0054] The memory 102 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DRRAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0055] The memory 102 stores instructions, and when the processor 101 executes the instructions, the radio frequency circuit control method involved in the embodiment of the present application can be executed.

[0056] Processor 101 may be a chip. For example, it may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips. Processor 101 is also called an application processor.

[0057] like Figure 5 As shown, the software running in the processor 101 includes an application (APP) 1011, a scene recognition module 1012, a coexistence service module 1013, and a transmission link control module 1014. Among them, the application (APP) 1011 can refer to an APP that performs data services (such as low-throughput data services, high-throughput data services, Wi-Fi fence services, or Wi-Fi proximity discovery services) or transmits valid data, such as a data transmission assistant, a music player, etc. The scene recognition module 1012 is used to identify the current working state of the electronic device. For specific working states, refer to Figure 6 The coexistence service module 1013 is used to generate coexistence strategy information according to the working state of the second short-range communication chip, and send the coexistence strategy information to the first short-range communication chip to avoid affecting the data transmission of the second short-range communication chip. Figure 6 The transmission link control module 1014 is used to determine which short-range communication chip to use to transmit data according to the working state of the second short-range communication chip, for example, the high-throughput data service of Wi-Fi is performed by the second short-range communication chip, and the low-throughput data service of Wi-Fi is performed by the first short-range communication chip.

[0058] The first short-range communication chip 103 includes a first media access control (MAC) 1031, a first baseband (baseband) 1032, and a coexistence circuit 1033. The software running in the first short-range communication chip 103 includes a scanning module 1035 and a coexistence strategy information module 1034. The coexistence strategy information module 1034 is used to receive and save the coexistence strategy information from the processor 101, convert the coexistence strategy information into hardware configuration parameters, and then set the hardware configuration parameters to the coexistence circuit 1033. The coexistence circuit 1033 is used to obtain the state of the transceiver data of the second short-range communication chip 104, and according to the state of the transceiver data of the second short-range communication chip 104 and the coexistence strategy information, control the time-division multiplexing switch to connect the fixed end with the first active end or the second active end, thereby connecting the first antenna ANT1 with the first short-range communication chip 103 or the second short-range communication chip 104. For details, refer to Figure 6Step S102 is shown. The scanning module 1035 receives a start command from the APP 1011 to start scanning (for example, scanning in a Wi-Fi fence service or a Wi-Fi proximity discovery service), and then the scanning module 1035 sends an antenna seizure command to the coexistence strategy information module 1034, and sends a start scanning command to the first MAC 1031. After the coexistence circuit 1033 successfully seizes the first antenna ANT1, it indicates to the first baseband 1032 that the current first antenna ANT1 is available, and the first baseband 1032 starts scanning (for example, Wi-Fi) through the first antenna ANT1.

[0059] The second short-range communication chip 104 includes a second MAC 1041 and a second baseband 1042. The first MAC 1031 and the second MAC 1041 are used for channel management, connection control, quality of service, power control, etc. The first baseband 1032 and the second baseband 1042 are used for modulation, demodulation, encoding, decoding, etc. of wireless signals.

[0060] like Figure 6 As shown, the radio frequency circuit control method provided in the embodiment of the present application includes:

[0061] S101. The processor sends coexistence strategy information to the first short-range communication chip according to the working state of the second short-range communication chip.

[0062] In different working states of the second short-range communication chip, the processor sends different coexistence strategy information to the first short-range communication chip, and the coexistence strategy information can be stored in the register of the first short-range communication chip. The working state of the second short-range communication chip includes whether the second short-range communication chip is wirelessly connected to other devices, whether the second short-range communication chip transmits valid data with other devices, and the throughput or delay of the second short-range communication chip to transmit valid data. Exemplarily, various possible working states of the second short-range communication chip are shown in Table 1.

[0063] Table 1

[0064]

[0065]

[0066] The coexistence strategy information is used to indicate whether the first short-range communication chip can preempt the first antenna in each working state of the first short-range communication chip. For example, a possible coexistence strategy information is shown in Table 2.

[0067] Table 2

[0068]

[0069]

[0070] S102: The first short-range communication chip obtains the state of data transmission and reception of the second short-range communication chip, and controls the time-division multiplexing switch to connect the first antenna to the first short-range communication chip or the second short-range communication chip according to the state of data transmission and reception of the second short-range communication chip and the coexistence strategy information.

[0071] for Figure 3 For the low-end and mid-end electronic devices shown in the figure, the short-distance communication chip uses a built-in FEM, and usually outputs a radio frequency signal to the outside. Therefore, the second short-distance communication chip can send the state of the second short-distance communication chip's transceiver data to the first short-distance communication chip through the general purpose input output (GPIO) port, and the state of the second short-distance communication chip's transceiver data can be represented by high and low levels. The first short-distance communication chip outputs a control signal to the first FEM to control the time-division multiplexing switch to connect the first antenna to the first short-distance communication chip or the second short-distance communication chip. For example, the second short-range communication chip can have four GPIO ports WifiTx, WifiRx, BtTx, and BtRx, wherein WifiTx is at a high level, indicating that the second short-range communication chip is sending Wi-Fi signals, WifiRx is at a high level, indicating that the second short-range communication chip is receiving Wi-Fi signals, BtTx is at a high level, indicating that the second short-range communication chip is sending Bluetooth signals, and BtRx is at a high level, indicating that the second short-range communication chip is receiving Bluetooth signals. If WifiTx, WifiRx, BtTx, and BtRx are all at low levels, it means that the second short-range communication chip has not transmitted valid data.

[0072] for Figure 4 For the high-end electronic device shown in the figure, the short-range communication chip adopts an external FEM. In addition to outputting RF signals to the outside, it also controls the first FEM and the second FEM through the GPIO interface of the FEM. Therefore, the GPIO interface of the second short-range communication chip that controls the first FEM can be connected to the first short-range communication chip. The first short-range communication chip determines the state of the receiving and transmitting data of the second short-range communication chip according to the first control signal output from the GPIO interface that controls the first FEM, and outputs the second control signal to the first FEM to control the time-division multiplexing switch to connect the first antenna to the first short-range communication chip or the second short-range communication chip. Exemplarily, it is assumed that the GPIO interface of the second short-range communication chip that controls the first FEM includes four GPIO ports PA_EN, LNA_EN, BT_EN, and SEL4. The meanings of these four GPIO ports are shown in Table 3.

[0073] Table 3

[0074]

[0075]

[0076] If the coexistence strategy information sent by the processor is: when the second short-range communication chip is turned off (sleep), or the second short-range communication chip is turned on but not wirelessly connected to other devices (i.e., no connection scenario), the first short-range communication chip seizes the first antenna. At this time, when it is detected that the second short-range communication chip does not send any data, the first short-range communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the first antenna to the first short-range communication chip. The first short-range communication chip seizes the first antenna, and the first short-range communication chip can periodically scan other devices through the first antenna, so that even if the second short-range communication chip is dormant, periodic Wi-Fi scanning or Wi-Fi proximity discovery services can be performed through the first short-range communication chip. In addition, compared with the second short-range communication chip scanning other devices through the first antenna, the second short-range communication chip has lower power consumption when scanning other devices through the first antenna.

[0077] If the coexistence strategy information sent by the processor is: when the second short-range communication chip is turned on, wirelessly connected to other devices but transmitting periodic keep-alive data (i.e., normal connection scenario), the second short-range communication chip and the first short-range communication chip periodically occupy the first antenna respectively. Periodically, when it is detected that the second short-range communication chip transmits keep-alive data, the first short-range communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the first antenna to the second short-range communication chip. Otherwise, the first short-range communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the first antenna to the first short-range communication chip. The second short-range communication chip and the first short-range communication chip periodically time-division multiplex the first antenna. When the second short-range communication chip occupies the first antenna, keep-alive data can be sent through the first antenna to keep the communication link alive; when the first short-range communication chip occupies the first antenna, other devices can be scanned through the first antenna.

[0078] For example, in a Wi-Fi scenario, the second short-range communication chip periodically occupies the first antenna and the second antenna (i.e., MIMO) to send null data frames to keep the communication link alive; the second short-range communication chip can periodically perform Wi-Fi scanning or Wi-Fi proximity discovery services through the first antenna. Specifically, when the second short-range communication chip needs to occupy the first antenna and the second antenna (i.e., MIMO) to send null data frames, the first short-range communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the first antenna to the second short-range communication chip; when the second short-range communication chip stops sending null data frames, the first short-range communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the first antenna to the first short-range communication chip, and the second short-range communication chip can periodically scan other devices through the first antenna.

[0079] For another example, in a BT scenario, the second short-distance communication chip periodically occupies the first antenna or the second antenna (ie, SISO) to send heartbeat packets to keep the communication link alive; the second short-distance communication chip can periodically scan BT devices through the first antenna. Specifically, when the second short-distance communication chip needs to occupy the first antenna (ie, SISO) to send a heartbeat packet, the first short-distance communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the first antenna to the first short-distance communication chip; when the first short-distance communication chip stops sending heartbeat packets, the first short-distance communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the fixed end to the first active end, and the second short-distance communication chip can periodically scan other BT devices through the first antenna.

[0080] If the coexistence strategy information sent by the processor is: when the second short-range communication chip is turned on, wirelessly connected to other devices and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold (i.e., high-throughput scenario or low-latency scenario), the first short-range communication chip does not preempt the first antenna. At this time, regardless of whether the second short-range communication chip sends valid data, the first short-range communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to always connect the first antenna to the second short-range communication chip. This will not reduce the performance of high-throughput or low-latency data services.

[0081] If the coexistence strategy information sent by the processor is: when the second short-range communication chip is turned on, other devices are wirelessly connected and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold (i.e., low throughput scenario), if the second short-range communication chip sends valid data, the first short-range communication chip does not occupy the first antenna, that is, the second short-range communication chip uses the first antenna and the second antenna to send valid data to realize MIMO sending of valid data; if the second short-range communication chip receives valid data, the first short-range communication chip occupies the first antenna, that is, the first short-range communication chip receives valid data through the first antenna, and the second short-range communication chip receives valid data through the second antenna, thereby realizing dual-chip parallel reception. At this time, when the first short-distance communication chip detects that the second short-distance communication chip sends valid data, the first short-distance communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the first antenna with the second short-distance communication chip. When the first short-distance communication chip detects that the second short-distance communication chip receives valid data, the first short-distance communication chip outputs a control signal to the time-division multiplexing switch to control the time-division multiplexing switch to connect the first antenna with the first short-distance communication chip. When sending valid data, the second short-distance communication chip occupies the first antenna and the second antenna to send valid data, realizing transmit diversity; when receiving valid data, the second short-distance communication chip occupies the second antenna to receive valid data, and the first short-distance communication chip occupies the first antenna to receive valid data, that is, receiving valid data in parallel through dual antennas to realize receive diversity.

[0082] The radio frequency circuit, radio frequency circuit control method and electronic device provided in the embodiments of the present application, the high-power second short-distance communication chip and the low-power first short-distance communication chip, reuse a first antenna through a time-division multiplexing switch. The processor sends different coexistence strategy information to the first short-distance communication chip according to the different working states of the second short-distance communication chip (for example, whether the second short-distance communication chip is wirelessly connected to other devices, whether it transmits valid data with other devices, and the throughput or delay of the second short-distance communication chip to transmit valid data), that is, whether the first short-distance communication chip seizes the multiplexed antenna. The first short-distance communication chip controls the time-division multiplexing switch to connect the first antenna to the first short-distance communication chip or the second short-distance communication chip according to the state of the second short-distance communication chip's transceiver data and the coexistence strategy information. It is achieved that both business needs can be met and power consumption can be flexibly reduced.

[0083] like Figure 7 As shown, the embodiment of the present application also provides a chip system. The chip system 70 includes at least one processor 701 and at least one interface circuit 702. The at least one processor 701 and the at least one interface circuit 702 can be interconnected through a line. The processor 701 is used to support the electronic device to implement each step in the above method embodiment, such as Figure 6In the method shown, at least one interface circuit 702 may be used to receive signals from other devices (eg, memory) or to send signals to other devices (eg, communication interface). The chip system may include a chip and may also include other discrete devices.

[0084] The present application also provides a computer-readable storage medium, which includes instructions. When the instructions are executed on the electronic device, the electronic device executes each step in the method embodiment, such as executing Figure 6 The method shown.

[0085] The present application also provides a computer program product including instructions. When the instructions are executed on the electronic device, the electronic device executes each step in the method embodiment, such as executing Figure 6 The method shown.

[0086] Regarding the technical effects of the chip system, computer-readable storage medium, and computer program product, refer to the technical effects of the previous method embodiments.

[0087] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0088] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0089] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

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

[0091] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one device or distributed on multiple devices. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0092] In addition, each functional module in each embodiment of the present application may be integrated into one device, or each module may exist physically separately, or two or more modules may be integrated into one device.

[0093] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may contain one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0094] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A radio frequency circuit, characterized in that: include: A processor, a first short-range communication chip, a second short-range communication chip and a time-division multiplexing switch; the second short-range communication chip is coupled to the first short-range communication chip, the second short-range communication chip is coupled to the second active end of the time-division multiplexing switch, the first short-range communication chip is coupled to the first active end and the control end of the time-division multiplexing switch, and the fixed end of the time-division multiplexing switch is used to couple to a first antenna; under the same working state, the power consumption of the first short-range communication chip is lower than that of the second short-range communication chip, and the second short-range communication chip and the first short-range communication chip support the same wireless communication protocol; The processor is used to send coexistence strategy information to the first short-range communication chip according to the working state of the second short-range communication chip, wherein the coexistence strategy information is used to indicate whether the first short-range communication chip can preempt the first antenna in the working state of the second short-range communication chip; The working state of the second short-range communication chip includes: whether the second short-range communication chip is wirelessly connected to other devices, whether the second short-range communication chip transmits valid data with other devices, and the throughput or latency of the second short-range communication chip in transmitting valid data; The first short-range communication chip is used to obtain the state of sending and receiving data of the second short-range communication chip, and control the time-division multiplexing switch to connect the first antenna to the second short-range communication chip or the first short-range communication chip according to the state of sending and receiving data of the second short-range communication chip and the coexistence strategy information.

2. The radio frequency circuit according to claim 1, characterized in that: The coexistence strategy information is: when the second short-range communication chip is turned off, or the second short-range communication chip is turned on but not wirelessly connected to other devices, the first short-range communication chip preempts the first antenna; the first short-range communication chip is specifically used for: When the second short-range communication chip does not send any data, the time division multiplexing switch is controlled to connect the first antenna and the first short-range communication chip.

3. The radio frequency circuit according to claim 1, characterized in that: The coexistence strategy information is: when the second short-range communication chip is turned on and wirelessly connected to other devices but transmits periodic keep-alive data, the second short-range communication chip and the first short-range communication chip periodically occupy the first antenna respectively, and the first short-range communication chip is specifically used for: When the second short-range communication chip transmits keep-alive data, the time-division multiplexing switch is controlled to connect the first antenna to the second short-range communication chip; otherwise, the time-division multiplexing switch is controlled to connect the first antenna to the first short-range communication chip.

4. The radio frequency circuit according to claim 1, characterized in that: The coexistence strategy information is: when the second short-range communication chip is turned on, wirelessly connected to other devices and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold, the first short-range communication chip does not preempt the first antenna, and the first short-range communication chip is specifically used for: Regardless of whether the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna and the second short-range communication chip.

5. The radio frequency circuit according to claim 1, characterized in that: The second short-range communication chip is also coupled to the second antenna, and the coexistence strategy information is: when the second short-range communication chip is turned on, wirelessly connected to other devices and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold, if the second short-range communication chip sends valid data, the first short-range communication chip does not occupy the first antenna, if the second short-range communication chip receives valid data, the first short-range communication chip occupies the first antenna, and the first short-range communication chip is specifically used for: When the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna and the second short-range communication chip; when the second short-range communication chip receives valid data, the time-division multiplexing switch is controlled to connect the first antenna and the first short-range communication chip.

6. A radio frequency circuit control method, characterized in that: Applied to the radio frequency circuit according to any one of claims 1 to 5, the method comprises: The processor sends coexistence strategy information to the first short-range communication chip according to the working state of the second short-range communication chip, where the coexistence strategy information is used to indicate whether the first short-range communication chip can occupy the first antenna under the working state of the second short-range communication chip; the working state of the second short-range communication chip includes: whether the second short-range communication chip is wirelessly connected to other devices, whether the second short-range communication chip transmits valid data with other devices, and the throughput or delay of the second short-range communication chip in transmitting valid data; The first short-range communication chip obtains the state of sending and receiving data of the second short-range communication chip, and controls the time-division multiplexing switch to connect the first antenna to the second short-range communication chip or the first short-range communication chip according to the state of sending and receiving data of the second short-range communication chip and the coexistence strategy information.

7. The method according to claim 6, characterized in that The coexistence strategy information is: when the second short-range communication chip is turned off, or the second short-range communication chip is turned on but not wirelessly connected to other devices, the first short-range communication chip preempts the first antenna, and according to the state of the second short-range communication chip receiving and sending data and the coexistence strategy information, controlling the time-division multiplexing switch to connect the first antenna to the second short-range communication chip or the first short-range communication chip includes: When the second short-range communication chip does not send any data, the time division multiplexing switch is controlled to connect the first antenna and the first short-range communication chip.

8. The method according to claim 6, characterized in that The coexistence strategy information is: when the second short-range communication chip is turned on and wirelessly connected to other devices but transmits periodic keep-alive data, the second short-range communication chip and the first short-range communication chip periodically occupy the first antenna respectively, and according to the state of the second short-range communication chip sending and receiving data and the coexistence strategy information, controlling the time-division multiplexing switch to connect the first antenna to the second short-range communication chip or the first short-range communication chip, including: When the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna to the second short-range communication chip; otherwise, the time-division multiplexing switch is controlled to connect the first antenna to the first short-range communication chip.

9. The method according to claim 6, characterized in that The coexistence strategy information is: when the second short-range communication chip is turned on, wirelessly connected to other devices and the throughput of transmitting valid data is higher than the throughput threshold or the delay is lower than the delay threshold, the first short-range communication chip does not preempt the first antenna, and according to the state of the second short-range communication chip sending and receiving data and the coexistence strategy information, controlling the time-division multiplexing switch to connect the first antenna to the second short-range communication chip or the first short-range communication chip includes: Regardless of whether the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna and the second short-range communication chip.

10. The method according to claim 6, characterized in that When the second short-range communication chip is turned on, wirelessly connected to other devices and the throughput of transmitting valid data is lower than the throughput threshold or the delay is higher than the delay threshold, if the second short-range communication chip sends valid data, the first short-range communication chip does not preempt the first antenna, and if the second short-range communication chip receives valid data, the first short-range communication chip preempts the first antenna, and according to the state of sending and receiving data of the second short-range communication chip and the coexistence strategy information, controlling the time-division multiplexing switch to conduct the first antenna with the second short-range communication chip or the first short-range communication chip, includes: When the second short-range communication chip sends valid data, the time-division multiplexing switch is controlled to connect the first antenna and the second short-range communication chip; when the second short-range communication chip receives valid data, the time-division multiplexing switch is controlled to connect the first antenna and the first short-range communication chip.

11. An electronic device, characterized in that: The invention comprises a coupled antenna and a radio frequency circuit as claimed in any one of claims 1 to 5.