Antenna tuning method and related device

By acquiring signal transmission time information in dual-card dual-pass terminal devices and adjusting the matching of antenna resonance frequency with the transmission frequency band, the problem of poor antenna transmission performance during time division multiplexing is solved, and more efficient transmission performance is achieved.

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

Patent Information

Application Number
CN202311286963.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In dual-card dual-pass terminal devices, when the signals corresponding to the two SIM cards are time-division multiplexed, the transmitting performance of the antenna is poor.

Method used

By obtaining the transmission time information of the two signals, adjusting the antenna's resonance frequency matches the transmitted frequency band, thereby improving the transmission performance of the antenna.

Benefits of technology

The transmitting performance of the antenna is improved, and since the resonant frequency of the antenna does not need to take into account both frequency bands at the same time, time division multiplexing DSDA can be achieved without the combination of frequency without the CA tuning state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119767421A_ABST
    Figure CN119767421A_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides an antenna tuning method and related devices. The method includes: the terminal device obtains a first time for configuring the resonant frequency of the first antenna, and the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency at the first time; in the first time period, the terminal device uses the first antenna to send a signal of the first frequency band, the resonant frequency of the first antenna is the first resonant frequency, and the first time period is later than the first time; the terminal device obtains a second time for configuring the resonant frequency of the first antenna, and the terminal device configures the resonant frequency of the first antenna to be the second resonant frequency at the second time, and the second time is later than the first time period; in the second time period, the terminal device uses the first antenna to send a signal of the second frequency band, and the resonant frequency of the first antenna is the second resonant frequency. In this way, when the terminal device is time-division multiplexing, the resonant frequency of the antenna is adjusted to match the transmitted frequency band, thereby improving the transmission performance of the antenna.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to an antenna tuning method and related devices. Background Art

[0002] Terminal devices such as mobile phones usually have two or more SIM cards built in. Currently, in order to meet the needs of using both voice and data services, some terminal devices with two SIM cards built in have dual SIM dual active (DSDA) communication capabilities.

[0003] The terminal device can time-division multiplex the signals corresponding to the two SIM cards to achieve simultaneous communication of the two SIM cards.

[0004] However, when the signals corresponding to the two SIM cards are time-division multiplexed, the transmission performance of the antenna is poor. Summary of the invention

[0005] The embodiments of the present application provide an antenna tuning method and related devices, which are applied to the field of terminal technology. When the signals corresponding to two SIM cards are time-division multiplexed, the terminal device can obtain the transmission time information of the two signals or the time information of the path switching of the RF front-end module, and adjust the resonant frequency of the antenna to match the transmitted frequency band based on the transmission time information or the path switching time information, thereby improving the transmission performance of the antenna. In addition, since the resonant frequency of the antenna does not need to take into account both frequency bands at the same time (that is, the antenna does not need to be in the CA tuning state), frequency combinations that do not have the CA tuning state can also realize time-division multiplexing DSDA.

[0006] In the first aspect, an embodiment of the present application proposes an antenna tuning method. The method includes: a terminal device obtains a first time for configuring the resonant frequency of the first antenna, and the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency at the first time; in a first time period, the terminal device uses the first antenna to send a signal of the first frequency band, and the resonant frequency of the first antenna is the first resonant frequency, and the first time period is later than the first time; the terminal device obtains a second time for configuring the resonant frequency of the first antenna, and the terminal device configures the resonant frequency of the first antenna to be the second resonant frequency at the second time, and the second time period is later than the first time period; in a second time period, the terminal device uses the first antenna to send a signal of the second frequency band, and the resonant frequency of the first antenna is the second resonant frequency; wherein the first frequency band is different from the second frequency band; the first resonant frequency is set so that the radiation efficiency of the first antenna for the signal of the first frequency band is higher than the radiation efficiency for the signal of the second frequency band; the second resonant frequency is set so that the radiation efficiency of the first antenna for the signal of the second frequency band is higher than the radiation efficiency for the signal of the first frequency band, and the second time period is later than the second time; wherein the first time period and the second time period are both sending time periods for the terminal device to implement a time division multiplexing communication process.

[0007] The terminal device can adjust the resonant frequency of the antenna to match the transmitted frequency band to improve the antenna's transmission performance. In addition, since the resonant frequency of the antenna does not need to take into account both frequency bands at the same time (that is, the antenna does not need to be in a CA tuning state), frequency combinations that do not have a CA tuning state can also achieve time division multiplexing DSDA.

[0008] Optionally, before the terminal device obtains the first time for configuring the resonant frequency of the first antenna, the method also includes: the terminal device obtains frequency band combination information and antenna switching information, the frequency band combination information is used to indicate that the signal of the first SIM card is the first frequency band, and the signal of the second SIM card is the second frequency band; the antenna switching information is used to indicate that the antenna that sends the signal of the first frequency band is the first antenna, and the antenna that sends the signal of the second frequency band is the first antenna; after the terminal device obtains the frequency band combination information and the antenna switching information, the time period for the first antenna to send the signal of the first frequency band includes the first time period, and the time period for the first antenna to send the signal of the second frequency band includes the second time period.

[0009] In this way, the terminal device can obtain the transmission time information of the two signals, and configure the resonant frequency of the first antenna according to the transmission time information, so that the resonant frequency of the antenna matches the transmission frequency band.

[0010] Optionally, before the terminal device obtains the first time for configuring the resonant frequency of the first antenna, the method also includes: the control unit obtains the first time according to a second message from the modem or the RF transceiver, the second message being used to indicate sending a signal of the first frequency band in a first time period; the first time is configured by the control unit based on the first time period.

[0011] In this way, the control unit can determine the time to adjust the resonant frequency of the first antenna according to the transmission time period, so as to facilitate the subsequent configuration of the resonant frequency of the first antenna.

[0012] Optionally, the first time is configuration of a modem or RF transceiver of the terminal device.

[0013] In this way, the time for adjusting the resonant frequency of the first antenna can be determined by the modem or the radio frequency transceiver, so that the subsequent control unit can configure the resonant frequency of the first antenna.

[0014] It is understandable that the first time may be within the third time period, or between the third time period and the first time period. The third time period is a time period adjacent to the first time period, and the third time period is a time period when the terminal device sends or receives signals.

[0015] Optionally, the interval between the first time and the start time of the first time period is less than or equal to a first value, the first value includes the time interval between the start time of the first time period and the end time of the third time period, the third time period is an earlier time period adjacent to the first time period, and the third time period is a time period for the terminal device to send or receive signals.

[0016] In this way, switching is performed in the gap between signal transmissions to reduce the impact on signal transmission. Optionally, the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency at the first time, including: the control unit of the terminal device receives a first message from the modem or the RF transceiver at the first time, and configures the resonant frequency of the first antenna to be the first resonant frequency, and the first message is used to instruct the first antenna to transmit a signal in the first frequency band.

[0017] In this way, the control unit can be triggered to configure the resonant frequency of the first antenna by sending a message through a modem or a radio frequency transceiver, and the switching is performed in the interval between signal transmissions to reduce the impact on signal transmission.

[0018] Optionally, the second time is configured by the modem or RF transceiver of the terminal device; the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency at the first time, including: the control unit of the terminal device receives a message from the modem or RF transceiver at the second time, and configures the resonant frequency of the first antenna to be the first resonant frequency, and the message is used to instruct the first antenna to send a signal in the second frequency band.

[0019] Optionally, the interval between the second time and the start time of the second time period is less than or equal to a second value, and the second value includes the time interval between the start time of the first time period and the end time of the first time period. It is understandable that the second time can be within the first time period or between the first time period and the second time period.

[0020] In this way, switching is performed in the gap between sending signals to reduce the impact on signal transmission. Optionally, the time interval between the second time and the start time of the second time period is greater than or equal to a threshold, and the threshold may be 50 microseconds, or other values. The threshold may be determined based on the time required to configure the resonant frequency of the antenna, which is not limited here.

[0021] Optionally, the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency at the first time, including: the terminal device configures the tuning switch corresponding to the first antenna at the first time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is the first resonant frequency; the terminal device configures the resonant frequency of the first antenna to be the second resonant frequency at the second time, including: the terminal device configures the tuning switch corresponding to the first antenna at the second time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is the second resonant frequency; the impedance of the first antenna in the first time period is different from the impedance of the first antenna in the second time period.

[0022] In this way, the resonant frequency is adjusted by the tuning switch, which is simple and easy to implement.

[0023] Optionally, before the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency, the method also includes: the terminal device obtains first scene information of the terminal device, the first scene information is used to indicate that the terminal device is in the first scene; the first scene is distinguished by the impedance of the signal from the RF transceiver to the first antenna; the terminal device obtains a logical value of the tuning switch as a first value based on the first scene and the corresponding relationship, and the corresponding relationship is the relationship between the scene, the frequency band and the logical value; the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency including: the terminal device adjusts the tuning switch to a first state based on the first value.

[0024] In this way, the terminal device takes into account the different impedances corresponding to different scenarios and adjusts the state of the tuning switch according to the scenario, which can improve the accuracy of the resonant frequency of the first antenna and improve the antenna performance.

[0025] Optionally, the method also includes: the terminal device obtains second scene information of the terminal device, the second scene information is used to indicate that the terminal device is in the second scene; the terminal device obtains a third time for configuring the resonant frequency of the first antenna, and the third time is later than the second time period; the terminal device obtains a logical value of the tuning switch as a second value based on the second scene and the corresponding relationship at the third time, and the corresponding relationship is the relationship between the scene, the frequency band and the logical value; the terminal device adjusts the tuning switch to a second state based on the second value, and the first state and the second state are different; in the fourth time period, the terminal device uses the first antenna to send a signal of the first frequency band, the resonant frequency of the first antenna is the first resonant frequency, and the fourth time period is later than the third time.

[0026] In this way, when transmitting signals of the same frequency in different scenarios, the state of the tuning switch is different; thereby improving the accuracy of the resonant frequency of the first antenna and improving the antenna performance.

[0027] Optionally, the first scene includes one or more of the following: a scene in which the folding screen in the terminal device is unfolded, a scene in which the camera of the terminal device is turned on, and a scene in which headphones or a charging cable are inserted into the interface of the terminal device; the second scene includes one or more of the following: a scene in which the folding screen in the terminal device is closed, a scene in which the camera of the terminal device is turned off, and a scene in which headphones or a charging cable are not inserted into the interface of the terminal device.

[0028] Optionally, before the terminal device obtains the first time for configuring the resonant frequency of the first antenna, the method also includes: when the first SIM card is working, the terminal device receives an operation for instructing the second SIM card to work; the terminal device sends a signal of the first frequency band and a signal of the second frequency band in a time division multiplexing manner, the signal of the first frequency band is a signal corresponding to the first SIM card, and the signal of the second frequency band is a signal corresponding to the second SIM card.

[0029] In this way, when two SIM cards work at the same time, the resonant frequency of the antenna can be adjusted to match the transmitted frequency band, thereby improving the transmission performance of the antenna.

[0030] Optionally, the service of the first SIM card is an Internet access service, and the service of the second SIM card is a call service.

[0031] In a second aspect, the present application provides an antenna adjustment device, which may be a terminal device, or a part of a terminal device, or a chip or component capable of implementing a corresponding function, which is not limited here.

[0032] The device includes: a control unit; the control unit is used to obtain a first time for configuring the resonant frequency of the first antenna; the control unit is also used to configure the resonant frequency of the first antenna to be the first resonant frequency at the first time; the first antenna is used to send a signal of the first frequency band in a first time period, the resonant frequency of the first antenna in the first time period is the first resonant frequency, and the first time period is later than the first time; the control unit is also used to obtain a second time for configuring the resonant frequency of the first antenna; the control unit is also used to configure the resonant frequency of the first antenna to be the second resonant frequency in the second time period, and the second time period is later than the first time; the first antenna is also used to send a signal of the second frequency band in the second time period, and the resonant frequency of the first antenna in the second time period is the second resonant frequency; wherein the first frequency band is different from the second frequency band; the setting of the first resonant frequency makes the radiation efficiency of the first antenna to the signal of the first frequency band higher than the radiation efficiency to the signal of the second frequency band; the setting of the second resonant frequency makes the radiation efficiency of the first antenna to the signal of the second frequency band higher than the radiation efficiency to the signal of the first frequency band, and the second time period is later than the second time; the first time period and the second time period are both sending time periods for the terminal device to implement a time division multiplexing communication process.

[0033] Optionally, the device also includes: a modem; a modem, used to obtain frequency band combination information and antenna switching information, the frequency band combination information is used to indicate that the signal of the first SIM card is the first frequency band, and the signal of the second SIM card is the second frequency band; the antenna switching information is used to indicate that the antenna that sends the signal of the first frequency band is the first antenna, and the antenna that sends the signal of the second frequency band is the first antenna; the modem is also used to, after obtaining the frequency band combination information and the antenna switching information, allocate the time period for the first antenna to send the signal of the first frequency band to include the first time period, and the time period for the first antenna to send the signal of the second frequency band to include the second time period.

[0034] Optionally, the control unit is specifically used to obtain the first time according to a second message from the modem or the RF transceiver, the second message is used to indicate sending a signal of the first frequency band in a first time period; the first time is configured by the control unit based on the first time period.

[0035] Optionally, the first time is configuration of a modem or RF transceiver of the terminal device.

[0036] Optionally, the control unit is specifically configured to receive a first message from the modem or the radio frequency transceiver at a first time, and configure the resonant frequency of the first antenna to be a first resonant frequency, wherein the first message is used to instruct the first antenna to send a signal in a first frequency band.

[0037] Optionally, the interval between the first time and the start time of the first time period is less than or equal to a first value, the first value includes the time interval between the start time of the first time period and the end time of the third time period, the third time period is the previous time period adjacent to the first time period, and the third time period is the time period for the terminal device to send or receive signals.

[0038] Optionally, the time interval between the first time and the start time of the first time period is greater than or equal to a threshold, which may be 50 microseconds or other values. The threshold may be determined based on the time required to configure the resonant frequency of the antenna, which is not limited here.

[0039] Optionally, the control unit is specifically used to configure the tuning switch corresponding to the first antenna at a first time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is a first resonant frequency; the control unit is specifically used to configure the tuning switch corresponding to the first antenna at a second time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is a second resonant frequency; the impedance of the first antenna in the first time period is different from the impedance of the first antenna in the second time period.

[0040] Optionally, the control unit is also used to obtain first scene information of the terminal device, the first scene information is used to indicate that the terminal device is in a first scene; the first scene is distinguished by the impedance of the signal from the RF transceiver to the first antenna; the control unit is specifically used to obtain the logical value of the tuning switch as a first value based on the first scene and the corresponding relationship, and the corresponding relationship is the relationship between the scene, the frequency band and the logical value; the control unit is specifically used to adjust the tuning switch to a first state based on the first value.

[0041] Optionally, the control unit is also used to obtain second scene information of the terminal device, and the second scene information is used to indicate that the terminal device is in the second scene; the control unit is also used to obtain a third time for configuring the resonant frequency of the first antenna, and the third time is later than the second time period; the control unit is also used to obtain the logical value of the tuning switch as a second value based on the second scene and the corresponding relationship at the third time, and the corresponding relationship is the relationship between the scene, the frequency band and the logical value; the control unit is also used to adjust the tuning switch to a second state based on the second value, and the first state and the second state are different; the first antenna is also used to send a signal of the first frequency band in a fourth time period, and the resonant frequency of the first antenna in the fourth time period is the first resonant frequency, and the fourth time period is later than the third time.

[0042] Optionally, the first scene includes one or more of the following: a scene in which the folding screen of the terminal device is unfolded, a scene in which the camera of the terminal device is turned on, a scene in which headphones or a charging cable are inserted into the interface of the terminal device, a scene in which the folding screen is closed, a scene in which the camera is turned off, and a scene in which headphones or a charging cable are not inserted into the interface; or, the second scene includes one or more of the following: a scene in which the folding screen is unfolded, a scene in which the camera is turned on, a scene in which headphones or a charging cable are inserted into the interface, a scene in which the folding screen is closed, a scene in which the camera is turned off, and a scene in which headphones or a charging cable are not inserted into the interface.

[0043] In a third aspect, an embodiment of the present application provides a terminal device, which may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.

[0044] The terminal device comprises: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the method of the first aspect.

[0045] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method of the first aspect is implemented.

[0046] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the method of the first aspect.

[0047] In a sixth aspect, an embodiment of the present application provides a chip, the chip including a processor, the processor being used to call a computer program in a memory to execute the method described in the first aspect.

[0048] It should be understood that the second to sixth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram of the structure of a time-division multiplexing DSDA circuit in a possible design;

[0050] Figure 2 A schematic diagram of transmission performance corresponding to time division multiplexing of a first signal and a second signal in a possible design;

[0051] Figure 3 A schematic diagram of the structure of a radio frequency circuit provided in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of the structure of a tuning switch provided in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of the structure of a radio frequency circuit provided in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of the software structure of a modem provided in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of the structure of an antenna tuning method provided in an embodiment of the present application;

[0056] Figure 8 A schematic diagram of the structure of an antenna tuning method provided in an embodiment of the present application;

[0057] Fig. 9 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:

[0059] 1. Subscriber Identification Module (SIM card): It is a personal information card of a global digital mobile phone. The SIM card stores the user's data, authentication method and key, which can be used by the communication network to identify the user's identity. At the same time, the user completes the connection with the communication system and the exchange of information through the SIM card. It can be understood that in the communication network, the SIM card is not only a user identification card, but also a service carrier. The SIM card is used to store user-related data, as well as to authenticate the user's identity and prevent illegal users from entering the network.

[0060] In the embodiment of the present application, the SIM card may also be referred to as a universal subscriber identity module (USIM), a universal integrated circuit card (UICC), a smart card, etc.

[0061] 2. Voltage standing wave ratio (SWR): refers to the ratio of the voltage between the antinode and the trough on the feeder. The standing wave ratio can also be called voltage standing wave ratio, standing wave coefficient, etc.

[0062] It can be understood that when the standing wave ratio is equal to 1, it means that the impedance of the feeder and the antenna is completely matched. At this time, all the radio waves transmitted to the antenna are radiated by the antenna, and there is no energy reflection loss; when the standing wave ratio is greater than 1, it means that part of the radio waves are reflected back; when the standing wave ratio is infinite, it means that all the radio waves transmitted to the antenna are reflected back, and no energy is radiated.

[0063] 3. Frequency band: The frequency range of radio waves (RF signals). It should be noted that the frequency band below 1 gigahertz (GHz) is generally called the low frequency band, the frequency band of 1GHZ-2.2GHz is called the medium frequency band, and the frequency band above 2.3GHz is called the high frequency band.

[0064] 4. Antenna: A converter. The antenna is used to convert RF signals into electromagnetic waves of corresponding wavelengths and radiate them into the air, and / or to receive electromagnetic waves and convert them into corresponding RF signals. It is understandable that the same antenna can both transmit and receive RF signals. RF signals can include: LTE signals and NR signals, etc.

[0065] 5. RF transceiver: used to output RF signals and perform signal processing on RF signals received by the antenna. Signal processing includes but is not limited to frequency conversion, demodulation, and analog-to-digital conversion. RF transceivers may include: frequency division duplex (FDD), time division duplex (TDD), switches and / or combiners, etc. FDD and TDD are both used to separate the transmit signal and the receive signal in the path to reduce the interference between the transmit signal and the receive signal. Both switches and combiners can divide one signal into two signals, which is convenient for subsequent separation and processing of different signals. The embodiments of the present application do not limit or explain the processing process of the RF signal.

[0066] 6. Baseband: refers to the frequency band (frequency bandwidth) inherent in the original electrical signal emitted by the information source without modulation (spectrum shifting and transformation). Baseband signal refers to the original electrical signal without modulation (spectrum shifting and transformation).

[0067] 7. Other terms

[0068] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

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

[0070] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B 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. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.

[0071] In the embodiment of the present application, "at..." can be the instant when a certain situation occurs, or can be a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the interface of the terminal device provided in the embodiment of the present application is only an example, and the interface can also include more or less content.

[0072] 8. Terminal equipment

[0073] The terminal device of the embodiment of the present application may also be any form of electronic device. For example, the electronic device may include a handheld device with communication function, a vehicle-mounted device, etc. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (public land mobile The embodiments of the present application do not limit this.

[0074] As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

[0075] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.

[0076] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.

[0077] Terminal devices such as mobile phones usually have two or more SIM cards built in. At present, in order to meet the needs of using both voice and data services, some terminal devices with two SIM cards built in have dual SIM dual active (DSDA) communication capabilities. The terminal device can support SIM cards of two different operators at the same time and maintain network and standby mode, and work in two different network modes at the same time.

[0078] It is understandable that a terminal device with DSDA function can initiate or receive services in two mobile networks at the same time; if one SIM card in the terminal device with DSDA function is in the process of a call, the other SIM card can continue to browse the Internet or answer another call.

[0079] DSDA can be implemented in two ways, one is full concurrent DSDA, and the other is time division multiplexing DSDA (tx-sharing DSDA).

[0080] In the fully concurrent DSDA mode, both SIM cards have independent transmission links to enable the two SIM cards to communicate simultaneously.

[0081] It can be understood that the transmission link includes: envelope tracking (ET), power amplifier (PA), filter, antenna switch module (ASM), etc.

[0082] In the full concurrent DSDA mode, there are more transmission links and more devices in the radio frequency circuit, which occupies a large area of ​​the printed circuit board (PCB), which is not conducive to the miniaturization of the terminal device. In addition, multiple transmission links will also increase the cost of the terminal device. In addition, due to the limitation of PCB area and the cost of the terminal device, some terminal devices cannot realize the simultaneous transmission of two SIM cards through the full concurrent DSDA mode.

[0083] In the time division multiplexing DSDA mode, the transmission link is dynamically shared between the two SIM cards to achieve simultaneous communication between the two SIM cards. That is, the two SIM cards have only one transmission link, and the two SIM cards use the transmission link in a time division multiplexing manner.

[0084] Combine the following Figure 1 The transmission link of time division multiplexing DSDA is described.

[0085] For example, Figure 1 Figure 1 is a schematic diagram of a possible design of a time-division multiplexed DSDA circuit. Figure 1 As shown, the circuit includes: a radio frequency transceiver 101, a radio frequency front-end module 102, an antenna 103 and a modem 104.

[0086] The RF transceiver 101 is connected to the RF front-end module 102 , and the RF front-end module 102 is connected to the antenna 103 . The RF transceiver 101 , the RF front-end module 102 , and the antenna 103 are all controlled by the modem 104 .

[0087] The RF transceiver 101 is used to output RF signals. The RF transceiver 101 is also used to process RF signals received by one or more antennas 103. Signal processing includes but is not limited to frequency conversion, demodulation, and analog-to-digital conversion.

[0088] like Figure 1 As shown, the RF transceiver 101 includes: a port for outputting RF signals and a port for inputting RF signals.

[0089] Take time division multiplexing DSDA as an example, where each signal corresponds to one transmission and two receptions. Figure 1 As shown, the RF transceiver 101 includes five ports, wherein the first port 101A is used to transmit the first signal or the second signal; the second port 101B is used to receive the first signal; the third port 101C is used to receive the second signal; the fourth port 101D is used to receive the first signal; and the fifth port 101E is used to receive the second signal.

[0090] The RF front-end module 102 is used to perform signal amplification, filtering, etc. on the RF signal output by the RF transceiver 101. The RF front-end module 102 is also used to perform signal amplification, filtering, etc. on the RF signal received by the antenna 103.

[0091] The antenna 103 is used to transmit the RF signal processed by the RF front-end module 102 and to receive the RF signal.

[0092] like Figure 1 As shown, the RF front-end module 102 includes: PA 21, switch 22, first filter 23, second filter 24, third filter 25, fourth filter 26, antenna switch 27, fifth filter 28, sixth filter 29, first low noise amplifier (LNA) 30, second LNA 31, third LNA 32, fourth LNA 33. Antenna 103 includes: antenna 1 34, antenna 2 35.

[0093] from Figure 1 It can be seen that the first signal and the second signal share a transmission link, which includes: PA21, switch 22, antenna switch 27 and antenna 1 34.

[0094] The transmission path corresponding to the first signal includes: PA 21 , the first port 22A of the switch 22 , the second port 22B of the switch 22 , the first filter 23 , and the antenna switch 27 .

[0095] The transmission process is as follows: the RF transceiver 101 outputs the first signal from the first port 101A to the PA 21 for signal amplification. The amplified first signal is transmitted to the first filter 23 via the first port 22A of the switch 22 and the second port 22B of the switch 22. The amplified first signal is transmitted to the antenna 1 34 for transmission via the antenna switch 27 after the first filter 23 filters out clutter.

[0096] The transmission path corresponding to the second signal includes: PA21 , the first port 22A of the switch 22 , the third port 22C of the switch 22 , the second filter 24 , and the antenna switch 27 .

[0097] The transmission process is as follows: the RF transceiver 101 outputs the second signal from the first port 101A to the PA 21 for signal amplification. The amplified second signal is transmitted to the third filter 25 via the first port 22A of the switch 22 and the third port 22C of the switch 22. The amplified first signal is transmitted to the antenna 1 34 for transmission via the antenna switch 27 after the clutter is filtered out by the third filter 25.

[0098] It can be understood that when the first signal and the second signal are time-division multiplexed, the terminal device can receive the first signal and the second signal at the same time.

[0099] The receiving process of the first signal is as follows: the RF signal received by the antenna 1 34 is transmitted to the third filter 25 via the antenna switch 27, and the third filter 25 removes the clutter in the RF signal to obtain the first signal; the first signal is amplified in the first LNA 30, and the amplified first signal is transmitted to the RF transceiver 101 via the second port 101B of the RF transceiver 101. The RF signal received by the antenna 2 35 is filtered out of clutter via the fifth filter 298 to obtain the first signal; the first signal is amplified in the third LNA 32, and the amplified first signal is transmitted to the RF transceiver 101 via the fourth port 101D of the RF transceiver 101.

[0100] The receiving process of the second signal is as follows: the RF signal received by the antenna 1 34 is filtered out by the fourth filter 26 to obtain the second signal; the second signal is amplified by the second LNA 31, and the amplified second signal is transmitted to the RF transceiver 101 via the third port 101C of the RF transceiver 101. The RF signal received by the antenna 2 35 is filtered out by the sixth filter 29 to obtain the second signal; the second signal is amplified by the fourth LNA 33, and the amplified second signal is transmitted to the RF transceiver 101 via the fifth port 101E of the RF transceiver 101.

[0101] Above Figure 1 In the circuit shown, the first signal and the second signal share a transmission link, and some components are reused, thereby reducing the occupied area of ​​the PCB, which is conducive to the miniaturization of the terminal equipment.

[0102] In a possible design, when the first signal and the second signal are time-division multiplexed, the modem 104 adjusts the tuning switch corresponding to the antenna 134 to a carrier aggregation (CA) state of the first signal and the second signal to take into account the transmission performance of the first signal and the transmission performance of the second signal.

[0103] However, when the antenna 1 34 is in the CA state of the first signal and the second signal, the transmission performance of the antenna 1 34 is poor and the transmission rate is low. In addition, frequency band combinations with CA tuning states (for example, N1 and N3, etc.) can perform time division multiplexing DSDA; frequency combinations without CA tuning states cannot support time division multiplexing DSDA. Frequency combinations without CA tuning states can be: N5 and N28, N5 and B20, N5 and N8, and B5 and N28, etc.

[0104] For example, Figure 2 The following is a schematic diagram of the transmission performance corresponding to the time division multiplexing of the first signal and the second signal in a possible design. Take the time division multiplexing DSDA combination in which the first SIM card transmits on the N1 frequency band and the second SIM card transmits on the N3 frequency band as an example.

[0105] like Figure 2 As shown, line 201 represents the standing wave ratio of antenna 34 at each frequency when antenna 34 is configured in the CA state of N1+N3; line 202 represents the standing wave ratio of antenna 34 at each frequency when antenna 34 is configured in the N3 single state (that is, the resonant frequency of antenna 34 is the resonant frequency corresponding to the N3 signal); line 203 represents the standing wave ratio of antenna 34 at each frequency when antenna 34 is configured in the N1 single state.

[0106] The fact that the antenna 1 34 is in the N1 single state can be understood as the resonant frequency of the antenna 1 34 being the resonant frequency corresponding to the N1 signal. The fact that the antenna 1 34 is in the N3 single state can be understood as the resonant frequency of the antenna 1 34 being the resonant frequency corresponding to the N3 signal.

[0107] It should be noted that the larger the standing wave ratio, the worse the antenna's transmission performance at the corresponding frequency. Figure 2 It can be seen that the standing wave ratio of the N3 band when the antenna 134 is in the N1+N3 CA state is greater than the standing wave ratio of the antenna 134 in the N3 single state, so the transmission performance of the N3 band when the antenna 134 is in the N1+N3 CA state is less than the transmission performance of the antenna 134 in the N3 single state; the standing wave ratio of the N1 band when the antenna 134 is in the N1+N3 CA state is greater than the standing wave ratio of the antenna 134 in the N1 single state, so the transmission performance of the N1 band when the antenna 134 is in the N1+N3 CA state is less than the transmission performance of the antenna 134 in the N1 single state. Therefore, the transmission performance of the antenna in the CA state is not as good as the transmission performance of the transmission frequency bands corresponding to the two SIM cards in their respective single states.

[0108] It should be noted that in a possible design, the modem 104 controls the tuning switch corresponding to the antenna 103 based on information at the physical layer and above (for example, knowledge of the connection status of each RAT cell), and cannot perceive the switching of paths in the transmission link of the RF front-end module.

[0109] Alternatively, it can be understood that the modem 104 adjusts the state of the tuning switch corresponding to the antenna when reconfiguring the transmission link (for example, the frequency band corresponding to the first signal changes, the antenna used for transmission changes). When the frequency band of the first signal changes, the antenna used for transmission changes, etc., the modem 104 reconfigures the transmission link.

[0110] When the first signal and the second signal are time-division multiplexed, the path in the transmission link will change, and no reconfiguration of the transmission link is involved. Therefore, the modem cannot dynamically switch the state of the tuning switch corresponding to the antenna according to the first signal and the second signal.

[0111] In view of this, an embodiment of the present application provides an antenna tuning method and related devices. When the terminal device time-division multiplexes the first signal and the second signal, the resonant frequency of the antenna is adjusted according to the transmission time of the first signal and the transmission time of the second signal, so that the resonant frequency of the antenna when transmitting the signal matches the frequency band of the signal (or it can be called that the antenna is in a single state corresponding to the signal). In this way, the radiation efficiency of the signal currently transmitted by the antenna at the antenna can be improved, and the transmission performance of the antenna can be improved. The highest radiation efficiency can be understood as the smallest standing wave ratio, or as the maximum gain of the antenna and the best transmission performance of the antenna.

[0112] In addition, the transmission frequency band combination without CA tuning state can also use the method of the embodiment of the present application to perform time division multiplexing DSDA. It has a wide range of applications and high practicality.

[0113] In some embodiments, the control unit can obtain the time period for transmitting the first signal and the time period for transmitting the second signal from the modem or the RF transceiver, and determine the time point for configuring the resonant frequency of the antenna based on the start time of the two time periods, and configure the resonant frequency of the antenna when the time point is reached so that the resonant frequency of the antenna matches the frequency band of the signal.

[0114] In some other embodiments, the modem or RF transceiver may obtain a time point for configuring the resonant frequency of the antenna based on a time period for transmitting the first signal and a time period for transmitting the second signal. When the time point is reached, the control unit configures the resonant frequency of the antenna so that the resonant frequency of the antenna matches the frequency band of the signal.

[0115] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0116] For ease of understanding, the antenna tuning circuit involved in the embodiment of the present application is described below.

