Electronic equipment and system

By setting up radio frequency switches and interfaces in electronic devices, and controlling the radio frequency switch to be turned on or off by using the controller to realize the antenna conduction between the electronic device and the target device, solving the problem of excessive antenna space and signal crosstalk, and improving communication quality.

CN120263218AActive Publication Date: 2025-07-04HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510727805.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-07-04
Estimated Expiration
2045-06-03

AI Technical Summary

Technical Problem

With the development of intelligent networking technology and wireless communication technology, frequent communication between electronic devices such as mobile phones and external devices has led to an increase in the number of antennas and an excessive space occupancy, causing signal crosstalk and heat dissipation problems, and reducing antenna performance.

Method used

By setting up a radio frequency switch, a radio frequency front end, a first antenna and a target interface in the electronic device, the controller obtains interface connection information, and controls the radio frequency switch to be turned on or off, so as to enable the radio frequency circuit of the electronic device to conduct the antenna of the target device and improve communication quality.

Benefits of technology

It effectively solves the problems of excessive antenna space and signal crosstalk, and improves communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263218A_ABST
    Figure CN120263218A_ABST
Patent Text Reader

Abstract

The invention discloses electronic equipment and a system, relates to the field of radio frequency, and aims at conducting a radio frequency circuit of the electronic equipment with antennas of other equipment and improving the communication quality by using the antennas of the other equipment for communication. The electronic equipment comprises a controller, a radio frequency front end, a radio frequency switch, a first antenna and a first target interface, the first end of the controller is connected with the first end of the radio frequency front end, and the second end of the radio frequency front end is connected with the first end of the radio frequency switch; the second end of the radio frequency switch is connected with the first antenna, and the target end of the radio frequency switch is connected with the first target interface; the electronic device is used for being connected with a second target interface of a target device through a first target interface, the target device further comprises a target antenna, and the second target interface is connected with the target antenna. The controller is used for obtaining interface connection information; and based on the interface connection information, the first end and the second end of the radio frequency switch are controlled to be conducted, or the first end and the target end are controlled to be conducted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of radio frequency, and particularly to an electronic device and a system. Background Art

[0002] Currently, with the development of intelligent networking technology and wireless communication technology, the communication between electronic devices such as mobile phones and external devices has become increasingly frequent. The supported radio frequency bands are increasing, and the number of antennas will also increase accordingly. In this way, the space occupied by the antennas in the electronic device will exceed 30%, causing signal crosstalk or heat dissipation problems, thereby reducing the performance of the antennas. Summary of the Invention

[0003] Embodiments of this application provide an electronic device and a system, which can conduct the radio frequency circuit of the electronic device with the antenna of other devices, and improve the communication quality by using the antenna of other devices for communication.

[0004] To achieve the purpose, the embodiments of this application adopt the following technical solutions: In a first aspect, an electronic device is provided, including a controller, a radio frequency front end, a radio frequency switch, a first antenna, and a first target interface; a first end of the controller is connected to a first end of the radio frequency front end, and a second end of the radio frequency front end is connected to a first end of the radio frequency switch; a second end of the radio frequency switch is connected to the first antenna, and a target end of the radio frequency switch is connected to the first target interface; the electronic device is configured to connect to a second target interface of a target device through the first target interface, and the target device further includes a target antenna, and the second target interface is connected to the target antenna; the controller is configured to: obtain interface connection information; the interface connection information is used to indicate that the first target interface is coupled or disconnected from the second target interface; based on the interface connection information, control the first end and the second end of the radio frequency switch to conduct, or the first end and the target end to conduct.

[0005] In the above electronic device, a radio frequency switch, a radio frequency front end, a first antenna, and a first target interface are provided at the electronic device end. The first end of the radio frequency switch is connected to the second end of the radio frequency front end, the second end is connected to the first antenna, and the target end is connected to the first target interface. The electronic device is configured to connect to a second target interface of a target device through the first target interface, and the second target interface is connected to the target antenna of the target device. The electronic device obtains interface connection information for indicating that the first target interface is coupled or disconnected from the second target interface, and based on the interface connection information, controls the first end and the second end of the radio frequency switch to conduct, or the first end and the third end to conduct. The electronic device can conduct the radio frequency circuit including the radio frequency front end and the radio frequency switch in the electronic device with the target antenna of the target device, and improve the communication quality by using the target antenna of the target device for communication.

[0006] In an implementable manner of the first aspect, the controller is configured to: when the first target interface is coupled to the second target interface, control the first end and the second end of the RF switch to conduct; when the first target interface is disconnected from the second target interface, control the first end and the target end of the RF switch to conduct.

[0007] In this implementation manner, the conduction of the first end and the second end of the RF switch, or the first end and the target end, can be directly controlled through the interface connection information. When the first target interface is coupled to the second target interface, control the first end and the target end of the RF switch to conduct; when the first target interface is disconnected from the second target interface, control the first end and the second end of the RF switch to conduct. In this way, based on the interface connection information between the first target interface and the second target interface, the RF circuit of the electronic device can be connected to the target antenna of the target device, and communication can be carried out by using the target antenna of the target device, improving the communication quality.

[0008] In an implementable manner of the first aspect, the electronic device further includes an RF chip, and the first end of the RF chip is connected to the 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 and the second end of the RF switch to conduct, or the first end and the target end to conduct; when the first target interface is disconnected from the second target interface, control the first end and the second end of the RF switch to conduct.

[0009] In this implementation manner, since when the first target interface is coupled to the second target interface, before controlling the RF switch to switch, the signal quality of the first antenna and the signal quality of the first target interface can be obtained, and then based on the signal quality of the first antenna and the signal quality of the first target interface, the first end and the second end of the RF switch are controlled to conduct, or the first end and the target end to conduct. When the first target interface is disconnected from the second target interface, control the first end and the second end of the RF switch to conduct. In this way, based on the interface connection information between the first target interface and the second target interface, and also based on the signal quality of the first antenna and the signal quality of the first target interface, the RF circuit of the electronic device can be connected to the target antenna of the target device, and communication can be carried out by using the target antenna of the target device, improving the communication quality.

[0010] In an implementable manner of the first aspect, the controller is configured to: 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 first threshold, control the first end and the target end of the RF switch to conduct; the signal quality difference is used to represent 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 the first threshold, control the first end and the second end of the RF switch to conduct.

[0011] In this implementable manner, 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 can be judged to be better or worse, so as to control the first end and the second end of the RF switch to conduct, or the first end and the target end to conduct. That is, when the signal quality of the first target interface is better than the signal quality of the first antenna (that is, 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 first threshold), control the first end and the target end of the RF switch to conduct, and the electronic device receives and transmits RF signals through the target antenna to improve the communication quality. When the signal quality of the first target interface is worse than the signal quality of the first antenna (that is, 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 first threshold), control the first end and the second end of the RF switch to conduct, and the electronic device receives and transmits RF signals through the first antenna to improve the communication quality.

[0012] In an implementable manner of the first aspect, the target antenna includes a second antenna and a third antenna; when the signal quality of the third antenna is less than the signal quality of the second antenna, the target antenna is the second antenna; when the signal quality of the third antenna is greater than the signal quality of the second antenna, the target antenna is the third antenna.

[0013] In this implementable manner, the target device includes multiple target antennas, namely the second antenna and the third antenna. First, judge the signal quality of the two target antennas to determine the target antenna with good signal quality, so as to select the target antenna with good signal quality to switch with the first antenna of the electronic device. Specifically, when the signal quality of the third antenna is less than the signal quality of the second antenna, the target antenna is the second antenna, and the second target interface is connected to the second antenna; when the signal quality of the third antenna is greater than the signal quality of the second antenna, the target antenna is the third antenna, and the second target interface is connected to the third antenna. In this way, the RF circuit of the electronic device can be conducted to the target antenna with good signal quality in the target device through the switching of the RF switch, or the RF circuit of the electronic device can be conducted to the first antenna through the switching of the RF switch, so as to improve the communication quality.

[0014] In an implementable manner of the first aspect, the target end of the RF switch includes a third end and a fourth end; when the target antenna is the second antenna, the target end of the RF switch is the third end; when the target antenna is the third antenna, the target end of the RF switch is the fourth end.

[0015] In this implementable manner, when the target device includes multiple target antennas, that is, the second antenna and the third antenna, the target ports of the RF switch can also be increased to correspond to the number of target antennas. For the case where two target ports correspond to two antennas, that is, the third end corresponds to the second antenna and the fourth end corresponds to the third antenna. In this way, after determining the target antenna with good signal quality, by switching the corresponding target end of the RF switch, the RF circuit of the electronic device can be conducted to the target antenna with good signal quality in the target device, or, by switching the second end of the RF switch, the RF circuit of the electronic device can be conducted to the first antenna, thereby improving the communication quality.

[0016] In an implementable manner of the first aspect, the electronic device further includes a detection circuit and a first capacitor; the second end of the controller is connected to the first end of the detection circuit; the second end 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 also grounded through the first inductor; the detection circuit is configured to obtain the level information of the second end of the detection circuit. When the level of the second end of the detection circuit is low, the first target interface is coupled to the second target interface. When the level of the second end of the detection circuit is high, the first target interface is disconnected from the second target interface.

[0017] In this implementable manner, since when the first target interface is coupled to the second target interface, the second end of the detection circuit is grounded through the first inductor and is at a low level. When the first target interface is disconnected from the second target interface, the second end of the detection circuit is floatingly grounded through the first capacitor and is at a high level. Therefore, the interface connection information can be obtained through the level information of the second end of the detection circuit. This detection method can perform automatic detection according to the level information of the second end of the detection circuit without manual configuration by the user, thereby improving the detection efficiency.

[0018] In an implementable manner of the first aspect, the controller is configured to: obtain the signal quality of the first target interface; when the signal quality of the first target interface is greater than a second threshold, the interface connection information is 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 second threshold, the interface connection information is that the first target interface is disconnected from the second target interface.

[0019] In this implementation method, when the first target interface is coupled with the second target interface, the first target interface is connected to the target antenna, and the target antenna can normally transmit and receive radio frequency signals. Thus, the signal quality of the target antenna can be obtained at the first target interface, and the signal quality of the first target interface is relatively good. When the first target interface is disconnected from the second target interface, the first target interface is disconnected from the target antenna, and the target antenna cannot normally transmit and receive radio frequency signals. As a result, the signal quality of the target antenna cannot be obtained at the first target interface, and the signal quality of the first target interface is relatively poor. Therefore, the interface connection information can be obtained by comparing the signal quality that can be obtained through the first target interface with a second threshold. This detection method does not require additional detection circuits, reducing the hardware cost.

[0020] In one implementable manner of the first aspect, the controller is a radio frequency chip or a processor.

[0021] In this implementation method, the controller is a radio frequency chip or a processor. When the controller is a radio frequency chip, the radio frequency chip is not only used to generate, transmit, and receive radio frequency signals, but also used to control the conduction between the first end and the second end (or the third end) of the radio frequency switch. In this way, control can be directly performed at the radio frequency end. When the controller is a processor, the first end of the processor is connected to the first end of the radio frequency chip. The radio frequency chip is used to generate, transmit, and receive radio frequency signals, and the processor is used to control the conduction between the first end and the second end (or the third end) of the radio frequency switch. In this way, the radio frequency end can be controlled through the processor.

[0022] In a second aspect, a system is provided, including an electronic device and a target device as in the first aspect and any of its implementation manners. The system controls the radio frequency circuit of the electronic device to conduct with the first antenna of the electronic device, or to conduct with the target antenna of the target device, based on the connection information between the electronic device and the target device; the connection information is used to indicate the coupling or disconnection between the electronic device and the target device.

[0023] For the above system, based on the connection information used to indicate the coupling or disconnection between the electronic device and the target device, the radio frequency circuit of the electronic device is controlled to conduct with the first antenna of the electronic device, or to conduct with the target antenna of the target device. It can conduct the radio frequency circuit of the electronic device with the target antenna of the target device, and communicate through the target antenna of the target device, improving the communication quality.

[0024] In one implementable manner of the second aspect, the target device includes a vehicle or a signal receiver.

[0025] In this implementation method, the application scenario can be better defined according to the types of the vehicle or signal receiver included in the target device.

[0026] In an implementable manner 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 through a first target interface of the electronic device; when the electronic device is installed on the bracket of the target device, the first target interface is coupled with the second target interface.

[0027] In this implementation manner, 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 of the first target interface and the second target interface can be realized, and the coupling of the first target interface and the second target interface can be better triggered.

[0028] In an implementable manner of the second aspect, the first target interfaces and the second target interfaces are in one-to-one correspondence, and the first target interface is a contact, a probe or a coil.

[0029] In this implementation manner, the first target interfaces and the second target interfaces are in one-to-one correspondence. By setting the form of the first target interface, the coupling of the first target interface and the second target interface can be better triggered.

