CN110012529B - Gain mode switching method and mobile terminal - Google Patents

Gain mode switching method and mobile terminal Download PDF

Info

Publication number
CN110012529B
CN110012529B CN201910190014.7A CN201910190014A CN110012529B CN 110012529 B CN110012529 B CN 110012529B CN 201910190014 A CN201910190014 A CN 201910190014A CN 110012529 B CN110012529 B CN 110012529B
Authority
CN
China
Prior art keywords
power threshold
current
mobile terminal
historical
gain mode
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.)
Active
Application number
CN201910190014.7A
Other languages
Chinese (zh)
Other versions
CN110012529A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910190014.7A priority Critical patent/CN110012529B/en
Publication of CN110012529A publication Critical patent/CN110012529A/en
Application granted granted Critical
Publication of CN110012529B publication Critical patent/CN110012529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/06TPC algorithms
    • H04W52/14Separate analysis of uplink or downlink
    • H04W52/146Uplink power control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a gain mode switching method and a mobile terminal, wherein the method is applied to the mobile terminal and comprises the following steps: acquiring current working environment parameters of the mobile terminal; determining a transmission power threshold corresponding to the current working environment parameter; and under the condition that the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmission power threshold value and the transmission power of the mobile terminal reaches the transmission power threshold value, switching the current gain mode to the gain mode corresponding to the transmission power threshold value. In summary, due to the fact that the application considers external uncertain factors of the mobile terminal, such as the current working environment parameters in the application, the application sets the corresponding transmission power threshold value for each working environment parameter, so that the transmission power threshold value has pertinence and high accuracy, the gain mode of the mobile terminal can be switched more accurately, and the power consumption of the mobile terminal can be reduced while the linearity parameter is ensured to meet the radio frequency development standard.

Description

Gain mode switching method and mobile terminal
Technical Field
The present invention relates to the field of communications, and in particular, to a gain mode switching method and a mobile terminal.
Background
With the rapid development of mobile communication technology and the popularization of mobile terminals, the functions of mobile terminals are becoming more and more powerful, which has been converted from a single communication tool to a small helper that people cannot keep away from daily life, such as user communication, navigation, entertainment, camera shooting, online shopping, mobile payment, etc. through mobile terminals, meanwhile, people also put forward higher requirements on the cruising ability of intelligent terminals, and how to save power becomes an important direction for improving the performance of mobile terminals.
The PA (Power Amplifier) is used in the mobile terminal to amplify the low-Power modulation signal output by the transceiver and output the amplified low-Power modulation signal to the antenna end for transmission to the outside, and therefore, the PA is a main Power consumption device of the mobile terminal on the radio frequency circuit, where the Power consumption current and the linearity parameter are main performance parameters of the PA, and the linearity parameter may be an ACLR (Adjacent Channel Leakage Ratio).
Currently, PAs are typically designed for two modes of operation: namely, a low gain mode and a high gain mode, respectively, operating in low power output and high power output states. In general, under the condition of a low gain mode, the power consumption current is small, but with the increase of control power, the problem that the linearity parameter does not meet the radio frequency development standard exists; compared with the low gain mode, in the high gain mode, under the condition of the same control power, the linearity parameter can meet the radio frequency development standard, but the problem of larger power consumption current exists, so that the power consumption is increased. In this way, in both the low gain mode and the high gain mode, the requirement of the radio frequency development standard on the linearity parameter needs to be satisfied while the power consumption current is generally required to be small, and therefore, the PA operation mode needs to be accurately switched to satisfy the requirement. This is a problem to be solved.
Disclosure of Invention
In order to solve the problem of accurately switching the PA working mode to meet the requirement of the radio frequency development standard on the linearity parameter and reduce the power consumption of the mobile terminal, embodiments of the present invention provide a gain mode switching method and a mobile terminal.
According to a first aspect of the embodiments of the present invention, there is provided a gain mode switching method applied to a mobile terminal, the method including:
acquiring current working environment parameters of the mobile terminal;
determining a transmission power threshold corresponding to the current working environment parameter;
and switching the current gain mode to the gain mode corresponding to the transmission power threshold value under the condition that the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmission power threshold value and the transmission power of the mobile terminal reaches the transmission power threshold value.
According to a second aspect of the embodiments of the present invention, there is provided a mobile terminal, including:
the current parameter acquisition module is used for acquiring current working environment parameters of the mobile terminal;
a power threshold determination module, configured to determine a transmit power threshold corresponding to the current operating environment parameter;
and the switching module is used for switching the current gain mode to the gain mode corresponding to the transmitting power threshold value under the condition that the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmitting power threshold value and the transmitting power of the mobile terminal reaches the transmitting power threshold value.
According to a third aspect of the embodiments of the present invention, there is provided a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, wherein the computer program, when executed by the processor, implements the steps of the gain mode switching method according to the present invention.
According to a fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the gain mode switching method according to the present invention.
In the embodiment of the invention, the current working environment parameters of the mobile terminal are firstly obtained; then determining a transmitting power threshold corresponding to the current working environment parameter; and finally, under the condition that the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmission power threshold value and the transmission power of the mobile terminal reaches the transmission power threshold value, switching the current gain mode to the gain mode corresponding to the transmission power threshold value. In summary, since the present application considers the external variable factors of the mobile terminal, such as the current operating environment parameters in the present application, the present application sets the corresponding transmission power threshold value for each operating environment parameter, so that the transmission power threshold value has pertinence and high accuracy.
Drawings
Fig. 1 is a flow chart illustrating a gain mode switching method provided in an embodiment of the present invention;
fig. 2 shows a flow chart of another gain mode switching method provided in an embodiment of the present invention;
fig. 3 shows a block diagram of a first mobile terminal provided in an embodiment of the present invention;
fig. 4 shows a block diagram of a second mobile terminal provided in an embodiment of the present invention;
fig. 5 shows a block diagram of a third mobile terminal provided in an embodiment of the present invention;
fig. 6 shows a block diagram of a fourth mobile terminal provided in an embodiment of the present invention;
fig. 7 shows a block diagram of a fifth mobile terminal provided in an embodiment of the present invention;
fig. 8 is a schematic diagram showing a hardware configuration of a mobile terminal provided in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present invention will be described in detail with reference to specific examples.
Referring to fig. 1, a flowchart of a gain mode switching method provided in the embodiment of the present invention is shown, and is applied to a mobile terminal, where the method specifically includes the following steps:
step 101, obtaining current working environment parameters of the mobile terminal.
Generally, a processor in the mobile terminal may generate a power control command according to a position distance between the mobile terminal and the base station, where the power control command includes control power corresponding to the position distance, and if the position distance is farther, the control power is larger, and if the position distance is closer, the control power is smaller, so that the power amplifier may be controlled to operate according to the control power based on the power control command, but since the power amplifier has corresponding maximum transmit power in each gain mode, there may be a deviation between the actual transmit power and the control power, for example, the maximum transmit power of the power amplifier in the low gain mode is 5.5dBm, so that when the control power of the power amplifier in the low gain mode is greater than 5.5dBm, the transmit power of the power amplifier is still 5.5 dBm. For example, as shown in table 1, there are provided operating parameters (such as the transmission power, the consumption current, and the linearity parameter in different channels, which is described as ACLR for example) of the low gain mode of the power amplifier at normal temperature as the control power increases.
TABLE 1 operating parameters of a low gain mode of a power amplifier at ambient temperature
Figure BDA0001994108530000041
As can be seen from table 1, for the low gain mode, under the condition of the same control power, ACLRs corresponding to different channels at the same temperature (i.e., normal temperature) may be different, for example, under the condition that the control power is 4dBm, ACLRs corresponding to respective channels at the normal temperature (i.e., low channel, medium channel, and high channel) are respectively different, and under the condition that the control power is 5dBm, ACLRs corresponding to respective channels at the normal temperature (i.e., low channel, medium channel, and high channel) are respectively different, so that, in order to make the ACLR satisfy the radio frequency development standard (the example in the present application includes the case that the ACLR size is-37 or less), the influence of the used channel of the mobile terminal on the switching gain mode needs to be considered, that is, the corresponding transmit power threshold needs to be set under the condition that the different used channels.
For example, as shown in table 2, there are provided operation parameters (e.g., transmission power, consumption current, and linearity parameters at different temperatures, which are described as ACLR) of the low gain mode of the power amplifier in the middle channel with the increase of the control power.
TABLE 2 operating parameters of a power amplifier in the middle channel for low gain mode
Figure BDA0001994108530000051
As can be seen from table 2, for the low gain mode, under the condition of the same control power, ACLRs corresponding to different temperatures in the same channel (i.e., the middle channel) may be different, for example, under the condition that the control power is 4dBm, ACLRs corresponding to respective temperatures (i.e., low temperature, normal temperature, and high temperature) in the middle channel are respectively different, and under the condition that the control power is 5dBm, ACLRs corresponding to respective temperatures (i.e., low temperature, normal temperature, and high temperature) in the middle channel are respectively different, so that, in order to make the ACLRs satisfy the radio frequency development standard, the influence of the environment temperature of the mobile terminal on the switching gain mode needs to be considered, that is, corresponding transmit power thresholds need to be set under the condition of different environment temperatures.
In summary, since the ambient temperature and the used channel of the mobile terminal have an influence on the ACLR, the current operating environment parameter may include the current ambient temperature and/or the currently used channel.
And 102, determining a transmission power threshold corresponding to the current working environment parameter.
In the embodiment of the present invention, a power threshold value corresponding relationship between different gain modes and different transmission power threshold values may be obtained first, where the power threshold value corresponding relationship includes a corresponding relationship between a working environment parameter range and a transmission power threshold value; then, in this step, a transmission power threshold corresponding to a working environment parameter range in which the current working environment parameter is located may be determined based on the power threshold corresponding relationship, where a target environment temperature range corresponding to the current environment temperature and/or a target channel range corresponding to the currently used channel may be obtained based on the power threshold corresponding relationship; and determining the transmission power threshold according to the target environment temperature range and/or the target channel range.
It should be noted that, since the corresponding power threshold corresponding relationship may be preset for each gain mode, the transmit power threshold obtained in this step may be a plurality of values, that is, the transmit power threshold of each gain mode under the current operating environment parameter may be determined according to the power threshold corresponding relationship of each gain mode.
Further, when the current operating environment parameter includes the current environment temperature, the power threshold correspondence includes a correspondence between an environment temperature range and a transmission power threshold, and at this time, the step may determine, based on the power threshold correspondence, a transmission power threshold corresponding to a target environment temperature range in which the current environment temperature is located; when the current operating environment parameter includes the current used channel, the power threshold value corresponding relationship includes a corresponding relationship between a channel range and a transmission power threshold value, and at this time, the step may determine, based on the power threshold value corresponding relationship, a transmission power threshold value corresponding to a target channel range in which the current used channel is located; in the case that the current operating environment parameter includes the current environment temperature and the current used channel, the power threshold correspondence includes a correspondence between an environment temperature range, a channel range, and a transmission power threshold, and at this time, the step may determine, based on the power threshold correspondence, a target channel range in which the current used channel is located, a target environment temperature range in which the current environment temperature is located, and a corresponding transmission power threshold.
In addition, the present invention needs to establish a power threshold corresponding relationship corresponding to different gain modes in advance, specifically, in a case where the current working environment parameter includes the current environment temperature, and the power threshold corresponding relationship includes a corresponding relationship between an environment temperature range and a transmission power threshold, since a fluctuation range of the environment temperature is large, in order to reduce the dimensionality of the power threshold corresponding relationship and speed up the operation, the environment temperature may be divided into a plurality of environment temperature ranges, for example, 1 ℃ to 3 ℃ is set as a first environment temperature range, 4 ℃ to 6 ℃ is set as a second environment temperature range, 7 ℃ to 9 ℃ is set as a third environment temperature range, and so on, and if the gain mode includes a first gain mode, a second gain mode, and an nth gain mode, n is a positive integer, then, for the first environment temperature range, the method comprises the steps of collecting linearity parameters corresponding to control powers of a first gain mode of a power amplifier in a first environment temperature range, collecting linearity parameters corresponding to control powers of a second gain mode of the power amplifier in the first environment temperature range, …, and collecting linearity parameters corresponding to control powers of an nth gain mode of the power amplifier in the first environment temperature range, determining a transmission power threshold corresponding to each gain mode in the first environment temperature range according to the linearity parameters corresponding to the control powers of all the gain modes in the first environment temperature range, and similarly, obtaining the transmission power threshold of each gain mode in each environment temperature range. For example, if the gain modes of the power amplifier include a first gain mode, a second gain mode, a third gain mode, and a fourth gain mode, where the power consumption current increases as the gain mode increases, and the linearity parameter is more likely to deteriorate as the control power increases, the linearity parameter corresponding to each control power of the first gain mode in a specified environment temperature range is obtained, and the specified environment temperature range is any environment temperature range, so that the linearity parameter corresponding to each control power of the first gain mode in each environment temperature range can be obtained, and similarly, the linearity parameters corresponding to each control power of the second gain mode, the third gain mode, and the fourth gain mode in each environment temperature range can be obtained, and finally, the gain modes according to the first gain mode, the second gain mode, the third gain mode, and the fourth gain mode, And determining the transmission power threshold values of the first gain mode, the second gain mode, the third gain mode and the fourth gain mode in the specified environment temperature range according to the linearity parameters corresponding to the control powers of the third gain mode and the fourth gain mode in the specified environment temperature range.
In the case that the current operating environment parameter includes a currently used channel of the mobile terminal, and the power threshold correspondence includes a correspondence between a channel range and a transmission power threshold, since there may be many channels corresponding to the mobile terminal, the channel may be divided into a plurality of channel ranges, for example, a first channel to a fifth channel are set as a first channel range, a sixth channel to a tenth channel are set as a second channel range, an eleventh channel to a fifteenth channel are set as a third channel range, and so on, and if the gain mode includes a first gain mode, a second gain mode, and an nth gain mode, n is a positive integer, then for the first channel range, the linearity parameter corresponding to each control power is acquired when the first gain mode of the power amplifier is within the first channel range, and the second gain mode of the power amplifier is acquired within the first channel range, the linearity parameters corresponding to the control powers are … respectively, and the linearity parameters corresponding to the control powers are acquired within the first channel range of the nth gain mode of the power amplifier, and then the transmitting power threshold corresponding to each gain mode within the first channel range is determined according to the linearity parameters corresponding to the control powers within the first channel range of all the gain modes, and similarly, the transmitting power threshold of all the gain modes within each channel range can be acquired. For example, if the gain modes of the power amplifier include a first gain mode, a second gain mode, a third gain mode, and a fourth gain mode, wherein the power consumption current becomes larger as the gain mode increases, and the linearity parameter is more likely to deteriorate as the control power increases, the linearity parameter corresponding to each control power of the first gain mode in the designated channel range is obtained, and the channel range is designated as any channel range, so that the average linearity parameter corresponding to each control power of the first gain mode in each channel range can be obtained, and similarly, the linearity parameters corresponding to each control power of the second gain mode, the third gain mode, and the fourth gain mode in each channel range can be obtained, and finally, according to the linearity parameters corresponding to each control power of the first gain mode, the second gain mode, the third gain mode, and the fourth gain mode in the designated channel range, the transmission power thresholds of the first gain mode and the second gain mode, the third gain mode and the fourth gain mode within the specified channel range are determined.
Under the condition that the current working environment parameters comprise the current environment temperature and the current used channel of the mobile terminal, and the power threshold value corresponding relation comprises the corresponding relation among an environment temperature range, a channel range and a transmission power threshold value, the environment temperature can be divided into a plurality of environment temperature ranges, the channel is divided into a plurality of channel ranges, the linearity parameters corresponding to the control powers in each environment temperature range and each channel range of different gain modes of the power amplifier are collected, and then the transmission power threshold value of each gain mode in the specified environment temperature range and the specified channel range is determined according to the linearity parameters corresponding to the control powers in the specified environment temperature range and the specified channel range of all gain modes. Illustratively, if the gain modes of the power amplifier include a first gain mode, a second gain mode, a third gain mode and a fourth gain mode, wherein as the gain mode increases, the power consumption current becomes larger, and the linearity parameter is more likely to deteriorate as the control power increases, the linearity parameter corresponding to each control power of the first gain mode in a specified environment temperature range and a specified channel range is obtained, the environment temperature range is specified as any environment temperature range, and the channel range is specified as any channel range, so that the linearity parameter corresponding to each control power of the first gain mode in each environment temperature range and each channel range can be obtained, and similarly, the linearity parameter corresponding to each control power of the second gain mode, the third gain mode and the fourth gain mode in each environment temperature range and each channel range is obtained respectively, finally, the transmit power thresholds of the first gain mode, the second gain mode, the third gain mode, and the fourth gain mode in the specified ambient temperature range and the specified channel range may be determined according to the linearity parameters corresponding to the control powers of the first gain mode, the second gain mode, the third gain mode, and the fourth gain mode in the specified ambient temperature range and the specified channel range.
It should be noted that, the establishing of the power threshold corresponding relationship is to divide the environment temperature and the channel into a plurality of environment temperature ranges and a plurality of channel ranges, and of course, the invention may also set up the transmission power corresponding relationship between each working environment parameter (such as the environment temperature and/or the channel) and the transmission power threshold in advance without dividing the environment temperature and the channel, and the construction process may refer to the construction process of the power threshold corresponding relationship, which is not described again, so that the step may determine the transmission power threshold corresponding to the current working environment parameter according to the transmission power corresponding relationship.
In addition, the present invention may obtain a current working environment parameter of the mobile terminal according to a preset period, and if the current working environment parameter is the same as a historical working environment parameter of a previous period, the present invention determines that a historical transmission power threshold determined in the previous period is a transmission power threshold without obtaining a transmission power threshold again, thereby avoiding redundancy of calculation, specifically, the present invention may obtain a historical working environment parameter of the previous period, which is a previous period of a latest period corresponding to the current working environment parameter; at this time, in this step, it may be determined whether the mobile terminal meets a power threshold acquisition condition according to the historical operating environment parameter and the current operating environment parameter, and a transmit power threshold corresponding to the current operating environment parameter is acquired under the condition that it is determined that the mobile terminal meets the power threshold acquisition condition according to the historical operating environment parameter and the current operating environment parameter; and under the condition that the mobile terminal is determined not to meet the power threshold acquisition condition according to the historical working environment parameters and the current working environment parameters, determining a historical transmission power threshold determined in the previous period as a transmission power threshold. Wherein, in a case where the current operating environment parameter includes the current environment temperature and the historical operating environment parameter includes a historical environment temperature, the power threshold acquisition condition includes: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature; in the case where the current operating environment parameter includes the currently used channel and the historical operating environment parameter includes a historical used channel, the power threshold acquisition condition includes: the target channel range is different from the historical channel range corresponding to the historical use channel; in the case where the current operating environment parameters include the current ambient temperature and a current channel of use, and the historical operating environment parameters include the historical ambient temperature and the historical channel of use, the power threshold acquisition condition includes: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature, the target channel range is different from the historical channel range corresponding to the historical use channel, the target channel range is the channel range corresponding to the current use channel, and the target environment temperature range is the environment temperature range corresponding to the current environment temperature. In another embodiment of the present invention, since the present application may not perform range division on the ambient temperature and the channel, in this case, when the current operating environment parameter includes the current ambient temperature, and the historical operating environment parameter includes the historical ambient temperature, the power threshold obtaining condition includes: the current ambient temperature is different from the historical ambient temperature; in the case where the current operating environment parameter includes the currently used channel and the historical operating environment parameter includes a historical used channel, the power threshold acquisition condition includes: the current use channel and the historical use channel are different; in the case where the current operating environment parameters include the current ambient temperature and a current channel of use, and the historical operating environment parameters include the historical ambient temperature and the historical channel of use, the power threshold acquisition condition includes: the current ambient temperature is different from the historical ambient temperature, and the current usage channel is different from the historical usage channel, and the above examples are only illustrative, and the present invention is not limited thereto.
Step 103, when the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmission power threshold and the transmission power of the mobile terminal reaches the transmission power threshold, switching the current gain mode to the gain mode corresponding to the transmission power threshold.
In the embodiment of the present invention, since the power amplifier usually employs multiple gain modes, a corresponding transmission power threshold may be set for each gain mode, and for the same gain mode, the transmission power thresholds corresponding to different operating environment parameters may also be different, so that, after the transmission power thresholds of the gain modes under the current operating environment parameters are obtained, for at least one gain mode with a mode level higher than that of the current gain mode, if the transmission power is greater than or equal to the transmission power threshold corresponding to the gain mode, the current gain mode is switched to the gain mode, and if the transmission power is greater than or equal to the transmission power thresholds corresponding to the multiple gain modes, if the at least one gain mode includes at least two gain modes, if the gain modes are gain modes included in at least two gain modes, switching the current gain mode to a gain mode corresponding to the highest mode level in the gain modes; similarly, for at least one gain mode with a mode level lower than that of the current gain mode, if the transmit power is less than or equal to the transmit power threshold corresponding to the gain mode, the current gain mode is switched to the gain mode when the at least one gain mode includes one gain mode, and if the transmit power is less than or equal to the transmit power threshold corresponding to a plurality of gain modes, which are gain modes included in the at least two gain modes, the current gain mode is switched to the gain mode corresponding to the lowest mode level among the plurality of gain modes when the at least one gain mode includes at least two gain modes. Illustratively, in the case that the gain modes include a low gain mode, a medium gain mode and a high gain mode, the ambient temperature range includes a first ambient temperature range and a second ambient temperature range, and the channel range includes a first channel range and a second channel range, if the transmission power threshold corresponding to the first ambient temperature range and the first channel range in the low gain mode is U1, the transmission power threshold corresponding to the first ambient temperature range and the first channel range in the low gain mode is U2, the transmission power threshold corresponding to the first ambient temperature range and the second channel range in the low gain mode is U3, the transmission power threshold corresponding to the second ambient temperature range and the second channel range in the low gain mode is U4, the transmission power threshold corresponding to the first ambient temperature range and the first channel range in the medium gain mode is W1, the transmission power threshold corresponding to the second ambient temperature range and the first channel range in the medium gain mode is W2, the transmission power threshold corresponding to the medium gain mode in the first environment temperature range and the second channel range is W3, the transmission power threshold corresponding to the medium gain mode in the second environment temperature range and the second channel range is W4, the transmission power threshold corresponding to the high gain mode in the first environment temperature range and the first channel range is V1, the transmission power threshold corresponding to the high gain mode in the second environment temperature range and the first channel range is V2, the transmission power threshold corresponding to the high gain mode in the first environment temperature range and the second channel range is V3, and the transmission power threshold corresponding to the high gain mode in the second environment temperature range and the second channel range is V4, then under the condition that the current working environment parameter of the mobile terminal is in the first environment temperature range and the first channel range, the transmission power threshold U1 corresponding to the low gain mode, the transmission power threshold W2 corresponding to the medium gain mode can be obtained, the transmit power threshold V1 corresponding to the high gain mode is, if the current gain mode of the mobile terminal is the medium gain mode, the medium gain mode is switched to the high gain mode when the transmit power of the mobile terminal reaches V1 (i.e., the transmit power is greater than or equal to V1), the medium gain mode is controlled to be maintained when the transmit power of the mobile terminal reaches W2 (i.e., the transmit power is greater than or equal to W2), and the medium gain mode is switched to the low gain mode when the transmit power of the mobile terminal reaches U1 (i.e., the transmit power is less than or equal to U1).
In summary, in the embodiment of the present invention, first, a current operating environment parameter of the mobile terminal may be obtained, then, a transmission power threshold corresponding to the current operating environment parameter is determined, and finally, when a current gain mode of the mobile terminal is different from a gain mode corresponding to the transmission power threshold and the transmission power of the mobile terminal reaches the transmission power threshold, the current gain mode is switched to the gain mode corresponding to the transmission power threshold. In summary, since the present application considers the external variable factors of the mobile terminal, such as the current operating environment parameters in the present application, the present application sets the corresponding transmission power threshold value for each operating environment parameter, so that the transmission power threshold value has pertinence and high accuracy.
Referring to fig. 2, a flowchart of a gain mode switching method provided in this embodiment of the present invention is shown, and is applied to a mobile terminal, where this embodiment takes as an example that a current operating environment parameter includes a current environment temperature and a current used channel, and specifically may include the following steps:
step 201, obtaining the current working environment parameters of the mobile terminal according to a preset period.
In the embodiment of the invention, the current working environment parameters comprise the current environment temperature and the current used channel.
The current environment temperature may be collected by the temperature sensor, and in addition, when the mobile terminal communicates with the base station, the base station may determine a current used channel of the mobile terminal, and send a channel identifier of the current used channel to the mobile terminal, so that the mobile terminal stores the channel identifier.
Step 202, obtaining historical working environment parameters of the previous period.
The previous cycle is the previous cycle of the latest cycle corresponding to the current working environment parameter, the historical working environment parameter may include the historical environmental temperature and the historical usage channel of the mobile terminal, and the mobile terminal may store the historical working environment parameter acquired in the previous cycle, so that the stored historical working environment parameter may be acquired in this step.
And step 203, determining whether the mobile terminal meets the power threshold acquisition condition according to the historical working environment parameters and the current working environment parameters.
Wherein the power threshold acquisition condition comprises: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature, the target channel range is different from the historical channel range corresponding to the historical use channel, the target channel range is the channel range corresponding to the current use channel, and the target environment temperature range is the environment temperature range corresponding to the current environment temperature.
Executing step 204 under the condition that the mobile terminal is determined to meet the power threshold acquisition condition according to the historical working environment parameters and the current working environment parameters;
and returning to the step 201 under the condition that the mobile terminal is determined not to meet the power threshold acquisition condition according to the historical working environment parameters and the current working environment parameters.
And 204, acquiring a target environment temperature range corresponding to the current environment temperature and acquiring a target channel range corresponding to the current used channel.
The environment temperature can be divided into a plurality of environment temperature ranges in advance, the channel can be divided into a plurality of channel ranges, the environment temperature range in which the current environment temperature is located is determined as a target environment temperature range, and the channel range in which the current used channel is located is determined as a target channel range.
Step 205, determining a transmission power threshold according to the target environment temperature range and the target channel range.
In this step, power threshold value corresponding relations between different gain modes and different transmission power threshold values may be obtained, where the power threshold value corresponding relations include corresponding relations between an environment temperature range, a channel range, and a transmission power threshold value, and thus, a target environment temperature range, a target channel range, and a corresponding transmission power threshold value may be determined based on the power threshold value corresponding relations.
It should be noted that, a target environment temperature range corresponding to the current environment temperature may be obtained, and/or a target channel range corresponding to the currently used channel may be obtained, and the transmission power threshold may be determined according to the target environment temperature range and/or the target channel range.
Exemplarily, as shown in table 3, a power threshold correspondence corresponding to a target gain mode is shown, the power threshold correspondence includes a correspondence between an ambient temperature range and a channel range and a transmission power threshold sample, the target gain mode may be any gain mode, where T1, T2, T3, T4, …, Ti represent different ambient temperature ranges; CH1, CH2, CH3, CH4, …, CHj represent different channel ranges, Pij represents power threshold samples corresponding to the ith ambient temperature range and the jth channel range.
TABLE 3 Power threshold correspondence for target gain modes
Channel/temperature T1 T2 T3 Ti
CH1 P11 P21 P31 P41 Pi1
CH2 P12 P22 P32 P42 Pi2
CH3 P13 P23 P33 P43 Pi3
CH4 P14 P24 P34 P44 Pi4
...
CHj P1j P2j P3j P4j Pij
For example, when it is detected that the current environment temperature of the mobile terminal is Tx and the current used channel is CHy, if it is determined according to table 3 that the environment temperature range corresponding to Tx is Ti and the channel range corresponding to CHy is CHj, it is determined that the transmission power threshold corresponding to the target gain mode under the current operating environment parameter is Pij, and as a result, the transmission power threshold corresponding to each gain mode under the current operating environment parameter can be obtained through the power threshold corresponding relationship.
And step 206, under the condition that the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmission power threshold value and the transmission power of the mobile terminal reaches the transmission power threshold value, switching the current gain mode to the gain mode corresponding to the transmission power threshold value.
Because the acquired transmission power threshold may be a plurality of values, that is, different gain modes correspond to different transmission power thresholds, for a gain mode different from the current gain mode, in this step, if the transmission power of the mobile terminal reaches the transmission power threshold, the current gain mode is switched to the gain mode corresponding to the transmission power threshold; and if the transmitting power of the mobile terminal does not reach any transmitting power threshold value, controlling the mobile terminal to keep the current gain mode. For details, reference may be made to step 103, which is not described again.
And step 207, controlling the mobile terminal to maintain the current gain mode under the condition that the current gain mode of the mobile terminal is the same as the gain mode corresponding to the transmission power threshold and the transmission power of the mobile terminal reaches the transmission power threshold.
In the embodiment of the present invention, it is considered that the gain mode corresponding to the transmission power threshold reached by the transmission power is the current gain mode, at this time, no switching operation is required, and the mobile terminal is also controlled to maintain the current gain mode under the condition that the current gain mode of the mobile terminal is the same as the gain mode corresponding to the transmission power threshold and the transmission power of the mobile terminal does not reach the transmission power threshold.
In summary, in the embodiment of the present invention, first, a current operating environment parameter of a mobile terminal may be obtained, then, a transmission power threshold corresponding to the current operating environment parameter is determined, and finally, when a current gain mode of the mobile terminal is different from a gain mode corresponding to the transmission power threshold and the transmission power of the mobile terminal reaches the transmission power threshold, the current gain mode is switched to the gain mode corresponding to the transmission power threshold. In summary, since the present application considers the external variable factors of the mobile terminal, such as the current operating environment parameters in the present application, the present application sets the corresponding transmission power threshold value for each operating environment parameter, so that the transmission power threshold value has pertinence and high accuracy.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 3, a block diagram of a mobile terminal 300 provided in an embodiment of the present invention is shown. The mobile terminal may specifically include:
a current parameter obtaining module 301, configured to obtain a current working environment parameter of the mobile terminal;
a power threshold determination module 302, configured to determine a transmit power threshold corresponding to the current operating environment parameter;
a switching module 303, configured to switch the current gain mode to the gain mode corresponding to the transmission power threshold when the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmission power threshold and the transmission power of the mobile terminal reaches the transmission power threshold.
Referring to fig. 4, in a possible embodiment, the mobile terminal further includes:
a control module 304, configured to control the mobile terminal to maintain the current gain mode when the current gain mode of the mobile terminal is the same as the gain mode corresponding to the transmit power threshold and the transmit power of the mobile terminal reaches the transmit power threshold.
Referring to fig. 5, in one possible embodiment, the current operating environment parameters include a current ambient temperature and/or a current channel of use;
the power threshold determination module 302 comprises:
a range obtaining submodule 3021, configured to obtain a target environment temperature range corresponding to the current environment temperature, and/or obtain a target channel range corresponding to the currently used channel;
a power threshold determining submodule 3022, configured to determine the transmit power threshold according to the target ambient temperature range and/or the target channel range.
Referring to fig. 6, in a possible embodiment, the current parameter obtaining module 301 is specifically configured to obtain current working environment parameters of the mobile terminal according to a preset period; the mobile terminal 300 further includes:
a historical parameter obtaining module 305, configured to obtain a historical operating environment parameter of a previous cycle; the last period is the last period of the latest period corresponding to the current working environment parameters;
the power threshold determination module 302 comprises:
a condition determining submodule 3023, configured to determine whether the mobile terminal meets a power threshold obtaining condition according to the historical operating environment parameter and the current operating environment parameter;
a transmission threshold determining submodule 3024, configured to determine a transmission power threshold corresponding to the current operating environment parameter when it is determined that the mobile terminal meets the power threshold obtaining condition according to the historical operating environment parameter and the current operating environment parameter.
Preferably, in the case where the current operating environment parameter includes the current environment temperature and the historical operating environment parameter includes a historical environment temperature, the power threshold acquisition condition includes: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature;
in the case where the current operating environment parameter includes the currently used channel and the historical operating environment parameter includes a historical used channel, the power threshold acquisition condition includes: the target channel range is different from the historical channel range corresponding to the historical use channel;
in the case where the current operating environment parameter includes the current environment temperature and the current usage channel, and the historical operating environment parameter includes the historical environment temperature and the historical usage channel, the power threshold acquisition condition includes: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature, and the target channel range is different from the historical channel range corresponding to the historical use channel.
Referring to fig. 7, in a possible embodiment, the mobile terminal further includes:
a correspondence obtaining module 306, configured to obtain power threshold correspondences between different gain modes and different transmit power thresholds; the power threshold value corresponding relation comprises a corresponding relation between a working environment parameter range and a transmitting power threshold value;
the power threshold determining module 302 is specifically configured to determine, based on the power threshold corresponding relationship, a transmission power threshold corresponding to a working environment parameter range in which the current working environment parameter is located.
The mobile terminal provided in fig. 3 to fig. 7 in the embodiment of the present invention can implement each process in the method embodiments of fig. 1 and fig. 2, and is not described herein again to avoid repetition.
By adopting the device, in the embodiment of the invention, the current working environment parameter of the mobile terminal can be obtained firstly, then the transmitting power threshold corresponding to the current working environment parameter is determined, and finally the current gain mode is switched to the gain mode corresponding to the transmitting power threshold under the condition that the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmitting power threshold and the transmitting power of the mobile terminal reaches the transmitting power threshold. In summary, since the present application considers the external variable factors of the mobile terminal, such as the current operating environment parameters in the present application, the present application sets the corresponding transmission power threshold value for each operating environment parameter, so that the transmission power threshold value has pertinence and high accuracy.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, a sound output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
The input unit 807 is configured to obtain current operating environment parameters of the mobile terminal.
A processor 810 configured to determine a transmit power threshold corresponding to the current operating environment parameter; and under the condition that the transmitting power of the mobile terminal in the current gain mode reaches the transmitting power threshold, switching the current gain mode to a next gain mode corresponding to the transmitting power threshold.
In the embodiment of the invention, the current working environment parameters of the mobile terminal are firstly obtained; then determining a transmitting power threshold corresponding to the current working environment parameter; and finally, under the condition that the transmitting power of the mobile terminal in the current gain mode reaches the transmitting power threshold, switching the current gain mode to the next gain mode corresponding to the transmitting power threshold. In summary, since the present application considers the external variable factors of the mobile terminal, such as the current operating environment parameters in the present application, the present application sets the corresponding transmission power threshold value for each operating environment parameter, so that the transmission power threshold value has pertinence and high accuracy.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The sound output unit 803 may convert sound data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into a sound signal and output as sound. Also, the sound output unit 803 may also provide sound output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The sound output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving a sound or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into sound data. The processed voice data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 or backlight when the mobile terminal 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, a sound input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by 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 voice data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can 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 processor 810 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of being run on the processor 810, where the computer program is executed by the processor 810 to implement each process of the gain mode switching method embodiment, and details are not repeated here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing gain mode switching method embodiment, and details are not repeated here to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a mobile terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A gain mode switching method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring current working environment parameters of the mobile terminal;
determining a transmission power threshold corresponding to the current working environment parameter;
when the current gain mode of the mobile terminal is different from the gain mode corresponding to the transmission power threshold and the transmission power of the mobile terminal reaches the transmission power threshold, switching the current gain mode to the gain mode corresponding to the transmission power threshold;
the current working environment parameters comprise current environment temperature and/or current used channels;
the determining the transmission power threshold corresponding to the current operating environment parameter includes:
obtaining a target environment temperature range corresponding to the current environment temperature, and/or
Acquiring a target channel range corresponding to the current used channel;
determining the transmit power threshold based on the target ambient temperature range and/or the target channel range.
2. The method of claim 1, wherein after said determining the transmit power threshold corresponding to the current operating environment parameter, further comprising:
and controlling the mobile terminal to maintain the current gain mode under the condition that the current gain mode of the mobile terminal is the same as the gain mode corresponding to the transmission power threshold and the transmission power of the mobile terminal reaches the transmission power threshold.
3. The method according to claim 1, wherein the obtaining the current operating environment parameters of the mobile terminal comprises:
acquiring current working environment parameters of the mobile terminal according to a preset period;
prior to the determining a transmit power threshold corresponding to the current operating environment parameter, the method further comprises:
acquiring historical working environment parameters of a previous period; the last period is the last period of the latest period corresponding to the current working environment parameters;
the determining the transmission power threshold corresponding to the current operating environment parameter includes:
determining whether the mobile terminal meets a power threshold acquisition condition according to the historical working environment parameters and the current working environment parameters;
and determining a transmitting power threshold corresponding to the current working environment parameter under the condition that the mobile terminal is determined to meet the power threshold acquisition condition according to the historical working environment parameter and the current working environment parameter.
4. The method of claim 3, wherein in the case where the current operating environment parameter comprises the current environment temperature and the historical operating environment parameter comprises a historical environment temperature, the power threshold acquisition condition comprises: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature;
in the case where the current operating environment parameter includes the currently used channel and the historical operating environment parameter includes a historical used channel, the power threshold acquisition condition includes: the target channel range is different from the historical channel range corresponding to the historical use channel;
in the case where the current operating environment parameter includes the current environment temperature and the current usage channel, and the historical operating environment parameter includes the historical environment temperature and the historical usage channel, the power threshold acquisition condition includes: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature, and the target channel range is different from the historical channel range corresponding to the historical use channel.
5. The method of claim 1, wherein prior to said determining a transmit power threshold corresponding to said current operating environment parameter, said method further comprises:
acquiring power threshold corresponding relations between different gain modes and different transmission power thresholds; the power threshold value corresponding relation comprises a corresponding relation between a working environment parameter range and a transmitting power threshold value;
the determining the transmission power threshold corresponding to the current operating environment parameter includes:
and determining a transmitting power threshold corresponding to the working environment parameter range in which the current working environment parameter is based on the power threshold corresponding relation.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the current parameter acquisition module is used for acquiring current working environment parameters of the mobile terminal;
a power threshold determination module, configured to determine a transmit power threshold corresponding to the current operating environment parameter;
a switching module, configured to switch a current gain mode of the mobile terminal to a gain mode corresponding to the transmit power threshold when the current gain mode is different from the gain mode corresponding to the transmit power threshold and the transmit power of the mobile terminal reaches the transmit power threshold;
the current working environment parameters comprise current environment temperature and/or current used channels;
the power threshold determination module includes:
a range obtaining submodule for obtaining a target environment temperature range corresponding to the current environment temperature, and/or
Acquiring a target channel range corresponding to the current used channel;
and the power threshold value determining submodule is used for determining the transmitting power threshold value according to the target environment temperature range and/or the target channel range.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
and the control module is used for controlling the mobile terminal to maintain the current gain mode under the condition that the current gain mode of the mobile terminal is the same as the gain mode corresponding to the transmitting power threshold and the transmitting power of the mobile terminal reaches the transmitting power threshold.
8. The mobile terminal according to claim 6, wherein the current parameter obtaining module is specifically configured to obtain current operating environment parameters of the mobile terminal according to a preset period;
the mobile terminal further includes:
the historical parameter acquisition module is used for acquiring historical working environment parameters of the previous period; the last period is the last period of the latest period corresponding to the current working environment parameters;
the power threshold determination module comprises:
the condition determining submodule is used for determining whether the mobile terminal meets a power threshold value obtaining condition or not according to the historical working environment parameters and the current working environment parameters;
and the transmission threshold value determining submodule is used for determining a transmission power threshold value corresponding to the current working environment parameter under the condition that the mobile terminal is determined to meet the power threshold value obtaining condition according to the historical working environment parameter and the current working environment parameter.
9. The mobile terminal of claim 8, wherein in the case that the current operating environment parameter includes the current environment temperature and the historical operating environment parameter includes a historical environment temperature, the power threshold acquisition condition comprises: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature;
in the case where the current operating environment parameter includes the currently used channel and the historical operating environment parameter includes a historical used channel, the power threshold acquisition condition includes: the target channel range is different from the historical channel range corresponding to the historical use channel;
in the case where the current operating environment parameter includes the current environment temperature and the current usage channel, and the historical operating environment parameter includes the historical environment temperature and the historical usage channel, the power threshold acquisition condition includes: the target environment temperature range is different from the historical environment temperature range corresponding to the historical environment temperature, and the target channel range is different from the historical channel range corresponding to the historical use channel.
10. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
a corresponding relation obtaining module, configured to obtain power threshold corresponding relations between different gain modes and different transmission power thresholds; the power threshold value corresponding relation comprises a corresponding relation between a working environment parameter range and a transmitting power threshold value;
and the power threshold determining module is specifically configured to determine, based on the power threshold corresponding relationship, a transmission power threshold corresponding to a working environment parameter range in which the current working environment parameter is located.
CN201910190014.7A 2019-03-13 2019-03-13 Gain mode switching method and mobile terminal Active CN110012529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910190014.7A CN110012529B (en) 2019-03-13 2019-03-13 Gain mode switching method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910190014.7A CN110012529B (en) 2019-03-13 2019-03-13 Gain mode switching method and mobile terminal