[0117] For example, Figure 3 This is a schematic diagram of the structure of a radio frequency circuit provided in an embodiment of the present application. Figure 3 As shown, the radio frequency circuit includes: an antenna tuning circuit and a signal transmitting circuit. The antenna tuning circuit is used to adjust the resonant frequency of the antenna in the signal transmitting circuit.

[0118] The signal transmission circuit includes: a radio frequency transceiver 301, a radio frequency front-end module 302, an antenna 303 and a modem 305. The modem 305 is connected to the radio frequency transceiver 301. The radio frequency transceiver 301 is connected to the radio frequency front-end module 302, and the radio frequency front-end module 302 is connected to the antenna 303.

[0119] The modem 305 is used to transmit the baseband signal, transmission time information, frequency band combination information and antenna switching information to the RF transceiver 301.

[0120] The frequency band combination information includes: a frequency band of a first signal corresponding to the first SIM card and a frequency band of a second signal corresponding to the second SIM card.

[0121] The antenna switching information is used to indicate the first antenna and the second antenna. The first antenna is an antenna in the antenna 303 for transmitting the first signal, and the second antenna is an antenna in the antenna 303 for transmitting the second signal. Exemplarily, the antenna switching information includes: an identifier of the first antenna and an identifier of the second antenna.

[0122] The transmission time information is used to indicate a time period during which the first antenna transmits the first signal, and a time period during which the second antenna transmits the second signal.

[0123] In some embodiments, the modem 305 is responsible for outputting baseband signals and performing baseband signal processing internally, including signal encoding and decoding, symbol modulation mapping, etc.

[0124] In some embodiments, the baseband signal includes: transmission time information.

[0125] The RF transceiver 301 is used to configure the transmission path of the RF front-end module according to the transmission time information, frequency band combination information, and antenna switching information, and to process the baseband signal to output the RF signal. The processing process includes but is not limited to: up and down conversion and filtering of the signal.

[0126] In some embodiments, the RF transceiver 301 may also output a control signal to the RF front-end module to configure a path for transmitting a signal of the RF front-end module.

[0127] The structures and functions of the RF transceiver 301, the RF front-end module 302, and the antenna 303 can refer to the above Figure 1 It is understood that the above Figure 3 The RF transceiver 301 , RF front-end module 302 , and antenna 303 shown are only examples, and the embodiments of the present application do not limit the structures of the RF transceiver 301 , RF front-end module 302 , and antenna 303 .

[0128] The antenna tuning circuit includes: a control unit 304. The control unit 304 is connected to the radio frequency transceiver 301, and the control unit 304 is connected to the tuning switch corresponding to the antenna 303.

[0129] In some embodiments, the control unit 304 is used to obtain frequency band combination information, antenna switching information, and configuration time information from the RF transceiver 301; the configuration time information is used to indicate the time when the control unit 304 configures the resonant frequency of the first antenna. The control unit 304 is used to adjust the resonant frequency of the first antenna based on the configuration time information when confirming that the first antenna and the second antenna are the same antenna based on the frequency band combination information and the antenna switching information.

[0130] It can be understood that the configuration time information may be the above-mentioned transmission time information, and the configuration time information may also be a specific transmission time point.

[0131] In possible implementation mode 1, taking the case where the first antenna transmits the first signal in the first time period, the first antenna transmits the second signal in the second time period, and the first antenna is antenna 1 34 as an example, the configuration time information includes: the first time period for sending the first signal, and the second time period for sending the second signal. The control unit 304 can determine the first time and the second time according to the first time period and the second time period. The control unit 304 configures the resonant frequency of antenna 1 34 to be the first resonant frequency at the first time; the control unit 304 configures the resonant frequency of antenna 1 34 to be the second resonant frequency at the second time. The first resonant frequency is different from the second resonant frequency.

[0132] The first time is earlier than the start time of the first time period, the second time is earlier than the start time of the second time period, and the second time is later than the end time of the first time period.

[0133] Typically, the first time is several tens of microseconds earlier than the start time of the first time period, and the second time is several tens of microseconds earlier than the start time of the second time period. The embodiment of the present application does not limit the calculation method of the first time.

[0134] It is understandable that the terminal device has a certain time interval between the time period of configuring the first signal and the time period of the second signal, so that the RF front-end module can switch the path of the transmitted signal. The first time and the second time can both correspond to the time of switching the path of the transmitted signal.

[0135] In this way, when time division multiplexing is used, the resonant frequency of the antenna is adjusted based on the frequency band of the currently transmitted signal, so that the tuning state of the antenna is a single state corresponding to the frequency band transmitted in the current time slot, thereby improving the transmission performance of the antenna. In addition, since the resonant frequency of the first antenna does not need to take into account both frequency bands at the same time (i.e., the first antenna does not need to be in the CA tuning state), frequency combinations that do not have the CA tuning state can also be used. Figure 3 The circuit shown implements time-division multiplexing DSDA; for example, N5 and N28, N5 and B20, N5 and N8, and B5 and N28, etc. can also implement time-division multiplexing DSDA.

[0136] In possible implementation mode 2, taking the example that the first antenna transmits the first signal in the first time period and the first antenna transmits the second signal in the second time period, the RF transceiver confirms the first time and the second time. The control unit 304 receives a message from the RF transceiver 301 at the first time, and the message is used to indicate that the first signal is transmitted. After receiving the message, the control unit 304 configures the resonant frequency of the first antenna to match the first signal. The control unit 304 receives a message from the RF transceiver 301 at the second time, and the message is used to indicate that the second signal is transmitted. After receiving the message, the control unit 304 configures the resonant frequency of the first antenna to match the first signal.

[0137] In this way, when time division multiplexing is used, the resonant frequency of the antenna is adjusted based on the frequency band of the currently transmitted signal, so that the tuning state of the antenna is a single state corresponding to the frequency band transmitted in the current time slot, thereby improving the transmission performance of the antenna. In addition, since the resonant frequency of the first antenna does not need to take into account both frequency bands at the same time (i.e., the first antenna does not need to be in the CA tuning state), frequency combinations that do not have the CA tuning state can also be used. Figure 3 The circuit shown implements a time-division multiplexed DSDA.

[0138] In other embodiments, the control unit 304 may detect a control instruction transmitted from the RF transceiver 301 to the RF front-end module 302 , where the control instruction is used to instruct switching of a path for transmitting signals in the RF front-end module.

[0139] When the control unit 304 detects the first control instruction, the resonant frequency of the first antenna is configured to match the first signal. The first control instruction is used to instruct switching to the first path, which is the path for the first signal to be transmitted from the RF transceiver 301 to the first antenna; when the control unit 304 detects the second control instruction, the resonant frequency of the first antenna is configured to match the second signal. The first control instruction is used to instruct switching to the second path, which is the path for the second signal to be transmitted from the RF transceiver 301 to the first antenna.

[0140] In this way, when time division multiplexing is used, the resonant frequency of the antenna is adjusted based on the frequency band of the currently transmitted signal, so that the tuning state of the antenna is a single state corresponding to the frequency band transmitted in the current time slot, thereby improving the transmission performance of the antenna. In addition, since the resonant frequency of the first antenna does not need to take into account both frequency bands at the same time (i.e., the first antenna does not need to be in the CA tuning state), frequency combinations that do not have the CA tuning state can also be used. Figure 3 The circuit shown implements a time-division multiplexed DSDA.

[0141] The following describes the adjustment of the resonance frequency of the first antenna by the control unit 304.

[0142] In some embodiments, the control unit 304 adjusts the resonant frequency of the first antenna by adjusting the state of a tuning switch corresponding to the first antenna.

[0143] It should be noted that the tuning switch is used to switch the antenna state. The tuning switch is an impedance matching circuit that connects the RF transceiver and the antenna. The input impedance of the antenna changes with the frequency. When the frequency of the signal output by the RF transceiver changes, if the impedance between the RF transceiver and the antenna does not match, the radiation power of the antenna will be reduced. By switching the working state of the antenna using the tuning switch, the impedance between the antenna and the RF transceiver can be matched, so that the antenna has the maximum radiation power, thereby enabling the antenna to have the best signal receiving and sending capabilities.

[0144] In some embodiments, the control unit 304 switches the state of the tuning switch by adjusting the tuning logic value of the tuning switch corresponding to the first antenna.

[0145] Exemplarily, the control unit pre-stores a corresponding relationship. The corresponding relationship is the relationship between the frequency band and the tuning logic value of the tuning switch corresponding to the first antenna. The corresponding relationship can be pre-stored in the control unit in the form of a code or a binary file.

[0146] In an embodiment of the present application, the tuning switch is composed of multiple switches, and the tuning switch state is a switch state formed by combining the states of the individual switches that constitute the tuning switch, which can characterize the frequency of the current antenna receiving signals and the ability to send and receive signals, wherein the state of each switch includes a low level state and a high level state.

[0147] For example, Figure 4 This is a schematic diagram of the structure of a tuning switch provided in an embodiment of the present application. Figure 4 As shown, the tuning switch 401 is composed of four single-pole single-throw switches (SPST) connected in parallel; a capacitor or an inductor is connected between each SPST switch and the ground line. Since the state of each single-pole single-throw switch includes a low level state and a high level state. The tuning switch 401 has 16 states, and the tuning logic value of the tuning switch 401 can correspond to 0 to 15.

[0148] When the tuning logic value is 0, all four single-pole single-throw switches are open and in a low-level state; when the tuning logic value is 15, all four single-pole single-throw switches are closed and in a high-level state.

[0149] Figure 4 The tuning switch shown is only an example, and the embodiment of the present application does not limit the specific structure of the tuning switch.

[0150] The working process of the tuning circuit is explained below.

[0151] When the first SIM card and the second SIM card of the terminal device work at the same time, the control unit 304 obtains the DSDA frequency band combination information and the antenna switching information from the RF transceiver 301. The control unit 304 confirms the first antenna and the second antenna based on the DSDA frequency band combination information and the antenna switching information. When the first antenna and the second antenna are the same antenna, the control unit 304 obtains the configuration time information or the control instruction from the RF transceiver 301. The control unit 304 adjusts the resonant frequency of the first antenna according to the configuration time information or the control instruction. The specific adjustment process can refer to the above corresponding description.

[0152] In the above Figure 4 Based on the embodiment shown, the tuning circuit further includes: a system on chip (SOC) 306. The control unit 304 is also used to obtain scene information from the SOC 306. The scene information is used to indicate the scene in which the terminal device is located. The scene is distinguished by the impedance of the signal from the RF transceiver to the antenna.

[0153] In some embodiments, the control unit 304 may determine the logic value of the tuning switch according to the scene and the corresponding relationship in the scene information. The corresponding relationship is the relationship between the frequency band, the scene, and the tuning logic value of the tuning switch corresponding to the first antenna. The corresponding relationship may be pre-stored in the control unit 304 in the form of a code or a binary file.

[0154] It should be noted that the scene in which the terminal device is located may affect the impedance near the antenna, and thus affect the transmission performance of the antenna. For example, the impedance near the antenna when the folding screen of the terminal device is in the unfolded state is different from the impedance near the antenna when the folding screen is in the folded state. The terminal device can divide the scene by the use status of the charging port, the use status of the headphone jack of the terminal device, the state of the folding screen of the terminal device, and the state of the camera, and can also divide the scene in other ways, which are not limited here.

[0155] In some embodiments, the scene includes one or more of the following: a scene in which the folding screen in the terminal device is unfolded, a scene in which the camera of the terminal device is turned on, a scene in which headphones or a charging cable are plugged into the interface of the terminal device, a scene in which the folding screen is closed, a scene in which the camera is turned off, and a scene in which headphones or a charging cable are not plugged into the interface.

[0156] For example, the control unit 304 may obtain the scene information through a universal communication interface (such as an SPI interface, an I2C interface, a UART interface, etc., which are not limited here) between the control unit 304 and the SOC 306. Alternatively, the SOC 306 may actively transmit the scene information to the control unit 304. The embodiment of the present application does not limit the method for obtaining the scene information.

[0157] Above Figure 3In the embodiment shown, the control unit can obtain information from the radio frequency transceiver to configure the resonant frequency of the antenna. Another antenna tuning circuit is described below.

[0158] For example, Figure 5 This is a schematic diagram of the structure of a radio frequency circuit provided in an embodiment of the present application. Figure 5 As shown, the radio frequency circuit includes: an antenna tuning circuit and a signal transmitting circuit. The antenna tuning circuit is used to adjust the resonant frequency of the antenna in the signal transmitting circuit.

[0159] The signal transmission circuit includes: a radio frequency transceiver 501, a radio frequency front-end module 502, an antenna 503 and a modem 504. The modem 504 is connected to the radio frequency transceiver 501, the radio frequency transceiver 501 is connected to the radio frequency front-end module 502, and the radio frequency front-end module 502 is connected to the antenna 303.

[0160] The structures and functions of the RF transceiver 501, the RF front-end module 502, the antenna 503 and the modem 504 can refer to the above corresponding descriptions and will not be repeated here.

[0161] The antenna tuning circuit includes: a control unit 505 . The control unit 505 is connected to the modem 504 , and the control unit 304 is connected to the antenna 503 .

[0162] The control unit 505 is used to obtain frequency band combination information, antenna switching information, and configuration time information from the modem 504. The configuration time information can refer to the above corresponding description, which will not be repeated here.

[0163] The control unit 505 is also used to confirm that the first antenna and the second antenna are the same antenna based on the frequency band combination information and the antenna switching information; when the first antenna and the second antenna are the same antenna, configure (control) the resonant frequency of the first antenna at the first time to match the first signal based on the configuration time information; and control the resonant frequency of the first antenna at the second time to match the second signal.

[0164] The control unit configures the resonance frequency of the first antenna based on the configuration time information in the same manner as described above. Figure 3 The manner in which the resonant frequency of the first antenna is configured based on the configuration time information in the embodiment shown is similar and will not be described in detail here. The configuration process of the resonant frequency of the first antenna by the control unit 505 is the same as that described above. Figure 3 The configuration process of the resonance frequency of the first antenna in the illustrated embodiment is similar and will not be repeated here.

[0165] On the basis of the above embodiment, the tuning circuit further includes: a system on chip (SOC) 506. The control unit 505 is also used to obtain scene information from the SOC 506. The scene information can refer to the above corresponding description, which will not be repeated here. The process of the control unit 505 configuring the resonant frequency of the first antenna according to the scene information can refer to the above corresponding description, which will not be repeated here. The SOC can also be replaced by a processor corresponding to the application side, or other control results corresponding to the application side, which is not limited here.

[0166] Exemplarily, the control unit 505 can obtain the scene information of the terminal device through a universal communication interface (such as an SPI interface, an I2C interface, a UART interface, etc., not limited here) between the control unit 505 and the SOC 506.

[0167] Above Figure 5 In the illustrated embodiment, the control unit 505 is independent of the modem 504 and the RF transceiver 501. The control unit 505 may also be integrated into the modem 504.

[0168] When the control unit 505 is integrated in the modem 504, the control unit 505 can obtain DSDA frequency band combination information from the radio resource control (RRC) layer or physical layer of the modem; obtain antenna switching information from the physical layer of the modem 504; obtain transmission time information (for example, the transmission frequency band of the current time slot, and the corresponding time point information for switching the antenna tuning state) or configuration time information from the RF FW layer of the modem 504.

[0169] Based on the above embodiments, the control unit 505 can obtain scene information through a dedicated communication interface between the SOC 306 and the modem 504; the control unit 505 can obtain the state of the tuning switch associated with the transmitting antenna through the RFFE MIPI bus control between the modem 504 and the tuning switch corresponding to the antenna 303.

[0170] For example, Figure 6 A schematic diagram of the software architecture of a modem provided in an embodiment of the present application. Figure 6 As shown, the software framework includes: non-access stratum (NAS) and access stratum (AS):

[0171] The NAS layer is used for mobility management in the circuit domain, call control in the circuit domain, mobility management in the packet domain, and session management in the packet domain. The AS layer is used for PLMN selection, cell selection, and radio resource management.

[0172] like Figure 6 As shown, the AS layer includes: radio resource control layer (radio resource control, RRC), packet data convergence protocol (packet data convergence protocol, PDCP), radio link control layer (radio link control, RLC), medium access control layer (medium access control, MAC), physical layer (physical, PHY) and radio frequency layer (radio frequency, RF).

[0173] The RRC layer is responsible for the RRC connection establishment process, the signaling establishment process between the terminal equipment (UE) and the CN, the RAB establishment process, the call release process, the switching process and the SRNS relocation process.

[0174] The RRC layer can generate DSDA frequency band combination information, antenna switching information, etc. The PDCP layer is responsible for sending or receiving packet data of the peer PDCP entity. The PDCP layer can perform IP header compression and decompression, data and signaling encryption, and signaling integrity protection.

[0175] The RLC layer is responsible for segmentation / reassembly, duplicate packet detection, RLC SDU discard processing, RLC reconstruction, etc.

[0176] The MAC layer is responsible for mapping, multiplexing and demultiplexing between logical channels and transport channels, reporting scheduling information, etc.

[0177] The PHY layer is used to achieve transparent transmission of bit streams. The PHY layer can use the transmission medium to establish, manage, and release physical connections between communicating hosts.

[0178] The RF layer is responsible for radio frequency adaptation, radio frequency identification, etc. The RF layer may include: radio frequency adapter (RFA), radio frequency identification (RFID), etc.

[0179] It is understandable that since the PHY layer is used to manage physical connections and the RF layer is used to perform radio frequency adaptation, etc., both the PHY layer and the RF layer can generate the above-mentioned transmission time information or configuration time information, which is not limited here.

[0180] Combine the following Figure 7 and Figure 8 The antenna tuning method provided in the embodiment of the present application is described.

[0181] For example, Figure 7 A schematic diagram of a flow chart of an antenna tuning method provided in an embodiment of the present application. Figure 7 As shown, the method includes:

[0182] S701. A control unit obtains frequency band combination information and antenna switching information.

[0183] The frequency band combination information and antenna switching information can refer to the above corresponding instructions and will not be repeated here.

[0184] In the embodiment of the present application, the control unit may obtain the frequency band combination information and the antenna switching information from the radio frequency transceiver and / or the modem. The embodiment of the present application does not limit the source of the frequency band combination information and the antenna switching information.

[0185] For example, Figure 3 Taking the circuit shown in FIG. 1 as an example, the control unit obtains the frequency band combination information and antenna switching information from the RF transceiver. Figure 5 Taking the circuit shown as an example, the control unit obtains the frequency band combination information and the antenna switching information from the modem. The control unit can also obtain the frequency band combination information from the modem and obtain the antenna switching information from the RF transceiver.

[0186] S702: The control unit obtains transmission time information.

[0187] The transmission time information can refer to the above corresponding instructions and will not be repeated here.

[0188] In the embodiment of the present application, the control unit can obtain the frequency band combination information, antenna switching information, and transmission time information from the RF transceiver and / or the modem. The embodiment of the present application does not limit the source of the frequency band combination information, antenna switching information, and transmission time information.

[0189] For example, Figure 3 Taking the circuit shown in FIG. 1 as an example, the control unit obtains frequency band combination information, antenna switching information, and transmission time information from the RF transceiver. Figure 5 Taking the circuit shown in FIG. 1 as an example, the control unit obtains frequency band combination information, antenna switching information, and transmission time information from the modem.

[0190] S703: When the first antenna and the second antenna are the same antenna, the control unit controls the resonant frequency of the first antenna at a first time to match the first signal, and controls the resonant frequency of the first antenna at a second time to match the second signal.

[0191] In this way, when the first SIM card and the second SIM card work at the same time, the tuning state of the antenna is consistent with the current transmission frequency band, thereby improving the transmission performance of the antenna.

[0192] Optionally, the control unit controls the resonant frequency of the first antenna to match the first signal at the first time, including: the control unit adjusts the state of the tuning switch corresponding to the first antenna to the first state at the first time; the control unit controls the resonant frequency of the first antenna to match the first signal at the first time, including: the control unit adjusts the state of the tuning switch corresponding to the first antenna to the second state at the second time; the first state corresponds to the first signal, and the second state corresponds to the second signal.

[0193] Based on the above embodiment, the tuning method further includes: S704.

[0194] S704, the control unit obtains scene information, the scene information is used to indicate the impedance of the transmission path. Adaptively, the resonant frequency of the first antenna at the first time is determined based on the scene information and the frequency band of the first signal; the resonant frequency of the first antenna at the first time is determined based on the scene information and the frequency band of the second signal.

[0195] In an embodiment of the present application, the control unit may obtain scene information from the SOC or from the modem.

[0196] In some embodiments, the control unit pre-stores a corresponding relationship; the corresponding relationship is the relationship between the scene, the frequency band of the signal, and the tuning switch state. The first state is obtained based on the scene information, the first signal and the corresponding relationship; the second state is obtained based on the scene information, the second signal and the corresponding relationship.

[0197] For example, Figure 8 A schematic diagram of a flow chart of an antenna tuning method provided in an embodiment of the present application. Figure 8 As shown, the method includes:

[0198] S801: The terminal device obtains a first time for configuring a resonant frequency of a first antenna, and the terminal device configures the resonant frequency of the first antenna to be a first resonant frequency at the first time;

[0199] S802, in a first time period, the terminal device uses a first antenna to send a signal in a first frequency band, the resonant frequency of the first antenna is a first resonant frequency, and the first time period is later than the first time;

[0200] S803: The terminal device obtains a second time for configuring the resonant frequency of the first antenna, and the terminal device configures the resonant frequency of the first antenna to be a second resonant frequency at the second time, where the second time is later than the first time period;

[0201] S804, in the second time period, the terminal device uses the first antenna to send a signal in the second frequency band, and the resonant frequency of the first antenna is the second resonant frequency; wherein, the first frequency band is different from the second frequency band; the first resonant frequency is set so that the radiation efficiency of the first antenna for signals in the first frequency band is higher than that for signals in the second frequency band; the second resonant frequency is set so that the radiation efficiency of the first antenna for signals in the second frequency band is higher than that for signals in the first frequency band, and the second time period is later than the second time; the first time period and the second time period are both sending time periods for the terminal device to implement a time division multiplexing communication process.

[0202] In this way, the terminal device can adjust the resonant frequency of the antenna to match the transmitted frequency band, thereby improving the antenna's transmission performance. In addition, since the resonant frequency of the antenna does not need to take into account both frequency bands at the same time (i.e., the antenna does not need to be in a CA tuning state), frequency combinations that do not have a CA tuning state can also implement time-division multiplexing DSDA.

[0203] Optionally, before the terminal device obtains the first time for configuring the resonant frequency of the first antenna, the method also includes: the terminal device obtains frequency band combination information and antenna switching information, the frequency band combination information is used to indicate that the signal of the first SIM card is the first frequency band, and the signal of the second SIM card is the second frequency band; the antenna switching information is used to indicate that the antenna that sends the signal of the first frequency band is the first antenna, and the antenna that sends the signal of the second frequency band is the first antenna; after the terminal device obtains the frequency band combination information and the antenna switching information, the time period for the first antenna to send the signal of the first frequency band includes the first time period, and the time period for the first antenna to send the signal of the second frequency band includes the second time period.

[0204] In this way, the terminal device can obtain the transmission time information of the two signals, and configure the resonant frequency of the first antenna according to the transmission time information, so that the resonant frequency of the antenna matches the transmission frequency band.

[0205] Optionally, before the terminal device obtains the first time for configuring the resonant frequency of the first antenna, the method also includes: the control unit obtains the first time according to a second message from the modem or the RF transceiver, the second message being used to indicate sending a signal of the first frequency band in a first time period; the first time is configured by the control unit based on the first time period.

[0206] It is understandable that the first time may be within the third time period, or between the third time period and the first time period. The third time period is a time period adjacent to the first time period, and the third time period is a time period when the terminal device sends or receives signals.

[0207] In this way, the control unit can determine the time to adjust the resonance frequency of the first antenna according to the transmission time period, so as to facilitate the subsequent configuration of the resonance frequency of the first antenna.

[0208] Optionally, the interval between the first time and the start time of the first time period is less than or equal to a first value, the first value includes the time interval between the start time of the first time period and the end time of the third time period, the third time period is an earlier time period adjacent to the first time period, and the third time period is a time period for the terminal device to send or receive signals.

[0209] In this way, the impact on the signal transmitted in the third time period can be reduced.

[0210] Optionally, the time interval between the first time and the start time of the first time period is greater than or equal to a threshold, which may be 50 microseconds or other values. The threshold may be determined based on the time required to configure the resonant frequency of the antenna, which is not limited here.

[0211] Optionally, the first time is configuration of a modem or RF transceiver of the terminal device.

[0212] In this way, the time for adjusting the resonant frequency of the first antenna can be determined by the modem or the radio frequency transceiver, so that the subsequent control unit can configure the resonant frequency of the first antenna.

[0213] Optionally, the terminal device configures the resonant frequency of the first antenna to be a first resonant frequency at a first time, including: a control unit of the terminal device receives a first message from a modem or a radio frequency transceiver at a first time, and configures the resonant frequency of the first antenna to be the first resonant frequency, the first message being used to instruct the first antenna to send a signal in a first frequency band.

[0214] In this way, the control unit can be triggered to configure the resonant frequency of the first antenna by sending a message through a modem or a radio frequency transceiver, and the switching is performed in the interval between signal transmissions to reduce the impact on signal transmission.

[0215] Optionally, the second time is configured by the modem or RF transceiver of the terminal device; the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency at the first time, including: the control unit of the terminal device receives a message from the modem or RF transceiver at the second time, and configures the resonant frequency of the first antenna to be the first resonant frequency, and the message is used to instruct the first antenna to send a signal in the second frequency band.

[0216] In this way, the control unit can be triggered to configure the resonant frequency of the first antenna by sending a message through a modem or a radio frequency transceiver, and the switching is performed in the interval between signal transmissions to reduce the impact on signal transmission.

[0217] Optionally, the interval between the second time and the start time of the second time period is less than or equal to a second value, and the second value includes the time interval between the start time of the first time period and the end time of the first time period. In this way, switching is performed in the gap between sending signals, reducing the impact on signal transmission.

[0218] Optionally, the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency at the first time, including: the terminal device configures the tuning switch corresponding to the first antenna at the first time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is the first resonant frequency; the terminal device configures the resonant frequency of the first antenna to be the second resonant frequency at the second time, including: the terminal device configures the tuning switch corresponding to the first antenna at the second time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is the second resonant frequency; the impedance of the first antenna in the first time period is different from the impedance of the first antenna in the second time period.

[0219] In this way, the resonant frequency is adjusted by the tuning switch, which is simple and easy to implement.

[0220] Optionally, before the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency, the method also includes: the terminal device obtains first scene information of the terminal device, the first scene information is used to indicate that the terminal device is in the first scene; the first scene is distinguished by the impedance of the signal from the RF transceiver to the first antenna; the terminal device obtains a logical value of the tuning switch as a first value based on the first scene and the corresponding relationship, and the corresponding relationship is the relationship between the scene, the frequency band and the logical value; the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency including: the terminal device adjusts the tuning switch to a first state based on the first value.

[0221] In this way, the terminal device takes into account the different impedances corresponding to different scenarios and adjusts the state of the tuning switch according to the scenario, which can improve the accuracy of the resonant frequency of the first antenna and improve the antenna performance.

[0222] Optionally, the method also includes: the terminal device obtains second scene information of the terminal device, the second scene information is used to indicate that the terminal device is in the second scene; the terminal device obtains a third time for configuring the resonant frequency of the first antenna, and the third time is later than the second time period; the terminal device obtains a logical value of the tuning switch as a second value based on the second scene and the corresponding relationship at the third time, and the corresponding relationship is the relationship between the scene, the frequency band and the logical value; the terminal device adjusts the tuning switch to a second state based on the second value, and the first state and the second state are different; in the fourth time period, the terminal device uses the first antenna to send a signal of the first frequency band, the resonant frequency of the first antenna is the first resonant frequency, and the fourth time period is later than the third time.

[0223] In this way, when transmitting signals of the same frequency in different scenarios, the state of the tuning switch is different; thereby improving the accuracy of the resonant frequency of the first antenna and improving the antenna performance.

[0224] Optionally, the first scene includes one or more of the following: a scene in which the folding screen in the terminal device is unfolded, a scene in which the camera of the terminal device is turned on, and a scene in which headphones or a charging cable are inserted into the interface of the terminal device; the second scene includes one or more of the following: a scene in which the folding screen in the terminal device is closed, a scene in which the camera of the terminal device is turned off, and a scene in which headphones or a charging cable are not inserted into the interface of the terminal device.

[0225] Optionally, before the terminal device obtains the first time for configuring the resonant frequency of the first antenna, the method also includes: when the first SIM card is working, the terminal device receives an operation for instructing the second SIM card to work; the terminal device sends a signal of the first frequency band and a signal of the second frequency band in a time division multiplexing manner, the signal of the first frequency band is a signal corresponding to the first SIM card, and the signal of the second frequency band is a signal corresponding to the second SIM card.

[0226] In this way, when two SIM cards work at the same time, the resonant frequency of the antenna can be adjusted to match the transmitted frequency band, thereby improving the transmission performance of the antenna.

[0227] Optionally, the service of the first SIM card is an Internet access service, and the service of the second SIM card is a call service.

[0228] The method provided in the embodiment of the present application has been described above, and the device for executing the above method provided in the embodiment of the present application is described below. Those skilled in the art can understand that the method and the device can be combined and referenced with each other, and the relevant device provided in the embodiment of the present application can execute the steps in the above method.

[0229] The antenna tuning method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices, and the specific device form of the terminal devices can refer to the above related descriptions, which will not be repeated here.

[0230] For example, Fig. 9 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Fig. 9 As shown, the terminal device includes: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a SOC 180, a power supply 190, and a Bluetooth module 1100. Those skilled in the art will understand that Fig. 9The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0231] Combine the following Fig. 9 The following is a detailed introduction to the various components of the terminal equipment:

[0232] The RF circuit 110 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the SOC180 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 110 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, and short messaging service (SMS). The RF circuit 110 may include the resonant circuit and signal transmission shown in the above embodiment.

[0233] The memory 120 can be used to store software programs and modules. The SOC 180 executes various functional applications and data processing of the terminal device by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), a boot loader, etc.; the data storage area may store data created according to the use of the terminal device (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. It can be understood that in the embodiment of the present application, the memory 120 stores a program for the Bluetooth device to connect back.

[0234] The input unit 130 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the terminal device. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on the touch panel 131 or near the touch panel 131), and drive the corresponding connection device according to a pre-set program. Other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0235] The display unit 140 can be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Figure 7 In the embodiment, the touch panel 131 and the display panel 141 are used as two independent components to implement the input and output functions of the terminal device, but in some embodiments, the touch panel 131 and the display panel 141 can be integrated to implement the input and output functions of the terminal device.

[0236] The terminal device may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, and the terminal device may also be equipped with a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and other sensors, which are not described in detail here.

[0237] The audio circuit 160 , the speaker 161 , and the microphone 162 can provide an audio interface between the user and the terminal device.

[0238] WiFi is a short-range wireless transmission technology. The terminal device can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides users with wireless broadband Internet access. Bluetooth technology is a short-range wireless transmission technology. The terminal device can establish a Bluetooth connection with other terminal devices equipped with Bluetooth modules through the Bluetooth module 1100, thereby performing data transmission based on the Bluetooth communication link.

[0239] Although Fig. 9A WiFi module 170 and a Bluetooth module 1100 are shown, but it is understandable that the WiFi module 170 and the Bluetooth module 1100 are not necessary components of the terminal device and can be omitted as needed without changing the essence of the invention.

[0240] SOC 180 is the control center of the terminal device. It uses various interfaces and lines to connect various parts of the entire terminal device. It executes various functions of the terminal device and processes data by running or executing software programs or modules stored in the memory 120, and calling data stored in the memory 120, so as to monitor the terminal device as a whole. Optionally, SOC 180 may include one or more processing units; preferably, SOC 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into SOC 180.

[0241] The terminal device also includes a power source 190 (such as a battery) for supplying power to various components.

[0242] An embodiment of the present application provides a terminal device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the above method.

[0243] The embodiment of the present application provides an antenna tuning device, which includes: a control unit. The control unit is used to obtain a first time for configuring the resonant frequency of the first antenna; the control unit is also used to configure the resonant frequency of the first antenna to be the first resonant frequency at the first time; the first antenna is used to send a signal of the first frequency band in a first time period, the resonant frequency of the first antenna in the first time period is the first resonant frequency, and the first time period is later than the first time; the control unit is also used to obtain a second time for configuring the resonant frequency of the first antenna; the control unit is also used to configure the resonant frequency of the first antenna to be the second resonant frequency in the second time period, and the second time period is later than the first time period; the first antenna is also used to send a signal of the second frequency band in the second time period, and the resonant frequency of the first antenna in the second time period is the second resonant frequency; wherein the first frequency band is different from the second frequency band; the first resonant frequency is set so that the radiation efficiency of the first antenna for the signal of the first frequency band is higher than the radiation efficiency for the signal of the second frequency band; the second resonant frequency is set so that the radiation efficiency of the first antenna for the signal of the second frequency band is higher than the radiation efficiency for the signal of the first frequency band, and the second time period is later than the second time; the first time period and the second time period are both sending time periods for the terminal device to implement a time division multiplexing communication process.

[0244] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.

[0245] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The above method is implemented when the computer program is executed by the processor. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.

[0246] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.

[0247] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.

[0248] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0249] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0250] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.

Claims

1. An antenna tuning method, characterized in that: The method comprises: The terminal device obtains a first time for configuring the resonant frequency of the first antenna, and the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency at the first time; In a first time period, the terminal device uses a first antenna to send a signal in a first frequency band, the resonant frequency of the first antenna is the first resonant frequency, and the first time period is later than the first time; The terminal device obtains a second time for configuring the resonant frequency of the first antenna, and the terminal device configures the resonant frequency of the first antenna to be a second resonant frequency at the second time, and the second time is later than the first time period; In a second time period, the terminal device uses the first antenna to send a signal in a second frequency band, and the resonant frequency of the first antenna is the second resonant frequency; wherein the first frequency band is different from the second frequency band; the first resonant frequency is set so that the radiation efficiency of the first antenna for signals in the first frequency band is higher than that for signals in the second frequency band; the second resonant frequency is set so that the radiation efficiency of the first antenna for signals in the second frequency band is higher than that for signals in the first frequency band, and the second time period is later than the second time; The first time period and the second time period are both sending time periods for the terminal device to implement a time division multiplexing communication process.

2. The method according to claim 1, characterized in that Before the terminal device obtains the first time for configuring the resonant frequency of the first antenna, the method further includes: The terminal device obtains frequency band combination information and antenna switching information, wherein the frequency band combination information is used to indicate that the signal of the first SIM card is the first frequency band, and the signal of the second SIM card is the second frequency band; the antenna switching information is used to indicate that the antenna for sending the signal of the first frequency band is the first antenna, and the antenna for sending the signal of the second frequency band is the first antenna; After obtaining the frequency band combination information and the antenna switching information, the terminal device allocates the time period for the first antenna to send signals in the first frequency band to include the first time period, and the time period for the first antenna to send signals in the second frequency band to include the second time period.

3. The method according to claim 1 or 2, characterized in that: The first time is configured by a modem or a radio frequency transceiver of the terminal device.

4. The method according to claim 3, characterized in that The terminal device configures the resonant frequency of the first antenna to be a first resonant frequency at the first time, including: The control unit of the terminal device receives a first message from a modem or a radio frequency transceiver at the first time, and configures the resonant frequency of the first antenna to be the first resonant frequency, wherein the first message is used to instruct the first antenna to send a signal in the first frequency band.

5. The method according to claim 1 or 2, characterized in that: Before the terminal device obtains a first time for configuring the resonant frequency of the first antenna, the method further includes: The control unit obtains the first time according to a second message from the modem or the radio frequency transceiver, where the second message is used to indicate that a signal of the first frequency band is sent in the first time period; The first time is configured by the control unit based on the first time period.

6. The method according to any one of claims 1 to 5, characterized in that: The terminal device configures the resonant frequency of the first antenna to be a first resonant frequency at the first time, including: The terminal device configures the tuning switch corresponding to the first antenna at the first time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is the first resonant frequency; The terminal device configures the resonant frequency of the first antenna to be a second resonant frequency at the second time, including: The terminal device configures the tuning switch corresponding to the first antenna at the second time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is the second resonant frequency; The impedance of the first antenna in the first time period is different from the impedance of the first antenna in the second time period.

7. The method according to claim 6, characterized in that Before the terminal device configures the resonant frequency of the first antenna to be the first resonant frequency, the method further includes: The terminal device obtains first scene information of the terminal device, where the first scene information is used to indicate that the terminal device is in a first scene; the first scene is distinguished by the impedance of the signal from the radio frequency transceiver to the first antenna; The terminal device obtains, based on the first scenario and the corresponding relationship, that the logic value of the tuning switch is a first value, wherein the corresponding relationship is a relationship between the scenario, the frequency band, and the logic value; The terminal device configures the resonant frequency of the first antenna to be the first resonant frequency including: the terminal device adjusts the tuning switch to a first state based on the first value.

8. The method according to claim 7, characterized in that The method further comprises: The terminal device obtains second scene information of the terminal device, where the second scene information is used to indicate that the terminal device is in a second scene; The terminal device obtains a third time for configuring the resonant frequency of the first antenna, where the third time is later than the second time period; The terminal device obtains, at the third time, based on the second scene and the corresponding relationship, that the logic value of the tuning switch is a second value, wherein the corresponding relationship is a relationship between the scene, the frequency band, and the logic value; The terminal device adjusts the tuning switch to a second state based on the second value, and the first state is different from the second state; In a fourth time period, the terminal device uses the first antenna to send a signal in the first frequency band, the resonant frequency of the first antenna is the first resonant frequency, and the fourth time period is later than the third time.

9. The method according to claim 7 or 8, characterized in that: The first scenario includes one or more of the following: a scenario in which a folding screen in the terminal device is unfolded, a scenario in which a camera of the terminal device is turned on, and a scenario in which an earphone or a charging cable is plugged into an interface of the terminal device; The second scenario includes one or more of the following: a scenario in which the folding screen in the terminal device is turned off, a scenario in which the camera of the terminal device is turned off, and a scenario in which no earphones or a charging cable are inserted into the interface of the terminal device.

10. An antenna tuning device, characterized in that: The device comprises: a control unit; The control unit is used to obtain a first time for configuring the resonant frequency of the first antenna; The control unit is further configured to configure the resonant frequency of the first antenna to be a first resonant frequency at the first time; The first antenna is used to send a signal of a first frequency band in a first time period, the resonant frequency of the first antenna in the first time period is the first resonant frequency, and the first time period is later than the first time; The control unit is further used to obtain a second time for configuring the resonant frequency of the first antenna; The control unit is further configured to configure the resonant frequency of the first antenna to be a second resonant frequency at the second time, the second time being later than the first time period; The first antenna is further used to send a signal of a second frequency band in a second time period, and the resonant frequency of the first antenna in the second time period is the second resonant frequency; The first frequency band is different from the second frequency band; the first resonant frequency is set so that the radiation efficiency of the first antenna for signals in the first frequency band is higher than the radiation efficiency for signals in the second frequency band; the second resonant frequency is set so that the radiation efficiency of the first antenna for signals in the second frequency band is higher than the radiation efficiency for signals in the first frequency band, and the second time period is later than the second time; The first time period and the second time period are both sending time periods for the terminal device to implement a time division multiplexing communication process.

11. The device according to claim 10, characterized in that The device also includes: a modem; The modem is used to obtain frequency band combination information and antenna switching information, wherein the frequency band combination information is used to indicate that the signal of the first SIM card is the first frequency band, and the signal of the second SIM card is the second frequency band; the antenna switching information is used to indicate that the antenna for sending the signal of the first frequency band is the first antenna, and the antenna for sending the signal of the second frequency band is the first antenna; The modem is further used to allocate, after obtaining the frequency band combination information and the antenna switching information, a time period for allocating the first antenna to send signals in the first frequency band, including the first time period, and a time period for the first antenna to send signals in the second frequency band, including the second time period.

12. The device according to claim 10 or 11, characterized in that The first time is configured by a modem or a radio frequency transceiver of the terminal device.

13. The device according to claim 12, characterized in that The control unit is specifically used to receive a first message from a modem or a radio frequency transceiver at the first time, and configure the resonant frequency of the first antenna to be the first resonant frequency, wherein the first message is used to instruct the first antenna to send a signal in the first frequency band.

14. The device according to claim 10 or 11, characterized in that The control unit is specifically configured to obtain the first time according to a second message from a modem or a radio frequency transceiver, wherein the second message is used to indicate that a signal of the first frequency band is sent in the first time period; The first time is configured by the control unit based on the first time period.

15. The device according to any one of claims 10 to 14, characterized in that: The control unit is specifically configured to configure the tuning switch corresponding to the first antenna at the first time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is the first resonant frequency; The control unit is specifically configured to configure the tuning switch corresponding to the first antenna at the second time to adjust the impedance of the first antenna so that the resonant frequency of the first antenna is the second resonant frequency; The impedance of the first antenna in the first time period is different from the impedance of the first antenna in the second time period.

16. The device according to claim 15, characterized in that The control unit is further used to obtain first scene information of the terminal device, where the first scene information is used to indicate that the terminal device is in a first scene; the first scene is distinguished by the impedance of the signal from the radio frequency transceiver to the first antenna; The control unit is specifically configured to obtain, based on the first scenario and the corresponding relationship, a logic value of the tuning switch as a first value, wherein the corresponding relationship is a relationship between a scenario, a frequency band, and the logic value; The control unit is specifically configured to adjust the tuning switch to a first state based on the first value.

17. The device according to claim 16, characterized in that The control unit is further used to obtain second scene information of the terminal device, where the second scene information is used to indicate that the terminal device is in a second scene; The control unit is further used to obtain a third time for configuring the resonant frequency of the first antenna, wherein the third time is later than the second time period; The control unit is further configured to obtain, at the third time, based on the second scene and the corresponding relationship, a second value as the logic value of the tuning switch, wherein the corresponding relationship is a relationship between the scene, the frequency band, and the logic value; The control unit is further configured to adjust the tuning switch to a second state based on the second value, wherein the first state is different from the second state; The first antenna is further used to send a signal in the first frequency band in a fourth time period. The resonant frequency of the first antenna in the fourth time period is the first resonant frequency. The fourth time period is later than the third time.

18. The device according to claim 16 or 17, characterized in that The first scenario includes one or more of the following: a scenario in which the folding screen in the terminal device is unfolded, a scenario in which the camera of the terminal device is turned on, a scenario in which headphones or a charging cable are plugged into the interface of the terminal device, a scenario in which the folding screen is closed, a scenario in which the camera is turned off, and a scenario in which headphones or a charging cable are not plugged into the interface; The second scenario is one or more of the following: the scenario in which the folding screen is unfolded, the scenario in which the camera is turned on, the scenario in which headphones or a charging cable are plugged into the interface, the scenario in which the folding screen is closed, the scenario in which the camera is turned off, and the scenario in which headphones or a charging cable are not plugged into the interface.

19. A terminal device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the method according to any one of claims 1 to 9.

20. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

21. A computer program product, characterized in that The method comprises a computer program, which, when being executed, enables a computer to execute the method according to any one of claims 1 to 9.