[0030] For the technical effects brought by the design manner of the second aspect, reference can be made to the technical effects brought by different design manners in the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 FIG. is a schematic diagram of a possible hardware structure of an electronic device provided by an embodiment of the present application; Figure 2 FIG. is a schematic diagram of a dual-mode mobile phone provided by the related art; Figure 3 FIG. is a schematic diagram of a system provided by an embodiment of the present application; Figure 4 FIG. is a schematic diagram of an electronic device provided by an embodiment of the present application; Figure 5 FIG. is a schematic diagram of an electronic device when the controller is a radio frequency chip provided by an embodiment of the present application; Figure 6 FIG. is a schematic diagram of an electronic device when the controller is a processor provided by an embodiment of the present application; Figure 7 FIG. is a schematic diagram of an electronic device including a detection circuit provided by an embodiment of the present application; Figure 8 FIG. is a schematic diagram of an electronic device including a detection circuit when the controller is a radio frequency chip provided by an embodiment of the present application; Figure 9 FIG. is a schematic structural diagram of an electronic device including a detection circuit when the controller is a processor provided by an embodiment of the present application; Figure 10 Flowchart of obtaining interface connection information through a detection circuit provided by an embodiment of the present application; Figure 11 Flowchart of obtaining interface connection information through a first target interface provided by an embodiment of the present application; Figure 12 Flowchart of a controller controlling a radio frequency switch based on interface connection information provided by an embodiment of the present application; Figure 13 Flowchart of a controller controlling a radio frequency switch based on interface connection information and signal quality provided by an embodiment of the present application; Figure 14 Schematic diagram of an electronic device with two external antennas corresponding to a pair of interfaces provided by an embodiment of the present application; Figure 15 Schematic diagram of an electronic device with two external antennas corresponding to a pair of interfaces and including a detection circuit provided by an embodiment of the present application; Figure 16 Flowchart of a controller controlling a radio frequency switch based on interface connection information when two external antennas correspond to a pair of interfaces provided by an embodiment of the present application; Figure 17 Flowchart of a controller controlling a radio frequency switch based on interface connection information and signal quality when two external antennas correspond to a pair of interfaces provided by an embodiment of the present application; Figure 18 Schematic diagram of an electronic device with one external antenna corresponding to a pair of interfaces provided by an embodiment of the present application; Figure 19 Schematic diagram of an electronic device with one external antenna corresponding to a pair of interfaces and including a detection circuit provided by an embodiment of the present application; Figure 20 Schematic diagram of another electronic device with one external antenna corresponding to a pair of interfaces and including a detection circuit provided by an embodiment of the present application; Figure 21 Flowchart of a controller controlling a radio frequency switch based on interface connection information when one external antenna corresponds to a pair of interfaces provided by an embodiment of the present application; Figure 22 Flowchart of a controller controlling a radio frequency switch based on connection information and signal quality when one external antenna corresponds to a pair of interfaces provided by an embodiment of the present application; Figure 23 Schematic diagram of a system of a dual - mode mobile phone integrating a vehicle antenna provided by an embodiment of the present application; Figure 24 Schematic diagram of vehicle - to - everything in related technologies; Figure 25Schematic diagram of a system for connecting a mobile phone to all things provided by an embodiment of the present application; Figure 26 Schematic diagram of a system provided by an embodiment of the present application, where 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; Figure 27 Schematic diagram of a system provided by an embodiment of the present application, where the electronic device is a mobile phone, the target device is a vehicle, and the first interface and the second interface are coils; Figure 28 Flowchart of a user - authorized controller controlling a radio frequency switch based on interface connection information provided by an embodiment of the present application; Figure 29 Flowchart of a user - authorized controller controlling a radio frequency switch based on interface connection information and signal quality provided by an embodiment of the present application. Detailed implementation manners

[0032] The technical solution in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. And, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items 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, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. It can be understood by those skilled in the art that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the difference. At the same time, in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way for easy understanding. The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense, for example, it can refer to a physical direct connection, or it can refer to an indirect connection achieved by an electronic device, such as a connection achieved by a resistor, an inductor, a capacitor or other electronic devices.

[0033] Antennas are core components of wireless communications, converting electrical signals into electromagnetic waves for transmission or reception.

[0034] Vehicle-to-everything (V2X) is the core communication technology of the intelligent transportation system. It improves road safety, traffic efficiency and autonomous driving capabilities through real-time data interaction between vehicles and their surroundings (other vehicles, infrastructure, pedestrians, and networks).

[0035] A dual-mode mobile phone refers to a mobile terminal that supports two different communication modes or network standards. Dual-mode types are divided into dual-SIM dual-standby, full network dual-mode, 5G dual-mode, satellite + cellular dual-mode and wifi + cellular dual-mode.

[0036] The 3rd Generation Partnership Project (3GPP) is the world's most important organization for formulating mobile communication standards, responsible for formulating technical specifications from 3G to 5G and future 6G. Its standards directly affect the entire communication industry chain, including mobile phones, base stations, chips, etc.

[0037] An embodiment of this application provides an electronic device, which is an electronic device with radio frequency function. The electronic device can be mobile or fixed. The electronic device can be deployed on land (such as indoors or outdoors, handheld or vehicle-mounted, etc.), on water (such as ships, etc.), or in the air (such as airplanes, balloons, and satellites, etc.). This electronic device can be referred to as user equipment (UE), access terminal, terminal unit, subscriber unit, terminal station, mobile station (MS), mobile platform, terminal agent, or terminal device, etc. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, smart bracelet, smart screen, smart watch, virtual reality (VR) device, augmented reality (AR) device, terminal in industrial control, terminal in self-driving, terminal in remote medical, terminal in smart grid, terminal in transportation safety, terminal in smart city, terminal in smart home, etc. The specific type and structure of the electronic device in the embodiment of this application are not limited. A possible structure of the electronic device will be described below.

[0038] Taking the electronic device as a mobile phone as an example, Figure 1A possible structure of the electronic device 101 is shown. The 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, 261, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone interface 270D, a sensor module 280, keys 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, an audio digital signal processor (ADSP) 243 is further included.

[0039] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 101. In other embodiments of the present application, the electronic device 101 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0040] The processor 210 may include one or more processing units. For example, the processor 210 may be 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. Among them, different processing units may be independent devices or integrated in one or more processors. For example, the processor 210 may be an application processor AP. Or, the processor 210 may be integrated in a system on chip (SoC). Or, the processor 210 may be integrated in an integrated circuit (IC) chip. The processor 210 may include an analog front end (AFE) and a microcontroller unit (MCU) in the IC chip.

[0041] A memory may also be provided in the processor 210 for storing computer instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can save the computer instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to use the computer instructions or data again, it can directly call them from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0042] In some embodiments, the processor 210 may include one or more interfaces. The 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.

[0043] 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 various exemplary logic blocks, modules, and circuits described in connection with the present disclosure. The above processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.

[0044] The ADSP 243 may be coupled to the audio module 270 and the sensor module 280. The ADSP 243 may be used to process audio signals and may also process sensor data. When the processor 210 is in a sleep state, the ADSP 243 may still remain operational, thereby reducing the power consumption of the electronic device 101.

[0045] It can be understood that the interface connection relationships illustrated among the modules in the embodiments of the present application are only illustrative and do not constitute a structural limitation on the electronic device 101. In other embodiments of the present application, the electronic device 101 may also adopt different interface connection methods in the embodiments, or a combination of multiple interface connection methods.

[0046] The external memory interface 220 can be used to connect to an external memory card to expand the storage capacity of the electronic device 101. The external memory card communicates with the processor 210 through the external memory interface 220 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.

[0047] The internal memory 221 can be used to store computer-executable program code, and the executable program code includes computer instructions. The processor 210 executes various functional applications and data processing of the electronic device 101 by running the computer instructions stored in the internal memory 221. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0048] In the embodiment of the present application, when the computer instructions are executed by the processor 210, the electronic device 101 executes the antenna tuning method in the embodiment of the present application.

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

[0050] The wireless communication function of the electronic device 101 can be implemented through the antenna 251, the antenna 261, the mobile communication module 250, the wireless communication module 260, the modulation and demodulation processor, etc.

[0051] The mobile communication module 250 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 101. The wireless communication module 260 can provide solutions for wireless communications applied to the electronic device 101, 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), infrared technology (IR), etc.

[0052] In the embodiment of this application, the first antenna 4 of the electronic device 101 can be the antenna 251 or the antenna 261.

[0053] In the related art, currently, with the development of intelligent networking technology and wireless communication technology, the communication between electronic devices 101 such as mobile phones and external devices has become increasingly frequent, and the supported radio frequency bands are increasing. Exemplarily, as shown in the appendix Figure 2 The electronic device is a mobile phone supporting dual-mode cellular + satellite. In the cellular communication mode, based on the 3GPP standard protocol, cellular communication is achieved through the base station and the cellular core network; in the satellite communication mode, based on the satellite private protocol, satellite communication is achieved through the satellite, the gateway station, the satellite core network, the interworking gateway, and the cellular core network. In this way, the number of antennas will also increase correspondingly, which will cause the antennas to occupy more than 30% of the space of the electronic device, leading to signal crosstalk or heat dissipation problems, thereby reducing the performance of the antennas.

[0054] To this end, an embodiment of the present 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 front end, a radio frequency switch, a first antenna, and a first interface. A first end of the radio frequency switch is connected to a second end of the radio frequency front end, a second end is connected to the first antenna, and a target end is connected to a first target interface. The target device includes a second target interface and a target antenna, and the second target interface is 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 controls the first end and the second end of the radio frequency switch to conduct, or the first end and the target end to conduct, based on interface connection information for indicating coupling or disconnection between the first target interface and the second target interface. The electronic device can conduct the radio frequency circuit of the electronic device to the target antenna of the target device, and communicate through the target antenna of the target device, thereby improving communication quality.

[0055] In the system provided by the embodiment of the present application, the electronic device in the system may be the electronic device 101 as shown in the appendix Figure 1 The first antenna in the electronic device may be the first antenna 4 in the electronic device 101 as shown in the appendix Figure 1 Taking the system including the electronic device 101 and the target device as an example, the system of the present application will be specifically described.

[0056] Exemplarily, as shown in the appendix Figure 3 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 conduct to the first antenna 4 of the electronic device 101, or to the target antenna 70 of the target device 102. The connection information is used to indicate coupling or disconnection between the electronic device 101 and the target device 102.

[0057] As shown in the appendix Figure 3 The working principle of the system 100 in the embodiment of the present application is as follows: When the electronic device 101 is coupled to the target device 102, the target antenna 70 of the electronic device 101 and the target device 102 is in a connected state. Therefore, the system 100 can control the radio frequency circuit 22 to conduct with the target antenna 70 of the target device 102, so that the electronic device 101 can receive and transmit radio frequency signals through the target antenna 70 of the target device 102. When the electronic device 101 is disconnected from the target device 102, the target antenna 70 of the electronic device 101 and the target device 102 is in a disconnected state. The system 100 can only receive and transmit radio frequency signals through the first antenna 4 of the electronic device 101. Therefore, the system 100 can control the radio frequency circuit 22 to conduct with the first antenna 4, so that the system 100 can receive and transmit radio frequency signals through the first antenna 4. That is to say, the system 100 can control the radio frequency circuit 22 to conduct with the target antenna 70 of the target device 102 based on the connection information of the coupling between the electronic device 101 and the target device 102. Therefore, the system 100 can conduct the radio frequency circuit 22 of the electronic device 101 with the target antenna 70 of the target device 102, and communicate through the target antenna 70 of the target device 102 to improve the communication quality.

[0058] Since the system 100 includes the electronic device 101 and the target device 102, in the embodiments of the present application, first, the electronic device 101 is introduced. Therefore, the embodiments of the present application also provide an electronic device 101. In the following embodiments of the present application, taking the electronic device 101 including the first antenna 4 as an example, the electronic device 101 of the present application is specifically described.

[0059] Exemplarily, as shown in the attached Figure 4 figure, the electronic device 101 includes a controller 1, a radio frequency front end 2, a radio frequency switch 3, a first antenna 4, and a first target interface 50. The first end of the controller 1 is connected to the first end of the radio frequency front end 2. The second end of the radio frequency front end 2 is connected to the first end 31 of the radio frequency switch 3. The second end 32 of the radio frequency switch 3 is connected to the first antenna 4. The target end 30 of the radio frequency switch 3 is connected to the first target interface 50. The electronic device 101 is used to be coupled to the second target interface 60 of the target device 102 through the first target interface 50. The target device 102 further includes a target antenna 70, and the second target interface 60 is connected to the target antenna 70.

[0060] The controller 1 is used to: obtain interface connection information; the interface connection information is used to indicate that the first target interface 50 is coupled or disconnected from the second target interface 60. Based on the interface connection information, control the first end 31 of the radio frequency switch 3 to conduct with the target end 30, or the first end 31 to conduct with the second end 32 (which can be abbreviated as controlling the first end 31 of the radio frequency switch 3 to conduct with the target end 30 (or the second end 32)).

[0061] In the embodiments of the present application, the type of the electronic device 101 has been described above as shown in the attached Figure 1A detailed introduction to the possible hardware structure of the electronic device 101 in [reference] has been provided and will not be elaborated here.

[0062] In a 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 embodiments of the present application do not limit the type of the first target interface 50.

[0063] In the embodiments of the present application, the first target interface 50 and the second target interface 60 are in one-to-one correspondence. For example, when the first target interface 50 is a spring pin or a pogo pin, 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 pogo pin. When the first target interface 50 is a coil, the second target interface 60 is a coil.

[0064] In a possible implementation, the impedance of the first target interface 50 when it is a spring pin, a pogo pin, or a contact, and the impedance of the second target interface 60 can be the same or different. The embodiments of the present application do not limit the magnitudes of their impedances.

[0065] In a possible implementation, the impedance of the first target interface 50 when it is a spring pin, a pogo pin, or a contact can be 50Ω or 40Ω. The embodiments of the present application do not limit the magnitude of the impedance of the first target interface 50 when it is a spring pin, a pogo pin, or a contact.

[0066] Correspondingly, in a possible implementation, the impedance of the second target interface 60 when it is a spring pin, a pogo pin, or a contact can be 50Ω or 40Ω. The embodiments of the present application do not limit the magnitude of the impedance of the second target interface 60 when it is a spring pin, a pogo pin, or a contact.

[0067] In the embodiments of the present application, when the first target interface 50 is a spring pin, a pogo pin, or a contact, its impedance is 50Ω, and the impedance of the second target interface 60 is also 50Ω.

[0068] In a possible implementation, the antenna of the electronic device 101 can be one or more, and the first antenna 4 is one of the antennas of the electronic device 101. In the embodiments of the present application, the electronic device 101 is in a dual-mode.

[0069] In a possible implementation, the first antenna 4 can be a Bluetooth antenna, a Wifi antenna, or a satellite antenna. The embodiments of the present application do not limit the type of the first antenna 4.

[0070] In a possible implementation, the target antenna 70 can be a Bluetooth antenna, a Wifi antenna, or a satellite antenna. The embodiments of the present application do not limit the type of the target antenna 70.