Publications (2)

Publication Number Publication Date
CN110012529A CN110012529A (en) 2019-07-12
CN110012529B true CN110012529B (en) 2022-03-15

Family

ID=67167034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910190014.7A Active CN110012529B (en) 2019-03-13 2019-03-13 Gain mode switching method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110012529B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010726B (en) * 2019-12-24 2023-04-18 上海闻泰信息技术有限公司 Method, device, equipment and medium for determining radio frequency communication configuration parameters
CN113708781B (en) * 2021-08-13 2023-02-17 Oppo广东移动通信有限公司 Radio frequency gain control method, device and communication equipment
CN114679775B (en) * 2022-04-08 2024-02-20 展讯通信(上海)有限公司 Inner loop power control performance optimization method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106068030A (en) * 2015-04-23 2016-11-02 纬创资通股份有限公司 Poewr control method and mobile device and power control system
CN106851804A (en) * 2017-02-21 2017-06-13 广东欧珀移动通信有限公司 mobile terminal inner loop power control method, device and computer equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100641219B1 (en) * 2004-11-23 2006-11-02 엘지전자 주식회사 Transmission power control circuit for mobile phone
GB0624218D0 (en) * 2006-12-04 2007-01-10 Vodafone Plc Base station repeater
US9191900B2 (en) * 2012-11-15 2015-11-17 Wistron Corp. Communication device and power control method thereof
CN104301978A (en) * 2013-07-17 2015-01-21 中兴通讯股份有限公司 Inner-loop power control method and system for terminal
CN103401517B (en) * 2013-08-15 2016-08-31 杭州威力克通信系统有限公司 Radio frequency power amplifier system
CN106899361A (en) * 2015-12-21 2017-06-27 北京信威通信技术股份有限公司 Transmission power processing method, device, system and transmitting equipment
CN106230520B (en) * 2016-07-28 2019-05-14 宇龙计算机通信科技(深圳)有限公司 A kind of optimization method and device of transmission power switching point
CN108649907A (en) * 2018-05-15 2018-10-12 Oppo广东移动通信有限公司 Radio-frequency power amplifier method for controlling power supply, device, terminal device and medium
CN108901031A (en) * 2018-06-12 2018-11-27 Oppo广东移动通信有限公司 Radio frequency parameter method of adjustment, device, mobile terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106068030A (en) * 2015-04-23 2016-11-02 纬创资通股份有限公司 Poewr control method and mobile device and power control system
CN106851804A (en) * 2017-02-21 2017-06-13 广东欧珀移动通信有限公司 mobile terminal inner loop power control method, device and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A temperature compensated linear output RF amplifier with programmable gain control;N. Stevanovic等;《2006 IEEE International Symposium on Circuits and Systems (ISCAS)》;20060911;第93-96页 *
短距离无线接收机中自动增益控制电路的研究与实现;白春风;《中国优秀博士学位论文全文数据库》;20180215;第1-144页 *

Also Published As

Publication number Publication date
CN110012529A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110289885B (en) Antenna tuning method and terminal
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN110399000B (en) Mobile terminal and temperature control method thereof
CN110753389A (en) Network control method and electronic equipment
CN111835488A (en) Method for determining mapping of antenna port and terminal
CN110012529B (en) Gain mode switching method and mobile terminal
CN109379145B (en) Signal processing circuit, terminal equipment and signal processing method
CN108599874B (en) Power detection circuit, device and mobile terminal
CN110336623B (en) Power detection method and device and mobile terminal
CN109739394B (en) SAR value processing method and mobile terminal
CN111417185A (en) Transmission power control method and related equipment
CN110730017A (en) Radio frequency device, control method thereof and terminal equipment
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN110557166B (en) Communication circuit adjusting method and terminal
CN109041190B (en) Power control method and terminal
CN109698711B (en) Radio frequency module and terminal equipment
US11375497B2 (en) Power configuration method and terminal
CN108512616B (en) Signal intensity display method, mobile terminal and computer readable storage medium
CN110636530B (en) Method for processing adjacent channel interference and terminal equipment
CN110086483B (en) Communication control method and terminal
CN109450508B (en) Antenna determination method and device and mobile terminal
US20220263589A1 (en) Digital pre-distortion processing method and electronic device
CN110995302B (en) Gain stage adjusting method and electronic equipment
CN113099542B (en) Parameter reporting method, uplink scheduling method, device and medium
CN108966298B (en) Communication frequency band control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant