CN110839111B - Working mode switching method, device, equipment and storage medium - Google Patents
Working mode switching method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110839111B CN110839111B CN201911140390.1A CN201911140390A CN110839111B CN 110839111 B CN110839111 B CN 110839111B CN 201911140390 A CN201911140390 A CN 201911140390A CN 110839111 B CN110839111 B CN 110839111B
- Authority
- CN
- China
- Prior art keywords
- mode
- parameter
- channel quality
- working mode
- value
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
- H04B1/401—Circuits for selecting or indicating operating mode
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a method, a device, equipment and a storage medium for switching working modes. The method comprises the following steps: acquiring a channel quality parameter and a residual capacity parameter; determining a corresponding working mode from a plurality of working modes as a target working mode according to the channel quality parameter and the residual electric quantity parameter; and setting the current working mode as the target working mode. By the technical scheme, the adaptability of the equipment to different use environments can be improved.
Description
Technical Field
The present invention relates to communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for switching a working mode.
Background
After entering the LTE (Long Term evolution) era, the cell phone design introduces an ET (Envelope Tracking) technology due to Power saving requirements, and compared with the conventional APT (Average Power Tracking) technology, the ET has the advantage of saving more Power under the high peak-to-Average ratio of LTE. However, ET also has certain side effects. Because of the device technology and the whole integration technology, the ACLR (Adjacent Carrier Leakage Ratio) under ET is 10dB worse than that under APT, which brings about a series of problems. Such as increased system interference, reduced network capacity, and reduced reception sensitivity.
In the prior art, a mobile phone only supports a single mechanism such as ET or APT, and therefore cannot adapt to a complex and variable actual use environment.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for switching working modes, so as to improve the adaptability of the equipment to different use environments.
In an embodiment, an embodiment of the present invention provides a method for switching an operating mode, including:
acquiring a channel quality parameter and a residual capacity parameter;
determining a corresponding working mode from a plurality of working modes as a target working mode according to the channel quality parameter and the residual electric quantity parameter;
and setting the current working mode as the target working mode.
In an embodiment, an embodiment of the present invention further provides a device for switching an operating mode, where the device includes:
the parameter acquisition module is used for acquiring a channel quality parameter and a residual electric quantity parameter;
the mode selection module is used for determining a corresponding working mode from a plurality of working modes as a target working mode according to the channel quality parameter and the residual electric quantity parameter;
and the mode setting module is used for setting the current working mode as the target working mode.
In an embodiment, an embodiment of the present invention further provides a mobile terminal device, where the mobile terminal device includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for switching the operating mode according to any of the embodiments of the present invention.
In an embodiment, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for switching the operating mode according to any one of the embodiments of the present invention.
According to the method and the device, the channel quality parameter and the residual electric quantity parameter are obtained, the corresponding working mode is determined from the working modes and is used as the target working mode, the current working mode is set to be the target working mode, and the mode of dynamically selecting the current working mode is utilized, so that the problem that the device cannot adapt to complex and variable actual use environments due to the fact that a single working mode is adopted in the prior art is solved, and the adaptability of the device to different use environments is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for switching operating modes according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for switching operating modes according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for switching operating modes according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an operating mode selection apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
In an embodiment, fig. 1 is a schematic flowchart of a method for switching operating modes according to an embodiment of the present invention. The method is applicable to the situation of carrying out selection setting on the working mode of the equipment, can be executed by a switching device of the working mode, can be composed of hardware and/or software, and can be generally integrated in mobile terminal equipment such as personal computers, notebook computers, smart phones, tablet computers, portable wearable equipment and the like. The method specifically comprises the following steps:
and S110, acquiring a channel quality parameter and a residual capacity parameter.
In different usage environments, the performance requirements of the mobile terminal device may be different, for example, in a situation where the channel quality is not good and the device power is sufficient, the mobile terminal device may need to improve the current channel quality compared to power saving, so as to enhance the adaptability of the mobile terminal device in a usage environment with poor channel quality. In the prior art, only a single working mode is adopted to adapt to different use environments, so that the mobile terminal device may not be adapted to a complicated and variable actual use environment.
In order to solve the above technical problem, in this embodiment, the channel quality and the remaining power are used as reference criteria for the mobile terminal device to select the current working mode, so that the mobile terminal device can focus on improving different performances in different use environments, thereby improving adaptability of the mobile terminal device to different use environments. Specifically, first, the mobile terminal device may obtain a channel quality parameter and a remaining power parameter.
In this embodiment, the channel quality parameter may be a parameter of a communication link between the mobile terminal device and the base station, and is used to characterize the channel quality of the mobile terminal device in the current usage environment; the remaining power parameter of the device may be a current remaining power value of the device, which is used to characterize a cruising ability of the current mobile terminal device.
In general, if the channel quality is good, it indicates that the interference suffered by the mobile terminal device is small, and accordingly, the signal receiving sensitivity of the device is high, and the capacity of the cell in which the device is located is also large; on the contrary, the interference on the device is larger, and accordingly, the signal receiving sensitivity of the device is lower and the capacity of the cell is smaller. Optionally, the channel quality parameter may be RSSI (received Signal Strength Index). The mobile terminal equipment can judge the strength of the channel quality by reading the RSSI value of the equipment.
Optionally, the obtaining the channel quality parameter includes: and reading the RSSI in the real-time log of the modem side as a channel quality parameter.
For example, a mobile terminal device (e.g., a mobile phone) may obtain an RSSI value by reading a real-time log on a Modem side of the device, and then use the obtained RSSI as a channel quality parameter, where the reading may be performed in a manner of reading the RSSI value recorded in the real-time log online, or in a manner of reading the RSSI value recorded in the real-time log after downloading the real-time log offline, which is not limited herein.
Since the power consumption of the device may increase while the channel quality of the mobile terminal device is improved, in this embodiment, the remaining power parameter needs to be obtained by the mobile terminal device, so as to use the remaining power as one of the reference bases for selecting the operating mode of the device.
Optionally, obtaining the remaining power parameter includes: and reading the current equipment power in the register as a residual power parameter.
For example, the mobile terminal device may obtain the current device power value by reading data recorded in a device register (e.g., a mobile phone register), and then use the obtained current device power as the remaining power parameter.
And S120, determining a corresponding working mode from the plurality of working modes as a target working mode according to the channel quality parameter and the residual capacity parameter.
In this embodiment, the mobile terminal device may preset a plurality of working modes, each working mode may be correspondingly provided with a switching condition, when the obtained channel quality parameter and the obtained remaining power parameter satisfy the switching condition corresponding to one of the working modes, the working mode is taken as a target working mode, and in a subsequent step, the current working mode of the device is set as the target working mode.
The advantage of using the channel quality parameter and the remaining power parameter as the reference basis for selecting the working mode of the mobile terminal device is that the anti-interference capability or the power saving capability of the device can be improved with emphasis in different use environments, and the adaptability of the device is enhanced.
Optionally, the plurality of operating modes include: at least two of an average power tracking mode, an envelope tracking mode, and a full voltage mode.
Illustratively, in the ET mode, since a large number of complex software algorithm technologies are adopted, such as DPD (Digital PreDistortion), CHAR (characterisation), the ACLR can be guaranteed to meet the 3GPP (3rd Generation partner Party) specification with a margin of 5 dB. In the APT mode, the ACLR margin can be 15 dB. Here, the ACLR test is the interference ratio of the adjacent channel, characterizing the Tx power leaked by the adjacent channel. In fact, there is leakage power around the entire Tx bandwidth, even extending into the Rx band, which is the concept of Tx noise in Rx band (transmit noise in the receive band). This phenomenon can significantly affect the reception sensitivity of the handset itself. In addition, the Tx noise not only affects the sensitivity of the handset itself, but also causes disadvantages to the entire cellular network cell. The cell noise increases and the cell capacity decreases, and the number of users accessing the cell decreases.
As described above, although the channel quality of the device in the APT mode is better than that in the ET mode, the APT mode consumes power than the ET mode, and the channel quality of the device in the full-voltage mode is better than those in the first two modes, and certainly, the device is the most power consuming mode.
And S130, setting the current working mode as a target working mode.
In this embodiment, after the target operating mode is determined, the mobile terminal device may set the current operating mode to the operating mode to adapt to the current operating environment, so that the corresponding performance of the device in the current operating environment is significantly improved, and the user experience is improved. For example, if the target operating mode is determined to be the APT mode, the mobile terminal device sets the current operating mode to be the APT mode, so as to improve the channel quality of the device, reduce the interference of the device itself and the interference of the cell, further improve the receiving sensitivity of the device, and expand the cell capacity; if the target working mode is determined to be the ET mode, the mobile terminal device sets the current working mode to be the ET mode so as to reduce the power consumption of the device and save the power consumption of the device.
According to the technical scheme of the embodiment, the mobile terminal device determines the corresponding working mode from the plurality of working modes as the target working mode by acquiring the channel quality parameter and the residual capacity parameter and setting the current working mode as the target working mode according to the channel quality parameter and the residual capacity parameter, and the method of dynamically selecting the current working mode is utilized, so that the problem that the device cannot adapt to complicated and changeable actual use environments due to the adoption of a single working mode in the prior art is solved, and the adaptability of the device to different use environments is improved.
In one embodiment, fig. 2 is a schematic flowchart of a method for switching operating modes according to an embodiment of the present invention. The present embodiment is optimized based on the above embodiments, and provides a method for switching a preferred operating mode, specifically, a corresponding operating mode determined from a plurality of operating modes according to a channel quality parameter and a remaining power parameter is further optimized. The method specifically comprises the following steps:
s210, acquiring a channel quality parameter and a residual capacity parameter.
S220, determining whether the value of the channel quality parameter is smaller than a first quality threshold, and whether the value of the remaining power parameter is greater than the first power threshold, if yes, performing S230; if not, go to S240.
In this embodiment, the first quality threshold and the first electric quantity threshold may be preset empirical values. When the value of the channel quality parameter is greater than or equal to a preset first quality threshold value, the channel quality is good, and the device and the network do not need to consider the interference problem; when the value of the channel quality parameter is smaller than the preset first quality threshold, it indicates that the channel quality is not good, and the device and the network need to consider the interference problem. In addition, when the value of the residual electric quantity parameter is larger than a preset first electric quantity threshold value, the electric quantity of the equipment is sufficient, and the power consumption is not a key factor which must be considered; when the value of the remaining power parameter is less than or equal to the preset first power threshold, it indicates that the power of the device is insufficient, and the power consumption is a key factor that must be considered.
Illustratively, the mobile terminal device may select an operation mode adapted to the current usage environment by balancing two factors, i.e., power consumption and channel quality. Specifically, if the preset multiple operating modes only include the APT mode and the ET mode, the mobile terminal device may first determine whether the value of the channel quality parameter is smaller than a preset first quality threshold, and whether the value of the remaining power parameter is greater than the preset first power threshold, that is, whether the channel quality is poor and the power is sufficient, so as to determine whether the device selects the APT mode or the ET mode in the current usage environment.
And S230, selecting an average power tracking mode from the plurality of working modes as a target working mode.
For example, when the channel quality of the mobile terminal device is not good and the power is sufficient, that is, the value of the channel quality parameter is smaller than the preset first quality threshold, and the value of the remaining power parameter is greater than the preset first power threshold, the mobile terminal device may select the APT mode as the target operating mode, and further set the current operating mode of the device as the APT mode, so as to improve the channel quality, reduce interference, improve the receiving sensitivity, and expand the cell capacity.
And S240, selecting an envelope tracking mode from the plurality of working modes as a target working mode.
For example, when the channel quality of the mobile terminal device is good or the power consumption is insufficient, that is, the value of the channel quality parameter is greater than or equal to the preset first quality threshold, or the value of the remaining power parameter is less than or equal to the preset first power threshold, the mobile terminal device may select the ET mode as the target operating mode, and then set the current operating mode of the device to the ET mode, so as to reduce the power consumption of the device and save the power consumption of the device.
And S250, setting the current working mode as a target working mode.
According to the technical scheme of the embodiment, on the basis of the embodiment, the mobile terminal device selects the APT mode from the multiple working modes as the target working mode by judging that the value of the channel quality parameter is smaller than the first quality threshold value and the value of the residual electric quantity parameter is larger than the first electric quantity threshold value, otherwise, selects the ET mode as the target working mode, and further sets the current working mode of the device to be the corresponding mode, so that the device can timely improve the channel quality, reduce the interference, improve the receiving sensitivity and expand the capacity of the cell in the use environment with poor signal quality and sufficient electric quantity, and timely reduce the power consumption of the device and save the power consumption of the device in the use environment with good signal quality or insufficient electric quantity, and the adaptability of the device to different use environments is further improved.
In another embodiment, fig. 3 is a flowchart illustrating a method for switching operating modes according to an embodiment of the present invention. The present embodiment is optimized based on the above embodiments, and provides a method for switching a preferred operating mode, specifically, a corresponding operating mode determined from a plurality of operating modes according to a channel quality parameter and a remaining power parameter is further optimized. The method specifically comprises the following steps:
and S310, acquiring a channel quality parameter and a residual capacity parameter.
S320, determining whether the value of the channel quality parameter is smaller than a first quality threshold, and whether the value of the remaining power parameter is greater than the first power threshold, if yes, performing S330; if not, go to S360.
S330, determining whether the value of the channel quality parameter is smaller than a second quality threshold, and whether the value of the remaining power parameter is greater than the second power threshold, if yes, performing S340; if not, go to S350.
The second quality threshold is smaller than the first quality threshold, and the second electric quantity threshold is larger than the first electric quantity threshold. In this embodiment, the second quality threshold and the second electric quantity threshold may also be set empirical values. Specifically, when the value of the channel quality parameter is smaller than the first quality threshold and also meets a condition smaller than a preset second quality threshold, it indicates that the channel quality is very poor, and the device and the network must consider the interference problem. In addition, when the value of the remaining power parameter is greater than the preset second power threshold, it indicates that the power of the device is sufficient, and the power consumption may not be considered currently.
For example, if the preset multiple operating modes include an APT mode, an ET mode, and a full voltage mode, the mobile terminal device may first determine whether a value of the channel quality parameter is smaller than a preset first quality threshold and whether a value of the remaining power parameter is greater than the preset first power threshold, that is, substantially determine whether the channel quality is poor and the power is sufficient, so as to determine whether the device selects to use the full voltage mode and the APT mode or directly selects to use the ET mode in the current usage environment. When the mobile terminal device determines that the channel quality is not good and the electric quantity is sufficient, further determining whether the value of the channel quality parameter is smaller than a preset second quality threshold value and whether the value of the residual electric quantity parameter is larger than the preset second electric quantity threshold value, that is, determining whether the channel quality has reached a very poor step and the electric quantity is also very sufficient, thereby determining whether the mobile terminal device selects to use a full voltage mode or an APT mode in the current use environment.
And S340, selecting a full voltage mode from the plurality of working modes as a target working mode.
Illustratively, when the channel quality of the mobile terminal device is very poor and the power is very sufficient, that is, the value of the channel quality parameter is smaller than the preset second quality threshold, and the value of the remaining power parameter is greater than the preset second power threshold, the mobile terminal device may select the full-voltage mode as the target operating mode, and further set the current operating mode of the device as the full-voltage mode, so as to improve the channel quality to the greatest extent, reduce interference, improve the receiving sensitivity, and expand the cell capacity.
When the channel quality of the mobile terminal device is poor and the electric quantity is sufficient, that is, the value of the channel quality parameter is greater than or equal to a preset second quality threshold and less than a first quality threshold, and meanwhile, the value of the residual electric quantity parameter is less than or equal to a preset second electric quantity threshold and greater than the first electric quantity threshold, the mobile terminal device can set the current working mode to be the APT mode; when the channel quality of the mobile terminal device is good or the power is insufficient, that is, the value of the channel quality parameter is greater than or equal to the preset first quality threshold, or the value of the remaining power parameter is less than or equal to the preset first power threshold, the mobile terminal device may set the current operating mode to the ET mode.
And S350, selecting an average power tracking mode from the plurality of working modes as a target working mode.
And S360, selecting an envelope tracking mode from the plurality of working modes as a target working mode.
And S370, setting the current working mode as the target working mode.
In the technical solution of this embodiment, on the basis of the foregoing embodiments, the mobile terminal device further determines that when the value of the channel quality parameter is smaller than the second quality threshold and the value of the remaining power parameter is greater than the second power threshold, a full voltage mode is selected from a plurality of working modes as a target working mode, and then the current working mode is set as a corresponding mode, so that the device can improve the channel quality to the greatest extent, reduce interference, improve the receiving sensitivity, and enlarge the cell capacity in a service environment where the signal quality is very poor and the power is very sufficient, thereby further improving the adaptability of the device to different service environments.
In another embodiment, fig. 4 is a schematic structural diagram of a switching device of an operation mode according to an embodiment of the present invention. Referring to fig. 4, the switching device of the operation mode includes: the parameter obtaining module 410, the mode selecting module 420, and the mode setting module 430, which are described in detail below.
A parameter obtaining module 410, configured to obtain a channel quality parameter and a remaining power parameter;
a mode selection module 420, configured to determine, according to the channel quality parameter and the remaining power parameter, a corresponding working mode from multiple working modes as a target working mode;
and a mode setting module 430, configured to set the current working mode to the target working mode.
Optionally, the plurality of operation modes include: at least two of an average power tracking mode, an envelope tracking mode, and a full voltage mode.
Optionally, the mode selection module 420 may be specifically configured to:
if the value of the channel quality parameter is smaller than a first quality threshold value and the value of the residual capacity parameter is larger than a first capacity threshold value, selecting an average power tracking mode from the plurality of working modes as a target working mode;
otherwise, selecting an envelope tracking mode from the preset multiple working modes as a target working mode.
Optionally, the mode selection module 420 may be further specifically configured to:
if the value of the channel quality parameter is smaller than a second quality threshold value and the value of the residual capacity parameter is larger than a second capacity threshold value, selecting a full-voltage mode from the plurality of working modes as a target working mode;
wherein the second quality threshold is less than the first quality threshold, and the second power threshold is greater than the first power threshold.
Optionally, the channel quality parameter is a received signal strength indicator.
Optionally, the parameter obtaining module 410 may include:
and the quality parameter acquisition submodule is used for reading the received signal strength index in a real-time log at the modem side of the equipment as the channel quality parameter.
Optionally, the parameter obtaining module 410 may further include:
and the electric quantity parameter acquisition submodule is used for reading the current equipment electric quantity in a register of the equipment and taking the current equipment electric quantity as the residual electric quantity parameter.
The switching device for the working modes provided in this embodiment determines a corresponding working mode from a plurality of working modes by obtaining the channel quality parameter and the remaining power parameter, and according to the channel quality parameter and the remaining power parameter, as a target working mode, sets the current working mode as the target working mode, and utilizes a mode of dynamically selecting the current working mode, thereby solving the problem that the device cannot adapt to a complex and variable actual use environment due to the adoption of a single working mode in the prior art, and improving the adaptability of the device to different use environments.
In one embodiment, fig. 5 is a schematic structural diagram of a mobile terminal device according to an embodiment of the present invention, and as shown in fig. 5, the mobile terminal device according to the embodiment includes: a processor 51 and a memory 52. The number of the processors in the mobile terminal device may be one or more, fig. 5 illustrates one processor 51, the processor 51 and the memory 52 in the mobile terminal device may be connected by a bus or in other manners, and fig. 5 illustrates the connection by a bus.
The processor 51 of the mobile terminal device in this embodiment integrates the method for switching the operating mode provided in the above embodiment. In addition, the memory 52 in the mobile terminal device can be used as a computer-readable storage medium for storing one or more programs, which can be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the switching method of the operation mode in the embodiment of the present invention (for example, the modules in the switching device of the operation mode shown in fig. 4 include the parameter obtaining module 410, the mode selecting module 420, and the mode setting module 430). The processor 51 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 52, that is, implements the switching method of the operation mode in the above method embodiment.
The memory 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 52 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 non-volatile solid state storage device. In some examples, the memory 52 may further include memory located remotely from the processor 51, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: acquiring a channel quality parameter and a residual capacity parameter; determining a corresponding working mode from a plurality of working modes as a target working mode according to the channel quality parameter and the residual electric quantity parameter; and setting the current working mode as the target working mode.
In one embodiment, the processor, when executing the computer program, further performs the steps of: at least two of an average power tracking mode, an envelope tracking mode, and a full voltage mode.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the value of the channel quality parameter is smaller than a first quality threshold value and the value of the residual power parameter is larger than a preset first power threshold value, selecting an average power tracking mode from the multiple working modes as a target working mode; otherwise, selecting an envelope tracking mode from the plurality of operating modes as a target operating mode.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the value of the channel quality parameter is smaller than a second quality threshold value and the value of the residual capacity parameter is larger than a second capacity threshold value, selecting a full-voltage mode from the plurality of working modes as a target working mode; wherein the second quality threshold is less than the first quality threshold, and the second power threshold is greater than the first power threshold.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the channel quality parameter is a received signal strength indicator.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and reading the received signal strength index in a real-time log at the modem side as the channel quality parameter.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and reading the current equipment power in the register as the residual power parameter.
In this embodiment, by obtaining the channel quality parameter and the remaining power parameter, and according to the channel quality parameter and the remaining power parameter, determining a corresponding working mode from a plurality of working modes, as a target working mode, setting the current working mode as the target working mode, and using a mode of dynamically selecting the current working mode, the problem that the device cannot adapt to a complicated and variable actual use environment due to the adoption of a single working mode in the prior art is solved, and the adaptability of the device to different use environments is improved.
In one embodiment, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a method for switching an operating mode, the method for switching an operating mode provided in the above embodiment is implemented, where the method includes: acquiring a channel quality parameter and a residual capacity parameter; determining a corresponding working mode from a plurality of working modes as a target working mode according to the channel quality parameter and the residual electric quantity parameter; and setting the current working mode as the target working mode.
Of course, the computer-readable storage medium provided in the embodiments of the present invention is not limited to implement the method operations described above when the computer program stored on the storage medium is executed, and may also implement the relevant operations in the method for switching the working mode provided in any embodiment of the present invention.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a channel quality parameter and a residual capacity parameter; determining a corresponding working mode from a plurality of working modes as a target working mode according to the channel quality parameter and the residual electric quantity parameter; and setting the current working mode as the target working mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: at least two of an average power tracking mode, an envelope tracking mode, and a full voltage mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the value of the channel quality parameter is smaller than a first quality threshold value and the value of the residual power parameter is larger than a preset first power threshold value, selecting an average power tracking mode from the plurality of working modes as a target working mode; otherwise, selecting an envelope tracking mode from the plurality of operating modes as a target operating mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the value of the channel quality parameter is smaller than a second quality threshold value and the value of the residual capacity parameter is larger than a second capacity threshold value, selecting a full-voltage mode from the plurality of working modes as a target working mode; wherein the second quality threshold is less than the first quality threshold, and the second power threshold is greater than the first power threshold.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the channel quality parameter is a received signal strength indicator.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and reading the received signal strength index in a real-time log at the modem side as the channel quality parameter.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and reading the current equipment power in the register as the residual power parameter.
In this embodiment, by obtaining the channel quality parameter and the remaining power parameter, and according to the channel quality parameter and the remaining power parameter, determining a corresponding working mode from a plurality of working modes, as a target working mode, setting the current working mode as the target working mode, and using a mode of dynamically selecting the current working mode, the problem that the device cannot adapt to a complicated and variable actual use environment due to the adoption of a single working mode in the prior art is solved, and the adaptability of the device to different use environments is improved.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a mobile terminal device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the method for switching the operating modes, each included unit and each included module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (4)
1. A method for switching working modes is characterized by comprising the following steps:
acquiring a channel quality parameter and a residual capacity parameter;
the channel quality parameter is a received signal strength index;
the acquiring of the channel quality parameter includes:
reading a received signal strength index in a real-time log at a modem side as the channel quality parameter;
the acquiring of the remaining power parameter includes:
reading the current equipment electric quantity in the register as the residual electric quantity parameter;
determining a corresponding working mode from a plurality of working modes as a target working mode according to the channel quality parameter and the residual electric quantity parameter;
setting the current working mode as the target working mode;
the plurality of operating modes include: at least two of an average power tracking mode, an envelope tracking mode, and a full voltage mode;
determining a corresponding working mode from a plurality of working modes according to the channel quality parameter and the residual capacity parameter, wherein the working mode serving as a target working mode comprises the following steps:
if the value of the channel quality parameter is smaller than a first quality threshold value and the value of the residual power parameter is larger than a preset first power threshold value, selecting an average power tracking mode from the plurality of working modes as a target working mode;
otherwise, selecting an envelope tracking mode from the plurality of working modes as a target working mode;
if the value of the channel quality parameter is smaller than a second quality threshold value and the value of the residual capacity parameter is larger than a second capacity threshold value, selecting a full-voltage mode from the plurality of working modes as a target working mode;
wherein the second quality threshold is less than the first quality threshold, and the second power threshold is greater than the first power threshold.
2. An operating mode switching apparatus, comprising:
the parameter acquisition module is used for acquiring a channel quality parameter and a residual electric quantity parameter;
the channel quality parameter is a received signal strength index;
the parameter acquisition module comprises:
a quality parameter obtaining submodule, configured to read a received signal strength indicator in a real-time log on a modem side of the device, as the channel quality parameter;
the electric quantity parameter acquisition submodule is used for reading the current equipment electric quantity in a register of the equipment and taking the current equipment electric quantity as the residual electric quantity parameter;
the mode selection module is used for determining a corresponding working mode from a plurality of working modes as a target working mode according to the channel quality parameter and the residual electric quantity parameter;
the mode setting module is used for setting the current working mode as the target working mode;
wherein the plurality of operating modes include: at least two of an average power tracking mode, an envelope tracking mode, and a full voltage mode;
the mode selection module is specifically further configured to:
if the value of the channel quality parameter is smaller than a first quality threshold value and the value of the residual capacity parameter is larger than a first capacity threshold value, selecting an average power tracking mode from the plurality of working modes as a target working mode;
otherwise, selecting an envelope tracking mode from the preset multiple working modes as a target working mode;
if the value of the channel quality parameter is smaller than a second quality threshold value and the value of the residual capacity parameter is larger than a second capacity threshold value, selecting a full-voltage mode from the plurality of working modes as a target working mode;
wherein the second quality threshold is less than the first quality threshold, and the second power threshold is greater than the first power threshold.
3. A mobile terminal device, characterized in that the device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of switching operating modes as claimed in claim 1.
4. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of switching the operating mode as claimed in claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911140390.1A CN110839111B (en) | 2019-11-20 | 2019-11-20 | Working mode switching method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911140390.1A CN110839111B (en) | 2019-11-20 | 2019-11-20 | Working mode switching method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110839111A CN110839111A (en) | 2020-02-25 |
CN110839111B true CN110839111B (en) | 2021-08-06 |
Family
ID=69576838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911140390.1A Active CN110839111B (en) | 2019-11-20 | 2019-11-20 | Working mode switching method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110839111B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115208428B (en) * | 2022-07-05 | 2024-02-09 | 北斗天汇(北京)科技有限公司 | Communication terminal with anti-interference function and application method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2827495A1 (en) * | 2013-07-18 | 2015-01-21 | Sequans Communications Limited | Dynamic amplifier supply |
KR20180075113A (en) * | 2016-12-26 | 2018-07-04 | 삼성전자주식회사 | Method and electronic device for minimizing noise of power amplifier |
CN110365347B (en) * | 2019-05-30 | 2021-08-10 | 努比亚技术有限公司 | Power amplifier control method, device and computer readable storage medium |
CN110430001B (en) * | 2019-08-30 | 2021-04-13 | 联想(北京)有限公司 | Carrier optimization method and system |
-
2019
- 2019-11-20 CN CN201911140390.1A patent/CN110839111B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110839111A (en) | 2020-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112119649B (en) | Method and terminal equipment for receiving signals | |
CN108347277B (en) | Antenna control method, antenna control device, storage medium and electronic equipment | |
CN106230492B (en) | Terminal antenna switching method and device and mobile terminal | |
CN108419281B (en) | Network switching method and device and communication terminal | |
CN111093293A (en) | Antenna signal processing method and device | |
CN111148137B (en) | Data transmission method and device, storage medium and terminal | |
US20230134357A1 (en) | Radio frequency resource allocation method and apparatus, and electronic device | |
WO2019052579A1 (en) | Method for adjusting transmission power of terminal, mobile terminal and storage device | |
CN105391468A (en) | Method and apparatus for controlling carrier aggregation function | |
CN110839111B (en) | Working mode switching method, device, equipment and storage medium | |
CN105515745A (en) | Radio-frequency link control method and device | |
CN105554824A (en) | Method and device for controlling radio frequency link | |
CN113225726B (en) | Terminal-based switching method and device, terminal and storage medium | |
CN112738861B (en) | Terminal signal reselection method, related device and computer storage medium | |
CN105511587A (en) | Radio frequency chain control method and device | |
CN106817748A (en) | Save the method and mobile terminal of user equipment power consumption | |
CN112351461B (en) | WiFi network switching method, wiFi network switching device, terminal and storage medium | |
CN108668319A (en) | Data transmission method, device and terminal | |
WO2023045502A1 (en) | Networking working parameter control method, terminal, and storage medium | |
CN115002884B (en) | Access point turn-off method and device for non-cellular network | |
CN105487637A (en) | Radio-frequency link control method and apparatus | |
Fowdur et al. | Statistical analysis of energy consumption of mobile phones for web-based applications in Mauritius | |
CN114125739B (en) | Network switching method and device, electronic equipment and storage medium | |
US20220141840A1 (en) | Coordinated scheduling method and related apparatus | |
CN113099509B (en) | Service selection method, device, terminal and storage medium |
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 |