[0071] In a possible implementation, the dual-mode can be satellite + cellular dual-mode, or wifi + cellular dual-mode, or 5G dual-mode. In the embodiments of the present application, the electronic device 101 is in the satellite + cellular dual-mode, and the first antenna 4 is one of the satellite antenna and the cellular antenna of the electronic device 101.

[0072] In a possible implementation, the first antenna 4 can be a patch antenna, or a dipole antenna or a chip antenna, etc. The embodiments of the present application do not limit the type of the first antenna 4.

[0073] In a possible implementation, the target antenna 70 can be a patch antenna, or a dipole antenna or a chip antenna, etc. The embodiments of the present application do not limit the type of the target antenna 70.

[0074] In a possible implementation, the structure of the first antenna 4 can be a flexible printed circuit (FPC) structure, or a rigid printed circuit (methylene dianiline, MDA) structure. The embodiments of the present application do not limit the type of the first antenna 4.

[0075] In a possible implementation, the structure of the target antenna 70 can be a flexible printed circuit (FPC) structure, or a rigid printed circuit (methylene dianiline, MDA) structure. The embodiments of the present application do not limit the type of the target antenna 70.

[0076] In a possible implementation, the materials, types, etc. of the first antenna 4 and the target antenna 70 can be the same or different. The embodiments of the present application do not limit the materials, types, etc. of the first antenna 4 and the target antenna 70.

[0077] In the embodiments of the present application, the layouts and areas of the first antenna 4 and the target antenna 70 are different, and the available space of the target antenna 70 is greater 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 end 31 of the radio frequency switch 3 to conduct with the target end 30 (or the second end 32), it is to make the first antenna 4 or the target antenna 70 operate in the specific frequency band. Therefore, generally, the materials, types, 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 the specific frequency band.

[0078] In a possible implementation, the radio frequency switch 3 can be a single-pole double-throw switch, or a relay switch, or a single-pole multi-throw switch. The embodiments of the present application do not limit the type of the radio frequency switch 3.

[0079] As shown in the appendix Figure 4 The working principle of the electronic device 101 in the embodiment of the present application shown in the appendix is as follows: When the electronic device 101 is coupled to the target device 102, the first target interface 50 is coupled to the second target interface 60, and the target antennas 70 of the electronic device 101 and the target device 102 are in a connected state. Therefore, the controller 1 can control the first end 31 of the RF switch 3 to conduct with the target end 30, enabling the electronic device 101 to transmit and receive RF signals through the target antenna 70 of the target device 102. When the electronic device 101 is disconnected from the target device 102, the first target interface 50 is disconnected from the second target interface 60, and the target antennas 70 of the electronic device 101 and the target device 102 are in a disconnected state. Therefore, the controller 1 can control the first end 31 of the RF switch 3 to conduct with the second end 32, enabling the electronic device 101 to transmit and receive RF signals through the first antenna 4. That is to say, the controller 1 can control the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32) based on the coupling or disconnection of the first target interface 50 and the second target interface 60. Therefore, the RF circuit 22 of the electronic device 101 can be conducted with the target antenna 70 of the target device 102, and communication quality can be improved by using the target antenna 70 of the target device 102 for communication.

[0080] In the embodiment of the present application, the electronic device 101 further includes an RF chip, and the first end of the RF chip is connected to the first end of the RF front-end 2.

[0081] In a possible implementation, the controller 1 can be an RF chip or a processor 210 in the electronic device 101. The embodiment of the present application does not limit the type of the controller 1.

[0082] Exemplarily, as shown in the appendix Figure 5 As shown, the controller 1 is an RF chip 8, and the RF circuit 22 includes the RF chip 8, the RF front-end 2, and the RF switch 3. The first end of the RF chip 8 is connected to the first end of the RF front-end 2. The RF chip 8 is used to control the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32), and is also used to generate, transmit, and receive RF signals.

[0083] Exemplarily, as shown in the appendix Figure 6 As shown, the controller 1 is the processor 210. The RF circuit 22 includes the RF chip 8, the RF front-end 2, and the RF switch 3. The first end of the processor 210 is connected to the first end of the RF chip 8. The second end of the RF chip 8 is connected to the first end of the RF front-end 2. The RF chip 8 is only used to generate, transmit, and receive RF signals. The processor 210 is used to control the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32).

[0084] In an embodiment of the present application, the processor 210 may be integrated in a system on chip (SoC). In a possible implementation, the processor 210 may be an application processor, a baseband processor, or an ADSP. The embodiment of the present application does not limit the type of the processor 210.

[0085] In a possible implementation, the controller 1 obtains interface connection information. It can be obtained through a detection circuit or through the first target interface 50. The embodiment of the present application does not limit the manner of obtaining the interface connection information.

[0086] In the following embodiments of the present application, taking the manner of obtaining interface connection information including obtaining through a detection circuit and obtaining through the first target interface 50 as an example, the electronic device 101 of the present application will be specifically described.

[0087] First, the controller 1 can obtain interface connection information through a detection circuit. Exemplarily, as shown in the appendix Figure 7 As shown, the electronic device 101 further includes a detection circuit 9 and a first capacitor 10. The second end of the controller 1 is connected to the first end of the detection circuit 9. The target end 30 of the radio frequency switch 3 is connected to the first target interface 50 through the first capacitor 10. The second end of the detection circuit 9 is connected to the first capacitor 10 and the first target interface 50. The target device 102 further includes a first inductor 11, and the second target interface 60 is also grounded through the first inductor 11.

[0088] Among them, the first capacitor 10 is used to isolate DC signals. The first inductor 11 is used to ground the detection circuit 9 through the first inductor 11 when the first target interface 50 is coupled to the second target interface 60. Similarly, the radio frequency circuit 22 includes a radio frequency front end 2 and a radio frequency switch 3.

[0089] Exemplarily, as shown in the appendix Figure 7 As shown, in a possible implementation manner, the detection circuit 9 may be a second inductor 12. When the detection circuit 9 is the second inductor 12, the general-purpose input / output (GPIO) interface of the controller 1 can be combined to detect the level state of the second end of the second inductor 12 and output a high level or a low level. At this time, 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 end of the second inductor 12 is connected to the GPIO interface of the controller 1, the second end of the second inductor 12 is connected to the first capacitor 10 and the first target interface 50, and the GPIO interface detects the level state of the second end of the second inductor 12 through the second inductor 12 and outputs a high level or a low level. Exemplarily, as shown in the appendix Figure 7As shown, in a possible implementation manner, the second target interface 60 may also be connected to the target antenna 70 via a second capacitor 13 for isolating a DC signal.

[0090] In a possible implementation, the impedances of the first capacitor 10 and the second capacitor 13 may be the same or different, and the embodiment of the present application does not limit the impedances of the first capacitor 10 and the second capacitor 13. In the embodiment of the present application, the impedances of the first capacitor 10 and the second capacitor 13 are in the pF level, for example, the impedances of the first capacitor 10 and the second capacitor 13 are both 33 pF.

[0091] In a possible implementation, the impedances of the first inductor 11 and the second inductor 12 may be the same or different, and the embodiment of the present application does not limit the impedances of the first inductor 11 and the second inductor 12. In the embodiment of the present application, the impedances of the first inductor 11 and the second inductor 12 are in the nH level, for example, the impedances of the first inductor 11 and the second inductor 12 are both 100 nH.

[0092] Similarly, the controller 1 may be a radio frequency chip 8 or a processor 210. In the case where the controller 1 is a radio frequency chip 8, for example, as shown in the attached 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 not only used to control the first end 31 of the RF switch 3 to be connected to the target end 30 (or the second end 32), but also used to generate, transmit and receive RF signals. Among them, the RF circuit 22 includes the RF chip 8, the RF front end 2 and the RF switch 3.

[0093] In the case where the controller 1 is a processor 210, for example, as shown in the attached Figure 9 As shown, the first end of the processor 210 is connected to the first end of the RF chip 8, and the second end of the processor 210 is connected to the first end of the detection circuit 9. The second end of the RF chip 8 is connected to the first end of the RF front end 2, and the RF chip 8 is only used to generate, transmit and receive RF signals. The processor 210 is used to control the first end 31 of the RF switch 3 to be connected to the target end 30 (or the second end 32). Among them, the RF circuit 22 includes the RF chip 8, the RF front end 2 and the RF switch 3.

[0094] In the embodiments of the present application, for example, as shown in the attached Figure 10 As shown, the process of the controller 1 acquiring the interface connection information through the detection circuit 9 may include steps S1001-S1003: Step S1001 : the controller 1 obtains level information of the second end of the detection circuit 9 .

[0095] As attached Figure 7 -Attached Figure 9For the electronic device 101 shown, it can be seen that the controller 1 obtains the interface connection information by detecting the level information at the second end of the detection circuit 9. Therefore, the first step is to obtain the level information at the second end of the detection circuit 9, so as to perform the subsequent steps S1002 and S1003.

[0096] Step S1002, when the level at the second end of the detection circuit 9 is low, the controller 1 obtains the interface connection information as coupled.

[0097] When the level at the second end of the detection circuit 9 is low, it indicates that the second end 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.

[0098] Step S1003, when the level at the second end of the detection circuit 9 is high, the controller 1 obtains the interface connection information as disconnected.

[0099] Among them, when the level at the second end of the detection circuit 9 is high, it indicates that the second end 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.

[0100] The process of the controller 1 obtaining the interface connection information through the detection circuit 9 described in the above steps S1001 - S1003 is that the controller 1 obtains the interface connection information by obtaining the level information at the second end of the detection circuit 9. That is to say, when the level at the second end of the detection circuit 9 is low, the second end of the detection circuit 9 is grounded through the first inductor 11. At this time, the first target interface 50 and the second target interface 60 are coupled. When the level at the second end of the detection circuit 9 is high, the second end of the detection circuit 9 is floating and connected to the first capacitor 10. At this time, the first target interface 50 and the second target interface 60 are disconnected. Therefore, the interface connection information can be obtained by obtaining the level information at the second end of the detection circuit 9. This acquisition method can perform automatic detection according to the level information at the second end of the detection circuit 9 without the need for manual configuration by the user, thereby improving the detection efficiency.

[0101] Secondly, the controller 1 can also obtain the interface connection information through the first target interface 50. Specifically, by way of example, as shown in the attached Figure 4 - attached Figure 6 figure, the controller 1 can obtain the signal quality of the first target interface 50, and then obtain the interface connection information based on the signal quality of the first target interface 50.

[0102] In a possible implementation, the controller 1 includes registers. In some embodiments, since the controller chips designed by different controller manufacturers are different, the registers on different controller chips may be different.

[0103] In a possible implementation, the register can be a watchdog register or a config register. The embodiments of the present application do not limit the type of the register.

[0104] The controller 1 can store the interface connection information obtained through the first target interface 50 as described above on the register. The target data corresponding to the register (or the data located in the register) is a register feature bit (or a flag bit). Among them, the interface connection information can be obtained according to the data stored in the register. That is to say, the controller 1 can determine the coupling state between the first target interface 50 and the second target interface 60 according to the target data corresponding to the register.

[0105] Among them, 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 is disconnected from the second target interface 60. 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 is disconnected from the second target interface 60.

[0106] In the following embodiments of the present application, it is taken as an example that when the target data is 1, the first target interface 50 is coupled to the second target interface 60. When the target data is 0, the first target interface 50 is disconnected from the second target interface 60, and the electronic device 101 of the present application is specifically described.

[0107] In the embodiments of the present application, by way of example, as shown in the appendix Figure 11 As shown, the process in which the above-mentioned controller 1 obtains 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: Step S1101, when the signal quality of the first target interface 50 is greater than the first threshold, the controller 1 obtains that the interface connection information is coupled.

[0108] Among them, the first threshold is the signal quality threshold for the normal operation of the target antenna 70 when the radio frequency circuit 22 is turned on to the target antenna 70, which can be set according to actual needs. For example, it can be obtained by statistically analyzing the signal quality of the target antenna 70 during normal operation when the radio frequency circuit 22 is turned on to the target antenna 70, such as calculating the mean or median or minimum value of the signal quality of the target antenna 70 during normal operation when the radio frequency circuit 22 is turned on to the target antenna 70; it can also be set according to empirical values, such as 3 db.

[0109] Since when the first target interface 50 is coupled to the second target interface 60, the first target interface 50 is connected to the target antenna 70, and the target antenna 70 can normally receive and transmit radio frequency signals. At this time, the signal quality of the target antenna 70 is relatively good, greater than a certain threshold, and the signal quality of the target antenna 70 can be obtained at 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 operating normally, and the radio frequency circuit 22 is turned on 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 coupled, and the controller 1 stores it as the target data 1 based on this interface connection information.

[0110] Step S1102, when the signal quality of the first target interface 50 is less than or equal to the first threshold, the controller 1 obtains that the interface connection information is disconnected.

[0111] Since when the first target interface 50 is disconnected from the second target interface 60, the first target interface 50 is disconnected from the target antenna 70, and the target antenna 70 cannot normally receive and transmit radio frequency signals. The signal quality of the target antenna 70 is relatively poor, less than a certain threshold, and the signal quality of the target antenna 70 cannot be obtained at 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 it as the target data 0 based on this interface connection information.

[0112] The process in which the controller 1 described in the above steps S1101 - S1102 obtains 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 is that when the signal quality of the first target interface 50 is greater than the first threshold, the controller 1 determines 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 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. In this way, the interface connection information can be obtained with fewer circuit components.

[0113] After the controller 1 described in the above steps S1001 - S1003 obtains the interface connection information by detecting the level information of the second end of the detection circuit 9, or the controller 1 described in the steps S1101 - S1102 obtains the interface connection information through the signal quality of the first target interface 50, the controller 1 can control the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32) based on the interface connection information. In the embodiment of the present application, by way of example, as shown in the attached Figure 12 figure, the process in which the controller 1 controls the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32) based on the interface connection information may include steps S1201 - S1202: Step S1201, when the first target interface 50 is coupled to the second target interface 60, the controller 1 controls the first end 31 of the RF switch 3 to conduct with the target end 30.

[0114] When the first target interface 50 is coupled to the second target interface 60, it indicates that the electronic device 101 is connected to the target device 102. The RF 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 end 31 of the RF switch 3 to conduct with the target end 30, which can make the RF circuit 22 conduct with the target antenna 70 of the target device 101, and receive and transmit RF signals by using the target antenna 70 of the target device 102.

[0115] Step S1202, when the first target interface 50 is disconnected from the second target interface 60, the controller 1 controls the first end 31 of the RF switch 3 to conduct with the second end 32.

[0116] When the first target interface 50 is disconnected from the second target interface 60, it indicates that the electronic device 101 is disconnected from the target device 102, and the RF circuit 22 cannot 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, and can only be connected to the first antenna 4. At this time, the controller 1 controls the first end 31 and the second end 32 of the RF switch 3 to be connected, so that the RF circuit 22 can be connected to the first antenna 4, and the RF signal can be sent and received through the first antenna 4.

[0117] The process described in the above steps S1201-S1202 in which the controller 1 controls the first end 31 of the RF switch 3 to be connected with the target end 30 (or the second end 32) based on the interface connection information after acquiring the interface connection information is that the controller 1 obtains the interface connection information by acquiring the level information of the second end of the detection circuit 9, or by the signal quality of the first target interface 50, and then controls the first end 31 of the RF switch 3 to be connected with the target end 30 (or the second end 32) based on the interface connection information. Specifically, when the first target interface 50 is coupled with the second target interface 60, the controller 1 controls the first end 31 of the RF switch 3 to be connected with the target end 30. That is, when the first target interface 50 is coupled with the second target interface 60, the first antenna 4 of the electronic device 101 can be switched to the target antenna 70 of the target device 102 through the RF switch 3, and the electronic device 101 sends and receives RF signals through the target antenna 70 of the target device 102. When the first target interface 50 is disconnected from the second target interface 60, the controller 1 controls the first end 31 of the RF switch 3 to be connected with the second end 32. That is, when the first target interface 50 is disconnected from the second target interface 60, the electronic device 101 cannot send or receive radio frequency signals through the target antenna 70 of the target device 102. Therefore, the electronic device 101 can only send or receive radio frequency signals through the first antenna 4 of the electronic device 101, and the controller 1 controls the first end 31 and the second end 32 of the radio frequency switch 3 to be connected. The above process can connect the radio frequency circuit 22 of the electronic device 101 with the target antenna 70 of the target device 102, and improve the communication quality by using the target antenna 70 of the target device 102 for communication.

[0118] After the controller 1 described above obtains the interface connection information through the level information of the second end of the detection circuit 9, or through 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 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.

[0119] In the embodiments of the present application, for example, as shown in the attachedFigure 13 As shown, based on the interface connection information, the controller 1 obtains the signal quality of the first antenna 4 and the signal quality of the first target interface 50 from the radio frequency chip 8. Then, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the process of controlling the first end 31 of the radio frequency switch 3 to conduct with the target end 30 (or the second end 32) may include steps S1301 - S1306: Step S1301, the controller 1 determines whether the interface connection information is coupling.

[0120] The process by which the controller 1 determines the interface connection information has been described in detail in the above steps S1001 - S1003 and steps S1101 - S1102, and will not be elaborated here. The controller 1 determines whether the interface connection information is coupling to determine whether the electronic device 101 can transmit and receive radio frequency signals through the target antenna 70 of the target device 102. When the first target interface 50 is disconnected from the second target interface 60, step S1302 is executed. When the first target interface 50 is coupled to the second target interface 60, step S1303 is executed.

[0121] Step S1302, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32.

[0122] When the first target interface 50 is disconnected from the second target interface 60, it indicates that the electronic device 101 cannot transmit and receive radio frequency signals through the target antenna 70 of the target device 102 and can only transmit and receive radio frequency signals through the first antenna 4. Therefore, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32, enabling the radio frequency circuit 22 to conduct with the first antenna 4 and transmitting and receiving radio frequency signals through the first antenna 4.

[0123] Step S1302 actually describes the process by which the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32 when the first target interface 50 is disconnected from the second target interface 60, referring to the state of the radio frequency switch 3 controlled when the first target interface 50 is disconnected from the second target interface 60. In this process, there is actually a switching process, specifically including the following switching situations: When the first target interface 50 and the second target interface 60 are switched from the coupled state to the disconnected state, the controller 1 controls the first end 31 and the second end 32 of the radio frequency switch 3 to conduct. That is to say, when the first target interface 50 and the second target interface 60 are switched from the coupled state to the disconnected state, the electronic device 101 has been switched from the connected state to the disconnected state with the target device 102, and the radio frequency circuit 22 of the electronic device 101 is disconnected from the target antenna 70 of the target device 102. Regardless of the quality of the signal of the first antenna 4 and the quality of the signal 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 end 31 and the second end 32 of the radio frequency switch 3 to conduct, and the electronic device 101 communicates through the first antenna 4.

[0124] Step S1303, the controller 1 obtains the signal quality of the first antenna 4 and the signal quality of the first target interface 50 from the radio frequency chip 8.

[0125] In the embodiments of the present application, by way of example, as shown in the attached Figure 4 - attached Figure 6 As shown, when the first target interface 50 and the second target interface 60 are coupled, 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 radio frequency chip 8. At this time, the signal quality of the first target interface 50 is the signal quality of the target antenna 70. Specifically, in a possible implementation manner, the controller 1 is configured to: when the first target interface 50 and the second target interface 60 are coupled, obtain the signal quality of the first antenna 4 from the radio frequency chip 8. Then, control the first end 31 of the radio frequency switch 3 to conduct with the target end 30, and obtain the signal quality of the first target interface 50 from the radio frequency chip 8. Finally, control the first end 31 of the radio frequency switch 3 to conduct with the second end 32.

[0126] Since the time for the detection circuit 9 to detect the level information at the second end of the detection circuit 9 once (e.g., in milliseconds) is much longer than the switching time of the RF switch 3 (e.g., in microseconds), within one detection period, the switching of the RF switch 3 can be achieved. Therefore, before the controller 1 controls the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32) (i.e., determines whether the RF circuit 22 conducts with the first antenna 4 or the target antenna 70), the controller 1 can briefly control the first end 31 of the RF switch 3 to conduct with the target end 30 and quickly obtain the signal quality of the first target interface 50 from the RF chip 8. And after the controller 1 obtains the signal quality of the first target interface 50 from the RF chip 8, the RF switch 3 can be quickly switched back to the initial state. Since the detection time of the level information once (i.e., one detection period) is much longer than the sum of the four 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, in this way, the process of the detection circuit 9 detecting the level information at the second end and the process of the controller 1 obtaining the signal quality of the first antenna 4 and the first target interface 50 from the RF chip 8 do not conflict.

[0127] Since the initial state of the electronic device 101 and the target device 102 is disconnected and the first antenna 4 is default to transmit and receive RF signals, therefore, in the initial state, the controller 1 controls the first end 31 of the RF switch 3 to conduct with the second end 32. Thus, 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 RF chip 8. Since the RF circuit 22 must be conducted with the first target interface 50 to obtain the signal quality of the first target interface 50 from the RF chip 8, then, the controller 1 can control the first end 31 of the RF switch 3 to conduct with the target end 30, so that the RF circuit 22 conducts with the first target interface 50, thereby making the RF circuit 22 conduct with 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 RF chip 8 to obtain the signal quality of the target antenna 70 of the target device 102.

[0128] After the controller 1 obtains the signal quality of the first antenna 4 and the first target interface 50, the RF switch 3 can be quickly switched back to the initial state, that is, control the first end 31 of the RF switch 3 to conduct with the second end 32.

[0129] In a possible implementation, the signal quality of the first antenna 4 can be an index of signal strength or an index of signal quality. The embodiment of the present application does not limit the index type of the signal quality of the first antenna 4.

[0130] In a possible implementation, the signal strength type index of the signal quality of the first antenna 4 may be the received signal strength indicator (RSSI), or may be the reference signal received power (RSRP) or the effective isotropic radiated power (EIRP). The embodiments of the present application do not limit the type of the signal strength type index.

[0131] In a possible implementation, the signal quality type index of the signal quality of the first antenna 4 may be the signal-to-noise ratio (SNR), or may be the signal-to-interference-plus-noise ratio (SINR) or the error vector magnitude (EVM). The embodiments of the present application do not limit the type of the signal quality type index.

[0132] In the embodiments of the present application, the types of the signal quality indexes 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 the received signal strength indicator, the signal quality of the target antenna 70 is also the received signal strength indicator. When the signal quality of the first antenna 4 is the reference signal received power, the signal quality of the target antenna 70 is also the reference signal received power.

[0133] Step S1304, 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.

[0134] Wherein, 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.

[0135] The second threshold is the threshold of 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 calculating 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 or median or minimum or maximum value of multiple differences between the signal quality of the first target interface 50 and the signal quality of the first antenna 4; it can also be set according to empirical values, such as 3 dB.

[0136] In the embodiments of the present application, at this time, 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.

[0137] In the embodiment of the present application, since 3 dB is generally used to represent that the antenna efficiency has doubled, the second threshold can be set to 3 dB.

[0138] When the first target interface 50 is coupled to the second target interface 60, 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 conduction between the first end 31 of the radio frequency switch 3 and the target end 30 (or the second end 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 has doubled compared to the signal quality of the first antenna 4. 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, it indicates that the signal quality of the target antenna 70 has doubled compared to 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 through the radio frequency switch 3, and step S1306 is executed. When 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, it indicates that the signal quality of the target antenna 70 is less than the signal quality of the first antenna 4, or the signal quality of the target antenna 70 has not doubled compared to the signal quality of the first antenna 4. At this time, 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 radio frequency switch 3, and the electronic device 101 can maintain receiving and transmitting radio frequency signals through the first antenna 4. In this way, the switching risk can be reduced and the communication quality can be improved, and then step S1305 is executed.

[0139] Step S1305, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32.

[0140] When 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, 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 radio frequency switch 3, controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32, and the electronic device 101 receives and transmits radio frequency signals through the first antenna 4.

[0141] Step S1306, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the target end 30.

[0142] When the signal quality of the first antenna 4 is less than that 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 conduct with the target end 30, and the electronic device 101 transmits and receives RF signals through the target antenna 70 of the target device 102.

[0143] The above steps S1304 - S1306 actually describe the process of controlling the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32) when the first target interface 50 and the second target interface 60 are coupled. It means that when the first target interface 50 and the second target interface 60 are coupled, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the state of the RF switch 3 is controlled. In this process, the switching process is actually included. Specifically, it includes two switching situations: 1) When the first target interface 50 and the second target interface 60 are converted from the disconnected state to the coupled state, if the signal quality of the first antenna 4 is less than that 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 end 31 of the RF switch 3 to conduct with the target end 30. That is to say, when the first target interface 50 and the second target interface 60 are converted from the disconnected state to the coupled state, the electronic device 101 has been converted from the disconnected state to the coupled state with the target device 102, and 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 that 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 satisfied, the controller 1 controls the first end 31 of the RF switch 3 to conduct with the target end 30, so that the RF circuit 22 of the electronic device 101 is conducted with the target antenna 70, and the electronic device 101 communicates through the target antenna 70 of the target device 102 to improve the communication quality.

[0144] 2) When the first target interface 50 is coupled to the second target interface 60 and the first end 31 and the second end 32 of the radio frequency switch 3 are conducting, 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 end 31 of the radio frequency switch 3 to conduct with the target end 30. Among them, when the first target interface 50 is coupled to the second target interface 60 and the first end 31 and the second end 32 of the radio frequency switch 3 are conducting, actually, as described in step S1305, when the first target interface 50 is coupled to the second target interface 60, at this time, 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, and the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32. That is to say, when the first target interface 50 and the second target interface 60 are always in a coupled state, because 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, 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 not met, the first end 31 and the second end 32 of the radio frequency switch 3 are always in a conducting state. However, as long as the subsequent 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, that is, 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 end 31 of the radio frequency switch 3 to conduct with the target end 30, switches the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102, makes the radio frequency circuit 22 of the electronic device 101 conduct with the target antenna 70, and the electronic device 101 communicates through the target antenna 70 of the target device 102 to improve the communication quality.

[0145] In the case where the first target interface 50 is coupled to the second target interface 60 as described in the above steps S1304 - S1306, the controller 1 controls the conduction between the first end 31 of the radio frequency switch 3 and 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. 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 radio frequency chip 8, and controls the conduction between the first end 31 of the radio frequency switch 3 and 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. 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 controls the first end 31 of the radio frequency switch 3 to conduct with the target end 30. When 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, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32. That is to say, 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 through the radio frequency switch 3, and the electronic device 101 transmits and receives radio frequency signals through the target antenna 70 of the target device 102. When the signal quality of the target antenna 70 is less than the signal quality of the first antenna 4, or the signal quality of the target antenna 70 is not twice that of the first antenna 4, there is no need to switch the first antenna 4 of the electronic device 101 to the target antenna 70 of the target device 102 through the radio frequency switch 3, and the electronic device 101 transmits and receives radio frequency signals through the first antenna 4. Therefore, the radio frequency circuit 22 of the electronic device 101 can be conducted with the target antenna 70 of the target device 102, and communication quality can be improved by using the target antenna 70 of the target device 102 for communication.

[0146] In the process described in the above steps S1301 - S1306, the controller 1 obtains the signal quality of the first antenna 4 and the signal quality of the first target interface 50 from the radio frequency chip 8 based on the interface connection information, and then controls the conduction between the first end 31 of the radio frequency switch 3 and 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. It is that the controller 1 controls the conduction between the first end 31 of the radio frequency switch 3 and the target end 30 (or the second end 32) in accordance with the conditions satisfied by the signal quality of the first antenna 4 and the signal quality of the target antenna 70 under the condition of judging the interface connection information. Therefore, the radio frequency circuit 22 of the electronic device 101 can be conducted with the target antenna 70 of the target device 102, and communication quality can be improved by using the target antenna 70 of the target device 102 for communication.

[0147] In a possible implementation, the controller 1 may or may not obtain the user's authorization before executing the acquisition of the interface connection information. The embodiment of the present application does not limit the operations of the controller 1 before executing the acquisition of the interface connection information.

[0148] In a possible implementation, the controller 1 may obtain the user's authorization through a digital signature, a digital password, a digital certificate, etc. The embodiment of the present application does not limit the method of user authorization.

[0149] In a possible implementation, the target antenna 70 may include one, or may include two or more, and the embodiment of the present application does not limit the number of the target antennas 70.

[0150] In the embodiment of the present application, the first target interface 50 corresponds to the second target interface 60 one by one, and is 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. The embodiment of the present application does not limit the number of the first target interface 50 and the second target interface 60.

[0151] When the target antenna 70 includes two or more, and the first target interface 50 and the second target interface 60 are two or more pairs, the number of the target antennas 70 corresponds to the number of pairs of the first target interface 50 and the second target interface 60. For example, the number of the target antennas 70 is 2, and the number of pairs of the first target interface 50 and the second target interface 60 is also 2. The number of the target antennas 70 is 3, and the number of pairs of the first target interface 50 and the second target interface 60 is also 3. By analogy, the number of the target antennas 70 is n, and the number of pairs of the first target interface 50 and the second target interface 60 is also n. Among them, n is a positive integer greater than 3. It will not be repeated here.

[0152] First, in the case where the target antenna 70 includes only one, 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. Among them, the target antenna 70 includes only one, which is the second antenna 7. The structure of the electronic device 101 is exemplary, as shown in the attached Figure 4 -Attached Figure 9 The solid line portion in the figure. The steps performed by the controller 1 are exemplary as shown in the attached figure. Figure 10 -Attached Figure 13 The content of the case where the target antenna 70 includes only one, which is the second antenna 7, has been described in detail in the description of the above electronic device 101, and will not be repeated here.

[0153] Secondly, when the target antenna 70 includes two antennas, the target antenna 70 includes the second antenna 7 and the third antenna. In the following embodiments of the present application, taking the target antenna 70 including the second antenna 7 and the third antenna as an example, the electronic device 101 of the present application will be specifically described.

[0154] In the embodiment of the present application, the controller 1 may obtain the signal quality of the first antenna 4 before obtaining the interface connection information, and also obtain the signal quality of the second antenna 7 and the signal quality of the third antenna.

[0155] In a possible implementation, the acquisition time of the signal quality of the third antenna may be prior to the acquisition time of the signal quality of the second antenna 7, or may be after the acquisition time of the signal quality of the second antenna 7. The embodiment of the present application does not limit the order of the acquisition times of the signal quality of the second antenna 7 and the signal quality of the third antenna.

[0156] When the target antenna 70 includes two antennas, the target antenna 70 includes the second antenna 7 and the third antenna. Correspondingly, the first target interface 50 and the second target interface 60 may be a pair, or may be two pairs. When the first target interface 50 and the second target interface 60 are a pair, the structure of the electronic device 101 is that one pair of target interfaces corresponds to two antennas of the target device 102. When the first target interface 50 and the second target interface 60 are two pairs, the structure of the electronic device 101 is that two pairs of target interfaces respectively correspond to two antennas of the target device 102, that is, one pair of target interfaces corresponds to one antenna of the target device 102.

[0157] When one pair of target interfaces corresponds to two antennas of the 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 end 30 of the radio frequency switch 3, which is the third end 33. The interface connection information is used to indicate the coupling or disconnection of the first interface 5 and the second interface 6.

[0158] Exemplarily, as shown in the appendix Figure 14 When obtaining the interface connection information through the first target interface 50, actually, the interface connection information indicating the coupling or disconnection of the first interface 5 and the second interface 6 is obtained through the first interface 5. The target device 102 further includes an antenna switch 14 and a third antenna 15. The first end 141 of the antenna switch 14 is connected to the second interface 6. The second end 142 of the antenna switch 14 is connected to the second antenna 7. The third end 143 of the antenna switch 14 is connected to the third antenna 15.

[0159] Exemplarily, as shown in the appendix Figure 15As shown, when the interface connection information is obtained through the detection circuit 9, the target device 102 further 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.

[0160] In a 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 embodiment of the present application does not limit the type of the antenna switch 14.

[0161] In the embodiment of the present application, for the case where a pair of target interfaces correspond to two antennas of the target device 102, the target device 102 may further include a control chip, which is configured to control the first terminal 141 of the antenna switch 14 to conduct with the second terminal 142, or the first terminal 141 to conduct with the third terminal 143 (which can be abbreviated as controlling the first terminal 141 of the antenna switch 14 to conduct with the second terminal 142 (or the third terminal 143)). The control chip can communicate with the controller 1 of the electronic device 101 to transmit a control signal.

[0162] In a possible implementation, the communication mode between the control chip and the controller 1 can be wired or wireless. The embodiment of the present application does not limit the communication mode between the control chip and the controller 1.

[0163] Since the target device 102 includes the second antenna 7 and the third antenna 15, the controller 1 can obtain the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the radio frequency chip 8, and then 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 radio frequency switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on the interface connection information; or; based on the interface connection information, 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 radio frequency 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 radio frequency 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 signal quality of the first target interface 50.

[0164] In the embodiment of the present application, by way of example, as shown in the appendix Figure 16As shown, the above-described 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, and then determines the target antenna 70 based on the signal quality of the second antenna 7 and the signal quality of the third antenna 15. Then, based on the interface connection information, it controls the first end 31 of the radio frequency switch 3 to conduct with the target end 30 (or the second end 32) (corresponding to as shown in the appendix Figure 12 ), and the process may include steps S1601 - S1606: Step S1601, the 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.

[0165] Before obtaining the interface connection information, the controller 1 obtains the signal quality of the second antenna 7 and the signal quality of the third antenna 15. Specifically, in combination with the appendix Figure 14 - appendix Figure 15 , before obtaining the interface connection information, in addition to the controller 1 controlling the first end 31 of the radio frequency switch 3 to conduct with the third end 33, the target device 102 also needs to control the first end 141 of the antenna switch 14 to conduct with the second end 142 so that the controller 1 can obtain the signal quality of the second antenna 7 from the radio frequency chip 8. Further, for obtaining the signal quality of the third antenna 15, after the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the third end 33, the target device 102 also needs to control the first end 141 of the antenna switch 14 to conduct with the third end 143 so that the controller 1 can obtain the signal quality of the third antenna 15 from the radio frequency chip 8. Similarly, the target device 102 controlling the first end 141 of the antenna switch 14 to conduct with the second end 142 can be before or after the first end 141 conducting with the third end 143.

[0166] In the case where 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, in a possible implementation manner, before obtaining the interface connection information of the first interface 5 and the second interface 6, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the third end 33, and the target device 102 controls the first end 141 of the antenna switch 14 to conduct with the second end 142, and the controller 1 obtains the signal quality of the second antenna 7 from the radio frequency chip 8. Then, the target device 102 controls the first end 141 of the antenna switch 14 to conduct with the third end 143, and the controller 1 obtains the signal quality of the third antenna 15 from the radio frequency chip 8. Finally, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32.

[0167] In a case where the acquisition time of the signal quality of the third antenna 15 is earlier than the acquisition time of the signal quality of the second antenna 7, in a possible implementation manner, before acquiring the interface connection information of the first interface 5 and the second interface 6, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the third end 33, and the target device 102 controls the first end 141 of the antenna switch 14 to conduct with the third end 143. The controller 1 acquires the signal quality of the third antenna 15 from the radio frequency chip 8. Then, the target device 102 controls the first end 141 of the antenna switch 14 to conduct with the second end 142, and the controller 1 acquires the signal quality of the second antenna 7 from the radio frequency chip 8. Finally, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32.

[0168] Among them, in the above two processes of the controller 1 acquiring the signal quality of the second antenna 7 and the third antenna 15 from the radio frequency chip 8, before the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the third end 33, the signal quality of the first antenna 4 can be acquired from the radio frequency chip 8, or the signal quality of the first antenna 4 may not be acquired from the radio frequency chip 8. This is not limited in the embodiments of the present application.

[0169] Step S1602, the controller 1 determines whether the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7.

[0170] After the controller 1 acquires the signal quality of the second antenna 7 and the third antenna 15 from the radio frequency chip 8, it can first determine the superiority and inferiority of the signal quality of the third antenna 15 and the second antenna 7, and then based on the superiority and inferiority of the signal quality of the third antenna 15 and the second antenna 7, execute steps S1603 and S1604. In a case where the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, step S1603 is executed. In a case where the signal quality of the third antenna 15 is less than or equal to the signal quality of the second antenna 7, step S1604 is executed.

[0171] Step S1603, the target antenna 70 is the third antenna 15 and the first end 141 of the antenna switch 14 is conducted with the third end 143. The controller 1 controls 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 interface connection information.

[0172] When 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 frequency band of the current radio frequency signal. Therefore, the target antenna 70 is the third antenna 15, and the target device 102 controls the first end 141 and the third end 143 of the antenna switch 14 to conduct, so that the second interface 6 of the target device 102 is conducted with the third antenna 15. The controller 1 can control the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 to conduct based on the interface connection information, so as to determine whether the radio frequency circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.

[0173] Step S1604, the controller 1 determines whether the signal quality of the third antenna 15 is equal to that of the second antenna 7.

[0174] Since the situation where the signal quality of the third antenna 15 is equal to that of the second antenna 7 is different from the situation where the signal quality of the third antenna 15 is less than that of the second antenna 7, it is possible to first determine the situation where the signal quality of the third antenna 15 is equal to that of the second antenna 7, and then determine the situation where the signal quality of the third antenna 15 is less than that of the second antenna 7. When the signal quality of the third antenna 15 is equal to that of the second antenna 7, step S1605 is executed. When the signal quality of the third antenna 15 is less than that of the second antenna 7, step S1606 is executed.

[0175] Step S1605, the target antenna 70 is the second antenna 7 and the first end 141 and the second end 142 of the antenna switch 14 are conducted, or the target antenna 70 is the third antenna 15 and the first end 141 and the third end 143 of the antenna switch 14 are conducted; the controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 to conduct based on the interface connection information.

[0176] When the signal quality of the third antenna 15 is equal to that of the second antenna 7, it indicates that the signal qualities of the second antenna 7 and the third antenna 15 are the same and both are suitable for the frequency band of the current radio frequency signal. Therefore, the target device 102 controls the first end 141 and the second end 142 (or the third end 143) of the antenna switch 14 to conduct. On this basis, the controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 to conduct based on the interface connection information.

[0177] Specifically, in a possible implementation, the target antenna 70 is the second antenna 7. The target device 102 controls the first end 141 and the second end 142 of the antenna switch 14 to conduct. The controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the interface connection information, so as to determine whether the RF circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the second antenna 7 of the target device 102. In a possible implementation, the target antenna 70 is the third antenna 15. The target device 102 can also control the first end 141 and the third end 143 of the antenna switch 14 to conduct. The controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the interface connection information, so as to determine whether the RF circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.

[0178] Step S1606, the target antenna 70 is the second antenna 7 and the first end 141 and the second end 142 of the antenna switch 14 are conducted. The controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the interface connection information.

[0179] In the case where 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 frequency band of the current RF signal. Therefore, the target antenna 70 is the second antenna 7. The target device 102 controls the first end 141 and the second end 142 of the antenna switch 14 to conduct. The controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the interface connection information, so as to determine whether the RF circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the second antenna 7 of the target device 102.

[0180] The process that the controller 1 described in the above steps S1601 - S1606 obtains the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the radio frequency chip 8, then determines 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 controls the first end 31 of the radio frequency switch 3 to conduct with the target end 30 (or the second end 32) based on the interface connection information is that the controller 1 first obtains the signal quality of the second antenna 7 and the signal quality of the third antenna 15 from the radio frequency chip 8, and then determines the target antenna 70 by judging the superiority and inferiority of the signal quality of the third antenna 15 and the signal quality of the second antenna 7. The target device 102 then controls the antenna switch 14 to conduct with the target antenna 70. The controller 1 then controls 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 interface connection information, so that the radio frequency circuit 22 of the electronic device 101 conducts with the first antenna 4 of the electronic device 101, or conducts with the target antenna 70 of the target device 102. Therefore, the radio frequency circuit 22 of the electronic device 101 can be conducted with the target antenna 70 of the target device 102, that is, the second antenna 7 or the third antenna 15, and the communication quality can be improved by using the target antenna 70 of the target device 102 for communication.

[0181] The specific process that the controller 1 mentioned in steps S1601 - S1606 controls 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 interface connection information has been described in detail in the above steps S1201 - S1202, and will not be elaborated here.

[0182] In the embodiment of the present application, by way of example, as shown in the attached Figure 17 figure, the process that the above - described 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 based on the interface connection information, first determines 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 controls the first end 31 of the radio frequency switch 3 to conduct with 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 (corresponding to as shown in the attached Figure 13 figure) may include steps S1701 - S1708: Step S1701, the controller 1 determines whether the interface connection information is coupling.

[0183] This step has been described in detail in step S1301, and will not be elaborated here.

[0184] Step S1702, the controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with the second end 32.

[0185] This step has been described in detail in step S1302 and will not be elaborated here.

[0186] Step S1703: The 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 RF chip 8.

[0187] This step has been described in detail in step S1601 and will not be elaborated here.

[0188] Step S1704: The controller 1 determines whether the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7.

[0189] Similarly, this step has been described in detail in step S1602 and will not be elaborated here. When the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, step S1705 is executed. When the signal quality of the third antenna 15 is less than or equal to the signal quality of the second antenna 7, step S1706 is executed.

[0190] Step S1705: The target antenna 70 is the third antenna 15 and the first end 141 of the antenna switch 14 is conducted with the third end 143. The controller 1 controls the first end 31 of the RF switch 3 to be conducted 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.

[0191] Similarly, when the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, it indicates that the signal quality of the third antenna 15 is better than that of the second antenna 7. Specifically, the signal quality of the third antenna 15 is better and more suitable for the frequency band of the current RF signal. Therefore, the target antenna 70 is the third antenna 15, the signal quality of the first target interface 50 is the signal quality of the third antenna 15, and the controller 1 can, when the first end 141 of the antenna switch 14 is conducted with the third end 143 under the control of the target device 102, determine whether the first end 31 of the RF switch 3 is conducted 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, so as to determine whether the RF circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.

[0192] Step S1706: The controller 1 determines whether the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7.

[0193] Similarly, this step has been described in detail in step S1604 and will not be elaborated here. When the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, step S1707 is executed. When the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7, step S1708 is executed.

[0194] Step S1707: The target antenna 70 is the second antenna 7 and the first end 141 and the second end 142 of the antenna switch 14 are conducted, or the target antenna 70 is the third antenna 15 and the first end 141 and the third end 143 of the antenna switch 14 are conducted; the controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 to be conducted based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50.

[0195] Similarly, when the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, it indicates that the signal qualities of the second antenna 7 and the third antenna 15 are the same and both can adapt to the frequency band of the current radio frequency signal. Therefore, the target antenna 70 is the second antenna 7, the signal quality of the first target interface 50 is the signal quality of the second antenna 7, and the controller 1 can, when the target device 102 controls the first end 141 and the second end 142 of the antenna switch 14 to be conducted, control the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 to be conducted based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, so as to determine whether the radio frequency circuit 22 of the electronic device 101 is conducted 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, and the controller 1 can also, when the target device 102 controls the first end 141 and the third end 143 of the antenna switch 14 to be conducted, control the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 to be conducted based on the interface connection information, the signal quality of the first antenna 4 and the signal quality of the first target interface 50, so as to determine whether the radio frequency circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.

[0196] Step S1708: The target antenna 70 is the second antenna 7 and the first end 141 and the second end 142 of the antenna switch 14 are conducted, and the controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 to be conducted based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50.

[0197] Similarly, when the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7, it indicates that the signal quality of the second antenna 7 is better and is more adapted to the frequency band of the current RF signal. 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. The controller 1 can, when the target device 102 controls the first end 141 and the second end 142 of the antenna switch 14 to be connected, determine whether the first end 31 and the third end 33 (or the second end 32) of the RF switch 3 are connected 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 to the first antenna 4 of the electronic device 101 or to the second antenna 7 of the target device 102.

[0198] The controller 1 described in the above steps S1701-S1708 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 RF chip 8 based on the interface connection information, first determines 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 controls the first end 31 of the RF switch 3 to be connected with 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. The process is to first 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 based on the interface connection information, and then judge the signal quality of the third antenna 15 and the signal quality of the second antenna 7, and determine the target antenna 70 with better signal quality. Then, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, control the first end 31 of the RF switch 3 to be connected with the third end 33 (or the second end 32). Therefore, the RF circuit 22 of the electronic device 101 can be connected to the target antenna 70 of the target device 102, that is, the second antenna 7 or the third antenna 15, and communication is performed using the target antenna 70 of the target device 102, thereby improving communication quality.

[0199] The specific process of the controller 1 mentioned in steps S1704-S1708 controlling the first end 31 and the third end 33 (or the second end 32) of the RF 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 has been described in detail in the above steps S1304-S1306 and will not be repeated here.

[0200] In the case where two pairs of target interfaces correspond to two antennas of the target device 102 respectively (ie, one pair of target interfaces corresponds to one antenna of the target device 102), illustratively, as shown in the attached Figure 18As shown, when obtaining interface connection information through the first target interface 50, the electronic device 101 further includes a third interface 18. The radio frequency switch 3 in the electronic device 101 further includes a fourth terminal 34. The target device 102 further includes a fourth interface 19. The fourth terminal 34 of the radio frequency switch 3 is connected to the third interface 18. The fourth interface 19 is connected to the third antenna 15. Wherein, the radio frequency circuit 22 includes a radio frequency front end 2 and a radio frequency switch 3.

[0201] When obtaining interface connection information through the detection circuit 9, the detection circuit 9 may be one or two, and the embodiments of the present application do not limit the number of the detection circuits 9.

[0202] When the detection circuit 9 is one, exemplarily, as shown in the appendix Figure 19 As shown, the detection circuit 9 may be connected to the first target interface 50 through a detection switch. The electronic device 101 further includes a fourth capacitor 20. The fourth terminal 34 of the radio frequency switch 3 is connected to the third interface 18 through the fourth capacitor 20. The target device 101 further includes a third inductor 16 and a third capacitor 17. The fourth interface 19 is connected to the third antenna 15 through the third capacitor 17, and the fourth interface 19 is also grounded through the third inductor 16. Wherein, the radio frequency circuit 22 includes a radio frequency front end 2 and a radio frequency 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.

[0203] In a possible implementation, the detection switch may be a single-pole double-throw switch, a multiplexer or a transistor array, and the embodiments of the present application do not limit the type of the detection switch.

[0204] In a possible implementation, the radio frequency switch 3 may be a single-pole triple-throw switch, a multiplexer or a transistor array, and the embodiments of the present application do not limit the type of the radio frequency switch 3.

[0205] When the detection circuit 9 is two, exemplarily, as shown in the appendix Figure 20 As shown, in the appendix 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. Among them, 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, in the case where the target antenna 70 only includes the second antenna 7 as described above, obtaining the interface connection information can be combined with 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 level or a 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 level or a 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.

[0206] In the embodiments of the present application, as shown in the attached Figure 7 - attached Figure 9 figures, since the interface connection information is obtained through the detection circuit 9, for any pair of interfaces that are the target interfaces, a capacitor needs to be set at the front end of the first target interface 50 to make the second terminal of the detection circuit 9 float and be at a high level when the first target interface 50 and the second target interface 60 are disconnected; and an inductor needs to be grounded at the rear end of the second target interface 60 to make the second terminal of the detection circuit 9 grounded and be at a low level when the first target interface 50 and the second target interface 60 are connected. Therefore, the number of pairs of interfaces corresponds one-to-one with the capacitors and inductors. For example, for 1 pair of interfaces, namely the first interface 5 and the second interface 6, the first capacitor 10 and the first inductor 11 are set. For 2 pairs of interfaces, which are the first interface 5 and the second interface 6, and the third interface 18 and the fourth interface 19 respectively, correspondingly, 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. And so on, the principle for multiple pairs of interfaces is the same as that for 2 pairs of interfaces. The content for 2 pairs of interfaces has been introduced in detail in the above-mentioned electronic device 101 and will not be elaborated here.

[0207] In the embodiment of the present application, for the case where two pairs of target interfaces respectively correspond to two antennas of the target device 102 (i.e., one pair of target interfaces corresponds to one antenna of the target device 102), a pair of interfaces (the third interface 18 and the 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 the first interface 5 or the third interface 18, and the second target interface 60 can be the second interface 6 or the fourth interface 19. The controller 1 can obtain interface connection information for indicating the coupling or disconnection of the first interface 5 and the second interface 6, or interface connection information for indicating the coupling or disconnection of the third interface 18 and the fourth interface 19.

[0208] Similarly, in the embodiment of the present application, after obtaining the signal quality of the second antenna 7 and the third signal quality of the third antenna 15 from the radio frequency chip 8, the controller 1 can, based on the interface connection information, control the first end 31 of the radio frequency switch 3 to conduct with the target end 30 (or the second end 32); or, based on the interface connection information, 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 radio frequency 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 end 31 of the radio frequency switch 3 to conduct with 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.

[0209] Exemplarily, as shown in the appendix 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 radio frequency chip 8, and based on the interface connection information, controls the first end 31 of the radio frequency switch 3 to conduct with the target end 30 or the second end 32) (corresponding to as shown in the appendix Figure 12 As shown), the process may include steps S2101 - S2106: Step S2101, the 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.

[0210] Similarly, before obtaining the interface connection information, the controller 1 can obtain the signal quality of the second antenna 7 and the signal quality of the third antenna 15.

[0211] Specifically, before the controller 1 obtains the 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), it is necessary to control the first end 31 and the third end 33 of the RF switch 3 to conduct, so that the controller 1 can obtain the signal quality of the second antenna 7 from the RF chip 8, and control the first end 31 and the fourth end 34 of the RF switch 3 to conduct, so that the controller 1 can obtain the signal quality of the third antenna 15 from the RF chip 8. Similarly, the controller 1 can first control the first end 31 and the third end 33 to conduct, or first control the first end 31 and the fourth end 34 to conduct.

[0212] In the case where the controller 1 first controls the first end 31 and the third end 33 to conduct, in a possible implementation manner, before the controller 1 obtains the interface connection information, it first controls the first end 31 and the third end 33 of the RF switch 3 to conduct, and obtains the signal quality of the second antenna 7 from the RF chip 8. Then, it controls the first end 31 and the fourth end 34 of the RF switch 3 to conduct, and obtains the signal quality of the third antenna 15 from the RF chip 8. Finally, the controller 1 controls the first end 31 and the second end 32 of the RF switch 3 to conduct.

[0213] In the case where the controller 1 first controls the first end 31 and the fourth end 34 to conduct, in a possible implementation manner, before the controller 1 obtains the interface connection information, it first controls the first end 31 and the fourth end 34 of the RF switch 3 to conduct, and obtains the signal quality of the third antenna 15 from the RF chip 8. Then, it controls the first end 31 and the third end 33 of the RF switch 3 to conduct, and obtains the signal quality of the second antenna 7 from the RF chip 8. Finally, the controller 1 controls the first end 31 and the second end 32 of the RF switch 3 to conduct.

[0214] Similarly, in the above two processes of the controller 1 obtaining the signal quality of the second antenna 7 and the third antenna 15 from the RF chip 8, before the controller 1 controls the first end 31 and the third end 33 (or the fourth end 34) 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 is not limited in the embodiments of the present application.

[0215] Step S2102, the controller 1 determines whether the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7.

[0216] The content of step S2102 is the same as that of step S1602, which has been described in detail in step S1602 and will not be repeated here. In the case where the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, step S2103 is executed. In the case where the signal quality of the third antenna 15 is less than or equal to the signal quality of the second antenna 7, step S2104 is executed.

[0217] 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 conduct with the target end 30 (or the second end 32).

[0218] Similarly, when 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 better than that of the second antenna 7. Specifically, the signal quality of the third antenna 15 is better and more suitable for the frequency band of the current RF signal. 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 judge that the first end 31 of the RF switch 3 conducts with the target end 30, or the first end 31 conducts with the second end 32 (which can be abbreviated as the first end 31 of the RF switch 3 conducts with the fourth end 34 (or the second end 32)) based on the interface connection information, so as to judge whether the RF circuit 22 of the electronic device 101 conducts with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.

[0219] Step S2104: The controller 1 judges whether the signal quality of the third antenna 15 is equal to that of the second antenna 7.

[0220] Similarly, the content of step S2104 is the same as that of step S1604, which has been described in detail in step S1604 and will not be elaborated here. When the signal quality of the third antenna 15 is equal to that of the second antenna 7, step S2105 is executed. When the signal quality of the third antenna 15 is less than that of the second antenna 7, step S2106 is executed.

[0221] 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; based on the interface connection information, the controller 1 controls the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32).

[0222] Similarly, when the signal quality of the third antenna 15 is equal to that of the second antenna 7, it indicates that the signal qualities of the second antenna 7 and the third antenna 15 are the same and both can adapt to the frequency band of the current radio frequency signal. At this time, the target antenna 70 is the second antenna 7 and the target terminal of the radio frequency switch 3 is the third terminal 33. Therefore, the controller 1 can control the first terminal 31 of the radio frequency switch 3 to conduct with the third terminal 33 (or the second terminal 32) based on the interface connection information, so as to determine whether the radio frequency circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the second antenna 7 of the target device 102. At this time, the target antenna 70 is the third antenna 15 and the target terminal of the radio frequency switch 3 is the fourth terminal 34. Therefore, it is also possible to control the first terminal 31 of the radio frequency switch 3 to conduct with the fourth terminal 34 (or the second terminal 32) based on the interface connection information, so as to determine whether the radio frequency circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.

[0223] Step S2106, the target antenna 70 is the second antenna 7 and the target terminal of the radio frequency switch 3 is the third terminal 33. The controller 1 controls the first terminal 31 of the radio frequency switch 3 to conduct with the target terminal 30 (or the second terminal 32) based on the interface connection information.

[0224] Similarly, 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 adaptable to the frequency band of the current radio frequency signal. At this time, the target antenna 70 is the second antenna 7 and the target terminal of the radio frequency switch 3 is the third terminal 33. Therefore, the controller 1 can judge that the first terminal 31 of the radio frequency switch 3 conducts with the third terminal 33 (or the second terminal 32) based on the interface connection information, so as to determine whether the radio frequency circuit 22 of the electronic device 101 is conducted with the first antenna 4 of the electronic device 101 or with the second antenna 7 of the target device 102.

[0225] 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 described in the above steps S2101 - S2106 controls the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32) based on the interface connection information. The process is that the controller 1 first obtains the signal quality of the second antenna 7 and the third signal quality of the third antenna 15 from the RF chip 8, then determines the superiority and inferiority of the third signal quality of the third antenna 15 and the signal quality of the second antenna 7, and then determines the target antenna 70 (i.e., the second antenna 7 or the third antenna 15) and the corresponding conduction port of the RF switch 3 (i.e., the third end 33 or the fourth end 34) based on the better signal quality of the two. Among them, the second antenna 7 corresponds to the third end 33 of the RF switch 3, and the third antenna 15 corresponds to the fourth end 34 of the RF switch 3. The controller 1 then controls the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32) based on the interface connection information. Therefore, the RF circuit 22 of the electronic device 101 can be conducted with the second antenna 7 or the third antenna 15 of the target device 102, and communication quality can be improved by using the second antenna 7 or the third antenna 15 of the target device 102 for communication.

[0226] The specific process in which the controller 1 mentioned in the above steps S2101 - S2106 controls the first end 31 of the RF switch 3 to conduct with the target end 30 (or the second end 32) based on the interface connection information has been described in detail in the above steps S1201 - S1202, and will not be elaborated here.

