[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN118783981A - Antenna switching method, device, terminal equipment and storage medium - Google Patents

Antenna switching method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN118783981A
CN118783981A CN202410922745.7A CN202410922745A CN118783981A CN 118783981 A CN118783981 A CN 118783981A CN 202410922745 A CN202410922745 A CN 202410922745A CN 118783981 A CN118783981 A CN 118783981A
Authority
CN
China
Prior art keywords
antenna
current
actual current
antennas
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410922745.7A
Other languages
Chinese (zh)
Inventor
陈再成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realme Mobile Telecommunications Shenzhen Co Ltd
Original Assignee
Realme Mobile Telecommunications Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Realme Mobile Telecommunications Shenzhen Co Ltd filed Critical Realme Mobile Telecommunications Shenzhen Co Ltd
Priority to CN202410922745.7A priority Critical patent/CN118783981A/en
Publication of CN118783981A publication Critical patent/CN118783981A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmitters (AREA)

Abstract

The embodiment of the application discloses an antenna switching method, an antenna switching device, terminal equipment and a storage medium, which are used for switching a first antenna into a second antenna for communication under the condition that a first actual current of the first antenna used in a current working frequency band meets a preset condition, and the power consumption of the terminal equipment can be reduced because a reference current of the second antenna is smaller than the first actual current. The method of the embodiment of the application is applied to a radio frequency system, wherein the radio frequency system comprises a plurality of antennas, and the method comprises the following steps: detecting target transmitting power and corresponding first actual current of a first antenna used in a current working frequency band; under the condition that the first actual current meets the preset condition, switching the first antenna into a second antenna, and using the second antenna to communicate, wherein the second antenna is an antenna which is supported in the current working frequency band in a plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current; wherein the plurality of antennas includes a first antenna and a second antenna.

Description

Antenna switching method, device, terminal equipment and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, a terminal device, and a storage medium for antenna switching.
Background
With implementation of functions of a radio frequency new technology such as 5G, dual-card dual-pass (dual sim dual active, DSDA), uplink Multiple-Input Multiple-Output (UL MIMO), the power consumption of the whole terminal equipment is larger and larger, and the endurance requirement is also stricter. Most of the current radio frequency technologies are used for optimizing conduction Power consumption, such as improving the self efficiency of a Power Amplifier (PA), optimizing the insertion loss of a channel, optimizing the function of envelope tracking (Envelope Tracking, ET) and the like, so as to reduce the Power consumption; also, antenna switching is addressed by current antenna switching schemes that switch based on signal strength. However, the signal strength is good, but the power consumption of the whole machine is relatively high, so that the problem that the temperature of the terminal equipment is quickly increased, the standby time is influenced, and the user experience is further influenced is caused.
Disclosure of Invention
The embodiment of the application provides an antenna switching method, an antenna switching device, terminal equipment and a storage medium, which are used for switching a first antenna to a second antenna for communication under the condition that a first actual current of the first antenna used in a current working frequency band meets a preset condition, and the power consumption of the terminal equipment can be reduced because a reference current of the second antenna is smaller than the first actual current.
A first aspect of the present application provides a method for antenna switching, the method being applied to a radio frequency system, the radio frequency system comprising a plurality of antennas, the method may comprise:
detecting target transmitting power and corresponding first actual current of a first antenna used in a current working frequency band;
under the condition that the first actual current meets a preset condition, switching the first antenna into a second antenna, and using the second antenna to communicate, wherein the second antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current;
wherein the plurality of antennas includes the first antenna and the second antenna.
A second aspect of the present application provides an apparatus for antenna switching, the apparatus being applied to a radio frequency system including a plurality of antennas, the apparatus comprising:
The detection module is used for detecting target transmitting power of the first antenna used in the current working frequency band and corresponding first actual current;
The switching module is used for switching the first antenna into a second antenna under the condition that the first actual current is larger than a first preset current, and the communication module is used for communicating by using the second antenna, wherein the reference current corresponding to the target transmitting power used by the second antenna is smaller than the first actual current;
wherein the plurality of antennas includes the first antenna and the second antenna.
A third aspect of the application provides a terminal device comprising a memory and a processor, the memory storing a computer program executable on the processor, the terminal device implementing the method of the first aspect of the application when the program is executed.
A fourth aspect of the application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method according to the first aspect of the application.
A fifth aspect of the application provides a chip comprising a computer program which, when executed by a processor, implements a method according to the first aspect of the application.
In yet another aspect, an embodiment of the application discloses a computer program product for causing a computer to perform the method according to the first aspect of the application when the computer program product is run on the computer.
In yet another aspect, an embodiment of the present application discloses an application publishing platform, which is configured to publish a computer program product, where the computer program product, when run on a computer, causes the computer to perform the method according to the first aspect of the present application.
From the above technical solutions, the embodiment of the present application has the following advantages:
In an embodiment of the present application, a method for switching antennas is provided, where the method is applied to a radio frequency system, and the radio frequency system includes a plurality of antennas, and the method may include: detecting target transmitting power and corresponding first actual current of a first antenna used in a current working frequency band; under the condition that the first actual current meets a preset condition, switching the first antenna into a second antenna, and using the second antenna to communicate, wherein the second antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current; wherein the plurality of antennas includes the first antenna and the second antenna. The method is used for switching the antenna by detecting the current of the power amplifier corresponding to the target transmitting power of the antenna, so that the purpose of reducing the power consumption of the terminal equipment is achieved, namely, under the condition that the first actual current of the first antenna used in the current working frequency band meets the preset condition, the first antenna can be switched to the second antenna for communication, and the reference current of the second antenna is smaller than the first actual current, so that the power consumption of the terminal equipment can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments and the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings.
Fig. 1A is a diagram of an architecture of a radio frequency system in a terminal device in the related art;
Fig. 1B and fig. 1C are schematic diagrams of a hand-held scenario of a whole terminal device;
fig. 1D is a schematic diagram of a charging scenario of a terminal device;
FIG. 2A is a schematic diagram of an RF system architecture according to an embodiment of the present application;
FIG. 2B is a schematic diagram of another RF system architecture to which embodiments of the present application are applied;
FIG. 3 is a diagram of a method for antenna switching according to an embodiment of the present application;
FIG. 4 is a diagram of another embodiment of a method for antenna switching in accordance with an embodiment of the present application;
Fig. 5 is a flowchart of a method for antenna switching according to an embodiment of the present application;
FIG. 6 is a diagram of an apparatus for antenna switching according to an embodiment of the present application;
fig. 7A is a schematic diagram of an embodiment of a terminal device according to an embodiment of the present application;
fig. 7B is a schematic diagram of another embodiment of a terminal device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides an antenna switching method, an antenna switching device, terminal equipment and a storage medium, which are used for switching a first antenna to a second antenna for communication under the condition that a first actual current of the first antenna used in a current working frequency band meets a preset condition, and the power consumption of the terminal equipment can be reduced because a reference current of the second antenna is smaller than the first actual current.
In order that those skilled in the art will better understand the present application, reference will now be made to the accompanying drawings in which embodiments of the application are illustrated, it being apparent that the embodiments described are only some, but not all, of the embodiments of the application. Based on the embodiments of the present application, it should be understood that the present application is within the scope of protection.
With the implementation of the new radio frequency technologies such as 5G, dual-card dual-pass (dual sim dual active, DSDA), uplink Multiple-Input Multiple-Output (UL MIMO) and the like, the power consumption of the whole machine is larger and larger, the endurance requirement is also stricter, and meanwhile, the antenna efficiency of the whole machine is limited by industrial design (Industrial Design, ID) to limit the headroom and the number of antennas to increase sharply, so that the antenna efficiency is reduced, the power consumption of the whole machine is increased, the endurance and the temperature rise of the whole machine are affected, and the temperature rise and the endurance are very important indexes for the mobile phone from the feedback experience of users. Most of the current radio frequency technologies are used for optimizing conduction Power consumption, such as improving the self efficiency of a Power Amplifier (PA), optimizing the insertion loss of a channel, optimizing the function of envelope tracking (Envelope Tracking, ET) and the like, so as to reduce the Power consumption; the method is also solved by antenna switching, the current antenna switching scheme is based on signal strength, the main scheme is to estimate the uplink signal performance of each antenna by testing the downlink signal reference signal received Power (REFERENCE SIGNAL RECEIVING Power, RSRP) of different antennas, and select the antenna with the best estimated uplink signal for signal transmission.
As shown in fig. 1A, an architecture diagram of a radio frequency system in a terminal device in the related art is shown. The base band Circuit is mainly composed of a base band Circuit, which can also be called a base band chip (Baseband integrated Circuit, BB IC), a radio frequency processor (Transceiver), a radio frequency Front-end (RF Front-end), a radio frequency Power direct current-direct current converter (DCDC), a Power management chip, which can also be called a Power MANAGEMENT INTEGRATED Circuit (PMIC), an antenna switch and other parts for combining a radio frequency transmitter and a receiver to complete a communication function.
The schemes for optimizing the power consumption in the prior art are as follows:
and (3) device type selection: and the PA and the power supply chip with higher efficiency are selected to reduce the power consumption of the whole machine.
Path insertion loss: the smaller the access insertion loss of the Radio Frequency (RF) front end is, the lower the power consumption of the PA output power is correspondingly; the method generally reduces the path insertion loss by reducing the antenna combination form, low insertion loss devices, wiring optimization and the like.
ET function: the PA is powered by an envelope tracking mode, which saves more power than the power tracking (Average Power Tracking, APT) mode.
The above-mentioned modes are common methods for optimizing power consumption in related technical schemes.
However, the existing optimized conduction technical scheme is not helpful to the power consumption of the whole machine, and particularly when the antenna of the terminal equipment is contacted by a human body or other metal objects in the scenes of transverse screen games, hand holding, universal serial bus (Universal Serial Bus, USB) charging and the like, the passive position of the antenna can be influenced, and the antenna performance of the whole machine is severely changed at the moment, and the power consumption and the performance of the whole machine are seriously influenced. Fig. 1B and fig. 1C are schematic diagrams of a hand-held scenario of a complete machine of a terminal device. As shown in fig. 1D, a charging scenario of the terminal device is illustrated.
Table 1 vswr=3: 1 and current simulation value under each frequency band
TABLE 2 comparison of Power consumption data in free space State and transverse Screen Handheld State of complete machine
As can be seen from table 2, if the antenna is switched to ANT5 in the hand-held state, the power consumption of the hand-held scene of ANT5 is about 150mA greater than that in the free space scene.
Therefore, in the related technical scheme, when the Voltage standing wave Ratio (Voltage STANDING WAVE Ratio, VSWR) of the whole machine is changed in the scenes of holding, transverse screen inserting, USB inserting and the like, the phase is also changed, so that the current of the whole machine has very large influence, and very bad experience is generated on the temperature rise and endurance of the whole machine. In these situations, by using an antenna switching technology, the current antenna switching technology determines which antenna is used for signal transmission by testing a downlink signal RSRP, where there is a disadvantage that for frequency division duplex (Frequency Division Duplexing, FDD) frequency bands TX (Transmit) and RX (Receive), there is no common frequency, and there is a shortage in estimating TX channel performance by an RX signal, and the selected antenna is not optimal, resulting in affecting overall power consumption and temperature rise; on the other hand, the estimation is based on the antenna transmission power, and the antenna transmission power is small, but the larger the power consumption of the transmission signal is, as in the example in table 2, if the hand is handed over to the Antenna (ANT) 5 position, the whole power consumption is increased.
In the embodiment of the present application, the terminal device may be a Mobile Phone (Mobile Phone), a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented Reality (Augmented Reality, AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in unmanned (SELF DRIVING), a wireless terminal device in remote medical (remote medical), a wireless terminal device in smart grid (SMART GRID), a wireless terminal device in transportation security (transportation safety), a wireless terminal device in smart city (SMART CITY), or a wireless terminal device in smart home (smart home), or the like.
By way of example, and not limitation, in embodiments of the present application, the terminal device may also be a wearable device having a display interface. The wearable device can also be called as a wearable intelligent device, and is a generic name for intelligently designing daily wear by applying wearable technology and developing wearable devices, such as glasses, gloves, watches, clothes, shoes and the like. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction. The generalized wearable intelligent device includes full functionality, large size, and may not rely on the smart phone to implement complete or partial functionality, such as: smart watches or smart glasses, etc., and focus on only certain types of application functions, and need to be used in combination with other devices, such as smart phones, for example, various smart bracelets, smart jewelry, etc. for physical sign monitoring.
The antenna switching method in the embodiment of the application is described by taking a mobile phone applied to terminal equipment as an example.
Based on the defects in the related technical scheme, in the technical scheme of the application, the selection of a proper antenna based on current detection is provided, and the power consumption of the whole machine in various scenes is optimized; when the power consumption of the radio frequency PA is increased drastically, the antennas are switched, and the antennas with smaller power consumption of the PA are selected for transmitting, so that the whole machine can transmit by using the antennas with smaller power consumption constantly, the problems of power consumption and temperature rise are solved, and the user experience can be improved greatly.
Compared with the radio frequency system architecture diagram in the related technical scheme, the radio frequency system architecture diagram applied in the embodiment of the application is added with the current detection module, and the current detection module can be built in a radio frequency power supply DCDC, can be built in a PMIC, can be used as an independent module and is connected between the radio frequency power supply DCDC and the PMIC, and the application is not particularly limited. The current detection module is used for detecting the actual current corresponding to the target transmitting power used by the antenna. As shown in fig. 2A, a radio frequency system architecture diagram to which the embodiment of the present application is applied is illustrated in fig. 2A by taking an example that a current detection module is connected between a radio frequency power DCDC and a PMIC. The current detection module herein may be implemented by a current detection resistor, which is also connected to a baseband chip (BB IC), and has Analog-to-Digital Converter (ADC) function General-purpose input/output (GPIO). Fig. 2B shows another rf system architecture diagram to which embodiments of the present application are applied. In fig. 2B, the current sense resistor may be connected to the BB IC through a differential trace.
The current detection resistor is a patch sampling resistor with smaller resistance value, and is connected in series in the circuit for converting current into voltage signals for measurement. The current detection resistor is used as a reference in the function, and is usually used in a feedback circuit, for example, a voltage stabilizing power supply circuit is taken as an example, in order to keep the output voltage in a constant state, a part of the voltage is taken as a reference from the output voltage (in the form of a common sampling resistor), and if the output is high, the voltage is automatically reduced at the input end, so that the output is reduced; if the output is low, the input terminal automatically increases the voltage, increasing the output. The power supply is generally used in power supply products, or power supply parts of electronic, digital and electromechanical products, and has strong functions.
The sampling resistor is generally a precise resistor, the resistance is low, the precision is high, and the resistor with the precision of 0.01% is generally adopted when the precision of the resistance is within +/-1% and the application is more required. The resistance of the general sampling resistor is less than 1 ohm, which belongs to milliohm level resistor, but part of resistors have the requirements of sampling voltage and the like, and the resistor with large resistance must be selected, but the resistor base is large, and the error is large. In this case, it is necessary to select a resistor with high accuracy.
In the embodiment of the application, under the condition that the terminal equipment uses the antenna to transmit signals, when the use scene of a user changes, the VSWR and the phase of the PA load and the antenna change at the moment, so that the power consumption of the PA becomes large, the current detection module can detect the current at the moment, if the current is detected to be increased, the power consumption is increased, and if the current is detected to be increased, the current is detected to be reduced after the current is detected to be reduced, so that the purpose of optimizing the power consumption is achieved.
In the following, by way of example, the technical solution of the present application is further described, and as shown in fig. 3, an embodiment of a method for antenna switching in the embodiment of the present application is shown. The method is applied to a radio frequency system, the radio frequency system comprises a plurality of antennas, and the method embodiment can comprise the following steps:
301. and detecting the target transmitting power of the first antenna used by the current working frequency band and the corresponding first actual current.
When the terminal device transmits signals by using the first antenna, the target transmission power of the first antenna used by the current working frequency band and the corresponding first actual current can be detected. It should be noted that, the first antenna is a default antenna, that is, the current of the first antenna is the smallest and the reference power consumption is the smallest when transmitting the target transmission power in the current operating frequency band. Illustratively, the terminal device is currently operating at ANT 1B 1 with a target transmit power of 10dbm and a first actual current of 95mA for the corresponding PA.
In one implementation manner, the detecting the target transmission power and the corresponding first actual current of the first antenna used in the current operating frequency band may include: and detecting the target transmitting power of the first antenna used in the current working frequency band, and detecting a first actual current corresponding to the target transmitting power through a current detection module. In the technical scheme, the current detection module can be used for detecting the first actual current corresponding to the target transmitting power used by the first antenna, a specific implementation mode of current detection is provided, and the feasibility of the scheme is improved.
The current sensing module may be used for current sensing, a fundamental task in electronic and electrical systems for evaluating, controlling and diagnosing the performance of the system. The following are some common current detection methods:
A current precision sense resistor (Precision Current Sense Resistor), which is a high precision resistor for measuring small currents. Detecting the current by measuring the voltage drop across the resistor, but with greater emphasis on accuracy; the resistance is higher to provide enough voltage drop, so that smaller current can be conveniently measured; but also has a very low temperature coefficient and long-term stability. Often for applications requiring high accuracy current detection.
Shunt Resistor (Shunt): a precision resistor of low resistance is connected in series in the current path, and the current is detected by measuring the voltage drop across the resistor. The method is simple and low in cost, but introduces a certain voltage drop, which may affect the performance of the circuit.
Hall effect Sensor (HALL EFFECT Sensor): the Hall effect principle is utilized, and the magnetic field intensity is measured through a semiconductor chip, so that the current is calculated. This method is non-invasive, can measure alternating or direct current, and does not require physical contact.
Rogowski Coil (Rogowski Coil): the method is suitable for measuring alternating current, and a magnetic field generated by current change is detected through a ring-shaped coil so as to calculate current. This approach has a better frequency response to the current but is relatively costly.
Current transformer (Current Transformer, CT): the current is measured by the transformer principle and is suitable for high current measurement, but is usually only used for detection of alternating current.
Fiber optic current sensor (Optical Current Sensor): the current is detected by measuring the effect of the magnetic field generated by the current on the light, using the characteristics of the light transmitted in the optical fiber. The method has the characteristics of high bandwidth and electromagnetic interference resistance.
Fluxgate (fluxgate): the magnetic field is measured using fluxgate technology, and the current is calculated. This method is suitable for measuring currents in high magnetic field environments.
Metal-Oxide-semiconductor field effect transistor (MOSFET) ON-resistance (RDS (ON)) for short Metal-Oxide-Semiconductor Field-Effect Transistor: the current is detected by the voltage drop generated by the internal resistance when the MOSFET is turned on. This approach avoids additional sensing elements, but accuracy is affected by MOSFET parameters and temperature.
Inductance Direct Current Resistance (DCR): a DC resistance component is added to the inductance element, and the voltage drop across the resistance is measured to detect the current. This method requires no additional components, but the accuracy is affected by the inductance DCR parameter.
Dedicated current monitoring chip: there are a number of specialized current monitoring integrated circuits on the market that integrate the required op-amp, resistors and other components, providing a high precision and high common mode rejection ratio (Common Mode Rejection Ratio, CMRR) current detection scheme.
Each current detection method has advantages and limitations, and the measurement accuracy, cost, circuit complexity, temperature drift, electromagnetic compatibility and other factors need to be considered in selection. In designing the current sensing circuit, the most appropriate method should be selected according to the specific application requirements and environmental conditions.
It should be noted that, each antenna supported by each working frequency band may be pre-stored in the terminal device, and each transmitting power and corresponding reference current may be stored in a mapping table in the target state of the terminal device, and the information may be described in different cases below:
case 1: each antenna supported by each working frequency band can be pre-stored in the terminal equipment, and each transmitting power and corresponding reference current are in a free space state.
Example 1: and the working frequency band B1 corresponds to the antenna 1 and the antenna 2.
The antenna 1 sends 10dbm power to the PA reference current of 80mA in a free space state;
the antenna 2 emits 10dbm of power in the free space state with a corresponding PA reference current of 85mA.
Example 2: and the working frequency band B1 corresponds to the antenna 1, the antenna 2 and the antenna 3.
The antenna 1 sends 10dbm power to the PA reference current of 80mA in a free space state;
the antenna 2 sends 10dbm power to the PA reference current of 85mA under the free space state;
the antenna 3 emits 10dbm of power in a free space state corresponding to 90mA of PA reference current.
Case 2: each antenna supported by each working frequency band can be pre-stored in the terminal equipment, and each transmitting power and corresponding reference current are in a target state, wherein the target state comprises a free space state, a hand-held state, a horizontal screen state or a charging state.
It should be noted that the hand-held state, the horizontal screen state, and the charging state here are substantially specific states other than the free space state. If the terminal device is not in the hand-held state, the cross-screen state and the charging state, the default antenna in the free space state is used for communication.
Examples: and the working frequency band B1 corresponds to the antenna 1, the antenna 2 and the antenna 3.
The antenna 1 sends 10dbm power to the PA reference current of 80mA in a free space state;
the antenna 1 sends power of 10dbm to be 82mA corresponding to PA reference current in a handheld state;
the antenna 1 sends 10dbm power to the PA reference current of 85mA under the transverse screen state;
the antenna 1 sends 10dbm power to 90mA corresponding to PA reference current in a charging state;
the antenna 2 sends 10dbm power to the PA reference current of 85mA under the free space state;
the antenna 2 sends 10dbm power to the PA reference current of 85mA under the hand-held state;
The antenna 2 sends 10dbm power to the PA reference current of 88mA under the transverse screen state;
The antenna 2 sends 10dbm power to 90mA corresponding to PA reference current in a charging state;
The antenna 3 sends 10dbm power to 90mA corresponding to PA reference current in a free space state;
The antenna 3 sends 10dbm power to 98mA corresponding to PA reference current in a handheld state;
the antenna 3 sends 10dbm power to the PA reference current of 92mA under the transverse screen state;
the antenna 3 emits 10dbm of power in a charged state, which corresponds to a PA reference current of 95mA.
302. And under the condition that the first actual current meets a preset condition, switching the first antenna into a second antenna, and using the second antenna to communicate.
After detecting and obtaining the target transmitting power of the first antenna used in the current working frequency band and the corresponding first actual current, the terminal device can judge whether the first actual current meets a preset condition, for example, compare the first actual current (for example, 95 mA) with the preset current, and switch the first antenna to the second antenna when the first actual current is greater than the preset current, or switch the first antenna to the second antenna when the first actual current is greater than the preset current and the difference between the first actual current (for example, 95 mA) and the preset current is greater than a first difference threshold. The preset current may be an empirical value obtained according to big data, or may be a reference current (for example, 80 mA) corresponding to the target transmitting power of the first antenna, or may be any reference current corresponding to the target transmitting power supported in the antenna of the current operating frequency band in a pre-stored mapping table, for example, may be a maximum reference current in the pre-stored mapping table, or may be a minimum reference current in the pre-stored mapping table, which is not limited in this specific embodiment.
For example, the preset current is 80mA, and then the first actual current 95mA is greater than the preset current 80mA; or the first difference threshold is 10, the difference between the first actual current 95mA and the preset current 80mA is 15mA, and the difference is greater than the first difference threshold 10, so that whether other antennas are better than the current antenna can be inquired, if yes, the antenna is switched to a better antenna, and the better antenna is taken as a second antenna for illustration.
In this technical solution, since the reference current of the switched second antenna is smaller than the first actual current of the first antenna, the power consumption of the terminal device can be reduced theoretically.
In one implementation manner, the second antenna is an antenna with the smallest reference current corresponding to the target transmitting power, except for the first antenna, which is supported in the antenna with the current working frequency band in the plurality of antennas. In the technical scheme, because the reference current of the second antenna is minimum except the first antenna, the power consumption of the terminal equipment is also minimum theoretically, and the power consumption of the whole terminal equipment can be reduced to the greatest extent.
In one implementation, the first antenna and the second antenna are antennas supported by the current operating frequency band in a free space state.
This implementation corresponds to the case 1 described above, that is, the terminal device stores, in advance, each antenna supported by each operating frequency band, each transmitting power and the corresponding reference current in the free space state. Therefore, the first antenna and the second antenna are both antennas supported by the current working frequency band in the free space state. The terminal equipment does not need to detect what state the terminal equipment is in, and only needs to select an antenna with reference current smaller than the first actual current in a pre-stored mapping table to switch, so that the power consumption of the terminal equipment is reduced.
In another implementation manner, the first antenna is an antenna supported by the current working frequency band in a free space state, the second antenna is an antenna supported by the current working frequency band in a target state, and the target state is a free space state, a hand holding state, a horizontal screen state or a charging state.
This implementation corresponds to the case 2 described above, that is, the terminal device stores, in advance, each antenna supported by each operating frequency band, and each transmitting power and the corresponding reference current in a target state, where the target state includes a free space state, a hand-held state, a flat screen state, or a charging state. Therefore, the first antenna and the second antenna may be antennas supported by the current operating frequency band in the same state, or may be antennas supported by the current operating frequency band in different states. The terminal equipment needs to detect what state the terminal equipment is in, if the terminal equipment is in a target state, the antenna with the reference current smaller than the first actual current in the target state can be selected in a pre-stored mapping table for switching, so that the selected antenna is better, and the power consumption of the terminal equipment is more facilitated to be reduced.
Further optionally, the switching the first antenna to the second antenna when the first actual current meets a preset condition may include: and under the condition that the first actual current meets a preset condition and is in a target state, selecting the second antenna, and switching the first antenna into the second antenna.
If the first actual current meets the preset condition, the current target state of the terminal equipment can be detected, and by way of example, the current target state of the terminal equipment can be detected through a sensor in the terminal equipment. The above-described sensor may include, but is not limited to, at least one of: magnetic induction sensor, acceleration sensor, gyroscope, sound sensor, image sensor, fingerprint sensor, distance sensor, temperature sensor. If the current target state of the terminal equipment is detected to be a holding state, any antenna with the reference current corresponding to the target transmitting power smaller than the first actual current in the holding state can be selected from the antennas of the current working frequency band, namely the second antenna is switched. If the current target state of the terminal equipment is detected to be a horizontal screen state, any antenna with the reference current corresponding to the target transmitting power smaller than the first actual current in the horizontal screen state, namely the second antenna, can be selected to switch in the antennas of the current working frequency band. If the current target state of the terminal equipment is detected to be a charging state, any antenna with the reference current corresponding to the target transmitting power smaller than the first actual current in the charging state can be selected from the antennas in the current working frequency band, namely the second antenna is switched.
It should be noted that, in some cases, the terminal device may be in a landscape screen state and a hold state, or the terminal device may be in a landscape screen state and a charge state, or the terminal device may be in a hold state and a charge state, and then, in both states, the antenna with the minimum reference current may be selected to switch. In some cases, the terminal device may be in a landscape state, a handheld state and a charging state, and then the antenna with the minimum reference current in the three states may be selected for switching.
In the technical scheme, if the first actual current meets the preset condition, the current target state of the terminal equipment can be detected, and the antenna with the reference current smaller than the first actual current corresponding to the target transmitting power in the target state is selected, so that the selected antenna is aimed at the target state and has pertinence, and the power consumption of the terminal equipment is reduced.
In one implementation manner, the antenna supported by the current working frequency band comprises a first antenna and a second antenna; switching the first antenna to the second antenna when the first actual current meets a preset condition may include: and under the condition that the first actual current meets the preset condition, switching the first antenna into the second antenna through a first switch.
In the technical scheme, a specific implementation mode of antenna switching is provided, and the antenna is switched through a switch, so that the efficiency of antenna switching can be effectively ensured, and the feasibility of the scheme is improved.
Optionally, the first switch is a single pole double throw switch or a double pole double throw switch.
In the technical scheme, a specific implementation mode of the switch is provided, so that the antenna switching efficiency can be effectively ensured, and the feasibility of the scheme is improved.
In an embodiment of the present application, a method for switching an antenna is provided, where the method is applied to a terminal device, and the terminal device includes a plurality of antennas, and the method may include: detecting target transmitting power and corresponding first actual current of a first antenna used in a current working frequency band; under the condition that the first actual current meets a preset condition, switching the first antenna into a second antenna, and using the second antenna to communicate, wherein the second antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current; wherein the plurality of antennas includes the first antenna and the second antenna. The method is used for switching the antenna by detecting the current of the power amplifier corresponding to the target transmitting power of the antenna, so that the purpose of reducing the power consumption of the terminal equipment is achieved, namely, under the condition that the first actual current of the first antenna used in the current working frequency band meets the preset condition, the first antenna can be switched to the second antenna for communication, and the reference current of the second antenna is smaller than the first actual current, so that the power consumption of the terminal equipment can be reduced.
Fig. 4 is a schematic diagram of another embodiment of a method for antenna switching according to an embodiment of the present application. The method is applied to a radio frequency system, the radio frequency system comprises a plurality of antennas, and the method embodiment can comprise the following steps:
401. And detecting the target transmitting power of the first antenna used by the current working frequency band and the corresponding first actual current.
402. And under the condition that the first actual current meets a preset condition, switching the first antenna into a second antenna, and using the second antenna to communicate.
It should be noted that steps 401 to 402 in the embodiment of the present application are similar to steps 301 to 302 in the embodiment shown in fig. 3, and are not described herein.
403. And detecting a second actual current corresponding to the target transmitting power used by the second antenna.
After the terminal device switches the first antenna to the second antenna, it is further required to detect a second actual current corresponding to the target transmit power used by the second antenna. Illustratively, the second actual current corresponding to the target transmit power used by the second antenna is detected to be 90mA.
In one implementation, the detecting a second actual current corresponding to the target transmit power used by the second antenna may include: and detecting a second actual current corresponding to the target transmitting power used by the second antenna through a current detection module. In the technical scheme, the current detection module can be used for detecting the second actual current corresponding to the target transmitting power used by the second antenna, a specific implementation mode of current detection is provided, and the feasibility of the scheme is improved.
404. Continuing to use the second antenna for communication if the second actual current is less than the first actual current; wherein the plurality of antennas includes the first antenna and the second antenna.
For example, the first actual current corresponding to the target transmission power of the first antenna used in the current operating frequency band is 95mA, and the second actual current corresponding to the target transmission power of the second antenna used in the current operating frequency band is 90mA, and because the second actual current 90mA is smaller than the first actual current 95mA, communication, that is, signal transmission, using the target transmission power of the second antenna in the current operating frequency band can be continued. In the technical scheme, the second actual current corresponding to the target transmitting power of the second antenna is smaller than the first actual current corresponding to the target transmitting power of the first antenna, so that the second antenna can be continuously used for communication, and the power consumption of the terminal equipment is reduced.
In one implementation, the continuing to use the second antenna for communication if the second actual current is less than the first actual current may include: and continuing to use a second antenna for communication if the second actual current is less than the first actual current and a difference between the first actual current and the second actual current is greater than a second difference threshold.
In the technical scheme, because the default first antenna is the antenna with the best performance in all aspects, under the condition that the second actual current is prevented from being slightly smaller than the first actual current, if the second antenna is continuously used, other performances are not better than those of the first antenna except that the current is slightly smaller than the first antenna, so that under the condition that the second actual current is smaller than the first actual current, the difference value between the first actual current and the second actual current is also required to be larger than a second difference value threshold value, the second antenna is continuously used for communication, relatively more power consumption of the terminal equipment can be reduced, and other performances of the terminal equipment can be temporarily not considered.
405. And under the condition that the duration of the communication carried out by using the second antenna exceeds the preset duration, switching the second antenna into the first antenna, and carrying out the communication by using the first antenna.
For example, when the current antenna used by the terminal device is not the default antenna (the embodiment of the application uses the default antenna as an example for describing the first antenna), the current actual current of the default antenna may be switched back to the default antenna at intervals of a preset period, and the current actual current of the default antenna is tested, if the current actual current is greater than the actual current of the antenna which is not the default antenna, the current actual current is switched back to the antenna which is not the default antenna for communication, and if the current actual current is less than the actual current of the antenna which is not the default antenna, the default antenna is used for communication.
In the technical scheme, because the default antenna is the antenna with the minimum power consumption of the terminal equipment under normal conditions, even if the actual current of the default antenna is increased under certain states so as to switch to other antennas for communication, the actual current of the default antenna is also required to be switched back to the default antenna at intervals, whether the default antenna is used for communication is determined, and therefore the terminal equipment is ensured to be in communication by using the antenna with low power consumption to a greater extent, and the power consumption of the whole terminal equipment is reduced.
406. And when the second actual current is larger than the first actual current, switching the second antenna to the first antenna, and using the first antenna to communicate.
For example, after switching from the first antenna to the second antenna, the second actual current of the second antenna after switching is detected, whether the second actual current is better than the actual current before switching is confirmed, if the second actual current is better than the actual current before switching, the second antenna after switching is kept to communicate, and if the second actual current is not better than the actual current, the second antenna after switching is switched back to the first antenna or is switched to other antennas. For example: the first actual current corresponding to the target transmitting power of the first antenna used in the current working frequency band is 95mA, the second reference current corresponding to the target transmitting power of the second antenna used in the current working frequency band is 85mA, but the detected second actual current is 100mA, and because the second actual current 100mA is larger than the first actual current 95mA, the power consumption of the terminal equipment is increased, and the second antenna is switched back to the first antenna for communication, namely, signal transmission. In the technical scheme, the second actual current corresponding to the target transmitting power of the second antenna is larger than the first actual current corresponding to the target transmitting power of the first antenna, so that the second antenna is required to be switched to the first antenna for communication, and the power consumption of the terminal equipment is reduced.
407. Detecting a fourth actual current corresponding to the target transmitting power used by the first antenna; and continuing to use the first antenna for communication in the case that the fourth actual current is less than the second actual current.
It should be noted that step 407 may be followed by step 405 or step 406.
In the technical scheme, because the default antenna is the antenna with the minimum power consumption of the terminal equipment under normal conditions, even if the actual current of the default antenna is increased under certain states, the actual current is switched to other antennas for communication, but the actual current of the default antenna is also required to be switched back to the default antenna at intervals, whether the current actual current of the default antenna is better or not is detected, and if so, the default antenna is used for communication, so that the terminal equipment is ensured to be in communication by using the antenna with low power consumption to a greater extent, and the power consumption of the whole terminal equipment is reduced.
It should be noted that in the embodiment of the present application, steps 405-407 are optional steps.
In the above description, the case where the antenna supporting the current operating frequency band includes the first antenna and the second antenna is taken as an example, and the case where the antenna supporting the current operating frequency band includes the first antenna, the second antenna and the third antenna is taken as an example, as follows:
In one implementation, the plurality of antennas includes the first antenna, the second antenna, and a third antenna, the method may further include: and under the condition that the second actual current is larger than the first actual current, switching the second antenna into the third antenna, and using the third antenna to communicate, wherein the third antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current.
Illustratively, because the plurality of antennas includes a first antenna, a second antenna, and a third antenna. When the first actual current of the default first antenna satisfies the preset condition, the second actual current using the second antenna is detected when the first antenna is switched to the second antenna for communication, and when the second actual current is larger than the first actual current, the second antenna can be switched to the third antenna for communication.
In this technical solution, because the third antenna is an antenna supported in the current operating frequency band in the multiple antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current, when the actual power consumption of communication using the first antenna and the second antenna is relatively large, the third antenna may be switched to perform communication, thereby reducing the power consumption of the terminal device.
In one implementation, the plurality of antennas includes the first antenna, the second antenna, and a third antenna, the method may further include: switching the second antenna to the first antenna under the condition that the second actual current is larger than the first actual current, and using the first antenna to communicate; detecting a fourth actual current corresponding to the target transmitting power used by the first antenna; and under the condition that the fourth actual current is larger than the first actual current, switching the first antenna into the third antenna, and using the third antenna to communicate, wherein the third antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current.
In the embodiment of the present application, the default antenna is taken as the first antenna as an example for explanation. In this technical solution, because the default antenna is the antenna with the minimum power consumption of the terminal device in a normal case, even if the actual current of the default antenna is increased in some states, so as to switch to other antennas for communication, but if the actual current of other antennas is greater than the actual current of the default antenna, the default antenna needs to be switched back to even if the current operating frequency band supports other antennas, whether the actual current of the default antenna at this time changes is detected, if the change is better, the default antenna is used for communication, if the change is still not, or the actual current is still larger, the default antenna can be switched to a third antenna for communication, and the third antenna is the antenna which is supported in the antennas of the current operating frequency band in the multiple antennas, and uses the reference current corresponding to the target transmitting power to be smaller than the first actual current, so as to ensure that the terminal device uses the antenna with low power consumption for communication to a greater extent, and reduce the power consumption of the whole terminal device.
In one implementation, the method may further include, after switching from the second antenna to the third antenna for communication or after switching from the first antenna to the third antenna for communication: detecting a third actual current corresponding to the target transmitting power used by the third antenna; and continuing to use the third antenna for communication under the condition that the third actual current is smaller than the first actual current.
In the technical scheme, after the communication is performed by switching to the third antenna, the third actual current corresponding to the target transmitting power used by the third antenna can be detected, and under the condition that the third actual current corresponding to the third antenna is smaller than the first actual current of the first antenna, the communication can be performed by continuously using the third antenna, so that the communication of the terminal equipment by using the low-power-consumption antenna is ensured to a greater extent, and the power consumption of the whole terminal equipment is reduced.
In one implementation manner, the third antenna is an antenna with the smallest reference current corresponding to the target transmitting power, except for the first antenna and the second antenna, which is supported in the antenna with the current working frequency band in the plurality of antennas. In the technical scheme, because the reference current of the third antenna is minimum except the first antenna and the second antenna, the power consumption of the terminal equipment is also minimum theoretically, and the power consumption of the whole terminal equipment can be reduced to the greatest extent.
It should be noted that, the above description is given by taking an example that the antenna supporting the current working frequency band includes two antennas and three antennas as an example, if the antenna supporting the current working frequency band includes more implementation manners of the antennas, the switching method of the three antennas may also be referred to reduce the overall power consumption of the terminal device, which is not described herein in detail.
Fig. 5 is a schematic flow chart of a method for switching antennas according to an embodiment of the application. The terminal equipment needs to establish network connection firstly and then uses a default antenna for transmitting; recording the current transmitting power of a default antenna and a first actual current of a corresponding PA, switching to other antennas for transmitting under the condition that the first actual current meets a preset condition, and detecting the actual currents of the other antennas; and switching back to the default antenna, detecting a fourth actual current of the PA corresponding to the default antenna, using the default antenna for communication when the actual current of the other antennas is larger than the fourth actual current, and switching back to the other antennas for communication when the actual current of the other antennas is smaller than the fourth actual current.
In one implementation manner, the antenna switching method is applied to a test scene before the terminal equipment leaves the factory.
In the technical scheme, the antenna switching method is not limited to the optimal application of the terminal equipment in the aspect of power consumption, and is also suitable for the antenna assembly performance test of the terminal equipment in the production line. The antenna performance of the whole machine needs to be tested before the terminal equipment leaves the factory, and the current mainstream test scheme is through instrument coupling test; in the technical scheme, the PA current of the current antenna of the terminal equipment can be tested by transmitting preset transmitting power, and whether the antenna is assembled successfully or not and whether the antenna performance reaches a preset standard can be judged by comparing the PA current with the preset standard model current. By using the technical scheme, the terminal equipment can complete the test by a single machine, so that the test cost of the instrument is saved, communication with the instrument is not needed, the test efficiency is higher, and the test time cost is reduced.
In an embodiment of the present application, a method for switching an antenna is provided, where the method is applied to a terminal device, and the terminal device includes a plurality of antennas, and the method may include: detecting target transmitting power and corresponding first actual current of a first antenna used in a current working frequency band; under the condition that the first actual current meets a preset condition, switching the first antenna into a second antenna, and using the second antenna to communicate, wherein the second antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current; detecting a second actual current corresponding to the target transmitting power used by the second antenna; continuing to use the second antenna for communication if the second actual current is less than the first actual current; wherein the plurality of antennas includes the first antenna and the second antenna. The method and the device are used for switching the first antenna into the second antenna for communication under the condition that the first actual current of the first antenna used in the current working frequency band meets the preset condition, and can reduce the power consumption of the terminal equipment theoretically because the reference current of the second antenna is smaller than the first actual current. Compared with the related technical scheme, the whole machine has no better power consumption optimizing measure at present, after the technical scheme of the application is used, the power consumption in different states can be changed by 20-150mA according to the simulated reference current and the measured actual current, and especially the power consumption and the temperature rise of the terminal equipment in special scenes can be solved, and the experience of users can be greatly improved.
As shown in fig. 6, an embodiment of an apparatus for antenna switching in an embodiment of the present application is shown, where the apparatus is applied to a terminal device, and the terminal device includes a plurality of antennas, and the apparatus includes:
the detection module 601 is configured to detect a target transmit power of a first antenna used in a current operating frequency band and a corresponding first actual current;
A switching module 602, configured to switch the first antenna to a second antenna when the first actual current is greater than a first preset current, and a communication module 603, configured to use the second antenna to perform communication, where the second antenna uses a reference current corresponding to the target transmit power to be less than the first actual current; wherein the plurality of antennas includes the first antenna and the second antenna.
Optionally, in an implementation manner, the detection module 601 is further configured to detect a second actual current corresponding to the target transmit power used by the second antenna;
The communication module 603 is further configured to continue to use the second antenna for communication if the second actual current is smaller than the first actual current.
Optionally, in an implementation manner, the second antenna is an antenna, which is supported in the current working frequency band in the multiple antennas, except for the first antenna, and uses a reference current corresponding to the target transmitting power to be the smallest.
Optionally, in an implementation manner, the detection module 601 is specifically configured to detect a target transmit power of a first antenna used in a current operating frequency band, and detect, by using the current detection module, a first actual current corresponding to the target transmit power.
Optionally, in an implementation manner, the radio frequency system includes a radio frequency power supply, a power management integrated circuit PMIC, and a current detection module, where the current detection module is built in the radio frequency power supply, or the current detection module is built in the PMIC, or the current detection module is connected between the radio frequency power supply and the PMIC.
Optionally, in an implementation manner, the first antenna and the second antenna are antennas supported by the current working frequency band in a free space state; or alternatively
The first antenna is an antenna supported by the current working frequency band in a free space state, the second antenna is an antenna supported by the current working frequency band in a target state, and the target state is a free space state, a holding state, a horizontal screen state or a charging state.
Optionally, in an implementation manner, the switching module 602 is specifically configured to select the second antenna, switch the first antenna to the second antenna when the first actual current meets a preset condition and is currently in a target state, where the second antenna is an antenna supported in the current operating frequency band among the multiple antennas, and in the target state, use a reference current corresponding to the target transmitting power to be smaller than the first actual current.
Optionally, in an implementation manner, the switching module 602 is further configured to switch the second antenna to the first antenna if the second actual current is greater than the first actual current, and the communication module 603 is further configured to use the first antenna to perform communication;
Or alternatively, the first and second heat exchangers may be,
The processor 780 is further configured to switch the second antenna to the first antenna if a duration of communication using the second antenna exceeds a preset duration, and the communication module 603 is further configured to use the first antenna to perform communication.
Optionally, in one implementation, the plurality of antennas includes the first antenna, the second antenna and a third antenna,
The switching module 602 is further configured to switch the second antenna to the third antenna when the second actual current is greater than the first actual current, and the communication module 603 is further configured to use the third antenna to perform communication, where the third antenna is an antenna supported in the current operating frequency band in the plurality of antennas, and a reference current corresponding to the target transmit power is less than the first actual current.
Optionally, in an implementation manner, the detection module 601 is further configured to detect a fourth actual current corresponding to the target transmit power used by the third antenna;
The communication module 603 is further configured to continue to use the third antenna for communication if the fourth actual current is less than the third actual current.
Optionally, in an implementation manner, the third antenna is an antenna, which is supported in the current working frequency band in the multiple antennas, except for the first antenna and the second antenna, and uses a reference current corresponding to the target transmitting power to be the smallest.
Optionally, in one implementation, the plurality of antennas includes the first antenna, the second antenna and a third antenna,
The switching module 602 is further configured to switch the second antenna to the first antenna when the second actual current is greater than the first actual current, and the communication module 603 is further configured to use the first antenna to perform communication;
the detection module 601 is further configured to detect a third actual current corresponding to the target transmit power used by the first antenna;
The switching module 602 is further configured to switch the first antenna to the third antenna when the third actual current is greater than the second actual current, and the communication module 603 is further configured to use the third antenna to perform communication, where the third antenna is an antenna supported in the current operating frequency band in the plurality of antennas, and a reference current corresponding to the target transmit power is less than the first actual current.
As shown in fig. 7A, which is a schematic diagram of an embodiment of a terminal device according to the present application, an apparatus for antenna switching as shown in fig. 6 may be included.
Fig. 7B is a schematic diagram of another embodiment of a terminal device according to an embodiment of the present application. The following describes each component of the mobile phone in the terminal device specifically with reference to fig. 7B:
The RF circuit 710 may be configured to receive and transmit signals during a message or a call, and specifically, receive downlink information of a base station and process the downlink information with the processor 780; in addition, the data of the design uplink is sent to the base station. Generally, RF circuitry 710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, the RF circuitry 710 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, global System for Mobile communications (Global System of Mobile communication, GSM), general Packet Radio Service (GPRS), code division multiple Access (Code Division Multiple Access, CDMA), wideband code division multiple Access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message Service (Short MESSAGING SERVICE, SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 performs various functional applications and data processing of the handset by running the software programs and modules stored in the memory 720. The memory 720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the handset. In particular, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on or thereabout the touch panel 731 using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 731 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 780, and can receive commands from the processor 780 and execute them. In addition, the touch panel 731 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, the other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 740 may be used to display information input by a user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741, and optionally, the display panel 741 may be configured in the form of a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 731 may cover the display panel 741, and when the touch panel 731 detects a touch operation thereon or thereabout, the touch operation is transferred to the processor 780 to determine the type of touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of touch event. Although in fig. 7B, the touch panel 731 and the display panel 741 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 750, 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, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 741 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the handset are not described in detail herein.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a cell phone. The audio circuit 760 may transmit the received electrical signal converted from audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 to be output; on the other hand, microphone 762 converts the collected sound signals into electrical signals, which are received by audio circuit 760 and converted into audio data, which are processed by audio data output processor 780 for transmission to, for example, another cell phone via RF circuit 710 or for output to memory 720 for further processing.
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile phone can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 770, so that wireless broadband Internet access is provided for the user. Although fig. 7B shows Wi-Fi module 770, it is to be understood that it does not belong to the necessary constitution of the cellular phone, and can be omitted entirely as required within the scope of not changing the essence of the invention.
The processor 780 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions and processes of the mobile phone by running or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby performing overall monitoring of the mobile phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 780.
The handset further includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 780 through a power management system, such as to provide for managing charging, discharging, and power consumption by the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which will not be described herein.
In the embodiment of the application, the terminal equipment comprises a plurality of antennas;
A processor 780, configured to detect a target transmit power of a first antenna used in a current operating frequency band and a corresponding first actual current;
a processor 780, configured to switch the first antenna to a second antenna when the first actual current is greater than a first preset current, and an RF circuit 710 configured to use the second antenna to perform communication, where the second antenna uses a reference current corresponding to the target transmit power that is less than the first actual current; wherein the plurality of antennas includes the first antenna and the second antenna.
Optionally, in an implementation, the processor 780 is further configured to detect a second actual current corresponding to the target transmit power used by the second antenna;
the RF circuit 710 is further configured to continue to use the second antenna for communication if the second actual current is less than the first actual current.
Optionally, in an implementation manner, the second antenna is an antenna, which is supported in the current working frequency band in the multiple antennas, except for the first antenna, and uses a reference current corresponding to the target transmitting power to be the smallest.
Optionally, in an implementation manner, the processor 780 is specifically configured to detect a target transmission power of the first antenna used in the current operating frequency band, and detect, by using a current detection module, a first actual current corresponding to the target transmission power.
Optionally, in an implementation manner, the radio frequency system includes a radio frequency power supply, a power management integrated circuit PMIC, and a current detection module, where the current detection module is built in the radio frequency power supply, or the current detection module is built in the PMIC, or the current detection module is connected between the radio frequency power supply and the PMIC.
Optionally, in an implementation manner, the first antenna and the second antenna are antennas supported by the current working frequency band in a free space state; or alternatively
The first antenna is an antenna supported by the current working frequency band in a free space state, the second antenna is an antenna supported by the current working frequency band in a target state, and the target state is a free space state, a holding state, a horizontal screen state or a charging state.
Optionally, in an implementation manner, the processor 780 is specifically configured to select the second antenna, switch the first antenna to the second antenna when the first actual current meets a preset condition and is currently in a target state, where the second antenna is an antenna supported in the current working frequency band among the multiple antennas, and use, in the target state, an antenna with a reference current corresponding to the target transmitting power smaller than the first actual current.
Optionally, in an implementation, the processor 780 is further configured to switch the second antenna to the first antenna if the second actual current is greater than the first actual current, and the RF circuit 710 is further configured to use the first antenna for communication;
Or alternatively, the first and second heat exchangers may be,
The processor 780 is further configured to switch the second antenna to the first antenna, and use the first antenna to perform communication if a duration of communication using the second antenna exceeds a preset duration. Optionally, in one implementation, the plurality of antennas includes the first antenna, the second antenna and a third antenna,
The processor 780 is further configured to switch the second antenna to the third antenna when the second actual current is greater than the first actual current, and the RF circuit 710 is further configured to use the third antenna to perform communication, where the third antenna is an antenna supported in the current operating frequency band among the plurality of antennas, and a reference current corresponding to the target transmit power is less than the first actual current.
Optionally, in an implementation, the processor 780 is further configured to detect a fourth actual current corresponding to the third antenna using the target transmit power;
the RF circuit 710 is further configured to continue to use the third antenna for communication if the fourth actual current is less than the third actual current.
Optionally, in an implementation manner, the third antenna is an antenna, which is supported in the current working frequency band in the multiple antennas, except for the first antenna and the second antenna, and uses a reference current corresponding to the target transmitting power to be the smallest.
Optionally, in one implementation, the plurality of antennas includes the first antenna, the second antenna and a third antenna,
The processor 780 is further configured to switch the second antenna to the first antenna if the second actual current is greater than the first actual current, and the RF circuit 710 is further configured to use the first antenna for communication;
A processor 780, configured to detect a third actual current corresponding to the target transmit power used by the first antenna;
the processor 780 is further configured to switch the first antenna to the third antenna when the third actual current is greater than the second actual current, and the RF circuit 710 is further configured to use the third antenna to perform communication, where the third antenna is an antenna supported in the current operating frequency band among the plurality of antennas, and a reference current corresponding to the target transmit power is less than the first actual current.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (Solid STATE DISK, SSD)), etc.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (15)

1. A method of antenna switching, the method being applied to a radio frequency system, the radio frequency system comprising a plurality of antennas, the method comprising:
detecting target transmitting power and corresponding first actual current of a first antenna used in a current working frequency band;
under the condition that the first actual current meets a preset condition, switching the first antenna into a second antenna, and using the second antenna to communicate, wherein the second antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current;
wherein the plurality of antennas includes the first antenna and the second antenna.
2. The method according to claim 1, wherein the method further comprises:
Detecting a second actual current corresponding to the target transmitting power used by the second antenna;
and continuing to use the second antenna for communication under the condition that the second actual current is smaller than the first actual current.
3. The method according to claim 1 or 2, wherein the second antenna is an antenna, among the plurality of antennas, supported in the current operating frequency band, except for the first antenna, where a reference current corresponding to the target transmit power is the smallest.
4. The method according to claim 1 or 2, wherein detecting the target transmit power and the corresponding first actual current of the first antenna used by the current operating frequency band comprises:
And detecting the target transmitting power of the first antenna used in the current working frequency band, and detecting a first actual current corresponding to the target transmitting power through a current detection module.
5. The method of claim 4, wherein the radio frequency system comprises a radio frequency power supply, a power management integrated circuit PMIC, and a current detection module, the current detection module being built into the radio frequency power supply, or the current detection module being built into the PMIC, or the current detection module being connected between the radio frequency power supply and the PMIC.
6. The method according to claim 1 or 2, wherein the first antenna and the second antenna are antennas supported by the current operating frequency band in a free space state; or alternatively
The first antenna is an antenna supported by the current working frequency band in a free space state, the second antenna is an antenna supported by the current working frequency band in a target state, and the target state is a free space state, a holding state, a horizontal screen state or a charging state.
7. The method of claim 6, wherein switching the first antenna to a second antenna if the first actual current meets a preset condition comprises:
and under the condition that the first actual current meets a preset condition and is in a target state, selecting the second antenna, and switching the first antenna into the second antenna.
8. The method according to claim 2, wherein the method further comprises:
Switching the second antenna to the first antenna and using the first antenna for communication under the condition that the second actual current is larger than the first actual current;
Or alternatively, the first and second heat exchangers may be,
And under the condition that the duration of the communication carried out by using the second antenna exceeds the preset duration, switching the second antenna into the first antenna, and carrying out the communication by using the first antenna.
9. The method of claim 1 or 2, wherein the plurality of antennas includes the first antenna, the second antenna, and a third antenna, the method further comprising:
And under the condition that the second actual current is larger than the first actual current, switching the second antenna into the third antenna, and using the third antenna to communicate, wherein the third antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current.
10. The method according to claim 9, wherein the method further comprises:
detecting a third actual current corresponding to the target transmitting power used by the third antenna;
and continuing to use the third antenna for communication under the condition that the third actual current is smaller than the first actual current.
11. The method of claim 9, wherein the third antenna is an antenna of the plurality of antennas that supports a minimum reference current corresponding to the target transmit power among the antennas in the current operating frequency band, except for the first antenna and the second antenna.
12. The method of claim 1 or 2, wherein the plurality of antennas includes the first antenna, the second antenna, and a third antenna, the method further comprising:
Switching the second antenna to the first antenna under the condition that the second actual current is larger than the first actual current, and using the first antenna to communicate;
detecting a fourth actual current corresponding to the target transmitting power used by the first antenna;
and under the condition that the fourth actual current is larger than the first actual current, switching the first antenna into the third antenna, and using the third antenna to communicate, wherein the third antenna is an antenna which is supported in the current working frequency band in the plurality of antennas, and the reference current corresponding to the target transmitting power is smaller than the first actual current.
13. An apparatus for antenna switching, the apparatus being applied to a radio frequency system, the radio frequency system comprising a plurality of antennas, the apparatus comprising:
The detection module is used for detecting target transmitting power of the first antenna used in the current working frequency band and corresponding first actual current;
The switching module is used for switching the first antenna into a second antenna under the condition that the first actual current is larger than a first preset current, and the communication module is used for communicating by using the second antenna, wherein the reference current corresponding to the target transmitting power used by the second antenna is smaller than the first actual current;
wherein the plurality of antennas includes the first antenna and the second antenna.
14. A terminal device comprising a memory and a processor, the memory storing a computer program executable on the processor, the terminal device implementing the method of any of claims 1-12 when the program is executed.
15. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 1-12.
CN202410922745.7A 2024-07-08 2024-07-08 Antenna switching method, device, terminal equipment and storage medium Pending CN118783981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410922745.7A CN118783981A (en) 2024-07-08 2024-07-08 Antenna switching method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410922745.7A CN118783981A (en) 2024-07-08 2024-07-08 Antenna switching method, device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118783981A true CN118783981A (en) 2024-10-15

Family

ID=92989617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410922745.7A Pending CN118783981A (en) 2024-07-08 2024-07-08 Antenna switching method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118783981A (en)

Similar Documents

Publication Publication Date Title
CN107425860B (en) Antenna switching system and mobile terminal
CN107896119B (en) Antenna sharing circuit and mobile terminal
CN107947825B (en) Antenna selection circuit and mobile terminal
US10707933B2 (en) Adaptive antenna switching system and switching method, and intelligent terminal
CN111770529B (en) Method for processing relaxation measurement parameter update, terminal device and storage medium
CN112311930A (en) Terminal testing method and device, storage medium and mobile terminal
CN107678989B (en) UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal
CN107172702B (en) Mobile terminal and WiFi transmission power adjusting method and device thereof
CN111092671B (en) Signal strength reporting method and device, storage medium and terminal equipment
CN107219951B (en) Touch screen control method and device, storage medium and terminal equipment
CN108768548B (en) Radio frequency calibration method, device, mobile terminal and computer readable storage medium
CN106413070A (en) Power adjusting method and mobile terminal
CN112040537B (en) SAR fallback method, terminal device and computer readable storage medium
CN113556427A (en) Mobile terminal radiation recording method and device, mobile terminal and storage medium
CN106453909B (en) A kind of power regulating method and mobile terminal
CN111211421A (en) Antenna tuning circuit and mobile terminal
CN112737609B (en) Radio frequency system, signal power control method, communication device, and storage medium
CN111313986B (en) Test circuit structure and antenna test method
CN118783981A (en) Antenna switching method, device, terminal equipment and storage medium
CN110890950B (en) Signal processing method, access network equipment and terminal equipment
CN107817397B (en) Charging heating abnormity detection method and terminal equipment
CN113596907B (en) Call processing method, terminal device and computer readable storage medium
CN106851023B (en) Method and equipment for quickly making call and mobile terminal
CN111465040B (en) Method for optimizing drive of time division duplex system
CN111954193B (en) Bluetooth equipment connection detection method and device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication