An electronic device and system
By incorporating radio frequency switches and controllers into electronic devices and utilizing the target device's antenna for communication, the problems of signal crosstalk and heat dissipation caused by the increased number of antennas are solved, thereby improving communication quality.
Patent Information
- Application Number
- CN202510727805.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2045-06-03
AI Technical Summary
With the development of intelligent connected technologies and wireless communication technologies, the number of antennas in electronic devices has increased, resulting in excessive space occupation, signal crosstalk and heat dissipation problems, and reduced antenna performance.
By setting up radio frequency switches and controllers in electronic devices, and using the antenna of the target device for communication, the switching between the antennas of the electronic devices and the target devices can be achieved by controlling the on and off of the radio frequency switches, thereby improving the communication quality.
It effectively solves the problems of signal crosstalk and heat dissipation caused by excessive antenna space occupation, and improves communication quality.
Smart Images

Figure CN120263218B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of radio frequency, and more particularly to an electronic device and system. Background Technology
[0002] Currently, with the development of intelligent connected technologies and wireless communication technologies, communication between mobile phones and other electronic devices and external devices is becoming more frequent, supporting more and more radio frequency bands, and the number of antennas will also increase accordingly. This will cause antennas to occupy more than 30% of the space of electronic devices, causing signal crosstalk or heat dissipation problems, thereby reducing antenna performance. Summary of the Invention
[0003] This application provides an electronic device and system that enables the radio frequency circuit of the electronic device to be connected to the antenna of other devices, thereby improving communication quality by using the antenna of other devices.
[0004] To achieve the objective, the embodiments of this application adopt the following technical solutions:
[0005] In a first aspect, an electronic device is provided, including a controller, a radio frequency (RF) front-end, an RF switch, a first antenna, and a first target interface; a first terminal of the controller is connected to a first terminal of the RF front-end, and a second terminal of the RF front-end is connected to a first terminal of the RF switch; a second terminal of the RF switch is connected to the first antenna, and a target terminal of the RF switch is connected to the first target interface; the electronic device is used to connect to a second target interface of a target device via the first target interface, the target device further including a target antenna, and the second target interface is connected to the target antenna; the controller is used to: acquire interface connection information; the interface connection information is used to indicate whether the first target interface is coupled or disconnected from the second target interface; based on the interface connection information, control the first terminal of the RF switch to be connected to the second terminal, or the first terminal to be connected to the target terminal.
[0006] The aforementioned electronic device includes a radio frequency (RF) switch, an RF front-end, a first antenna, and a first target interface. A first terminal of the RF switch is connected to a second terminal of the RF front-end, and the second terminal is connected to the first antenna. The target interface is connected to the first target interface. The electronic device connects to a second target interface of a target device via the first target interface, and the second target interface is connected to the target antenna of the target device. The electronic device acquires interface connection information indicating whether the first and second target interfaces are coupled or disconnected. Based on this interface connection information, it controls the first terminal of the RF switch to be connected to the second terminal, or vice versa. This electronic device enables the RF circuitry, including the RF front-end and RF switch, to connect to the target antenna of the target device, thereby improving communication quality through the use of the target antenna.
[0007] In one possible implementation of the first aspect, the controller is configured to: control the first terminal of the RF switch to be connected to the second terminal when the first target interface is coupled to the second target interface; and control the first terminal of the RF switch to be connected to the target terminal when the first target interface is disconnected from the second target interface.
[0008] In this implementation, the first and second terminals of the RF switch can be directly connected, or the first terminal can be connected to the target terminal, via interface connection information. When the first and second target interfaces are coupled, the first terminal of the RF switch is connected to the target terminal; when the first and second target interfaces are disconnected, the first and second terminals of the RF switch are connected. This allows direct connection between the RF circuitry of the electronic device and the target antenna of the target device based on the interface connection information of the first and second target interfaces, enabling communication through the target antenna of the target device and improving communication quality.
[0009] In one possible implementation of the first aspect, the electronic device further includes a radio frequency (RF) chip, a first end of which is connected to a first end of the RF front end; the controller is configured to: when the first target interface is coupled to the second target interface, obtain the signal quality of the first antenna and the signal quality of the first target interface from the RF chip, and based on the signal quality of the first antenna and the signal quality of the first target interface, control the first end of the RF switch to be turned on to the second end, or the first end to be turned on to the target end; and when the first target interface is disconnected from the second target interface, control the first end of the RF switch to be turned on to the second end.
[0010] In this implementation, when the first target interface and the second target interface are coupled, the signal quality of the first antenna and the first target interface can be obtained before controlling the RF switch to switch. Then, based on the signal quality of the first antenna and the first target interface, the first terminal of the RF switch is controlled to conduct between the second terminal, or the first terminal to conduct with the target terminal. When the first target interface and the second target interface are disconnected, the first terminal of the RF switch is controlled to conduct between the second terminal. In this way, based on the interface connection information of the first and second target interfaces, as well as the signal quality of the first antenna and the first target interface, the RF circuit of the electronic device can be connected to the target antenna of the target device, thus improving communication quality by using the target antenna of the target device.
[0011] In one possible implementation of the first aspect, the controller is configured to: control the first terminal of the RF switch to be connected to the target terminal when the signal quality of the first antenna is less than the signal quality of the first target interface and the signal quality difference is greater than or equal to a second threshold; the signal quality difference is used to characterize the difference between the signal quality of the first target interface and the signal quality of the first antenna; and control the first terminal of the RF switch to be connected to the second terminal when the signal quality of the first antenna is greater than or equal to the signal quality of the first target interface, or when the signal quality of the first antenna is less than the signal quality of the first target interface and the signal quality difference is less than the second threshold.
[0012] In this implementation, when the first target interface and the second target interface are coupled, the signal quality of the first antenna and the first target interface can be compared to determine the relative quality of the signals. This allows control to connect the first and second terminals of the RF switch, or to connect the first terminal to the target interface. In other words, if the signal quality of the first target interface is better than the signal quality of the first antenna (i.e., the signal quality of the first antenna is less than the signal quality of the first target interface, and the signal quality difference is greater than or equal to a second threshold), the first terminal of the RF switch is connected to the target interface, allowing the electronic device to transmit and receive RF signals through the target antenna, thus improving communication quality. Conversely, if the signal quality of the first target interface is worse than the signal quality of the first antenna (i.e., the signal quality of the first antenna is greater than or equal to the signal quality of the first target interface, or the signal quality of the first antenna is less than the signal quality of the first target interface, and the signal quality difference is less than the second threshold), the first and second terminals of the RF switch are connected, allowing the electronic device to transmit and receive RF signals through the first antenna, thus improving communication quality.
[0013] In one possible implementation of the first aspect, the target antenna includes a second antenna and a third antenna; if the signal quality of the third antenna is less than the signal quality of the second antenna, the target antenna is the second antenna; if the signal quality of the third antenna is greater than the signal quality of the second antenna, the target antenna is the third antenna.
[0014] In this implementation, the target device includes multiple target antennas, namely a second antenna and a third antenna. First, the signal quality of the two target antennas is assessed to determine the antenna with the best signal quality. This antenna is then selected and switched with the electronic device's first antenna. Specifically, if the signal quality of the third antenna is lower than that of the second antenna, the target antenna becomes the second antenna, and the second target interface is connected to the second antenna. Conversely, if the signal quality of the third antenna is higher than that of the second antenna, the target antenna becomes the third antenna, and the second target interface is connected to the third antenna. This allows the RF circuitry of the electronic device to be connected to the target antenna with the best signal quality via a RF switch, or vice versa, thereby improving communication quality.
[0015] In one possible implementation of the first aspect, the target end of the radio frequency switch includes a third end and a fourth end; when the target antenna is a second antenna, the target end of the radio frequency switch is the third end; when the target antenna is a third antenna, the target end of the radio frequency switch is the fourth end.
[0016] In this implementation, when the target device includes multiple target antennas (i.e., a second and a third antenna), additional target ports on the RF switch can be added to correspond to the number of target antennas, resulting in two target ports corresponding to two antennas. Specifically, the third port corresponds to the second antenna, and the fourth port corresponds to the third antenna. This allows, after identifying a target antenna with good signal quality, switching the target port corresponding to the RF switch connects the electronic device's RF circuitry to that antenna in the target device. Alternatively, switching the second port of the RF switch connects the electronic device's RF circuitry to the first antenna, thereby improving communication quality.
[0017] In one possible implementation of the first aspect, the electronic device further includes a detection circuit and a first capacitor; a second terminal of the controller is connected to a first terminal of the detection circuit; the second terminal of the detection circuit is connected to the first capacitor and a first target interface; the target device further includes a first inductor, and the second target interface is grounded through the first inductor; the detection circuit is used to acquire the level information of the second terminal of the detection circuit, wherein when the level of the second terminal of the detection circuit is low, the first target interface is coupled to the second target interface, and when the level of the second terminal of the detection circuit is high, the first target interface is disconnected from the second target interface.
[0018] In this implementation, when the first target interface and the second target interface are coupled, the second terminal of the detection circuit is grounded through the first inductor, resulting in a low level. When the first target interface and the second target interface are disconnected, the second terminal of the detection circuit is grounded floating through the first capacitor, resulting in a high level. Therefore, interface connection information can be obtained through the level information of the second terminal of the detection circuit. This detection method can automatically detect based on the level information of the second terminal of the detection circuit, eliminating the need for manual configuration by the user and thus improving detection efficiency.
[0019] In one possible implementation of the first aspect, the controller is configured to: acquire the signal quality of the first target interface; if the signal quality of the first target interface is greater than a first threshold, the interface connection information is that the first target interface is coupled to the second target interface; if the signal quality of the first target interface is less than or equal to the first threshold, the interface connection information is that the first target interface is disconnected from the second target interface.
[0020] In this implementation, when the first target interface and the second target interface are coupled, the first target interface is connected to the target antenna, and the target antenna can normally transmit and receive radio frequency signals. Therefore, the signal quality of the target antenna can be obtained from the first target interface, resulting in relatively good signal quality. When the first target interface and the second target interface are disconnected, the first target interface is disconnected from the target antenna, and the target antenna cannot normally transmit and receive radio frequency signals. Therefore, the signal quality of the target antenna cannot be obtained from the first target interface, resulting in relatively poor signal quality. Therefore, interface connection information can be obtained by comparing the signal quality obtained from the first target interface with a first threshold. This detection method does not require additional detection circuitry, reducing hardware costs.
[0021] In one possible implementation of the first aspect, the controller is a radio frequency chip or a processor.
[0022] In this implementation, the controller is either an RF chip or a processor. When the controller is an RF chip, it not only generates, transmits, and receives RF signals but also controls the conduction of the first and second (or third) terminals of the RF switch. This allows for direct control at the RF end. When the controller is a processor, the first terminal of the processor is connected to the first terminal of the RF chip. The RF chip generates, transmits, and receives RF signals, while the processor controls the conduction of the first and second (or third) terminals of the RF switch. This allows for control of the RF end via the processor.
[0023] In a second aspect, a system is provided, comprising an electronic device and a target device as described in the first aspect and any embodiment thereof, wherein the system controls the radio frequency circuit of the electronic device to be connected to a first antenna of the electronic device, or to be connected to a target antenna of the target device, based on connection information between the electronic device and the target device; the connection information is used to indicate whether the electronic device is coupled or disconnected from the target device.
[0024] The aforementioned system controls the radio frequency circuitry of the electronic device to be connected to its first antenna, or to the target antenna of the target device, via connection information indicating coupling or disconnection between the electronic device and the target device. This enables communication by connecting the electronic device's radio frequency circuitry to the target antenna of the target device, thereby improving communication quality.
[0025] In one possible implementation of the second aspect, the target device includes a vehicle or a signal receiver.
[0026] In this implementation method, the application scenario can be better defined by the type of target device, including vehicles or signal receivers.
[0027] In one possible implementation of the second aspect, when the target device is a vehicle, the electronic device is used to connect to a second target interface on the bracket of the target device via a first target interface of the electronic device; when the electronic device is mounted on the bracket of the target device, the first target interface is coupled to the second target interface.
[0028] In this implementation, the first target interface of the electronic device can be connected to the second target interface on the bracket of the target device. By installing the electronic device on the bracket of the target device, the coupling between the first target interface and the second target interface can be achieved, which can better trigger the coupling between the first target interface and the second target interface.
[0029] In one possible implementation of the second aspect, the first target interface corresponds one-to-one with the second target interface, where the first target interface is a contact, probe, or coil.
[0030] In this implementation, the first target interface and the second target interface correspond one-to-one. By setting the form of the first target interface, the coupling between the first target interface and the second target interface can be better triggered.
[0031] The technical effects of the design approach in the second aspect can be found in the technical effects of the different design approaches in the first aspect, and will not be repeated here. Attached Figure Description
[0032] Figure 1 This is a schematic diagram of a possible hardware structure of an electronic device provided in an embodiment of this application;
[0033] Figure 2 A schematic diagram of a dual-mode mobile phone provided for related technologies;
[0034] Figure 3 A schematic diagram of a system provided in an embodiment of this application;
[0035] Figure 4 A schematic diagram of an electronic device provided in an embodiment of this application;
[0036] Figure 5 A schematic diagram of an electronic device provided in this application when the controller is an radio frequency chip;
[0037] Figure 6 A schematic diagram of an electronic device when the controller is a processor, provided as an embodiment of this application;
[0038] Figure 7 A schematic diagram of an electronic device including a detection circuit, provided for an embodiment of this application;
[0039] Figure 8A schematic diagram of an electronic device including a detection circuit when the controller is an radio frequency chip, provided as an embodiment of this application;
[0040] Figure 9 A schematic diagram of an electronic device including a detection circuit when the controller is a processor, provided as an embodiment of this application;
[0041] Figure 10 A flowchart illustrating the acquisition of interface connection information via a detection circuit is provided as an embodiment of this application.
[0042] Figure 11 A flowchart illustrating how to obtain interface connection information through a first target interface is provided in an embodiment of this application.
[0043] Figure 12 A flowchart illustrating how a controller controls a radio frequency switch based on interface connection information is provided in this application embodiment;
[0044] Figure 13 A flowchart illustrating how a controller controls a radio frequency switch based on interface connection information and signal quality, as provided in this application embodiment;
[0045] Figure 14 A schematic diagram of an electronic device with a pair of interfaces corresponding to two external antennas, provided in an embodiment of this application;
[0046] Figure 15 A schematic diagram of an electronic device including a pair of interfaces with a detection circuit corresponding to two external antennas, provided for an embodiment of this application;
[0047] Figure 16 A flowchart illustrating how a controller controls a radio frequency switch based on interface connection information when a pair of interfaces correspond to two external antennas, as provided in this application embodiment;
[0048] Figure 17 A flowchart illustrating how a controller controls an RF switch based on interface connection information and signal quality when a pair of interfaces corresponds to two external antennas, as provided in this application embodiment;
[0049] Figure 18 A schematic diagram of an electronic device with one external antenna corresponding to one pair of interfaces, provided in an embodiment of this application;
[0050] Figure 19 A schematic diagram of an electronic device including a pair of interfaces with a detection circuit corresponding to an external antenna, provided for an embodiment of this application;
[0051] Figure 20 A schematic diagram of another electronic device provided in this application, including a pair of interfaces with a detection circuit corresponding to an external antenna;
[0052] Figure 21 A flowchart illustrating how a controller controls a radio frequency switch based on interface connection information when a pair of interfaces corresponds to an external antenna, as provided in this application embodiment;
[0053] Figure 22 This application provides a flowchart illustrating how a controller controls a radio frequency switch based on connection information and signal quality when a pair of interfaces corresponds to one external antenna.
[0054] Figure 23 A schematic diagram of a dual-mode mobile phone integrated vehicle antenna system provided in this application embodiment;
[0055] Figure 24 A schematic diagram illustrating the concept of vehicle-to-everything connectivity for related technologies;
[0056] Figure 25 This is a schematic diagram of a mobile phone-connected-to-everything system provided in an embodiment of this application;
[0057] Figure 26 A schematic diagram of a system provided for an embodiment of this application, in which the electronic device is a mobile phone, the target device is a vehicle, and the first interface and the second interface are probes or contacts;
[0058] Figure 27 A schematic diagram of a system provided for an embodiment of this application, wherein the electronic device is a mobile phone, the target device is a vehicle, and the first interface and the second interface are coils;
[0059] Figure 28 A flowchart illustrating a user-authorized controller controlling a radio frequency switch based on interface connection information, provided in an embodiment of this application;
[0060] Figure 29 This is a flowchart illustrating a user-authorized controller controlling a radio frequency switch based on interface connection information and signal quality, as provided in an embodiment of this application. Detailed Implementation
[0061] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" are not necessarily different. Meanwhile, in the embodiments of this application, the words "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding. The terms "coupling" and "connection" involved in the embodiments of this application should be interpreted broadly. For example, it can refer to a physical direct connection or an indirect connection implemented through electronic devices, such as a connection implemented through resistors, inductors, capacitors, or other electronic devices.
[0062] Antennas are the core component of wireless communication, converting electrical signals into electromagnetic waves for transmission or reception.
[0063] Vehicle-to-everything (V2X) is the core communication technology of intelligent transportation systems. It improves road safety, traffic efficiency and autonomous driving capabilities through real-time data interaction between vehicles and their surrounding environment (other vehicles, infrastructure, pedestrians, and networks).
[0064] A dual-mode phone is a mobile terminal that supports two different communication modes or network standards. Dual-mode types include dual SIM dual standby, full network compatible dual-mode, 5G dual-mode, satellite + cellular dual-mode, and Wi-Fi + cellular dual-mode, among others.
[0065] The 3rd Generation Partnership Project (3GPP) is the world's most important mobile communications standards organization, responsible for developing technical specifications from 3G to 5G and future 6G. Its standards directly impact the entire communications industry chain, including mobile phones, base stations, and chips.
[0066] This application provides an electronic device with radio frequency (RF) functionality. The electronic device can be mobile or fixed. It can be deployed on land (e.g., indoors or outdoors, handheld or vehicle-mounted), on water (e.g., on ships), or in the air (e.g., airplanes, balloons, and satellites). This electronic device can be referred to as user equipment (UE), access terminal, terminal unit, subscriber unit, terminal station, mobile station (MS), mobile station, terminal agent, or terminal device. For example, it can be a mobile phone, tablet computer, laptop computer, smart bracelet, smart screen, smartwatch, virtual reality (VR) device, augmented reality (AR) device, terminal in industrial control, terminal in self-driving, terminal in remote medical care, terminal in smart grid, terminal in transportation safety, terminal in smart city, terminal in smart home, etc. This application does not limit the specific type and structure of the electronic device. The following describes one possible structure of the electronic device.
[0067] Taking mobile phones as an example, the attached document... Figure 1A possible structure of an electronic device 101 is shown. This electronic device 101 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a power management module 240, a battery 241, a wireless charging coil 242, a mobile communication module 250, a wireless communication module 260, antennas 251 and 261, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone jack 270D, a sensor module 280, buttons 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. Optionally, in some embodiments, it may also include an audio digital signal processor (ADSP) 243.
[0068] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 101. In other embodiments of this application, the electronic device 101 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0069] Processor 210 may include one or more processing units, such as: a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system-on-chip (SoC), a central processing unit (CPU), an application processor (AP), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, and a neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors. For example, processor 210 may be an application processor (AP). Alternatively, processor 210 may be integrated into a system-on-chip (SoC). Or, processor 210 may be integrated into an integrated circuit (IC) chip. The processor 210 may include an analog front end (AFE) and a micro-controller unit (MCU) in an IC chip.
[0070] The processor 210 may also include a memory for storing computer instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store computer instructions or data that the processor 210 has just used or that are being used repeatedly. If the processor 210 needs to use the same computer instructions or data again, it can retrieve them directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves system efficiency.
[0071] In some embodiments, the processor 210 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a USB interface, etc.
[0072] In some embodiments, the processor may be a processor, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0073] The ADSP 243 can be coupled to the audio module 270 and the sensor module 280. The ADSP 243 can process audio signals and sensor data. Even when the processor 210 is in sleep mode, the ADSP 243 can remain operational, thereby reducing the power consumption of the electronic device 101.
[0074] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 101. In other embodiments of this application, the electronic device 101 may also employ different interface connection methods or a combination of multiple interface connection methods.
[0075] The external memory interface 220 can be used to connect an external memory card, thereby expanding the storage capacity of the electronic device 101. The external memory card communicates with the processor 210 through the external memory interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0076] Internal memory 221 can be used to store computer executable program code, which includes computer instructions. Processor 210 executes various functional applications and data processing of electronic device 101 by running the computer instructions stored in internal memory 221. In addition, internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0077] In this embodiment of the application, when the computer instructions are executed by the processor 210, the electronic device 101 performs the antenna tuning method in this embodiment of the application.
[0078] The memory involved in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0079] The wireless communication function of electronic device 101 can be realized through antenna 251, antenna 261, mobile communication module 250, wireless communication module 260, modem processor, etc.
[0080] Mobile communication module 250 can provide wireless communication solutions including 2G / 3G / 4G / 5G for use on electronic device 101. Wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) for use on electronic device 101.
[0081] In this embodiment of the application, the first antenna 4 of the electronic device 101 can be antenna 251 or antenna 261.
[0082] In related technologies, with the development of intelligent connected vehicle technology and wireless communication technology, communication between mobile phones and other electronic devices 101 and external devices is becoming increasingly frequent, and the number of supported radio frequency bands is increasing. For example, see the attached... Figure 2 As shown, the electronic device is a mobile phone supporting both cellular and satellite dual-mode. In cellular communication mode, cellular communication is achieved through base stations and the cellular core network based on 3GPP standard protocols. In satellite communication mode, satellite communication is achieved through satellites, gateway stations, the satellite core network, interconnection gateways, and the cellular core network based on proprietary satellite protocols. This increases the number of antennas, causing them to occupy more than 30% of the electronic device's space, leading to signal crosstalk or heat dissipation problems, and ultimately reducing antenna performance.
[0083] Therefore, this application provides a system and an electronic device. The system includes the electronic device and a target device. The electronic device includes a controller, a radio frequency (RF) front-end, an RF switch, a first antenna, and a first interface. A first terminal of the RF switch is connected to a second terminal of the RF front-end, and the second terminal is connected to the first antenna. The target device is connected to a first target interface. The target device includes a second target interface and a target antenna, with the second target interface connected to the target antenna. The electronic device is connected to the second target interface of the target device through the first target interface. The controller acquires interface connection information indicating whether the first target interface is coupled or disconnected from the second target interface. Based on the interface connection information, the controller controls the first terminal of the RF switch to be connected to the second terminal, or the first terminal to be connected to the target device. The electronic device can connect its RF circuitry to the target antenna of the target device, thereby improving communication quality through communication using the target antenna of the target device.
[0084] The system provided in this application embodiment may include electronic devices as shown in the appendix. Figure 1 The electronic device 101 is shown. The first antenna in the electronic device can be as shown in the attached figure. Figure 1 The first antenna 4 in the electronic device 101 shown. This application embodiment uses an electronic device 101 and a target device as an example to specifically describe the system of this application.
[0085] For example, see attached Figure 3 As shown, the system 100 includes an electronic device 101 and a target device 102. Based on the connection information between the electronic device 101 and the target device 102, the system 100 controls the radio frequency circuit 22 of the electronic device 101 to be connected to the first antenna 4 of the electronic device 101, or to be connected to the target antenna 70 of the target device 102. The connection information is used to indicate whether the electronic device 101 is coupled or disconnected from the target device 102.
[0086] As attached Figure 3 The working principle of system 100 in the embodiment of this application shown is as follows:
[0087] When electronic device 101 is coupled to target device 102, the target antenna 70 of electronic device 101 and target device 102 are connected. Therefore, system 100 can control radio frequency circuit 22 to conduct with target antenna 70 of target device 102, enabling electronic device 101 to transmit and receive radio frequency signals through target antenna 70 of target device 102. When electronic device 101 is disconnected from target device 102, the target antenna 70 of electronic device 101 and target device 102 are disconnected. System 100 can only transmit and receive radio frequency signals through first antenna 4 of electronic device 101. Therefore, system 100 can control radio frequency circuit 22 to conduct with first antenna 4, enabling system 100 to transmit and receive radio frequency signals through first antenna 4. In other words, system 100 can control radio frequency circuit 22 to conduct with target antenna 70 of target device 102 based on the connection information of electronic device 101 and target device 102. Therefore, system 100 can connect the radio frequency circuit 22 of electronic device 101 with the target antenna 70 of target device 102, and communicate by using the target antenna 70 of target device 102, thereby improving communication quality.
[0088] Since system 100 includes electronic device 101 and target device 102, in this embodiment, electronic device 101 will be introduced first. Therefore, this embodiment also provides an electronic device 101. In the following embodiments, electronic device 101 including a first antenna 4 will be used as an example to specifically describe the electronic device 101 of this application.
[0089] For example, see attached Figure 4 As shown, the electronic device 101 includes a controller 1, a radio frequency (RF) front-end 2, an RF switch 3, a first antenna 4, and a first target interface 50. A first terminal of the controller 1 is connected to a first terminal of the RF front-end 2. A second terminal of the RF front-end 2 is connected to a first terminal 31 of the RF switch 3, a second terminal 32 of the RF switch 3 is connected to the first antenna 4, and a target terminal 30 of the RF switch 3 is connected to the first target interface 50. The electronic device 101 is used to couple with a second target interface 60 of a target device 102 via the first target interface 50. The target device 102 also includes a target antenna 70, and the second target interface 60 is connected to the target antenna 70.
[0090] The controller 1 is used to: acquire interface connection information; the interface connection information is used to indicate whether the first target interface 50 is coupled or disconnected from the second target interface 60. Based on the interface connection information, the controller controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30, or the first terminal 31 to be connected to the second terminal 32 (which can be simplified as controlling the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32)).
[0091] In this application embodiment, the type of electronic device 101 has been described above as attached. Figure 1The possible hardware structure of the electronic device 101 in the document has been described in detail, and will not be repeated here.
[0092] In one possible implementation, the first target interface 50 can be a spring pin or a pogo pin, or it can be a contact or a coil. The type of the first target interface 50 is not limited in this application embodiment.
[0093] In the embodiments of this application, the first target interface 50 and the second target interface 60 correspond one-to-one. For example, when the first target interface 50 is a spring pin or probe, the second target interface 60 is a contact. When the first target interface 50 is a contact, the second target interface 60 is a contact, a spring pin, or a probe. When the first target interface 50 is a coil, the second target interface 60 is a coil.
[0094] In one possible implementation, the impedance of the first target interface 50 when it is a spring pin, probe, or contact, and the impedance of the second target interface 60, can be the same or different. The embodiments of this application do not limit the magnitude of the impedances of the two.
[0095] In one possible implementation, the impedance of the first target interface 50 when it is a spring pin, probe, or contact can be 50Ω or 40Ω. This application embodiment does not limit the impedance of the first target interface 50 when it is a spring pin, probe, or contact.
[0096] Correspondingly, in one possible implementation, the impedance of the second target interface 60 when it is a spring pin, probe, or contact can be 50Ω or 40Ω. This application embodiment does not limit the impedance of the second target interface 60 when it is a spring pin, probe, or contact.
[0097] In this embodiment of the application, the impedance of the first target interface 50 when it is a spring pin, probe or contact is 50Ω, and the impedance of the second target interface 60 is also 50Ω.
[0098] In one possible implementation, the electronic device 101 may have one or more antennas, with the first antenna 4 being one of the antennas of the electronic device 101. In this embodiment, the electronic device 101 is in dual-mode.
[0099] In one possible implementation, the first antenna 4 can be a Bluetooth antenna, a Wi-Fi antenna, or a satellite antenna. This application embodiment does not limit the type of the first antenna 4.
[0100] In one possible implementation, the target antenna 70 can be a Bluetooth antenna, a Wi-Fi antenna, or a satellite antenna. This application embodiment does not limit the type of target antenna 70.
[0101] In one possible implementation, the dual-mode mode can be satellite + cellular dual-mode, Wi-Fi + cellular dual-mode, or 5G dual-mode. In this embodiment, the electronic device 101 is in satellite + cellular dual-mode mode, and the first antenna 4 is one of the satellite antenna and cellular antenna of the electronic device 101.
[0102] In one possible implementation, the first antenna 4 can be a patch antenna, a dipole antenna, or a chip antenna, etc. The type of the first antenna 4 is not limited in the embodiments of this application.
[0103] In one possible implementation, the target antenna 70 can be a patch antenna, a dipole antenna, or a chip antenna, etc. The type of the target antenna 70 is not limited in the embodiments of this application.
[0104] In one possible implementation, the structure of the first antenna 4 can be a flexible printed circuit (FPC) or a rigid printed circuit board (MDA). The embodiments of this application do not limit the type of the first antenna 4.
[0105] In one possible implementation, the target antenna 70 can be a flexible printed circuit (FPC) structure or a rigid printed circuit board (MDA) structure. The type of target antenna 70 is not limited in this application embodiment.
[0106] In one possible implementation, the materials and properties of the first antenna 4 and the target antenna 70 may be the same or different. This application embodiment does not limit the materials and properties of the first antenna 4 and the target antenna 70.
[0107] In this embodiment, the layout and area of the first antenna 4 and the target antenna 70 are different, and the available space of the target antenna 70 is larger than that of the first antenna 4. When the electronic device 101 is working, since the radio frequency front-end 2 generally operates in a specific frequency band, when the controller 1 controls the first terminal 31 of the radio frequency switch 3 to be connected to the target terminal 30 (or the second terminal 32), it is to enable the first antenna 4 or the target antenna 70 to operate in that specific frequency band. Therefore, under normal circumstances, the materials, properties, etc. of the first antenna 4 and the target antenna 70 are generally the same, so that both the first antenna 4 and the target antenna 70 can operate in that specific frequency band.
[0108] In one possible implementation, the radio frequency switch 3 can be a single-pole double-throw switch, a relay switch, or a single-pole multi-throw switch. The embodiments of this application do not limit the type of radio frequency switch 3.
[0109] As attached Figure 4 The working principle of the electronic device 101 in the embodiment of this application shown is as follows:
[0110] When electronic device 101 is coupled to target device 102, the first target interface 50 is coupled to the second target interface 60, and the target antenna 70 of electronic device 101 and target device 102 are connected. Therefore, controller 1 can control the first terminal 31 of RF switch 3 to be connected to the target terminal 30, so that electronic device 101 can transmit and receive RF signals through the target antenna 70 of target device 102. When electronic device 101 is disconnected from target device 102, the first target interface 50 is disconnected from the second target interface 60, and the target antenna 70 of electronic device 101 and target device 102 are disconnected. Therefore, controller 1 can control the first terminal 31 of RF switch 3 to be connected to the second terminal 32, so that electronic device 101 can transmit and receive RF signals through the first antenna 4. In other words, controller 1 can control the first terminal 31 of RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on the coupling or disconnection of the first target interface 50 and the second target interface 60. Therefore, the radio frequency circuit 22 of the electronic device 101 can be connected to the target antenna 70 of the target device 102, and communication can be performed by using the target antenna 70 of the target device 102, thereby improving the communication quality.
[0111] In this embodiment of the application, the electronic device 101 further includes a radio frequency chip, the first end of which is connected to the first end of the radio frequency front-end 2.
[0112] In one possible implementation, controller 1 can be a radio frequency chip or a processor 210 in electronic device 101. The type of controller 1 is not limited in this application embodiment.
[0113] For example, see attached Figure 5 As shown, controller 1 is radio frequency chip 8, and radio frequency circuit 22 includes radio frequency chip 8, radio frequency front end 2, and radio frequency switch 3. The first end of radio frequency chip 8 is connected to the first end of radio frequency front end 2. Radio frequency chip 8 is used to control the first end 31 of radio frequency switch 3 to be connected to the target end 30 (or the second end 32), and is also used to generate, transmit and receive radio frequency signals.
[0114] For example, see attached Figure 6 As shown, controller 1 is processor 210. Radio frequency circuit 22 includes radio frequency chip 8, radio frequency front-end 2, and radio frequency switch 3. The first terminal of processor 210 is connected to the first terminal of radio frequency chip 8. The second terminal of radio frequency chip 8 is connected to the first terminal of radio frequency front-end 2. Radio frequency chip 8 is only used to generate, transmit, and receive radio frequency signals. Processor 210 is used to control the first terminal 31 of radio frequency switch 3 to be connected to the target terminal 30 (or the second terminal 32).
[0115] In this embodiment, the processor 210 can be integrated into a system-on-chip (SoC). In one possible implementation, the processor 210 can be an application processor, a baseband processor, or an ADSP; this embodiment does not limit the type of processor 210.
[0116] In one possible implementation, the controller 1 obtains the interface connection information through a detection circuit or through the first target interface 50. This application embodiment does not limit the method of obtaining the interface connection information.
[0117] The following embodiments of this application use the acquisition of interface connection information via a detection circuit and via the first target interface 50 as examples to specifically describe the electronic device 101 of this application.
[0118] First, controller 1 can obtain interface connection information through a detection circuit. For example, see attached... Figure 7 As shown, the electronic device 101 also includes a detection circuit 9 and a first capacitor 10. The second terminal of the controller 1 is connected to the first terminal of the detection circuit 9. The target terminal 30 of the RF switch 3 is connected to the first target interface 50 through the first capacitor 10. The second terminal of the detection circuit 9 is connected to the first capacitor 10 and the first target interface 50. The target device 102 also includes a first inductor 11, and the second target interface 60 is also grounded through the first inductor 11.
[0119] The first capacitor 10 is used to isolate DC signals. The first inductor 11 is used to ground the detection circuit 9 when the first target interface 50 is coupled to the second target interface 60. Similarly, the RF circuit 22 includes an RF front-end 2 and an RF switch 3.
[0120] For example, see attached Figure 7 As shown, in one possible implementation, the detection circuit 9 can be a second inductor 12. When the detection circuit 9 is a second inductor 12, it can be combined with the general-purpose input / output (GPIO) interface of the controller 1 to detect the level state of the second terminal of the second inductor 12 and output a high or low level. In this case, the GPIO interface of the controller 1 is connected to the first capacitor 10 and the first target interface 50 through the second inductor 12. Specifically, the first terminal of the second inductor 12 is connected to the GPIO interface of the controller 1, and the second terminal of the second inductor 12 is connected to the first capacitor 10 and the first target interface 50. The GPIO interface detects the level state of the second terminal of the second inductor 12 and outputs a high or low level. For example, see the attached diagram. Figure 7As shown, in one possible implementation, the second target interface 60 can also be connected to the target antenna 70 via a second capacitor 13 for isolating DC signals.
[0121] In one possible implementation, the impedances of the first capacitor 10 and the second capacitor 13 may be the same or different. This application does not limit the impedance values of the first capacitor 10 and the second capacitor 13. In this application embodiment, the impedance values of the first capacitor 10 and the second capacitor 13 are in the pF range; for example, the impedance values of both the first capacitor 10 and the second capacitor 13 are 33 pF.
[0122] In one possible implementation, the impedances of the first inductor 11 and the second inductor 12 may be the same or different. This application embodiment does not limit the magnitude of the impedances of the first inductor 11 and the second inductor 12. In this application embodiment, the impedance values of the first inductor 11 and the second inductor 12 are in the nH range; for example, the impedance values of both the first inductor 11 and the second inductor 12 are 100nH.
[0123] Similarly, controller 1 can be either RF chip 8 or processor 210. In the case where controller 1 is RF chip 8, an example is shown in the attached diagram. Figure 8 As shown, the first end of the RF chip 8 is connected to the first end of the RF front-end 2, and the second end of the RF chip 8 is connected to the first end of the detection circuit 9. The RF chip 8 is used not only to control the conduction of the first end 31 of the RF switch 3 with the target end 30 (or the second end 32), but also to generate, transmit, and receive RF signals. The RF circuit 22 includes the RF chip 8, the RF front-end 2, and the RF switch 3.
[0124] In the case where controller 1 is processor 210, exemplarily, as shown in the attached... Figure 9 As shown, the first terminal of processor 210 is connected to the first terminal of RF chip 8, and the second terminal of processor 210 is connected to the first terminal of detection circuit 9. The second terminal of RF chip 8 is connected to the first terminal of RF front-end 2, and RF chip 8 is only used to generate, transmit, and receive RF signals. Processor 210 is used to control the first terminal 31 of RF switch 3 to be connected to target terminal 30 (or second terminal 32). RF circuit 22 includes RF chip 8, RF front-end 2, and RF switch 3.
[0125] In the embodiments of this application, exemplarily, as shown in the appendix Figure 10 As shown, the process by which the controller 1 obtains interface connection information through the detection circuit 9 may include steps S1001-S1003:
[0126] Step S1001: Controller 1 acquires the level information of the second terminal of detection circuit 9.
[0127] As attached Figure 7 -Appendix Figure 9 As shown in the electronic device 101, the controller 1 obtains the interface connection information by detecting the level information of the second terminal of the detection circuit 9. Therefore, the first step is to obtain the level information of the second terminal of the detection circuit 9 in order to proceed with the subsequent steps S1002 and S1003.
[0128] In step S1002, when the level of the second terminal of the detection circuit 9 is low, the controller 1 obtains the interface connection information as coupled.
[0129] When the level at the second terminal of the detection circuit 9 is low, it indicates that the second terminal of the detection circuit 9 is grounded through the first inductor 11 and is at a low level. Therefore, the first target interface 50 and the second target interface 60 are in a coupled state. When the first target interface 50 and the second target interface 60 are coupled, the interface connection information obtained by the controller 1 is coupled.
[0130] In step S1003, when the level of the second terminal of the detection circuit 9 is high, the controller 1 obtains the interface connection information as disconnected.
[0131] When the level at the second terminal of the detection circuit 9 is high, it indicates that the second terminal of the detection circuit 9 is floating and connected to the first capacitor 10, and is at a high level. Therefore, the first target interface 50 and the second target interface 60 are in a disconnected state. When the first target interface 50 and the second target interface 60 are disconnected, the interface connection information obtained by the controller 1 is disconnected.
[0132] The process described in steps S1001-S1003 above, whereby the controller 1 obtains interface connection information through the detection circuit 9, involves the controller 1 acquiring the interface connection information by obtaining the level information of the second terminal of the detection circuit 9. Specifically, when the level of the second terminal of the detection circuit 9 is low, the second terminal of the detection circuit 9 is grounded through the first inductor 11, and at this time, the first target interface 50 is coupled to the second target interface 60. When the level of the second terminal of the detection circuit 9 is high, the second terminal of the detection circuit 9 is floating and connected to the first capacitor 10, and at this time, the first target interface 50 is disconnected from the second target interface 60. Therefore, the interface connection information can be obtained by acquiring the level information of the second terminal of the detection circuit 9. This acquisition method can automatically detect based on the level information of the second terminal of the detection circuit 9, without requiring manual configuration by the user, thereby improving detection efficiency.
[0133] Secondly, controller 1 can also obtain interface connection information through the first target interface 50. Specifically, exemplarily, as shown in the attached diagram. Figure 4 -Appendix Figure 6As shown, controller 1 can obtain the signal quality of the first target interface 50, and then obtain interface connection information based on the signal quality of the first target interface 50.
[0134] In one possible implementation, controller 1 includes registers. In some embodiments, the registers on different controller chips may differ because different controller manufacturers design different controller chips.
[0135] In one possible implementation, the register can be a watchdog register or a configuration register; the type of register is not limited in this application embodiment.
[0136] Controller 1 can store the interface connection information obtained through the first target interface 50 in a register. The target data (or data located in the register) corresponding to this register is the register feature bit (or flag bit). The interface connection information can be obtained based on the data stored in the register. In other words, controller 1 can determine the coupling state between the first target interface 50 and the second target interface 60 based on the target data corresponding to the register.
[0137] The target data includes 0 and 1. The interface connection information corresponding to the target data includes two cases: 1) When the target data is 0, the first target interface 50 is coupled to the second target interface 60. Correspondingly, when the target data is 1, the first target interface 50 and the second target interface 60 are disconnected. 2) When the target data is 1, the first target interface 50 is coupled to the second target interface 60. Correspondingly, when the target data is 0, the first target interface 50 and the second target interface 60 are disconnected.
[0138] The following embodiments of this application illustrate the electronic device 101 of this application by taking the coupling of the first target interface 50 and the second target interface 60 when the target data is 1, and the disconnection of the first target interface 50 and the second target interface 60 when the target data is 0.
[0139] In the embodiments of this application, exemplarily, as shown in the appendix Figure 11 As shown, the process by which the controller 1 acquires the signal quality of the first target interface 50 and then obtains the interface connection information based on the signal quality of the first target interface 50 may include steps S1101-S1102:
[0140] In step S1101, if the signal quality of the first target interface 50 is greater than the first threshold, the controller 1 obtains the interface connection information as coupling.
[0141] The first threshold is the signal quality threshold for normal operation of the target antenna 70 when the RF circuit 22 and the target antenna 70 are connected. It can be set according to actual needs. For example, it can be obtained by statistically analyzing multiple signal qualities of the target antenna 70 when it is normally operating under the influence of the RF circuit 22 and the target antenna 70, such as the mean, median, or minimum value of multiple signal qualities of the target antenna 70 when it is normally operating under the influence of the RF circuit 22 and the target antenna 70; it can also be set based on empirical values, such as 3dB.
[0142] When the first target interface 50 and the second target interface 60 are coupled, the first target interface 50 is connected to the target antenna 70, and the target antenna 70 can normally transmit and receive radio frequency signals. At this time, the signal quality of the target antenna 70 is relatively good, exceeding a certain threshold, and the signal quality of the target antenna 70 can be obtained from the first target interface 50. Therefore, when the signal quality of the target antenna 70 is greater than the first threshold, it indicates that the target antenna 70 is working normally, and the radio frequency circuit 22 is connected to the target antenna 70. At this time, the first target interface 50 and the second target interface 60 are in a coupled state. When the first target interface 50 and the second target interface 60 are coupled, the interface connection information obtained by the controller 1 is coupling, and the controller 1 stores the target data 1 based on this interface connection information.
[0143] In step S1102, if the signal quality of the first target interface 50 is less than or equal to the first threshold, the controller 1 obtains the interface connection information as disconnected.
[0144] When the first target interface 50 is disconnected from the second target interface 60, the first target interface 50 is also disconnected from the target antenna 70. The target antenna 70 cannot transmit or receive radio frequency signals normally, and its signal quality is poor, falling below a certain threshold. Furthermore, the signal quality of the target antenna 70 cannot be obtained from the first target interface 50. Therefore, when the signal quality of the target antenna 70 is less than or equal to the first threshold, it indicates that the target antenna 70 has not started working, and the radio frequency circuit 22 is disconnected from the target antenna 70. At this time, the first target interface 50 and the second target interface 60 are in a disconnected state. When the first target interface 50 and the second target interface 60 are disconnected, the interface connection information obtained by the controller 1 is "disconnected," and the controller 1 stores this interface connection information as target data 0.
[0145] The process described in steps S1101-S1102 above, whereby the controller 1 acquires the signal quality of the first target interface 50 and then obtains interface connection information based on that signal quality, involves the controller 1 determining that the first target interface 50 is coupled to the second target interface 60 when the signal quality of the first target interface 50 is greater than a first threshold. Conversely, if the signal quality of the first target interface 50 is less than or equal to the first threshold, the controller 1 determines that the first target interface 50 is disconnected from the second target interface 60. This allows for the acquisition of interface connection information with fewer circuit components.
[0146] After the controller 1 described in steps S1001-S1003 obtains interface connection information by detecting the level information of the second terminal of the detection circuit 9, or after the controller 1 described in steps S1101-S1102 obtains interface connection information by detecting the signal quality of the first target interface 50, the controller 1 can control the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on the interface connection information. In the embodiments of this application, exemplarily, as shown in the attached... Figure 12 As shown, the process by which controller 1 controls the first terminal 31 of RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on interface connection information may include steps S1201-S1202:
[0147] In step S1201, when the first target interface 50 is coupled to the second target interface 60, the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30.
[0148] When the first target interface 50 and the second target interface 60 are coupled, it indicates that the electronic device 101 is connected to the target device 102. The radio frequency circuit 22 can be connected to the target antenna 70 of the target device 102 through the first target interface 50 and the second target interface 60 of the target device 102. At this time, the controller 1 controls the first terminal 31 of the radio frequency switch 3 to be turned on with the target terminal 30, which enables the radio frequency circuit 22 to be turned on with the target antenna 70 of the target device 101, and radio frequency signals can be transmitted and received by using the target antenna 70 of the target device 102.
[0149] In step S1202, when the first target interface 50 and the second target interface 60 are disconnected, the controller 1 controls the first terminal 31 and the second terminal 32 of the RF switch 3 to be turned on.
[0150] When the first target interface 50 and the second target interface 60 are disconnected, it indicates that the electronic device 101 is disconnected from the target device 102. The radio frequency circuit 22 cannot connect to the target antenna 70 of the target device 102 through the first target interface 50 and the second target interface 60; it can only connect to the first antenna 4. At this time, the controller 1 controls the first terminal 31 and the second terminal 32 of the radio frequency switch 3 to conduct, enabling the radio frequency circuit 22 to conduct to the first antenna 4, allowing it to transmit and receive radio frequency signals.
[0151] The process described in steps S1201-S1202 above, where the controller 1, after acquiring interface connection information, controls the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on the interface connection information, involves the controller 1 acquiring the interface connection information by obtaining the level information of the second terminal of the detection circuit 9, or by obtaining the signal quality of the first target interface 50. Then, based on the interface connection information, the controller 1 controls the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32). Specifically, when the first target interface 50 and the second target interface 60 are coupled, the controller 1 controls the first terminal 31 of the RF switch 3 to conduct with the target terminal 30. That is, when the first target interface 50 and the second target interface 60 are coupled, the RF switch 3 can switch the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102, allowing the electronic device 101 to transmit and receive RF signals through the target antenna 70 of the target device 102. When the first target interface 50 and the second target interface 60 are disconnected, the controller 1 controls the first terminal 31 of the RF switch 3 to conduct with the second terminal 32. In other words, when the first target interface 50 and the second target interface 60 are disconnected, the electronic device 101 cannot transmit or receive radio frequency signals through the target antenna 70 of the target device 102. Therefore, the electronic device 101 can only transmit and receive radio frequency signals through its first antenna 4, and the controller 1 controls the first terminal 31 and the second terminal 32 of the radio frequency switch 3 to be connected. The above process enables the radio frequency circuit 22 of the electronic device 101 to be connected to the target antenna 70 of the target device 102, allowing communication to be performed using the target antenna 70 of the target device 102, thereby improving communication quality.
[0152] After the controller 1 described above obtains interface connection information by detecting the level information of the second terminal of the detection circuit 9, or by obtaining the signal quality of the first target interface 50, the controller 1 can also obtain the signal quality of the first antenna 4 and the signal quality of the first target interface 50 from the RF chip 8 based on the interface connection information, and then control the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50.
[0153] In the embodiments of this application, exemplarily, as shown in the appendix Figure 13 As shown, the controller 1 obtains the signal quality of the first antenna 4 and the signal quality of the first target interface 50 from the RF chip 8 based on the interface connection information. Then, based on the signal quality of the first antenna 4 and the first target interface 50, the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32), which may include steps S1301-S1306:
[0154] Step S1301: Controller 1 determines whether the interface connection information is coupled.
[0155] The process by which controller 1 determines the interface connection information has been described in detail in steps S1001-S1003 and S1101-S1102 above, and will not be repeated here. Controller 1 determines whether the interface connection information is coupled in order to determine whether electronic device 101 can transmit and receive radio frequency signals through the target antenna 70 of target device 102. If the first target interface 50 is disconnected from the second target interface 60, step S1302 is executed. If the first target interface 50 is coupled to the second target interface 60, step S1303 is executed.
[0156] In step S1302, the controller 1 controls the first terminal 31 and the second terminal 32 of the radio frequency switch 3 to be turned on.
[0157] When the first target interface 50 and the second target interface 60 are disconnected, it indicates that the electronic device 101 cannot transmit or receive radio frequency signals through the target antenna 70 of the target device 102, but can only transmit or receive radio frequency signals through the first antenna 4. Therefore, the controller 1 controls the first terminal 31 and the second terminal 32 of the radio frequency switch 3 to be connected, so that the radio frequency circuit 22 is connected to the first antenna 4, and the radio frequency signals are transmitted or received through the first antenna 4.
[0158] Step S1302 actually describes the process by which the controller 1 controls the first terminal 31 and the second terminal 32 of the RF switch 3 to be turned on when the first target interface 50 and the second target interface 60 are disconnected. This refers to controlling the state of the RF switch 3 when the first target interface 50 and the second target interface 60 are disconnected. This process actually includes a switching process, specifically including the following switching situations:
[0159] When the first target interface 50 and the second target interface 60 change from a coupled state to a disconnected state, the controller 1 controls the first terminal 31 and the second terminal 32 of the RF switch 3 to conduct. That is, when the first target interface 50 and the second target interface 60 change from a coupled state to a disconnected state, the electronic device 101 has changed from a connected state to a disconnected state with the target device 102. The RF circuit 22 of the electronic device 101 is disconnected from the target antenna 70 of the target device 102. Regardless of the signal quality of the first antenna 4 and the signal quality of the first target interface 50 (i.e., the target antenna 70), communication cannot be carried out through the target antenna 70 of the target device 102. Therefore, it is necessary to switch the target antenna 70 of the target device 102 back to the first antenna 4 of the electronic device 101. That is, the controller 1 controls the first terminal 31 and the second terminal 32 of the RF switch 3 to conduct, and the electronic device 101 communicates through the first antenna 4.
[0160] In step S1303, controller 1 obtains the signal quality of the first antenna 4 and the signal quality of the first target interface 50 from RF chip 8.
[0161] In the embodiments of this application, exemplary examples are shown in the appendix. Figure 4 -Appendix Figure 6 As shown, when the first target interface 50 is coupled to the second target interface 60, the controller 1 can also obtain the signal quality of the first antenna 4 and the signal quality of the first target interface 50 through the RF chip 8. In this case, the signal quality of the first target interface 50 is the same as the signal quality of the target antenna 70. Specifically, in one possible implementation, the controller 1 is used to: obtain the signal quality of the first antenna 4 from the RF chip 8 when the first target interface 50 and the second target interface 60 are coupled. Next, it controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30, and obtains the signal quality of the first target interface 50 from the RF chip 8. Finally, it controls the first terminal 31 of the RF switch 3 to be connected to the second terminal 32.
[0162] Since the detection circuit 9 detects the level information of its second terminal for a single time (e.g., milliseconds) much longer than the switching time of the RF switch 3 (e.g., microseconds), the RF switch 3 can be switched within one detection cycle. Therefore, before controlling the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) (i.e., determining whether the RF circuit 22 is conducting with the first antenna 4 or the target antenna 70), the controller 1 can briefly control the first terminal 31 of the RF switch 3 to conduct with the target terminal 30, quickly obtaining the signal quality of the first target interface 50 from the RF chip 8. Furthermore, after obtaining the signal quality of the first target interface 50 from the RF chip 8, the controller 1 can quickly switch the RF switch 3 back to its initial state. Since the detection time of one level information (i.e., one detection cycle) is much greater than the sum of the times of obtaining the signal quality of the first antenna 4 from the RF chip 8, controlling the first end 31 of the RF switch 3 to conduct with the target end 30, obtaining the signal quality of the first target interface 50 from the RF chip 8, and controlling the first end 31 of the RF switch 3 to conduct with the second end 32, the process of the detection circuit 9 detecting the level information of the second end is not contradictory or conflicting with the process of the controller 1 obtaining the signal quality of the first antenna 4 and the signal quality of the first target interface 50 from the RF chip 8.
[0163] Since the electronic device 101 is initially disconnected from the target device 102, and radio frequency signals are transmitted and received via the first antenna 4 by default, the controller 1 controls the first terminal 31 and the second terminal 32 of the radio frequency switch 3 to be connected in the initial state. Therefore, when the first target interface 50 and the second target interface 60 are coupled, the controller 1 can first obtain the signal quality of the first antenna 4 from the radio frequency chip 8. Since the radio frequency circuit 22 must be connected to the first target interface 50 in order to obtain the signal quality of the first target interface 50 from the radio frequency chip 8, the controller 1 can then control the first terminal 31 of the radio frequency switch 3 to be connected to the target terminal 30, so that the radio frequency circuit 22 is connected to the first target interface 50, thereby connecting the radio frequency circuit 22 to the target antenna 70 of the target device 102. At this time, the controller 1 can obtain the signal quality of the first target interface 50 from the radio frequency chip 8 to obtain the signal quality of the target antenna 70 of the target device 102.
[0164] After acquiring the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the controller 1 can quickly switch the RF switch 3 back to its initial state, that is, control the first terminal 31 and the second terminal 32 of the RF switch 3 to conduct.
[0165] In one possible implementation, the signal quality of the first antenna 4 can be a signal strength index or a signal quality index. This application embodiment does not limit the type of index for the signal quality of the first antenna 4.
[0166] In one possible implementation, the signal strength index of the signal quality of the first antenna 4 can be the received signal strength indicator (RSSI), the reference signal received power (RSRP), or the effective isotropic radiated power (EIRP). The type of signal strength index is not limited in the embodiments of this application.
[0167] In one possible implementation, the signal quality index of the first antenna 4 can be the signal-to-noise ratio (SNR), the signal-to-interference-plus-noise ratio (SINR), or the error vector magnitude (EVM). The embodiments of this application do not limit the type of signal quality index.
[0168] In this embodiment, the signal quality indicators of the first antenna 4 and the target antenna 70 are the same. For example, when the signal quality of the first antenna 4 is a received signal strength indicator, the signal quality of the target antenna 70 is also a received signal strength indicator. When the signal quality of the first antenna 4 is a reference signal received power, the signal quality of the target antenna 70 is also a reference signal received power.
[0169] In step S1304, controller 1 determines whether the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and whether the signal quality difference is greater than or equal to the second threshold.
[0170] The signal quality difference is used to characterize the difference between the signal quality of the first target interface 50 and the signal quality of the first antenna 4.
[0171] The second threshold is a threshold for the difference between the signal quality of the first target interface 50 and the signal quality of the first antenna 4, and can be set according to actual needs. For example, it can be obtained by statistically analyzing multiple differences between the signal quality of the first target interface 50 and the signal quality of the first antenna 4, such as the mean, median, minimum, or maximum of multiple differences between the signal quality of the first target interface 50 and the first antenna 4; it can also be set based on empirical values, such as 3dB.
[0172] In this embodiment, the signal quality of the first target interface 50 is actually the signal quality of the target antenna 70 of the target device 102 connected to the first target interface 50.
[0173] In this embodiment of the application, since 3dB is generally used to characterize a doubling of antenna efficiency, the second threshold can be set to 3dB.
[0174] When the first target interface 50 and the second target interface 60 are coupled, the controller 1 needs to further determine the signal quality of the first antenna 4 and the signal quality of the first target interface 50 to control the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32). The controller 1 determines whether the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and the signal quality difference is greater than or equal to the second threshold in order to determine whether the signal quality of the target antenna 70 is twice that of the signal quality of the first antenna 4. If the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and the signal quality difference is greater than or equal to the second threshold, it indicates that the signal quality of the target antenna 70 is twice that of the signal quality of the first antenna 4. At this time, the first antenna 4 of the electronic device 101 can be switched to the target antenna 70 of the target device 102 by the RF switch 3, and step S1306 is executed. If the signal quality of the first antenna 4 is greater than or equal to the signal quality of the first target interface 50, or if the signal quality difference is less than the second threshold, it indicates that the signal quality of the target antenna 70 is less than the signal quality of the first antenna 4, or if the signal quality of the target antenna 70 is not twice as good as the signal quality of the first antenna 4. In this case, it is not necessary to switch the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102 through the RF switch 3. The electronic device 101 can continue to transmit and receive RF signals through the first antenna 4. This can reduce the switching risk and improve the communication quality, thereby executing step S1305.
[0175] In step S1305, controller 1 controls the first terminal 31 and the second terminal 32 of RF switch 3 to be connected.
[0176] If the signal quality of the first antenna 4 is greater than or equal to the signal quality of the first target interface 50, or if the signal quality difference is less than the second threshold, the controller 1 does not need to switch the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102 through the RF switch 3, and controls the first end 31 and the second end 32 of the RF switch 3 to be connected, and the electronic device 101 transmits and receives RF signals through the first antenna 4.
[0177] In step S1306, the controller 1 controls the first terminal 31 of the radio frequency switch 3 to be connected to the target terminal 30.
[0178] When the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and the signal quality difference is greater than or equal to the second threshold, the controller 1 can switch the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102 through the RF switch 3, control the first end 31 of the RF switch 3 to be connected to the target end 30, and the electronic device 101 can transmit and receive RF signals through the target antenna 70 of the target device 102.
[0179] Steps S1304-S1306 above actually describe the process of controlling the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) when the first target interface 50 is coupled to the second target interface 60. This refers to controlling the state of the RF switch 3 based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50 when the first target interface 50 is coupled to the second target interface 60. This process also includes a switching process, specifically, two switching scenarios:
[0180] 1) When the first target interface 50 and the second target interface 60 change from a disconnected state to a coupled state, if the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and the signal quality difference is greater than or equal to the second threshold, the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30. That is, when the first target interface 50 and the second target interface 60 change from a disconnected state to a coupled state, the electronic device 101 has already changed from a disconnected state to a coupled state with the target device 102. The RF circuit 22 of the electronic device 101 is connected to the target antenna 70 of the target device 102 and can communicate through the target antenna 70. At this time, as long as the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and the signal quality difference is greater than or equal to the second threshold, that is, the switching condition for switching the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102 is met, the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30, so that the RF circuit 22 of the electronic device 101 is connected to the target antenna 70, and the electronic device 101 communicates by using the target antenna 70 of the target device 102, thereby improving the communication quality.
[0181] 2) When the first target interface 50 is coupled to the second target interface 60 and the first terminal 31 and the second terminal 32 of the RF switch 3 are connected, if the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and the signal quality difference is greater than or equal to the second threshold, then the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the target interface 30. Specifically, the situation described in step S1305, where the first target interface 50 is coupled to the second target interface 60, and the signal quality of the first antenna 4 is greater than or equal to the signal quality of the first target interface 50, or the signal quality difference is less than the second threshold, is the case where the controller 1 controls the first terminal 31 and the second terminal 32 of the RF switch 3 to be connected. In other words, when the first target interface 50 and the second target interface 60 are always coupled, since the signal quality of the first antenna 4 is greater than or equal to the signal quality of the first target interface 50, or the signal quality difference is less than the second threshold, i.e., the switching condition for switching the first antenna 4 of electronic device 101 to the target antenna 70 of target device 102 is not met, the first terminal 31 and the second terminal 32 of RF switch 3 are always in a conducting state. However, as long as the switching condition for switching the first antenna 4 of electronic device 101 to the target antenna 70 of target device 102 is subsequently met, i.e., the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and the signal quality difference is greater than or equal to the second threshold, controller 1 controls the first terminal 31 of RF switch 3 to conduct with the target terminal 30, switching the first antenna 4 of electronic device 101 to the target antenna 70 of target device 102, so that the RF circuit 22 of electronic device 101 is connected to the target antenna 70, and electronic device 101 communicates through the target antenna 70 of target device 102, thereby improving communication quality.
[0182] The steps S1304-S1306 described above describe the process by which the controller 1, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, controls the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) when the first target interface 50 is coupled to the second target interface 60. This process occurs when the electronic device 101 is coupled to the target device 102. The controller 1 obtains the signal quality of the first antenna 4 and the signal quality of the first target interface 50 from the RF chip 8, and controls the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on these signal quality parameters. If the signal quality of the first antenna 4 is less than the signal quality of the first target interface 50 and the signal quality difference is greater than or equal to a second threshold, the controller 1 controls the first terminal 31 of the RF switch 3 to conduct with the target terminal 30. If the signal quality of the first antenna 4 is greater than or equal to the signal quality of the first target interface 50, or if the signal quality difference is less than the second threshold, the controller 1 controls the first terminal 31 of the RF switch 3 to conduct with the second terminal 32. In other words, when the signal quality of the target antenna 70 is twice that of the first antenna 4, the controller 1 switches the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102 via the RF switch 3, and the electronic device 101 transmits and receives RF signals through the target antenna 70 of the target device 102. When the signal quality of the target antenna 70 is less than that of the first antenna 4, or when the signal quality of the target antenna 70 is not twice that of the first antenna 4, it is not necessary to switch the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102 via the RF switch 3, and the electronic device 101 transmits and receives RF signals through the first antenna 4. Therefore, the RF circuit 22 of the electronic device 101 can be connected to the target antenna 70 of the target device 102, and communication can be performed using the target antenna 70 of the target device 102, thus improving communication quality.
[0183] The steps S1301-S1306 described above describe the process by which the controller 1 obtains the signal quality of the first antenna 4 and the first target interface 50 from the RF chip 8 based on the interface connection information, and then controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on the signal quality of the first antenna 4 and the first target interface 50. This process involves the controller 1, after determining the interface connection information, controlling the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on the satisfied conditions of the signal quality of the first antenna 4 and the target antenna 70. Therefore, the RF circuit 22 of the electronic device 101 can be connected to the target antenna 70 of the target device 102, enabling communication through the target antenna 70 of the target device 102 and improving communication quality.
[0184] In one possible implementation, controller 1 may or may not obtain user authorization before executing the acquisition of interface connection information. This application embodiment does not limit the operation of controller 1 before executing the acquisition of interface connection information.
[0185] In one possible implementation, controller 1 can obtain user authorization through digital signature, digital password, or digital certificate, etc. This application embodiment does not limit the method of user authorization.
[0186] In one possible implementation, the target antenna 70 may include one, two or more, and the number of target antennas 70 is not limited in the embodiments of this application.
[0187] In this embodiment, the first target interface 50 and the second target interface 60 correspond one-to-one and form a pair. When the target antenna 70 includes two or more, the first target interface 50 and the second target interface 60 can be a pair, or two or more pairs. This embodiment does not limit the number of the first target interface 50 and the second target interface 60.
[0188] When there are two or more target antennas 70, and the first target interface 50 and the second target interface 60 are in two or more pairs, the number of target antennas 70 corresponds one-to-one with the number of pairs of the first target interface 50 and the second target interface 60. For example, if there are two target antennas 70, the number of pairs of the first target interface 50 and the second target interface 60 is also two. If there are three target antennas 70, the number of pairs of the first target interface 50 and the second target interface 60 is also three. And so on, if there are n target antennas 70, the number of pairs of the first target interface 50 and the second target interface 60 is also n. Here, n is a positive integer greater than 3. Further details will not be elaborated here.
[0189] First, when there is only one target antenna 70, the target antenna 70 is the second antenna 7. Correspondingly, there is only one first target interface 50, which is the first interface 5. There is only one second target interface 60, which is the second interface 6. There is only one target terminal 30 of the RF switch 3, which is the third terminal 33. In the case where there is only one target antenna 70, which is the second antenna 7, the structure of the electronic device 101 is exemplary as shown in the attached figure. Figure 4 -Appendix Figure 9 The solid line portion in the diagram. The steps performed by controller 1, exemplarily, are shown in the attached diagram. Figure 10 -Appendix Figure 13 The content of the above description of electronic device 101 is as follows. The case where the target antenna 70 includes only one antenna, and the situation of the second antenna 7 has been described in detail, and will not be repeated here.
[0190] Secondly, when the target antenna 70 comprises two antennas, the target antenna 70 includes a second antenna 7 and a third antenna. The following embodiments of this application use the example of the target antenna 70 comprising a second antenna 7 and a third antenna to specifically describe the electronic device 101 of this application.
[0191] In this embodiment of the application, the controller 1 can obtain the signal quality of the first antenna 4, the signal quality of the second antenna 7, and the signal quality of the third antenna before obtaining the interface connection information.
[0192] In one possible implementation, the acquisition time of the signal quality of the third antenna can be before or after the acquisition time of the signal quality of the second antenna 7. The embodiments of this application do not limit the order of the acquisition time of the signal quality of the second antenna 7 and the signal quality of the third antenna.
[0193] When there are two target antennas 70, each target antenna 70 includes a second antenna 7 and a third antenna. Correspondingly, the first target interface 50 and the second target interface 60 can be a pair or two pairs. When the first target interface 50 and the second target interface 60 are a pair, the electronic device 101 is structured such that one pair of target interfaces corresponds to the two antennas of the target device 102. When the first target interface 50 and the second target interface 60 are two pairs, the electronic device 101 is structured such that each pair of target interfaces corresponds to one antenna of the target device 102.
[0194] In the case where a pair of target interfaces correspond to two antennas of target device 102, there is only one first target interface 50, which is the first interface 5. There is only one second target interface 60, which is the second interface 6. There is only one target terminal 30 of RF switch 3, which is the third terminal 33. The interface connection information is used to indicate whether the first interface 5 and the second interface 6 are coupled or disconnected.
[0195] For example, see attached Figure 14 As shown, when obtaining interface connection information through the first target interface 50, the actual information obtained is the interface connection information of the coupling or disconnection between the first interface 5 and the second interface 6, obtained through the first interface 5. The target device 102 also includes an antenna switch 14 and a third antenna 15. The first terminal 141 of the antenna switch 14 is connected to the second interface 6. The second terminal 142 of the antenna switch 14 is connected to the second antenna 7. The third terminal 143 of the antenna switch 14 is connected to the third antenna 15.
[0196] For example, see attached Figure 15As shown, when the interface connection information is obtained through the detection circuit 9, the target device 102 also includes a third inductor 16 and a third capacitor 17. The third terminal 143 of the antenna switch 14 is connected to the third antenna 15 through the third capacitor 17, and the third terminal 143 of the antenna switch 14 is also grounded through the third inductor 16. The second terminal 142 of the antenna switch 14 is connected to the second antenna 7 through the second capacitor 13, and the second terminal 142 of the antenna switch 14 is also grounded through the first inductor 11.
[0197] In one possible implementation, the antenna switch 14 can be a single-pole double-throw switch, a relay switch, or a single-pole multi-throw switch. The type of antenna switch 14 is not limited in the embodiments of this application.
[0198] In this embodiment of the application, for the case where a pair of target interfaces correspond to two antennas of target device 102, target device 102 may further include a control chip. This control chip is used to control the first terminal 141 of antenna switch 14 to be connected to the second terminal 142, or the first terminal 141 to be connected to the third terminal 143 (which can be simplified as controlling the first terminal 141 of antenna switch 14 to be connected to the second terminal 142 (or the third terminal 143)). This control chip can communicate with the controller 1 of electronic device 101 to transmit control signals.
[0199] In one possible implementation, the communication method between the control chip and the controller 1 can be wired or wireless. This application embodiment does not limit the communication method between the control chip and the controller 1.
[0200] Since the target device 102 includes a second antenna 7 and a third antenna 15, the controller 1 can obtain the signal quality of the second antenna 7 and the third antenna 15 from the RF chip 8, and then determine the target antenna 70 based on the signal quality of the second antenna 7 and the third antenna 15. Then, based on the interface connection information, it controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32); or, based on the interface connection information, it obtains the signal quality of the first antenna 4, the second antenna 7 and the third antenna 15 from the RF chip 8, first determines the target antenna 70 based on the signal quality of the second antenna 7 and the third antenna 15, and then controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on the signal quality of the first antenna 4 and the first target interface 50.
[0201] In the embodiments of this application, exemplarily, as shown in the appendix Figure 16As shown, the controller 1 described above obtains the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the RF chip 8. Then, based on the signal quality of the second antenna 7 and the third antenna 15, it determines the target antenna 70. Based on the interface connection information, it controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) (corresponding to the attached diagram). Figure 12 The process (shown) may include steps S1601-S1606:
[0202] In step S1601, controller 1 obtains the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the radio frequency chip 8.
[0203] Before acquiring interface connection information, controller 1 acquires the signal quality of the second antenna 7 and the third antenna 15. Specifically, this is discussed in conjunction with the attached... Figure 14 -Appendix Figure 15 Before acquiring interface connection information, in addition to controller 1 controlling the first terminal 31 and the third terminal 33 of RF switch 3 to conduct, target device 102 also needs to control the first terminal 141 and the second terminal 142 of antenna switch 14 to conduct so that controller 1 can acquire the signal quality of the second antenna 7 from RF chip 8. Furthermore, for acquiring the signal quality of the third antenna 15, after controller 1 controls the first terminal 31 and the third terminal 33 of RF switch 3 to conduct, target device 102 also needs to control the first terminal 141 and the third terminal 143 of antenna switch 14 to conduct so that controller 1 can acquire the signal quality of the third antenna 15 from RF chip 8. Similarly, target device 102 can control the first terminal 141 and the second terminal 142 of antenna switch 14 to conduct either before or after the first terminal 141 and the third terminal 143 are conducted.
[0204] In one possible implementation, if the acquisition time of the signal quality of the third antenna 15 is after the acquisition time of the signal quality of the second antenna 7, before acquiring the interface connection information of the first interface 5 and the second interface 6, the controller 1 controls the first terminal 31 of the RF switch 3 to be turned on and the third terminal 33 to be turned on, and the target device 102 controls the first terminal 141 of the antenna switch 14 to be turned on and the second terminal 142 to be turned on. The controller 1 then acquires the signal quality of the second antenna 7 from the RF chip 8. Afterwards, the target device 102 controls the first terminal 141 of the antenna switch 14 to be turned on and the third terminal 143 to be turned on, and the controller 1 acquires the signal quality of the third antenna 15 from the RF chip 8. Finally, the controller 1 controls the first terminal 31 of the RF switch 3 to be turned on and the second terminal 32 to be turned on.
[0205] In one possible implementation, if the signal quality acquisition time of the third antenna 15 precedes the signal quality acquisition time of the second antenna 7, before acquiring the interface connection information of the first interface 5 and the second interface 6, the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the third terminal 33, and the target device 102 controls the first terminal 141 of the antenna switch 14 to be connected to the third terminal 143. The controller 1 then acquires the signal quality of the third antenna 15 from the RF chip 8. Subsequently, the target device 102 controls the first terminal 141 of the antenna switch 14 to be connected to the second terminal 142, and the controller 1 acquires the signal quality of the second antenna 7 from the RF chip 8. Finally, the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the second terminal 32.
[0206] In the process of the controller 1 obtaining the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the RF chip 8, before the controller 1 controls the first terminal 31 and the third terminal 33 of the RF switch 3 to conduct, it can obtain the signal quality of the first antenna 4 from the RF chip 8, or it can not obtain the signal quality of the first antenna 4 from the RF chip 8. This application embodiment does not limit this.
[0207] In step S1602, controller 1 determines whether the signal quality of the third antenna 15 is greater than that of the second antenna 7.
[0208] After obtaining the signal quality of the second antenna 7 and the third antenna 15 from the RF chip 8, the controller 1 can first determine the relative quality of the signal from the third antenna 15 to the second antenna 7, and then execute steps S1603 and S1604 based on this relative quality. If the signal quality of the third antenna 15 is greater than that of the second antenna 7, step S1603 is executed. If the signal quality of the third antenna 15 is less than or equal to that of the second antenna 7, step S1604 is executed.
[0209] In step S1603, the target antenna 70 is the third antenna 15 and the first terminal 141 and the third terminal 143 of the antenna switch 14 are connected. Based on the interface connection information, the controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the RF switch 3 to be connected.
[0210] If the signal quality of the third antenna 15 is greater than that of the second antenna 7, it indicates that the signal quality of the third antenna 15 is superior to that of the second antenna 7. Specifically, the signal quality of the third antenna 15 is better and more suitable for the current radio frequency signal band. Therefore, the target antenna 70 is the third antenna 15. The target device 102 controls the first terminal 141 and the third terminal 143 of the antenna switch 14 to conduct, so that the second interface 6 of the target device 102 is connected to the third antenna 15. The controller 1 can control the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 to conduct based on the interface connection information, thereby determining whether the radio frequency circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the third antenna 15 of the target device 102.
[0211] In step S1604, controller 1 determines whether the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7.
[0212] Since the case where the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7 is different from the case where the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7, we can first determine the case where the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, and then determine the case where the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7. If the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, proceed to step S1605. If the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7, proceed to step S1606.
[0213] In step S1605, the target antenna 70 is the second antenna 7 and the first terminal 141 and the second terminal 142 of the antenna switch 14 are connected, or the target antenna 70 is the third antenna 15 and the first terminal 141 and the third terminal 143 of the antenna switch 14 are connected; the controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 to be connected based on the interface connection information.
[0214] If the signal quality of the third antenna 15 is equal to that of the second antenna 7, it indicates that the signal quality of the second antenna 7 and the third antenna 15 are the same and both are compatible with the current radio frequency band. Therefore, the target device 102 controls the first terminal 141 of the antenna switch 14 to be connected to the second terminal 142 (or the third terminal 143). Based on this, the controller 1 controls the first terminal 31 of the radio frequency switch 3 to be connected to the third terminal 33 (or the second terminal 32) based on the interface connection information.
[0215] Specifically, in one possible implementation, the target antenna 70 is the second antenna 7. The target device 102 controls the first terminal 141 of the antenna switch 14 to be connected to the second terminal 142. Based on the interface connection information, the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the third terminal 33 (or the second terminal 32), thereby determining whether the RF circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the second antenna 7 of the target device 102. In another possible implementation, the target antenna 70 is the third antenna 15. The target device 102 can also control the first terminal 141 of the antenna switch 14 to be connected to the third terminal 143. Based on the interface connection information, the controller 1 controls the first terminal 31 of the RF switch 3 to be connected to the third terminal 33 (or the second terminal 32), thereby determining whether the RF circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the third antenna 15 of the target device 102.
[0216] In step S1606, the target antenna 70 is the second antenna 7 and the first terminal 141 and the second terminal 142 of the antenna switch 14 are connected. Based on the interface connection information, the controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 to be connected.
[0217] If the signal quality of the third antenna 15 is lower than that of the second antenna 7, it indicates that the signal quality of the second antenna 7 is better and more suitable for the current radio frequency signal band. Therefore, the target antenna 70 is the second antenna 7. The target device 102 controls the first terminal 141 and the second terminal 142 of the antenna switch 14 to be connected. The controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 to be connected based on the interface connection information, thereby determining whether the radio frequency circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the second antenna 7 of the target device 102.
[0218] The steps S1601-S1606 described above describe the process by which controller 1 obtains the signal quality of the second antenna 7 and the third antenna 15 from RF chip 8, then determines the target antenna 70 based on the signal quality of the second antenna 7 and the third antenna 15, and then controls the first terminal 31 of RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on interface connection information. This process involves controller 1 first obtaining the signal quality of the second antenna 7 and the third antenna 15 from RF chip 8, then judging the relative quality of the third antenna 15 and the second antenna 7 to determine the target antenna 70. The target device 102 then controls antenna switch 14 to conduct with the target antenna 70. Controller 1 then controls the first terminal 31 of RF switch 3 to conduct with the third terminal 33 (or the second terminal 32) based on interface connection information, thereby enabling the RF circuit 22 of electronic device 101 to conduct with the first antenna 4 of electronic device 101, or with the target antenna 70 of target device 102. Therefore, the radio frequency circuit 22 of the electronic device 101 can be connected to the target antenna 70 of the target device 102, i.e., the second antenna 7 or the third antenna 15, and communication can be carried out by using the target antenna 70 of the target device 102, thereby improving the communication quality.
[0219] The specific process by which the controller 1, based on the interface connection information, controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the RF switch 3 to be turned on has been described in detail in steps S1201-S1202 above, and will not be repeated here.
[0220] In the embodiments of this application, exemplarily, as shown in the appendix Figure 17 As shown, the controller 1 described above obtains the signal quality of the first antenna 4, the second antenna 7, and the third antenna 15 from the RF chip 8 based on the interface connection information. First, it determines the target antenna 70 based on the signal quality of the second antenna 7 and the third antenna 15. Then, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, it controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) (corresponding to the attached diagram). Figure 13 The process (shown) may include steps S1701-S1708:
[0221] Step S1701: Controller 1 determines whether the interface connection information is coupled.
[0222] This step has been described in detail in step S1301 and will not be repeated here.
[0223] In step S1702, controller 1 controls the first terminal 31 and the second terminal 32 of RF switch 3 to be connected.
[0224] This step has been described in detail in step S1302 and will not be repeated here.
[0225] In step S1703, controller 1 obtains the signal quality of the first antenna 4, the signal quality of the second antenna 7, and the signal quality of the third antenna 15 from the radio frequency chip 8.
[0226] This step has been described in detail in step S1601 and will not be repeated here.
[0227] In step S1704, controller 1 determines whether the signal quality of the third antenna 15 is greater than that of the second antenna 7.
[0228] Similarly, this step has been described in detail in step S1602 and will not be repeated here. If the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, proceed to step S1705. If the signal quality of the third antenna 15 is less than or equal to the signal quality of the second antenna 7, proceed to step S1706.
[0229] In step S1705, the target antenna 70 is the third antenna 15 and the first terminal 141 and the third terminal 143 of the antenna switch 14 are connected. Based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 to be connected.
[0230] Similarly, if the signal quality of the third antenna 15 is greater than that of the second antenna 7, it indicates that the signal quality of the third antenna 15 is superior to that of the second antenna 7. Specifically, the signal quality of the third antenna 15 is better and more suitable for the current RF signal frequency band. Therefore, the target antenna 70 is the third antenna 15, and the signal quality of the first target interface 50 is the signal quality of the third antenna 15. When the first terminal 141 and the third terminal 143 of the antenna switch 14 controlled by the target device 102 are turned on, the controller 1 can determine whether the first terminal 31 and the third terminal 33 (or the second terminal 32) of the RF switch 3 are turned on based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, thereby determining whether the RF circuit 22 of the electronic device 101 is turned on with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.
[0231] In step S1706, controller 1 determines whether the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7.
[0232] Similarly, this step has been described in detail in step S1604 and will not be repeated here. If the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, proceed to step S1707. If the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7, proceed to step S1708.
[0233] In step S1707, the target antenna 70 is the second antenna 7 and the first terminal 141 and the second terminal 142 of the antenna switch 14 are connected, or the target antenna 70 is the third antenna 15 and the first terminal 141 and the third terminal 143 of the antenna switch 14 are connected; the controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 to be connected based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50.
[0234] Similarly, if the signal quality of the third antenna 15 is equal to that of the second antenna 7, it indicates that the signal quality of the second antenna 7 and the third antenna 15 are the same and both can adapt to the current radio frequency signal band. Therefore, the target antenna 70 is the second antenna 7, and the signal quality of the first target interface 50 is the signal quality of the second antenna 7. When the target device 102 controls the first terminal 141 and the second terminal 142 of the antenna switch 14 to be turned on, the controller 1 can, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, control the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 to be turned on, thereby determining whether the radio frequency circuit 22 of the electronic device 101 is turned on with the first antenna 4 of the electronic device 101 or with the second antenna 7 of the target device 102. The target antenna 70 can also be the third antenna 15. The signal quality of the first target interface 50 is the signal quality of the third antenna 15. The controller 1 can also control the first terminal 31 and the third terminal 33 (or the second terminal 32) of the RF switch 3 to be connected based on the interface connection information, the signal quality of the first antenna 4 and the signal quality of the first target interface 50 when the first terminal 141 and the third terminal 143 of the antenna switch 14 of the target device 102 are connected. This allows the controller to determine whether the RF circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the third antenna 15 of the target device 102.
[0235] In step S1708, the target antenna 70 is the second antenna 7 and the first terminal 141 and the second terminal 142 of the antenna switch 14 are connected. Based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 to be connected.
[0236] Similarly, if the signal quality of the third antenna 15 is lower than that of the second antenna 7, it indicates that the signal quality of the second antenna 7 is better and more suitable for the current radio frequency signal band. Therefore, the target antenna 70 is the second antenna 7, and the signal quality of the first target interface 50 is the signal quality of the second antenna 7. When the first terminal 141 and the second terminal 142 of the antenna switch 14 controlled by the target device 102 are connected, the controller 1 can determine whether the first terminal 31 and the third terminal 33 (or the second terminal 32) of the radio frequency switch 3 are connected based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50. Thus, it can determine whether the radio frequency circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the second antenna 7 of the target device 102.
[0237] The process described in steps S1701-S1708 above, where controller 1 obtains the signal quality of the first antenna 4, the second antenna 7, and the third antenna 15 from the RF chip 8 based on interface connection information, first determines the target antenna 70 based on the signal quality of the second antenna 7 and the third antenna 15, and then controls the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on the signal quality of the first antenna 4 and the first target interface 50, involves first obtaining the signal quality of the first antenna 4, the second antenna 7, and the third antenna 15 from the RF chip 8 based on interface connection information, then judging the superiority of the signal quality of the third antenna 15 over the second antenna 7, and determining the target antenna 70 with better signal quality. Finally, based on the signal quality of the first antenna 4 and the first target interface 50, the first terminal 31 of the RF switch 3 is controlled to conduct with the third terminal 33 (or the second terminal 32). Therefore, the radio frequency circuit 22 of the electronic device 101 can be connected to the target antenna 70 of the target device 102, i.e., the second antenna 7 or the third antenna 15, and communication can be carried out by using the target antenna 70 of the target device 102, thereby improving the communication quality.
[0238] The specific process by which the controller 1, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the RF switch 3 to be turned on has been described in detail in steps S1304-S1306 above, and will not be repeated here.
[0239] In the case where two pairs of target interfaces correspond to two antennas of target device 102 respectively (i.e., one pair of target interfaces corresponds to one antenna of target device 102), for example, see the attached diagram. Figure 18As shown, when obtaining interface connection information through the first target interface 50, the electronic device 101 also includes a third interface 18. Furthermore, the RF switch 3 in the electronic device 101 also includes a fourth terminal 34. The target device 102 also includes a fourth interface 19. The fourth terminal 34 of the RF switch 3 is connected to the third interface 18. The fourth interface 19 is connected to the third antenna 15. The RF circuit 22 includes an RF front-end 2 and an RF switch 3.
[0240] When obtaining interface connection information through the detection circuit 9, there can be one or two detection circuits 9. The number of detection circuits 9 is not limited in the embodiments of this application.
[0241] When there is only one detection circuit 9, an example is shown in the attached diagram. Figure 19 As shown, the detection circuit 9 can be connected to the first target interface 50 via a detection switch. The electronic device 101 also includes a fourth capacitor 20. The fourth terminal 34 of the RF switch 3 is connected to the third interface 18 via the fourth capacitor 20. The target device 101 also includes a third inductor 16 and a third capacitor 17. The fourth interface 19 is connected to the third antenna 15 via the third capacitor 17, and the fourth interface 19 is also grounded via the third inductor 16. The RF circuit 22 includes an RF front-end 2 and an RF switch 3. The first interface 5 and the second interface 6 are a pair, and the third interface 18 and the fourth interface 19 are a pair.
[0242] In one possible implementation, the detection switch can be a single-pole double-throw switch, a multiplexer, or a transistor array. This application does not limit the type of detection switch.
[0243] In one possible implementation, the radio frequency switch 3 can be a single-pole triple-throw switch, a multiplexer, or a transistor array. The embodiments of this application do not limit the type of radio frequency switch 3.
[0244] In the case where there are two detection circuits 9, an example is shown in the attached diagram. Figure 20 As shown in the attached document Figure 19Based on the electronic device 101, the detection circuit 9 further includes a fourth inductor 21, a third terminal, and a fourth terminal. The third terminal of the detection circuit 9 is connected to the controller 1, and the fourth terminal of the detection circuit 9 is connected to the fourth capacitor 20 and the third interface 18. The radio frequency circuit 22 includes a radio frequency front-end 2 and a radio frequency switch 3. Similarly, when the detection circuit 9 is the second inductor 12, as mentioned above, if the target antenna 70 only includes the second antenna 7, the interface connection information can be obtained by combining the first GPIO interface of the controller 1 to detect the level state of the second terminal of the second inductor 12 and output a high or low level. When the detection circuit 9 is also the fourth inductor 21, the fourth inductor 21 can be combined with the second GPIO interface of the controller 1 to detect the level state of the second terminal of the fourth inductor 21 and output a high or low level. Specifically, the first terminal of the fourth inductor 21 is connected to the controller 1, and the second terminal of the fourth inductor 21 is connected to the fourth capacitor 20 and the third interface 18.
[0245] In the embodiments of this application, as shown in the appendix Figure 7 -Appendix Figure 9 As shown, since the interface connection information is obtained through the detection circuit 9, a capacitor needs to be set at the front end of the first target interface 50 to determine which pair of interfaces is the target interface. This ensures that the second terminal of the detection circuit 9 is floating (high level) when the first target interface 50 and the second target interface 60 are disconnected. Similarly, an inductor needs to be set at the rear end of the second target interface 60 to ground the second terminal of the detection circuit 9 when the first target interface 50 and the second target interface 60 are connected (low level). Therefore, the number of interfaces corresponds one-to-one with the number of capacitors and inductors. For example, for one pair of interfaces, namely the first interface 5 and the second interface 6, a first capacitor 10 and a first inductor 11 are set. For two pairs of interfaces, namely the first interface 5 and the second interface 6, and the third interface 18 and the fourth interface 19, the first capacitor 10 and the first inductor 11 are set on the first interface 5 and the second interface 6, and the fourth capacitor 20 and the third inductor 16 are set on the third interface 18 and the fourth interface 19. Similarly, the principle for multiple pairs of interfaces is the same as that for two pairs of interfaces. The content for two pairs of interfaces has been described in detail in the aforementioned electronic device 101, and will not be repeated here.
[0246] In this embodiment, for the case where two pairs of target interfaces correspond to two antennas of the target device 102 respectively (i.e., one pair of target interfaces corresponds to one antenna of the target device 102), an additional pair of interfaces (third interface 18 and fourth interface 19) is added. Since when the electronic device 101 is coupled to the target device 102, the first interface 5 and the second interface 6 are coupled, and the third interface 18 and the fourth interface 19 are also coupled. When the electronic device 101 is disconnected from the target device 102, the first interface 5 and the second interface 6 are disconnected, and the third interface 18 and the fourth interface 19 are also disconnected. Therefore, the first target interface 50 can be either the first interface 5 or the third interface 18, and the second target interface 60 can be either the second interface 6 or the fourth interface 19. The controller 1 can acquire interface connection information indicating whether the first interface 5 and the second interface 6 are coupled or disconnected, or interface connection information indicating whether the third interface 18 and the fourth interface 19 are coupled or disconnected.
[0247] Similarly, in this embodiment, after obtaining the signal quality of the second antenna 7 and the third signal quality of the third antenna 15 from the RF chip 8, the controller 1 can control the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on the interface connection information; or, based on the interface connection information, the controller 1 can obtain the signal quality of the first antenna 4, the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the RF chip 8, first determine the target antenna 70 based on the signal quality of the second antenna 7 and the signal quality of the third antenna 15, and then control the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50.
[0248] For example, see attached Figure 21 As shown, after the controller 1 described above obtains the signal quality of the second antenna 7 and the third signal quality of the third antenna 15 from the RF chip 8, it controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 or the second terminal 32 based on the interface connection information (corresponding to the attached...). Figure 12 The process (shown) may include steps S2101-S2106:
[0249] In step S2101, controller 1 obtains the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the radio frequency chip 8.
[0250] Similarly, before acquiring interface connection information, controller 1 can acquire the signal quality of the second antenna 7 and the third antenna 15.
[0251] Specifically, before acquiring interface connection information (including the interface connection information of the first interface 5 and the second interface 6, or the interface connection information of the third interface 18 and the fourth interface 19), controller 1 needs to control the first terminal 31 and the third terminal 33 of RF switch 3 to be turned on so that controller 1 can obtain the signal quality of the second antenna 7 from RF chip 8, and control the first terminal 31 and the fourth terminal 34 of RF switch 3 to be turned on so that controller 1 can obtain the signal quality of the third antenna 15 from RF chip 8. Similarly, controller 1 can control the first terminal 31 and the third terminal 33 to be turned on first, or it can control the first terminal 31 and the fourth terminal 34 to be turned on first.
[0252] In one possible implementation, if controller 1 first connects the first terminal 31 to the third terminal 33, before acquiring interface connection information, controller 1 first connects the first terminal 31 to the third terminal 33 of RF switch 3 to obtain the signal quality of the second antenna 7 from RF chip 8. Then, controller 1 connects the first terminal 31 to the fourth terminal 34 of RF switch 3 to obtain the signal quality of the third antenna 15 from RF chip 8. Finally, controller 1 connects the first terminal 31 to the second terminal 32 of RF switch 3.
[0253] In one possible implementation, if controller 1 first connects the first terminal 31 to the fourth terminal 34, before acquiring interface connection information, controller 1 first connects the first terminal 31 to the fourth terminal 34 of RF switch 3 to obtain the signal quality of the third antenna 15 from RF chip 8. Then, controller 1 connects the first terminal 31 to the third terminal 33 of RF switch 3 to obtain the signal quality of the second antenna 7 from RF chip 8. Finally, controller 1 connects the first terminal 31 to the second terminal 32 of RF switch 3.
[0254] Similarly, in the process of the controller 1 obtaining the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the RF chip 8 in the above two types of processes, before the controller 1 controls the first terminal 31 and the third terminal 33 (or the fourth terminal 34) of the RF switch 3 to be turned on, it can obtain the signal quality of the first antenna 4 from the RF chip 8, or it can not obtain the signal quality of the first antenna 4 from the RF chip 8. This application embodiment does not limit this.
[0255] In step S2102, controller 1 determines whether the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7.
[0256] Step S2102 is the same as step S1602, and has already been described in detail in step S1602, so it will not be repeated here. If the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, proceed to step S2103. If the signal quality of the third antenna 15 is less than or equal to the signal quality of the second antenna 7, proceed to step S2104.
[0257] In step S2103, the target antenna 70 is the third antenna 15 and the target end of the RF switch 3 is the fourth end 34. Based on the interface connection information, the controller 1 controls the first end 31 of the RF switch 3 to be connected to the target end 30 (or the second end 32).
[0258] Similarly, if the signal quality of the third antenna 15 is greater than that of the second antenna 7, it indicates that the signal quality of the third antenna 15 is superior to that of the second antenna 7. Specifically, the signal quality of the third antenna 15 is better and more suitable for the current RF signal frequency band. At this time, the target antenna 70 is the third antenna 15 and the target end of the RF switch 3 is the fourth end 34. Therefore, the controller 1 can determine, based on the interface connection information, whether the first end 31 of the RF switch 3 is connected to the target end 30, or whether the first end 31 is connected to the second end 32 (which can be simplified as the first end 31 of the RF switch 3 is connected to the fourth end 34 (or the second end 32)). Thus, it can determine whether the RF circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the third antenna 15 of the target device 102.
[0259] In step S2104, controller 1 determines whether the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7.
[0260] Similarly, step S2104 is the same as step S1604, and has already been described in detail in step S1604, so it will not be repeated here. If the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, proceed to step S2105. If the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7, proceed to step S2106.
[0261] In step S2105, the target antenna 70 is the third antenna 15 and the target end of the RF switch 3 is the fourth end 34, or the target antenna 70 is the second antenna 7 and the target end of the RF switch 3 is the third end 33; the controller 1 controls the first end 31 of the RF switch 3 to be connected to the target end 30 (or the second end 32) based on the interface connection information.
[0262] Similarly, if the signal quality of the third antenna 15 is equal to that of the second antenna 7, it indicates that the signal quality of the second antenna 7 and the third antenna 15 are the same and both are compatible with the current RF signal frequency band. At this time, the target antenna 70 is the second antenna 7 and the target end of the RF switch 3 is the third end 33. Therefore, the controller 1 can control the first end 31 of the RF switch 3 to conduct with the third end 33 (or the second end 32) based on the interface connection information, thereby determining whether the RF circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the second antenna 7 of the target device 102. At this time, the target antenna 70 is the third antenna 15 and the target end of the RF switch 3 is the fourth end 34. Therefore, it can also control the first end 31 of the RF switch 3 to conduct with the fourth end 34 (or the second end 32) based on the interface connection information, thereby determining whether the RF circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the third antenna 15 of the target device 102.
[0263] In step S2106, the target antenna 70 is the second antenna 7 and the target end of the RF switch 3 is the third end 33. Based on the interface connection information, the controller 1 controls the first end 31 of the RF switch 3 to be connected to the target end 30 (or the second end 32).
[0264] Similarly, if the signal quality of the third antenna 15 is lower than that of the second antenna 7, it indicates that the signal quality of the second antenna 7 is better and more suitable for the current RF signal frequency band. At this time, the target antenna 70 is the second antenna 7 and the target end of the RF switch 3 is the third end 33. Therefore, the controller 1 can determine whether the first end 31 of the RF switch 3 is connected to the third end 33 (or the second end 32) based on the interface connection information, thereby determining whether the RF circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the second antenna 7 of the target device 102.
[0265] The steps S2101-S2106 described above, describing the process by which controller 1, after acquiring the signal quality of the second antenna 7 and the third signal quality of the third antenna 15 from RF chip 8, controls the first terminal 31 of RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on interface connection information, involves controller 1 first acquiring the signal quality of the second antenna 7 and the third signal quality of the third antenna 15 from RF chip 8, then determining the relative merits of the third signal quality of the third antenna 15 and the signal quality of the second antenna 7, and finally determining the target antenna 70 (i.e., the second antenna 7 or the third antenna 15) and the corresponding conduction port (i.e., the third terminal 33 or the fourth terminal 34) of RF switch 3 based on the better signal quality. Specifically, the second antenna 7 corresponds to the third terminal 33 of RF switch 3, and the third antenna 15 corresponds to the fourth terminal 34 of RF switch 3. Controller 1 then controls the first terminal 31 of RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on the interface connection information. Therefore, the radio frequency circuit 22 of the electronic device 101 can be connected to the second antenna 7 or the third antenna 15 of the target device 102, and communication can be performed by using the second antenna 7 or the third antenna 15 of the target device 102, thereby improving the communication quality.
[0266] The specific process by which the controller 1 controls the first terminal 31 of the RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on the interface connection information, as mentioned in steps S2101-S2106 above, has been described in detail in steps S1201-S1202 above, and will not be repeated here.
[0267] For example, see attached Figure 22 As shown, the controller 1 described above obtains the signal quality of the first antenna 4, the second antenna 7, and the third antenna 15 from the RF chip 8 based on the interface connection information. First, it determines the target antenna 70 based on the signal quality of the second antenna 7 and the third antenna 15. Then, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, it controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) (corresponding to the attached diagram). Figure 13 The process (shown) may include steps S2201-S2208:
[0268] Step S2201: Controller 1 determines whether the interface connection information is coupled.
[0269] The interface connection information here can be the interface connection information of the first interface 5 and the second interface 6, or the interface connection information of the third interface 18 and the fourth interface 19. This step has been described in detail in step S1701, and will not be repeated here.
[0270] In step S2202, the controller 1 controls the first terminal 31 and the second terminal 32 of the radio frequency switch 3 to be turned on.
[0271] This step has been described in detail in step S1702 and will not be repeated here.
[0272] In step S2203, controller 1 obtains the signal quality of the first antenna 4, the signal quality of the second antenna 7, and the signal quality of the third antenna 15 from the radio frequency chip 8.
[0273] This step has been described in detail in step S1703 and will not be repeated here.
[0274] In step S2204, controller 1 determines whether the signal quality of the third antenna 15 is greater than that of the second antenna 7.
[0275] Step S2204 is the same as step S1704, and has already been described in detail in step S1704, so it will not be repeated here. If the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, proceed to step S2205. If the signal quality of the third antenna 15 is less than or equal to the signal quality of the second antenna 7, proceed to step S2206.
[0276] In step S2205, the target antenna 70 is the third antenna 15 and the target end 30 of the RF switch 3 is the fourth end 34. Based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the controller 1 controls the first end 31 of the RF switch 3 to be connected to the target end 30 (or the second end 32).
[0277] Similarly, if the signal quality of the third antenna 15 is greater than that of the second antenna 7, it indicates that the signal quality of the third antenna 15 is superior to that of the second antenna 7. Specifically, the signal quality of the third antenna 15 is better and more suitable for the current RF signal frequency band. At this time, the target antenna 70 is the third antenna 15, and the target end 30 of the RF switch 3 is the fourth end 34. The first target interface 50 is connected to the third antenna 15, and the signal quality of the first target interface 50 is the same as that of the third antenna 15. Therefore, the controller 1 can determine whether the first end 31 of the RF switch 3 is connected to the fourth end 34 (or the second end 32) based on the signal quality of the first antenna 4 and the first target interface 50, thereby determining whether the RF circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the third antenna 15 of the target device 102.
[0278] In step S2206, controller 1 determines whether the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7.
[0279] Similarly, step S2206 is the same as step S2104, and has already been described in detail in step S2104, so it will not be repeated here. If the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, proceed to step S2207. If the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7, proceed to step S2208.
[0280] In step S2207, the target antenna 70 is the third antenna 15 and the target end 30 of the RF switch 3 is the fourth end 34, or the target antenna 70 is the second antenna 7 and the target end 30 of the RF switch 3 is the third end 33; the controller 1 controls the first end 31 of the RF switch 3 to be connected to the target end 30 (or the second end 32) based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50.
[0281] Similarly, if the signal quality of the third antenna 15 is equal to that of the second antenna 7, it indicates that the signal quality of the third antenna 15 is the same as that of the second antenna 7, and both can adapt to the current radio frequency signal band. At this time, the target antenna 70 is the second antenna 7 and the target end 30 of the radio frequency switch 3 is the third end 33. The first target interface 50 is connected to the second antenna 7, and the signal quality of the first target interface 50 is the same as that of the second antenna 7. Therefore, the controller 1 can control the first end 31 of the radio frequency switch 3 to conduct with the third end 33 (or the second end 32) based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, thereby determining whether the radio frequency circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the second antenna 7 of the target device 102. Alternatively, at this time, the target antenna 70 is the third antenna 15 and the target end 30 of the RF switch 3 is the fourth end 34. The first target interface 50 is connected to the third antenna 15, and the signal quality of the first target interface 50 is the same as the signal quality of the third antenna 15. Therefore, the controller 1 can also control the first end 31 of the RF switch 3 to conduct with the fourth end 34 (or the second end 32) based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, thereby determining whether the RF circuit 22 of the electronic device 101 is connected with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.
[0282] In step S2208, the target antenna 70 is the second antenna 7 and the target end 30 of the RF switch 3 is the third end 33. Based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the controller 1 controls the first end 31 of the RF switch 3 to be connected to the target end 30 (or the second end 32).
[0283] When the signal quality of the third antenna 15 is less than that of the second antenna 7, it indicates that the signal quality of the second antenna 7 is better and more suitable for the current radio frequency signal band. Therefore, at this time, the target antenna 70 is the second antenna 7 and the target end 30 of the radio frequency switch 3 is the third end 33. The first target interface 50 is connected to the second antenna 7, and the signal quality of the first target interface 50 is the same as that of the second antenna 7. The controller 1 can determine whether the first end 31 of the radio frequency switch 3 is connected to the third end 33 (or the second end 32) based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50. Thus, it can determine whether the radio frequency circuit 22 of the electronic device 101 is connected to the first antenna 4 of the electronic device 101 or to the second antenna 7 of the target device 102.
[0284] The process described in steps S2201-S2208 above, where controller 1 obtains the signal quality of the first antenna 4, the second antenna 7, and the third antenna 15 from RF chip 8 based on interface connection information, first determines the target antenna 70 based on the signal quality of the second antenna 7 and the third antenna 15, and then controls the first terminal 31 of RF switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on the signal quality of the first antenna 4 and the first target interface 50, involves first obtaining the signal quality of the first antenna 4, the second antenna 7, and the third antenna 15 from RF chip 8 while the first target interface 50 and the second target interface 60 are coupled, and then judging the superiority or inferiority of the signal quality of the third antenna 15 and the second antenna 7 to determine the target antenna 70 (i.e., the second antenna 7 or the third antenna 15) and the corresponding conduction port (i.e., the third terminal 33 or the fourth terminal 34) of RF switch 3. Here, the second antenna 7 corresponds to the third terminal 33 of RF switch 3, and the third antenna 15 corresponds to the fourth terminal 34 of RF switch 3. Based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the first terminal 31 of the RF switch 3 is controlled to be connected to the target terminal 30 (or the second terminal 32). Therefore, the RF circuit 22 of the electronic device 101 can be connected to the second antenna 7 or the third antenna 15 of the target device 102, and communication can be performed by using the second antenna 7 or the third antenna 15 of the target device 102, thereby improving the communication quality.
[0285] The specific process by which the controller 1, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, controls the first terminal 31 of the RF switch 3 to be connected to the target terminal 30 (or the second terminal 32) in steps S2201-S2208 mentioned above has been described in detail in steps S1304-S1306 above, and will not be repeated here.
[0286] Finally, when multiple target antennas 70 are included, each target antenna 70 includes a second antenna 7, a third antenna 15, and a fourth antenna. Similarly, the first target interface 50 and the second target interface 60 can be a pair or multiple pairs. Since the principle of multiple target antennas 70 is the same as that of two target antennas 70, and the system 100 and electronic device 101 with two target antennas 70 have been described in detail above, they will not be repeated here.
[0287] In the embodiments of this application, the target device 102 will be described next. In the following embodiments of this application, the target device 102 is specifically described by taking the target device 102 as having only the second antenna 7, the target end of the radio frequency switch 3 as the third end 33, the first target interface 50 as the first interface 5, the second target interface 60 as the second interface 6, and the interface connection information as the interface connection information of the first interface 5 and the second interface 6.
[0288] In one possible implementation, the target device 102 can be a signal receiver or a vehicle. This application embodiment does not limit the type of the target device 102.
[0289] In this embodiment, the second antenna 7 is located outside the target device 102 and can be exposed to the natural environment. Therefore, the size and layout of the second antenna 7 are not limited. For example, when the target device 102 is a signal receiver, such as a satellite signal receiver, the second antenna 7 can be exposed outdoors and in the wild. The size and layout of the second antenna 7 can be set according to actual needs. When the user is outdoors or in the wild, the electronic device 101 has no signal and cannot communicate externally. The electronic device 101 can be connected to the target device 102, which is a satellite signal receiver. At this time, the first interface 5 is coupled to the second interface 6, and the controller 1 can control the first terminal 31 and the third terminal 33 of the RF switch 3 to conduct, enabling the electronic device 101 to transmit and receive RF signals through the second antenna 7 of the target device 102, thus enabling external communication.
[0290] For example, when the target device 102 is a vehicle, the second antenna 7 can be the vehicle's antenna. The second antenna 7 can be installed in locations such as the A / B pillars, the heating wires of the mirrors / windows, the front / rear windshields, or below the center console cover. The size and layout can also be set according to actual needs. When the user is in the vehicle, the signal of the electronic device 101 is relatively weak or non-existent due to the vehicle's movement, resulting in poor communication quality or inability to communicate with the outside world. In this case, the electronic device 101 can be connected to the target device 102 of the vehicle. At this time, the first interface 5 is coupled to the second interface 6, and the controller 1 can control the first end 31 and the third end 33 of the RF switch 3 to conduct, enabling the electronic device 101 to transmit and receive RF signals through the second antenna 7 of the target device 102 of the vehicle, thus enabling communication with the outside world.
[0291] In this embodiment of the application, the target device 102 is a vehicle.
[0292] In this embodiment of the application, the system 100 of the application will be specifically described using a system 100 in which the electronic device 101 is a mobile phone and the target device 102 is a vehicle as an example.
[0293] For example, see attached Figure 23As shown, the mobile phone supports cellular + satellite dual-mode. The mobile phone supporting cellular + satellite dual-mode can be integrated with the vehicle-mounted antenna, i.e., the second antenna 7, to form a system 100. This system 100 can support cellular + satellite dual-mode through either the first antenna 4 or the second antenna 7. Specifically, when the mobile phone is disconnected from the vehicle, the controller 1 can control the first terminal 31 and the second terminal 32 of the RF switch 3 to conduct, enabling the mobile phone to transmit and receive RF signals through the first antenna 4 for external communication. When the mobile phone communicates in cellular communication mode, it uses the 3GPP standard protocol, through the base station and cellular core network, and through the first antenna 4 to achieve cellular communication. When the mobile phone communicates in satellite communication mode, it uses a satellite proprietary protocol, through the satellite, gateway station, satellite core network, interconnection gateway, and cellular core network, and through the first antenna 4 to achieve satellite communication. After the mobile phone is connected to the vehicle, the controller 1 can control the first terminal 31 and the third terminal 33 of the RF switch 3 to conduct, enabling the mobile phone to transmit and receive RF signals through the vehicle's second antenna 7 for external communication. When the mobile phone communicates in cellular mode, it uses the 3GPP standard protocol, base station, cellular core network, and vehicle's second antenna 7 to achieve cellular communication. When the mobile phone communicates in satellite mode, it uses a proprietary satellite protocol, satellite, gateway, satellite core network, interconnection gateway, cellular core network, and vehicle's second antenna 7 to achieve satellite communication. This improves communication quality. For example, see Table 1 below (rows represent the percentage improvement in antenna gain and signal quality for different antennas in the same communication mode. Columns represent the antenna gain for the same antenna in different communication modes, or the percentage improvement in antenna signal quality between the second antenna 7 and the first antenna 4 in different communication modes):
[0294] Table 1: Antenna Gain When Transmitting and Receiving RF Signals via First Antenna 4 and Second Antenna 7
[0295]
[0296] Table 1 shows that in the BeiDou communication mode of China's independently developed global satellite navigation system, the antenna gain is -6 DBi when transmitting and receiving radio frequency signals through the first antenna 4, and -0.5 DBi when transmitting and receiving radio frequency signals through the second antenna 7. The signal quality of the second antenna 7 is 192% higher than that of the first antenna 4. In the Global Positioning System (GPS) communication mode of the United States-developed global satellite navigation system, the antenna gain is -5.5 DBi when transmitting and receiving radio frequency signals through the first antenna 4, and -0.5 DBi when transmitting and receiving radio frequency signals through the second antenna 7. The signal quality of the second antenna 7 is 190% higher than that of the first antenna 4. In the Tiantong communication mode of China's independently developed mobile satellite communication system, the antenna gain is -4 DBi when transmitting and receiving radio frequency signals through the first antenna 4, and -0.5 DBi when transmitting and receiving radio frequency signals through the second antenna 7. The signal quality of the second antenna 7 is 187% higher than that of the first antenna 4. In the maritime communication mode of the mobile satellite communication system provided by the International Mobile Satellite Organization (IMO), when transmitting and receiving radio frequency (RF) signals through the first antenna 4, the antenna gain is -3.5 DPi, while when transmitting and receiving RF signals through the second antenna 7, the antenna gain is -0.5 DPi. The second antenna 7 provides a 186% improvement in antenna signal quality compared to the first antenna 4. In the same communication mode, the antenna signal quality is higher when transmitting and receiving RF signals through the second antenna 7 than when transmitting and receiving RF signals through the first antenna 4. Therefore, the system 100 provided in this application embodiment can improve communication quality.
[0297] In related technologies, with the development of intelligent connected vehicle technology, the use of V2X wireless communication technology is becoming increasingly frequent. For example, see the attached... Figure 24 As shown, Vehicle-to-Everything (V2X) builds a collaborative perception system through real-time information interaction between vehicles and infrastructure (V2I), vehicles and homes (V2H), vehicles and vehicles (V2V), vehicles and devices (V2D), vehicles and pedestrians (V2P), vehicles and cloud / cellular networks (V2N), and vehicles and satellites (V2S).
[0298] In the embodiments of this application, exemplarily, as shown in the appendix Figure 25As shown, in system 100, after the mobile phone is connected to the vehicle, the controller 1 can control the first end 31 and the third end 33 of the radio frequency switch 3 to conduct, so that the mobile phone can transmit and receive radio frequency signals through the vehicle's second antenna 7 to communicate with the outside world, replacing the vehicle and realizing the connection between the mobile phone and everything (i.e., infrastructure, home, vehicle, equipment, people, cloud / cellular network, satellite, etc.).
[0299] In one possible implementation, the mobile phone also includes a printed circuit board (PCB) and a back panel. A first interface 5 is disposed on the back panel of the mobile phone. The vehicle also includes a mobile phone holder, and a second interface 6 is disposed on the mobile phone holder.
[0300] In the case where the first interface 5 is a spring pin, probe, or contact, exemplarily, as shown in the attached... Figure 26 As shown, in system 100, the mobile phone also includes a printed circuit board (PCB) 1101 and a backplane 1102. The PCB 1101 is connected to the backplane 1102, and a first interface 5 is also connected to the backplane 1102. The vehicle also includes a mobile phone holder 1201. The mobile phone holder 1201 is electrically connected to the circuitry of the vehicle, including a second antenna 7. A second interface 6 is provided on the bottom plate 1202 of the mobile phone holder 1201 for coupling with the first interface 5, thereby coupling with the mobile phone. The top plate 1203 of the mobile phone holder 1201 is electrically connected to the circuitry of the vehicle, including the second antenna 7, forming a vehicle-mounted mobile phone holder. For example, when the mobile phone is placed on the mobile phone holder 1201, the first interface 5, which is triggered by a spring pin, is connected to the second interface 6, which is a corresponding contact. At this time, the rear end of the mobile phone (including the first capacitor 10, the second end of the RF switch 3, etc.) is connected to the vehicle. After the controller 1 controls the first end 31 and the third end 33 of the RF switch 3 to conduct, the RF circuit 22 of the mobile phone can be connected to the vehicle's second antenna 7, and RF signals can be transmitted and received through the second antenna 7.
[0301] In the case where the first interface 5 is a coil, exemplarily, as shown in the attached... Figure 27As shown, in system 100, the mobile phone also includes a printed circuit board (PCB) 1101 and a backplate 1102. The PCB 1101 is connected to the backplate 1102. A first coil 1103 is also provided on the side of the backplate 1102 opposite to the PCB 1101, and a first interface 5 is provided on the first coil 1103. The vehicle also includes a mobile phone holder 1201. The mobile phone holder 1201 is electrically connected to the circuitry of the vehicle, including a second antenna 7. A second coil 1204 is provided on the base plate 1202 of the mobile phone holder 1201, and a second interface 6 is also provided on the second coil 1204 for coupling with the first interface 5, thereby coupling with the mobile phone. The top plate 1203 of the mobile phone holder 1201 is electrically connected to the circuitry of the vehicle, including the second antenna 7, and forms a vehicle-mounted mobile phone holder. For example, when the mobile phone is placed on the mobile phone holder 1201, the first interface 5 on the first coil 1103 is coupled to the second interface 6 on the corresponding second coil 1204. At this time, the back end of the mobile phone (including the first capacitor 10, the second end of the RF switch 3, etc.) is connected to the vehicle. After the controller 1 controls the first end 31 and the third end 33 of the RF switch 3 to be turned on, the RF circuit 22 of the mobile phone can be turned on with the vehicle's second antenna 7 and transmit and receive RF signals through the vehicle's second antenna 7.
[0302] In one possible implementation, the impedance of the first interface 5 can be 50Ω, 51Ω, or 49Ω. The embodiments of this application do not limit the impedance of the first interface 5.
[0303] In one possible implementation, the impedance of the second interface 6 can be 50Ω, 51Ω, or 49Ω. The embodiments of this application do not limit the impedance of the second interface 6.
[0304] In this embodiment, the first interface 5 and the second interface 6 can be aligned magnetically. The first interface 5 and the second interface 6 can also be configured to be waterproof and dustproof, for example, with an IP65 or IP67 rating.
[0305] In this embodiment of the application, the first interface 5 can be connected to the radio frequency circuit 22 of the mobile phone via a spring contact.
[0306] In one possible implementation, the mobile phone holder 1201 can be mounted on the instrument panel, the center console, or the air vent. This application embodiment does not limit the placement of the mobile phone holder 1201.
[0307] In one possible implementation, the other end of the phone holder 1201 can be directly connected to the vehicle's circuitry, including the second antenna 7, or a fifth interface can be provided for electrical connection to the vehicle's circuitry, including the second antenna 7. This application embodiment does not limit the connection method between the phone holder 1201 and the vehicle. If the connection is made via the fifth interface, the vehicle needs to be equipped with a sixth interface for mating connection with the fifth interface.
[0308] Similarly, in one possible implementation, the fifth interface can be a spring pin or probe, or it can be a contact or coil. The type of the fifth interface is not limited in the embodiments of this application.
[0309] In the embodiments of this application, the fifth interface and the sixth interface are matched. For example, when the fifth interface is a spring pin or probe, the sixth interface is a contact. When the fifth interface is a contact, the sixth interface is a contact, a spring pin, or a probe. When the fifth interface is a coil, the sixth interface is a coil.
[0310] In this embodiment of the application, when a mobile phone is connected to a vehicle, and the mobile phone is used to connect to everything in place of the vehicle, user authorization is generally required.
[0311] For example, see attached Figure 28 As shown, the specific process by which controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of RF switch 3 to be turned on based on interface connection information may include steps S2801-S2805:
[0312] Step S2801: Controller 1 obtains information that the user authorizes the transmission and reception of radio frequency signals via the vehicle-mounted second antenna 7.
[0313] First, the user can authorize the mobile phone to transmit and receive radio frequency signals via the vehicle-mounted second antenna 7 in a V2X environment. At this time, the controller 1 can obtain the information that the user has authorized the transmission and reception of radio frequency signals via the vehicle-mounted second antenna 7.
[0314] Step S2802: Controller 1 obtains interface connection information.
[0315] The interface connection information can be obtained by acquiring the signal quality of the first interface 5, or by acquiring the level information of the second terminal of the detection circuit 9. The content of the interface connection information acquired by the controller 1 has been described in detail in steps S1001-S1003 and steps S1101-S1102, and will not be repeated here.
[0316] Step S2803: Controller 1 determines whether the interface connection information is coupled.
[0317] Similarly, the controller 1 determines whether the interface connection information is coupled, as described in detail in steps S1001-S1003 and S1101-S1102, and will not be repeated here. If the interface connection information is coupled, step S2804 is executed. If the interface connection information is disconnected, step S2805 is executed.
[0318] In step S2804, controller 1 controls the first terminal 31 and the third terminal 33 of RF switch 3 to conduct, and the mobile phone transmits and receives RF information through the vehicle-mounted second antenna 7.
[0319] When the interface connection information is coupled, it indicates that the mobile phone has been placed on the mobile phone holder 1201 (or installed on the mobile phone holder 1201). The first interface 5 on the back panel 1102 of the mobile phone is coupled to the second interface 6 on the mobile phone holder 1201. At this time, the controller 1 controls the first end 31 and the third end 33 of the radio frequency switch 3 to conduct, and the mobile phone transmits and receives radio frequency information through the vehicle-mounted second antenna 7.
[0320] In step S2805, controller 1 controls the first terminal 31 and the second terminal 32 of RF switch 3 to conduct, and the mobile phone transmits and receives RF information through the first antenna 4.
[0321] When the interface connection information is disconnected, it indicates that the mobile phone has been separated from the mobile phone holder 1201 (or disassembled from the mobile phone holder 1201). The first interface 5 on the back panel 1102 of the mobile phone is disconnected from the second interface 6 on the mobile phone holder 1201. At this time, the controller 1 controls the first end 31 and the second end 32 of the radio frequency switch 3 to conduct, and the mobile phone transmits and receives radio frequency information through the first antenna 4.
[0322] The process described in steps S2801-S2805 above, in which the controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the RF switch 3 to conduct based on the interface connection information, involves obtaining user authorization information, then obtaining interface connection information, and finally, based on the interface connection information, the controller 1 controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of the RF switch 3 to conduct. Therefore, the RF circuit 22 of the electronic device 101 can be connected to the second antenna 7 of the target device 101, enabling communication through the second antenna 7 of the target device 102 and improving communication quality.
[0323] For example, see attached Figure 29 As shown, the specific process by which controller 1 obtains the signal quality of the first antenna 4 and the signal quality of the first interface 5 from the RF chip 8 based on the interface connection information, and then controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of RF switch 3 to be turned on based on the signal quality of the first antenna 4 and the signal quality of the first interface 5, may include steps S2901-S2907:
[0324] Step S2901: Controller 1 obtains information that the user authorizes the transmission and reception of radio frequency signals via the vehicle-mounted second antenna 7.
[0325] The specific content of step S2901 has been described in detail in step S2801, and will not be repeated here.
[0326] In step S2902, controller 1 determines whether the interface connection information is coupled.
[0327] Similarly, the specific content of step S2902 has been described in detail in step S1301, and will not be repeated here.
[0328] In step S2903, controller 1 controls the first terminal 31 and the second terminal 32 of RF switch 3 to conduct, and the mobile phone transmits and receives RF information through the first antenna 4.
[0329] Similarly, the specific content of step S2903 has been described in detail in step S2805, and will not be repeated here.
[0330] In step S2904, controller 1 obtains the signal quality of the first antenna 4 and the signal quality of the first interface 5 from the radio frequency chip 8.
[0331] Similarly, the specific content of step S2904 has been described in detail in step S1303, and will not be repeated here.
[0332] In step S2905, controller 1 determines whether the signal quality of the first antenna 4 is less than the signal quality of the first interface 5 and whether the signal quality difference is greater than or equal to the second threshold.
[0333] If the signal quality of the first antenna 4 is less than the signal quality of the first interface 5 and the signal quality difference is greater than or equal to the second threshold, it indicates that the signal quality of the second antenna 7 is twice that of the first antenna 4. In this case, the phone's first antenna 4 can be switched to the vehicle's second antenna 7 via the phone's RF switch 3, and the phone can transmit and receive RF signals through the vehicle's second antenna 7. Step S2907 is executed. If the signal quality of the first antenna 4 is greater than or equal to the signal quality of the first interface 5, or the signal quality difference is less than the second threshold, it indicates that the signal quality of the second antenna 7 is less than the signal quality of the first antenna 4, or the signal quality of the second antenna 7 is not twice that of the first antenna 4. In this case, it is not necessary to switch the phone's first antenna 4 to the vehicle's second antenna 7 via the phone's RF switch 3, and the phone can continue to transmit and receive RF signals through the first antenna 4. Step S2906 is executed.
[0334] In step S2906, controller 1 controls the first terminal 31 and the second terminal 32 of RF switch 3 to conduct, and the mobile phone transmits and receives RF information through the first antenna 4.
[0335] If the signal quality of the first antenna 4 is greater than or equal to the signal quality of the first interface 5, or if the signal quality difference is less than the second threshold, the controller 1 does not need to switch the phone's first antenna 4 to the vehicle's second antenna 7 via the phone's RF switch 3. The controller 1 controls the first terminal 31 and the second terminal 32 of the RF switch 3 to conduct, and the phone transmits and receives RF information through the first antenna 4. For example, if the signal quality of the first antenna 4 is -80dB and the signal quality of the first interface 5 is -79dB, the signal quality difference is 1dB, which is less than the second threshold of 3dB. Therefore, it is not necessary to switch the phone's first antenna 4 to the vehicle's second antenna 7 via the phone's RF switch 3. The controller 1 controls the first terminal 31 and the second terminal 32 of the RF switch 3 to conduct, and the phone transmits and receives RF information through the first antenna 4.
[0336] In step S2907, controller 1 controls the first terminal 31 and the third terminal 33 of RF switch 3 to conduct, and the mobile phone transmits and receives RF information through the vehicle-mounted second antenna 7.
[0337] When the signal quality of the first antenna 4 is less than the signal quality threshold and the signal quality difference of the first interface 5 is greater than or equal to the second threshold, the controller 1 can switch the first antenna 4 of the mobile phone to the vehicle-mounted second antenna 7 via the mobile phone's RF switch 3, and control the first terminal 31 and the third terminal 33 of the RF switch 3 to conduct, allowing the mobile phone to transmit and receive RF information through the vehicle-mounted second antenna 7. For example, if the signal quality of the first antenna 4 is -80dB and the signal quality of the first interface 5 is -77dB, the signal quality difference is 3dB, which is equal to the second threshold of 3dB. Therefore, the first antenna 4 of the mobile phone can be switched to the vehicle-mounted second antenna 7 via the mobile phone's RF switch 3, and the controller 1 controls the first terminal 31 and the third terminal 33 of the RF switch 3 to conduct, allowing the mobile phone to transmit and receive RF information through the vehicle-mounted second antenna 7.
[0338] The process described in steps S2901-S2907 above, where controller 1 obtains the signal quality of the first antenna 4 and the first interface 5 from the RF chip 8 based on interface connection information, and then controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of RF switch 3 to conduct based on the signal quality of the first antenna 4 and the first interface 5, involves obtaining user authorization information, then obtaining the signal quality of the first antenna 4 and the first interface 5 based on the interface connection information, and then judging the quality of the signal quality of the first antenna 4 and the first interface 5. Controller 1 then controls the first terminal 31 and the third terminal 33 (or the second terminal 32) of RF switch 3 to conduct based on the quality of the signal quality of the first antenna 4 and the first interface 5. Therefore, the RF circuit 22 of electronic device 101 can be connected to the second antenna 7 of target device 102, enabling communication through the second antenna 7 of target device 102 and improving communication quality.
[0339] The electronic device and system provided in this application embodiment include a controller, a radio frequency (RF) front-end, an RF switch, a first antenna, and a first interface. A first terminal of the RF switch is connected to a second terminal of the RF front-end, and the second terminal is connected to the first antenna. A target terminal is connected to a first target interface. The target device includes a second target interface and a target antenna, with the second target interface connected to the target antenna. The electronic device is connected to the second target interface of the target device via the first target interface. The controller acquires interface connection information indicating coupling or disconnection between the first and second target interfaces. Based on this interface connection information, the controller controls the first terminal of the RF switch to be connected to the second terminal, or the first terminal to be connected to the target terminal. This enables the RF circuitry of the electronic device to be connected to the target antenna of the target device, allowing communication to be performed using the target antenna of the target device, thereby improving communication quality.
[0340] It is understood that, in order to achieve the above functions, the electronic device includes hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0341] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0342] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.
[0343] This application also provides a computer program product that, when run on a computer, causes the computer to execute the relevant method steps described in the above method embodiments.
[0344] The electronic devices, computer storage media, or computer program products provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0345] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0346] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0347] The units described above as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0348] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The functions of the integrated unit can be implemented in hardware or as software functional units.
[0349] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the contributing parts, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0350] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An electronic device, characterized in that, The device includes a controller, a radio frequency (RF) front-end, an RF switch, a first antenna, and a first target interface. A first terminal of the controller is connected to a first terminal of the RF front-end, and a second terminal of the RF front-end is connected to a first terminal of the RF switch. A second terminal of the RF switch is connected to the first antenna, and a target terminal of the RF switch is connected to the first target interface. The electronic device is used to connect to a second target interface of a target device via the first target interface. The target device further includes a target antenna, and the second target interface is connected to the target antenna. The controller is used for: The electronic device acquires the signal quality of the first target interface or the level information of the second terminal of the detection circuit; wherein, when acquiring the level information of the second terminal of the detection circuit, the electronic device further includes a detection circuit and a first capacitor, the second terminal of the controller is connected to the first terminal of the detection circuit, the second terminal of the detection circuit is connected to the first capacitor and the first target interface; the target device further includes a first inductor, and the second target interface is also grounded through the first inductor; Based on the signal quality of the first target interface or the level information of the second terminal of the detection circuit, interface connection information is obtained; the interface connection information is used to indicate whether the first target interface is coupled or disconnected from the second target interface. Based on the interface connection information, control the first terminal of the radio frequency switch to be connected to the second terminal, or control the first terminal to be connected to the target terminal; The step of obtaining interface connection information based on the signal quality of the first target interface includes: When the signal quality of the first target interface is greater than a first threshold, the interface connection information indicates that the first target interface is coupled to the second target interface; when the signal quality of the first target interface is less than or equal to the first threshold, the interface connection information indicates that the first target interface is disconnected from the second target interface. The interface connection information is obtained based on the level information of the second terminal of the detection circuit, including: When the level at the second terminal of the detection circuit is low, the first target interface is coupled to the second target interface; when the level at the second terminal of the detection circuit is high, the first target interface is disconnected from the second target interface.
2. The electronic device according to claim 1, characterized in that, The controller is used for: When the first target interface is coupled to the second target interface, the first terminal of the radio frequency switch is controlled to be connected to the target terminal. When the first target interface and the second target interface are disconnected, the first terminal of the radio frequency switch is controlled to be turned on and the second terminal is turned on.
3. The electronic device according to claim 1, characterized in that, The electronic device further includes a radio frequency (RF) chip, a first terminal of which is connected to a first terminal of the RF front end; the controller is used for: When the first target interface is coupled to the second target interface, the signal quality of the first antenna and the signal quality of the first target interface are obtained from the radio frequency chip. Based on the signal quality of the first antenna and the signal quality of the first target interface, the first terminal of the radio frequency switch is controlled to be connected to the second terminal, or the first terminal is connected to the target terminal. When the first target interface and the second target interface are disconnected, the first terminal of the radio frequency switch is controlled to be turned on and the second terminal is turned on.
4. The electronic device according to claim 3, characterized in that, The controller is used for: When the signal quality of the first antenna is less than the signal quality of the first target interface and the signal quality difference is greater than or equal to the second threshold, the first terminal of the radio frequency switch is controlled to be turned on with the target terminal; the signal quality difference is used to characterize the difference between the signal quality of the first target interface and the signal quality of the first antenna; When the signal quality of the first antenna is greater than or equal to the signal quality of the first target interface, or when the signal quality of the first antenna is less than the signal quality of the first target interface and the signal quality difference is less than a second threshold, the first terminal of the radio frequency switch is controlled to be turned on and the second terminal is turned on.
5. The electronic device according to any one of claims 1-4, characterized in that, The target antenna includes a second antenna and a third antenna; If the signal quality of the third antenna is less than that of the second antenna, the target antenna is the second antenna. If the signal quality of the third antenna is greater than that of the second antenna, then the target antenna is the third antenna.
6. The electronic device according to claim 5, characterized in that, The target terminals of the radio frequency switch include a third terminal and a fourth terminal; When the target antenna is the second antenna, the target terminal of the radio frequency switch is the third terminal; When the target antenna is the third antenna, the target terminal of the radio frequency switch is the fourth terminal.
7. The electronic device according to any one of claims 1-4 and 6, characterized in that, The controller is a radio frequency chip or a processor.
8. A system, characterized in that, The system includes an electronic device and a target device as described in any one of claims 1-7, wherein the system is configured to control the radio frequency circuit of the electronic device to be connected to a first antenna of the electronic device, or to be connected to a target antenna of the target device, based on connection information between the electronic device and the target device; the connection information is used to indicate whether the electronic device is coupled or disconnected from the target device.
9. The system according to claim 8, characterized in that, The target device includes a vehicle or a signal receiver.
10. The system according to claim 9, characterized in that, When the target device is a vehicle, the electronic device is used to connect to a second target interface on the bracket of the target device through a first target interface of the electronic device; when the electronic device is mounted on the bracket of the target device, the first target interface is coupled to the second target interface.
11. The system according to claim 10, characterized in that, The first target interface corresponds one-to-one with the second target interface; the first target interface is a contact, probe or coil.
Citation Information
Patent Citations
Terminal, radio frequency front end and antenna detection method
CN113922833A
Antenna detection circuit, antenna switching circuit and electronic equipment
CN118858780A