[0227] Exemplarily, as shown in the appendix Figure 22 shown, the above - described 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 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 signal quality of the third antenna 15, and then controls the first end 31 of the RF switch 3 to conduct with 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 (corresponding to what is shown in the appendix Figure 13 shown) The process can include steps S2201 - S2208: Step S2201, the controller 1 determines whether the interface connection information is coupling.

[0228] Among them, 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 elaborated here.

[0229] Step S2202, the controller 1 controls the first end 31 of the RF switch 3 to conduct with the second end 32.

[0230] This step has been described in detail in step S1702 and will not be elaborated here.

[0231] Step S2203, the 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.

[0232] This step has been described in detail in step S1703 and will not be elaborated here.

[0233] Step S2204, the controller 1 determines whether the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7.

[0234] Step S2204 is the same as step S1704 and has been described in detail in step S1704, so it will not be elaborated here. When the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, step S2205 is executed. When the signal quality of the third antenna 15 is less than or equal to the signal quality of the second antenna 7, step S2206 is executed.

[0235] Step S2205, the target antenna 70 is the third antenna 15 and the target end 30 of the radio frequency switch 3 is the fourth end 34. The controller 1 controls the first end 31 of the radio frequency switch 3 to conduct with 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.

[0236] Similarly, when the signal quality of the third antenna 15 is greater than the signal quality of the second antenna 7, it indicates that the signal quality of the third antenna 15 is better than that of the second antenna 7. Specifically, the signal quality of the third antenna 15 is better and more suitable for the frequency band of the current radio frequency signal. At this time, the target antenna 70 is the third antenna 15 and the target end 30 of the radio frequency 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 signal quality of the third antenna 15. Therefore, the controller 1 can determine whether the first end 31 of the radio frequency switch 3 conducts 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, so as to determine whether the radio frequency circuit 22 of the electronic device 101 conducts with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.

[0237] Step S2206, the controller 1 determines whether the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7.

[0238] Similarly, the content of step S2206 is the same as that of step S2104, which has been described in detail in step S2104 and will not be elaborated here. When the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, step S2207 is executed. When the signal quality of the third antenna 15 is less than the signal quality of the second antenna 7, step S2208 is executed.

[0239] 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 conduct with 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.

[0240] Similarly, when the signal quality of the third antenna 15 is equal to the signal quality of the second antenna 7, it indicates that the signal qualities of the third antenna 15 and the second antenna 7 are the same and both can adapt to the frequency band of the current RF signal. At this time, 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 first target interface 50 is connected to the second antenna 7, and the signal quality of the first target interface 50 is the signal quality of the second antenna 7. 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 signal quality of the first antenna 4 and the signal quality of the first target interface 50, so as to determine whether the RF circuit 22 of the electronic device 101 conducts with the first antenna 4 of the electronic device 101 or with the second antenna 7 of the target device 102. Or, 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 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, so as to determine whether the RF circuit 22 of the electronic device 101 conducts with the first antenna 4 of the electronic device 101 or with the third antenna 15 of the target device 102.

[0241] 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, and the controller 1 controls the first end 31 of the RF switch 3 to conduct with 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.

[0242] 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 frequency band of the current radio frequency signal. 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 signal quality of the second antenna 7. The controller 1 can determine whether the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 are conducting based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, so as to determine whether the radio frequency circuit 22 of the electronic device 101 is conducting with the first antenna 4 of the electronic device 101 or with the second antenna 7 of the target device 102.

[0243] In the process described in the above steps S2201 - S2208, the 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 based on the interface connection information. First, the target antenna 70 is determined based on the signal quality of the second antenna 7 and the signal quality of 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, the first end 31 of the radio frequency switch 3 is controlled to conduct with the target end 30 (or the second end 32). This is a process of obtaining 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 when the first target interface 50 and the second target interface 60 are coupled, and then judging the superiority and 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 conducting port of the corresponding radio frequency switch 3 (i.e., the third end 33 or the fourth end 34). Among them, the second antenna 7 corresponds to the third end 33 of the radio frequency switch 3, and the third antenna 15 corresponds to the fourth end 34 of the radio frequency switch 3. Then, based on the signal quality of the first antenna 4 and the signal quality of the first target interface 50, the first end 31 of the radio frequency switch 3 is controlled to conduct with the target end 30 (or the second end 32). Therefore, the radio frequency circuit 22 of the electronic device 101 can be conducted with the second antenna 7 or the third antenna 15 of the target device 102, and the communication quality can be improved by using the second antenna 7 or the third antenna 15 of the target device 102 for communication.

[0244] The specific process in which the controller 1 mentioned in the above steps S2201 - S2208 controls the first end 31 of the radio frequency switch 3 to conduct with 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 has been described in detail in the above steps S1304 - S1306 and will not be elaborated here.

[0245] Finally, in the case where the target antenna 70 includes multiple antennas, the 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 the target antenna 70 including multiple antennas is the same as that of the target antenna 70 including two antennas, and the system 100 and the electronic device 101 with the target antenna 70 including two antennas have been described in detail above, it will not be elaborated here.

[0246] In the embodiment of the present application, secondly, the target device 102 is introduced. In the following embodiments of the present application, the target device 102 is described in detail by taking the target device 102 as an example, where the target device 102 only includes a second antenna 7, the target end of the radio frequency switch 3 is the third end 33, the first target interface 50 is the first interface 5, the second target interface 50 is the second interface 6, and the interface connection information is the interface connection information of the first interface 5 and the second interface 6.

[0247] In a possible implementation, the target device 102 can be a signal receiver or a vehicle, and the embodiment of the present application does not limit the type of the target device 102.

[0248] In the embodiment of the present application, the second antenna 7 is arranged 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. Exemplarily, in the case where the target device 102 is a signal receiver, for example, the target device 102 can be a satellite signal receiving device, the second antenna 7 is a satellite antenna, the second antenna 7 can be exposed outdoors and in the wild, and 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 and the electronic device 101 has no signal and the user cannot communicate externally, the electronic device 101 can be connected to the target device 102 which is a satellite signal receiving device. At this time, the first interface 5 is coupled to the second interface 6, and the controller 1 can control the first end 31 of the radio frequency switch 3 to conduct with the third end 33, so that the electronic device 101 can transmit and receive radio frequency signals through the second antenna 7 of the target device 102 which is a satellite signal receiving device and communicate externally.

[0249] Exemplarily, when the target device 102 is a vehicle, for example, the second antenna 7 can be the antenna of the vehicle. The second antenna 7 can be arranged at positions such as the A / B pillars of the vehicle, the heating wires of the vehicle mirrors / windows, the front / rear windshields, and under the center console cover plate. The size and layout can also be set according to actual needs. When the user is in the vehicle, since the signal of the electronic device 101 is weak or there is no signal during the movement of the vehicle, and the quality of the user's external communication is poor or the user cannot communicate externally, the electronic device 101 can be connected to the target device 102 which is 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 radio frequency switch 3 to conduct, so that the electronic device 101 can transmit and receive radio frequency signals through the second antenna 7 of the target device 102 which is the vehicle and communicate externally.

[0250] In the embodiment of the present application, the target device 102 is a vehicle.

[0251] Finally, in the embodiment of the present application, taking the system 100 with the electronic device 101 being a mobile phone and the target device 102 being a vehicle as an example, the system 100 of the present application will be specifically described.

[0252] Exemplarily, as shown in the attached Figure 23As shown, the mobile phone supports the cellular + satellite dual - mode. The mobile phone supporting cellular + satellite dual - mode can be integrated with the vehicle antenna, i.e., the second antenna 7, to form a system 100. This system 100 can support cellular + satellite dual - mode through the first antenna 4 or through the second antenna 7. Specifically, when the mobile phone is disconnected from the vehicle, the controller 1 can control the first end 31 and the second end 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 the cellular communication mode, based on the 3GPP standard protocol, it realizes cellular communication through the base station, cellular core network, and the first antenna 4. When the mobile phone communicates in the satellite communication mode, based on the satellite private protocol, it realizes satellite communication through the satellite, gateway station, satellite core network, inter - working gateway, cellular core network, and the first antenna 4. 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 RF switch 3 to conduct, enabling the mobile phone to transmit and receive RF signals through the second antenna 7 of the vehicle for external communication. When the mobile phone communicates in the cellular communication mode, based on the 3GPP standard protocol, it realizes cellular communication through the base station, cellular core network, and the second antenna 7 of the vehicle. When the mobile phone communicates in the satellite communication mode, based on the satellite private protocol, it realizes satellite communication through the satellite, gateway station, satellite core network, inter - working gateway, cellular core network, and the second antenna 7 of the vehicle. In this way, the communication quality can be improved. Exemplarily, as shown in Table 1 below (the rows represent the antenna gain and the percentage of antenna signal quality improvement of different antennas in the same communication mode. The columns represent the antenna gain in different communication modes for the same antenna, or the percentage of antenna signal quality improvement of the second antenna 7 compared to the first antenna 4 in different communication modes): Table 1: Antenna Gain when Transmitting and Receiving RF Signals through the First Antenna 4 and the Second Antenna 7

[0253] As can be seen from Table 1: Under the Beidou communication mode of the global satellite navigation system independently developed in China, when the first antenna 4 transmits and receives radio frequency signals, the antenna gain is -6 DBi. When the second antenna 7 transmits and receives radio frequency signals, the antenna gain is -0.5 DBi. Compared with the first antenna 4, the antenna signal quality of the second antenna 7 has increased by 192%. Under the communication mode of the global positioning system (GPS), a global satellite navigation system developed in the United States, when the first antenna 4 transmits and receives radio frequency signals, the antenna gain is -5.5 DBi. When the second antenna 7 transmits and receives radio frequency signals, the antenna gain is -0.5 DBi. Compared with the first antenna 4, the antenna signal quality of the second antenna 7 has increased by 190%. Under the Tiantong communication mode of the mobile satellite communication system independently developed in China, when the first antenna 4 transmits and receives radio frequency signals, the antenna gain is -4 DBi. When the second antenna 7 transmits and receives radio frequency signals, the antenna gain is -0.5 DBi. Compared with the first antenna 4, the antenna signal quality of the second antenna 7 has increased by 187%. Under the maritime communication mode of the mobile satellite communication system provided by the International Mobile Satellite Organization, when the first antenna 4 transmits and receives radio frequency signals, the antenna gain is -3.5 DBi. When the second antenna 7 transmits and receives radio frequency signals, the antenna gain is -0.5 DBi. Compared with the first antenna 4, the antenna signal quality of the second antenna 7 has increased by 186%. Under the same communication mode, when the second antenna 7 transmits and receives radio frequency signals, the antenna signal quality is higher than that when the first antenna 4 transmits and receives radio frequency signals. Therefore, the system 100 provided by the embodiments of the present application can improve the communication quality.

[0254] In the related art, with the development of intelligent network connection technology, the use of V2X wireless communication technology has become increasingly frequent. Exemplarily, as shown in the appendix Figure 24 Vehicle-to-everything (V2X) constructs a collaborative perception system through real-time information interaction between vehicle and infrastructure (V2I), vehicle and home (V2H), vehicle and vehicle (V2V), vehicle and device (V2D), vehicle and pedestrian (V2P), vehicle and cloud / cellular network (V2N), and vehicle and satellite (V2S).

[0255] In the embodiments of the present application, exemplarily, as shown in the appendix Figure 25As shown, in the 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 RF switch 3 to be connected, so that the mobile phone can send and receive RF signals through the vehicle-mounted 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, car, equipment, person, cloud / cellular network, satellite, etc.).

[0256] In a possible implementation, the mobile phone further includes a printed circuit board (PCB) and a back panel. The first interface 5 is arranged on the back panel of the mobile phone. The vehicle further includes a mobile phone holder, and the second interface 6 is arranged on the mobile phone holder.

[0257] In the case where the first interface 5 is a spring needle or a probe or a contact, for example, as shown in the attached Figure 26 As shown, in the system 100, the mobile phone also includes a printed circuit board (PCB) 1101 and a back plate 1102. The PCB board 1101 is connected to the back plate 1102, and the first interface 5 is also connected to the back plate 1102. The vehicle also includes a mobile phone holder 1201. The mobile phone holder 1201 is electrically connected to the circuit including the second antenna 7 on the vehicle. The bottom plate 1202 of the mobile phone holder 1201 is provided with a second interface 6 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 circuit including the second antenna 7 on the vehicle, forming a vehicle-mounted mobile phone holder. For example, when a mobile phone is placed on the mobile phone holder 1201, the first interface 5 triggered as a spring needle is connected to the second interface 6 corresponding to the 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 be connected, the RF circuit 22 of the mobile phone can be connected to the vehicle-mounted second antenna 7, and the RF signal is received and sent through the second antenna 7.

[0258] In the case where the first interface 5 is a coil, for example, as shown in the attached Figure 27As shown, in system 100, similarly, the mobile phone further includes a printed circuit board (PCB) 1101 and a backplane 1102. The PCB 1101 is connected to the backplane 1102. On the side of the backplane 1102 opposite to the PCB 1101, a first coil 1103 is further provided, and a first interface 5 is provided on the first coil 1103. The vehicle further includes a mobile phone holder 1201. The mobile phone holder 1201 is electrically connected to a circuit including a second antenna 7 on the vehicle. A second coil 1204 is provided on the bottom plate 1202 of the mobile phone holder 1201, and a second interface 6 is further 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 a circuit including a second antenna 7 on the vehicle and is formed as an in-vehicle mobile phone holder. For example, when the mobile phone is placed on the mobile phone holder 1201, it triggers the coupling connection between the first interface 5 on the first coil 1103 and the second interface 6 on the corresponding second coil 1204. 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 conducted with the in-vehicle second antenna 7, and RF signals are transmitted and received through the in-vehicle second antenna 7.

[0259] In a possible implementation, the impedance of the first interface 5 can be 50Ω, or 51Ω or 49Ω. The embodiments of the present application do not limit the impedance value of the first interface 5.

[0260] In a possible implementation, the impedance of the second interface 6 can be 50Ω, or 51Ω or 49Ω. The embodiments of the present application do not limit the impedance value of the second interface 6.

[0261] In the embodiments of the present application, the first interface 5 and the second interface 6 can be aligned by magnetic attraction. The first interface 5 and the second interface 6 can also be set to be waterproof and dustproof, such as IP65 or IP67 level.

[0262] In the embodiments of the present application, the first interface 5 can be connected to the RF circuit 22 of the mobile phone through a spring piece.

[0263] In a possible implementation, the mobile phone holder 1201 can be set on the instrument platform, or on the console or the air outlet. The embodiments of the present application do not limit the placement position of the mobile phone holder 1201.

[0264] In a possible implementation, the other end of the mobile phone holder 1201 can be directly electrically connected to the circuit including the second antenna 7 on the vehicle, or a fifth interface can be provided to be electrically connected to the circuit including the second antenna 7 on the vehicle through the fifth interface. The embodiments of the present application do not limit the connection manner between the mobile phone holder 1201 and the vehicle. In the case of being electrically connected to the circuit including the second antenna 7 on the vehicle through the fifth interface, the vehicle needs to be provided with a sixth interface to be matched and connected to the fifth interface.

[0265] Similarly, in a possible implementation, the fifth interface can be a spring pin or a probe, or can be a contact or a coil. The embodiments of the present application do not limit the type of the fifth interface.

[0266] In the embodiments of the present application, the fifth interface and the sixth interface are matched with each other. For example, when the fifth interface is a spring pin or a probe, the sixth interface is a contact. When the fifth interface is a contact, the sixth interface is a contact or a spring pin or a probe. When the fifth interface is a coil, the sixth interface is a coil.

[0267] In the embodiments of the present application, when the mobile phone is connected to the vehicle and the mobile phone is used to replace the vehicle to connect to all things, user authorization is generally required.

[0268] Exemplarily, as shown in the attached Figure 28 figure, the specific process in which the controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the radio frequency switch 3 to conduct based on the interface connection information may include steps S2801-S2805: Step S2801, the controller 1 obtains the information that the user authorizes to receive and transmit radio frequency signals through the vehicle-mounted second antenna 7.

[0269] First, the user can authorize that in the V2X environment, the mobile phone can receive and transmit radio frequency signals through the vehicle-mounted second antenna 7. At this time, the controller 1 can obtain the information that the user authorizes to receive and transmit radio frequency signals through the vehicle-mounted second antenna 7.

[0270] Step S2802, the controller 1 obtains the interface connection information.

[0271] The interface connection information can be obtained by obtaining the signal quality of the first interface 5, or can be obtained by obtaining the level information of the second end of the detection circuit 9. The content of the controller 1 obtaining the interface connection information has been described in detail in steps S1001-S1003 and steps S1101-S1102, and will not be repeated here.

[0272] Step S2803, the controller 1 determines whether the interface connection information is coupling.

[0273] Similarly, the process by which the controller 1 determines whether the interface connection information is coupled has been described in detail in steps S1001 - S1003 and steps S1101 - S1102, and will not be elaborated here. When the interface connection information is coupled, step S2804 is executed. When the interface connection information is disconnected, step S2805 is executed.

[0274] Step S2804: The controller 1 controls the first end 31 and the third end 33 of the RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the vehicle-mounted second antenna 7.

[0275] When the interface connection information is coupled, it indicates that the mobile phone has been placed on (or installed on) the mobile phone holder 1201, and the first interface 5 on the back plate 1102 of the mobile phone is coupled with 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 RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the vehicle-mounted second antenna 7.

[0276] Step S2805: The controller 1 controls the first end 31 and the second end 32 of the RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the first antenna 4.

[0277] When the interface connection information is disconnected, it indicates that the mobile phone has been separated from (or disassembled from) the mobile phone holder 1201, and the first interface 5 on the back plate 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 RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the first antenna 4.

[0278] In the above steps S2801 - S2805, the process in which the controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the interface connection information is to obtain the user's authorization information, and then obtain the interface connection information. Then, the controller 1 controls the first end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the interface connection information. Therefore, the RF circuit 22 of the electronic device 101 can be conducted with the second antenna 7 of the target device 101, and communication is performed by using the second antenna 7 of the target device 102, improving the communication quality.

[0279] Exemplarily, as shown in the appendix Figure 29 The specific process in which the 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 end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the signal quality of the first antenna 4 and the signal quality of the first interface 5 can include steps S2901 - S2907: Step S2901, the controller 1 obtains the information that the user authorizes the vehicle-mounted second antenna 7 to transmit and receive radio frequency signals.

[0280] The specific content of step S2901 has been described in detail in step S2801 and will not be elaborated here.

[0281] Step S2902, the controller 1 determines whether the interface connection information is coupling.

[0282] Similarly, the specific content of step S2902 has been described in detail in step S1301 and will not be elaborated here.

[0283] Step S2903, 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.

[0284] Similarly, the specific content of step S2903 has been described in detail in step S2805 and will not be elaborated here.

[0285] Step S2904, the 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.

[0286] Similarly, the specific content of step S2904 has been described in detail in step S1303 and will not be elaborated here.

[0287] Step S2905, the controller 1 determines whether 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.

[0288] When 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 has doubled compared to the signal quality of the first antenna 4. At this time, the first antenna 4 of the mobile phone can be switched to the second antenna 7 of the vehicle through the radio frequency switch 3 of the mobile phone, and the mobile phone transmits and receives radio frequency signals through the vehicle-mounted second antenna 7, and step S2907 is executed. When 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 has not doubled compared to the signal quality of the first antenna 4. At this time, it is not necessary to switch the first antenna 4 of the mobile phone to the vehicle-mounted second antenna 7 through the radio frequency switch 3 of the mobile phone, and the mobile phone can keep transmitting and receiving radio frequency signals through the first antenna 4, and step S2906 is executed.

[0289] Step S2906, 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.

[0290] When the signal quality of the first antenna 4 is greater than or equal to the signal quality of the first interface 5, or when the signal quality difference is less than the second threshold, the controller 1 does not need to switch the first antenna 4 of the mobile phone to the in-vehicle second antenna 7 through the RF switch 3 of the mobile phone. The controller 1 controls the first end 31 and the second end 32 of the RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the first antenna 4. For example, the signal quality of the first antenna 4 is -80 dB, and the signal quality of the first interface 5 is -79 dB. At this time, the signal quality difference is 1 dB, which is less than the second threshold of 3 dB. Therefore, it is not necessary to switch the first antenna 4 of the mobile phone to the in-vehicle second antenna 7 through the RF switch 3 of the mobile phone. The controller 1 controls the first end 31 and the second end 32 of the RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the first antenna 4.

[0291] Step S2907, the controller 1 controls the first end 31 and the third end 33 of the RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the in-vehicle second antenna 7.

[0292] When the signal quality of the first antenna 4 is less than the signal quality 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 in-vehicle second antenna 7 through the RF switch 3 of the mobile phone, control the first end 31 and the third end 33 of the RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the in-vehicle second antenna 7. For example, the signal quality of the first antenna 4 is -80 dB, and the signal quality of the first interface 5 is -77 dB. At this time, the signal quality difference is 3 dB, which is equal to the second threshold of 3 dB. Therefore, it is possible to switch the first antenna 4 of the mobile phone to the in-vehicle second antenna 7 through the RF switch 3 of the mobile phone. The controller 1 controls the first end 31 and the third end 33 of the RF switch 3 to conduct, and the mobile phone receives and transmits RF information through the in-vehicle second antenna 7.

[0293] The process that the controller 1 described in the above steps S2901 - S2907 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 end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the signal quality of the first antenna 4 and the signal quality of the first interface 5 is to obtain the user's authorization information, and then based on the interface connection information, obtain the signal quality of the first antenna 4 and the signal quality of the first interface 5, and then judge the superiority and inferiority of the signal quality of the first antenna 4 and the signal quality of the first interface 5. The controller 1 then controls the first end 31 and the third end 33 (or the second end 32) of the RF switch 3 to conduct based on the superiority and inferiority of the signal quality of the first antenna 4 and the signal quality of the first interface 5. Therefore, the RF circuit 22 of the electronic device 101 can be conducted with the second antenna 7 of the target device 102, and communication is carried out by using the second antenna 7 of the target device 102, improving the communication quality.

[0294] In the embodiments of the present application, an electronic device and a system are provided. The electronic device includes a controller, a radio frequency front end, a radio frequency switch, a first antenna, and a first interface. The first end of the radio frequency switch is connected to the second end of the radio frequency front end, the second end is connected to the first antenna, and the target end is connected to the first target interface. The target device includes a second target interface and a target antenna, and the second target interface is 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 controls the conduction between the first end and the second end of the radio frequency switch, or the conduction between the first end and the target end, based on the interface connection information obtained for indicating the coupling or disconnection between the first target interface and the second target interface. It is possible to conduct the radio frequency circuit of the electronic device to the target antenna of the target device, and communicate through the target antenna of the target device, thereby improving the communication quality.

[0295] It can be understood that, in order to implement the above functions, the electronic device includes the corresponding hardware and / or software modules for executing each function. Combining the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or 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 combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.

[0296] In this embodiment, the electronic device can be divided into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there can be other division methods in actual implementation.

[0297] The embodiments of the present application also provide a computer-readable storage medium. Computer program code is stored in the computer storage medium. When the above processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.

[0298] The embodiments of the present application also provide a computer program product. When the computer program product runs on a computer, the computer is enabled to execute the relevant method steps in the above method embodiments.

[0299] Among them, the electronic device, computer storage medium, or computer program product provided in this application is all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here.

[0300] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0301] In several embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the above division of modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

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

[0303] In addition, each functional unit in each embodiment of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The functions of the above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0304] When the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that makes a contribution, or all or part of the technical solution, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the above methods in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0305] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. An electronic device, characterized in that, It includes a controller, a radio frequency front end, a radio frequency switch, a first antenna, and a first target interface; a first end of the controller is connected to a first end of the radio frequency front end, and a second end of the radio frequency front end is connected to a first end of the radio frequency switch; a second end of the radio frequency switch is connected to the first antenna, and a target end of the radio frequency switch is connected to the first target interface; the electronic device is used to connect to a second target interface of a target device through the first target interface, and the target device further includes a target antenna, and the second target interface is connected to the target antenna; the controller is used to: Obtain interface connection information; the interface connection information is used to indicate that the first target interface is coupled or disconnected from the second target interface; Based on the interface connection information, control the first end and the second end of the radio frequency switch to conduct, or control the first end and the target end of the radio frequency switch to conduct.

2. The electronic device according to claim 1, wherein The controller is used to: When the first target interface is coupled to the second target interface, control the first end and the target end of the radio frequency switch to conduct; When the first target interface is disconnected from the second target interface, control the first end and the second end of the radio frequency switch to conduct.

3. The electronic device according to claim 1, wherein The electronic device further includes a radio frequency chip, and a first end of the radio frequency chip is connected to a first end of the radio frequency front end; the controller is used 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 radio frequency chip, and based on the signal quality of the first antenna and the signal quality of the first target interface, control the first end and the second end of the radio frequency switch to conduct, or control the first end and the target end of the radio frequency switch to conduct; When the first target interface is disconnected from the second target interface, control the first end and the second end of the radio frequency switch to conduct.

4. The electronic device according to claim 3, characterized in that, The controller is used to: 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 first threshold, control the first end and the target end of the radio frequency switch to conduct; the signal quality difference is used to represent 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 the first threshold, control the first end and the second end of the radio frequency switch to conduct.

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; When the signal quality of the third antenna is less than the signal quality of the second antenna, the target antenna is the second antenna; When the signal quality of the third antenna is greater than the signal quality of the second antenna, the target antenna is the third antenna.

6. The electronic device according to claim 5, wherein The target end of the radio frequency switch includes a third end and a fourth end; When the target antenna is the second antenna, the target end of the radio frequency switch is the third end; When the target antenna is the third antenna, the target end of the radio frequency switch is the fourth end.

7. The electronic device according to any one of claims 1-4 and 6, characterized in that The electronic device further includes a detection circuit and a first capacitor; a second end of the controller is connected to a first end of the detection circuit; a second end 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; The detection circuit is configured to obtain level information of a second end of the detection circuit. When the level of the second end of the detection circuit is a low level, the first target interface is coupled to the second target interface. When the level of the second end of the detection circuit is a high level, the first target interface is disconnected from the second target interface.

8. The electronic device according to any one of claims 1-4 and 6, characterized in that, The controller is configured to: Obtain the signal quality of the first target interface; when the signal quality of the first target interface is greater than a second threshold, the interface connection information is 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 second threshold, the interface connection information is that the first target interface is disconnected from the second target interface.

9. 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.

10. A system, characterized in that, Including the electronic device and the target device according to any one of claims 1-9, the system is configured to control the radio frequency circuit of the electronic device to conduct with the first antenna of the electronic device, or to conduct with the target antenna of the target device based on the connection information between the electronic device and the target device; the connection information is used to indicate that the electronic device is coupled to or disconnected from the target device.

11. The system according to claim 10, wherein The target device includes a vehicle or a signal receiver.

12. The system according to claim 11, wherein When the target device is a vehicle, the electronic device is configured to connect to the second target interface on the bracket of the target device through the first target interface of the electronic device; when the electronic device is installed on the bracket of the target device, the first target interface is coupled to the second target interface.

13. The system according to claim 12, wherein, The first target interface and the second target interface are in one-to-one correspondence; the first target interface is a contact, a probe or a coil.

Citation Information

Patent Citations

  • Single-port antenna switching system and method

    CN106953179A

  • Mobile terminal compatible with built-in and external antennae

    CN107346983A

  • Terminal, radio frequency front end and antenna detection method

    CN113922833A

  • Radio frequency front-end module, method for controlling radio frequency front-end module and electronic equipment

    CN114629521A

  • Antenna detection circuit, antenna switching circuit and electronic equipment

    CN118858780A