CN107846287B - Power supply control method and mobile terminal - Google Patents
Power supply control method and mobile terminal Download PDFInfo
- Publication number
- CN107846287B CN107846287B CN201711131878.9A CN201711131878A CN107846287B CN 107846287 B CN107846287 B CN 107846287B CN 201711131878 A CN201711131878 A CN 201711131878A CN 107846287 B CN107846287 B CN 107846287B
- Authority
- CN
- China
- Prior art keywords
- power supply
- mode
- direct current
- module
- mobile terminal
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a power supply control method and a mobile terminal. The power supply control method comprises the following steps: detecting whether a WiFi network is connected or not; if the WiFi network is connected, detecting the data transmission rate of the WiFi network; and if the data transmission rate of the WiFi network is greater than a preset threshold value, setting the working mode of the direct current-direct current power supply module to be a Pulse Width Modulation (PWM) mode or a direct-through BYPASS mode, and supplying power to the WiFi module. In the embodiment of the invention, in order to avoid the influence on the use of a user caused by capacitance sound generated when the WiFi module is in a working state, the power supply mode of the direct current-direct current power supply module is changed by monitoring the data transmission rate of the WiFi network connected with the mobile terminal to supply power to the WiFi module, so that the WiFi module works in a state with higher frequency, the ripple voltage is reduced, and the capacitance sound is reduced.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a power supply control method and a mobile terminal.
Background
At present, the hardware Circuit design layout of the mobile terminal is more and more compact, a few small-packaged ceramic capacitors with large capacitance values are often adopted in the hardware Circuit design process, but the inverse piezoelectric effect of the small-packaged ceramic capacitors with large capacitance values easily causes capacitance vibration, and drives a Printed Circuit Board (PCB) mainboard to vibrate to cause buzzing capacitance sound. Especially, when WIFI (WIreless-FIdelity, also called WIreless network) is uploaded or downloaded, ripple voltage with a frequency of 100Hz or higher is generated on the power network, the capacitance sound is large, and the user experience is affected in the audio-visual range of human ears.
Disclosure of Invention
The embodiment of the invention provides a power supply control method and a mobile terminal, and aims to solve the problem that capacitive sound is easy to occur when the mobile terminal is connected with a WiFi network in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a power supply control method is provided, where the mobile terminal includes a dc-dc power supply module and a WiFi module, and the dc-dc power supply module supplies power to the WiFi module. Wherein the method comprises the following steps:
detecting whether a WiFi network is connected or not;
if the WiFi network is connected, detecting the data transmission rate of the WiFi network;
and if the data transmission rate of the WiFi network is greater than a preset threshold value, setting the working mode of the direct current-direct current power supply module to be a Pulse Width Modulation (PWM) mode or a direct-through BYPASS mode, and supplying power to the WiFi module.
In a second aspect, a mobile terminal is provided, where the mobile terminal includes a dc-dc power supply module and a WiFi module, and the dc-dc power supply module supplies power to the WiFi module. Wherein the mobile terminal further comprises:
the first detection module is used for detecting whether a WiFi network is connected or not;
the second detection module is used for detecting the data transmission rate of the WiFi network when the WiFi network is connected;
and the setting module is used for setting the working mode of the direct current-direct current power supply module to be a Pulse Width Modulation (PWM) mode or a direct pass BYPASS mode when the data transmission rate of the WiFi network is greater than a preset threshold value, and supplying power to the WiFi module.
In a third aspect, a mobile terminal is provided, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the power supply control method according to any one of claims 1 to 4.
In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the power supply control method according to any one of claims 1 to 4.
In the embodiment of the invention, in order to avoid that the capacitance sound generated when the WiFi module is in the working state affects the use of a user, the power supply mode of the direct current-direct current power supply module is changed by monitoring the data transmission rate of the WiFi network to supply power to the WiFi module, so that the WiFi module works in a state with higher frequency, the ripple voltage is reduced, and the capacitance sound is reduced.
Drawings
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a power supply control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a ripple voltage provided by an embodiment of the present invention;
fig. 4 is a second schematic diagram of the ripple voltage according to the embodiment of the invention;
fig. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a second block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 shows a third block diagram of a mobile terminal according to an 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.
According to an aspect of an embodiment of the present invention, there is provided a power supply control method.
As shown in fig. 1, the mobile terminal includes a dc-dc power supply module 101 and a WiFi module 102, where the dc-dc power supply module 101 supplies power to the WiFi module 102. The operating modes of the dc-dc power supply module 101 generally include: a PFM (Pulse Frequency Modulation) mode, a PWM (Pulse width Modulation) mode, and a pass-through BYPASS mode. The power supply capacity under the three modes is from weak to strong in sequence: PFM mode, PWM mode, BYPASS mode. To save power, the dc-dc power supply module 101 generally operates in the PFM mode.
As shown in fig. 2, the power supply control method includes:
In the step, whether the WiFi module in the mobile terminal is in a working state or not is determined by judging whether the mobile terminal is connected with the WiFi network or not.
The data transmission rate described herein refers to an upload rate or a download rate when data transmission is performed through a WiFi network.
If the mobile terminal is detected to be connected with the WiFi, the WiFi module is in a working state. When the WiFi module is in a working state and data are uploaded or downloaded through the WiFi network, the instantaneous power consumption is large, and when the direct current-direct current power supply module works in a PFM mode, the working frequency is low, the input voltage adjusting speed is low, the current output capacity is weak, and low-frequency power supply ripples appear on a power supply network due to the WiFi working scene.
As shown in fig. 3, the abscissa represents time, and the ordinate represents ripple voltage. When the data is transmitted through the WiFi network, the output voltage (i.e., ripple voltage) of the dc-dc power supply module drops from point a to point B, and when the data is transmitted, the output voltage of the dc-dc power supply module rises back from point B to point C. As can be seen from the figure, WiFi operates with a ripple power supply with a frequency of 200Hz, and has a large amplitude and a low frequency, and is easily heard by a user within the audible range of human ears.
Therefore, in order to reduce the capacitive sound, when the WiFi module is detected to be in the working state, the data transmission rate of the WiFi network needs to be detected in real time or at regular time, so as to determine a scheme to be adopted for dealing with the capacitive sound according to the detected data transmission rate.
And step 203, if the data transmission rate of the WiFi network is greater than a predetermined threshold, setting the working mode of the dc-dc power supply module to a PWM mode or a BYPASS mode, and supplying power to the WiFi module.
The preset threshold is a value (e.g., 1Mbps) with a higher data transmission rate. When the data transmission rate is greater than the predetermined threshold value, the generated capacitive sound is easy to be heard by the user, so that the capacitive sound needs to be suppressed, and the scheme adopted by the embodiment of the invention is as follows: and setting the working mode of the DC-DC power supply module to be a PWM mode or a BYPASS mode with stronger power supply capacity. The working frequency in the PWM mode is generally above 1MHz, the working frequency per se is not in the audible range of human ears (20Hz-20kHz), and the working frequency in the BYPASS mode is not available. The voltage output capacity under the two working modes is large, the output ripple voltage is small, the generated capacitance sound is small and is difficult to be heard by a user, and therefore the purposes of reducing the capacitance sound and ensuring the user use experience can be achieved.
As shown in fig. 4, the abscissa represents time, and the ordinate represents ripple voltage. The point a to the point B indicate that the output voltage of the dc-dc power supply module (i.e., the ripple power supply) drops instantaneously when data is transmitted through the WiFi network, and the point B to the point C indicate that the output voltage of the dc-dc power supply module rises again after data transmission is completed. As can be seen from the figure, the frequency of the output voltage of the dc-dc power supply module is also 200Hz, but the ripple amplitude is very small, which does not easily cause the capacitor to vibrate and is not easily heard by the user.
Further, when the data transmission rate of the WiFi network is less than the predetermined threshold, the generated capacitance sound is also small and is not easy to be heard by the user because the data transmission rate is small and the ripple voltage is small. However, if the ear of the user is tightly attached to the mobile terminal (for example, when the user uses the earpiece mode to make a call), the capacitive sound is still very obviously heard by the user, in order to avoid the influence of the capacitive sound on the use of the user, when the data transmission rate of the WiFi network is smaller than a predetermined threshold value, it is also required to detect whether the earpiece of the mobile terminal is in a working state, and if the earpiece of the mobile terminal is in the working state, the working mode of the dc-dc power supply module is set to the PWM mode or the BYPASS mode, so as to reduce the capacitive sound.
It can be understood that, when the data transmission rate of the WiFi network is less than the predetermined threshold and the earpiece of the mobile terminal is not in an operating state, the operating mode of the dc-dc power supply module may be set to the PFM mode to save power.
Specifically, when the operating mode of the dc-dc power supply module is set to the PWM mode or the BYPASS mode, the following two modes may be respectively adopted for which mode is specifically set:
one mode can be pre-designated, such as a designated PWM mode, so that when it is detected that the data transmission rate of the WiFi network is greater than a predetermined threshold value, or that the data transmission rate of the WiFi network is less than a predetermined threshold value, but the mobile terminal is in an earpiece operating state, the operating mode of the dc-dc power supply module is set to the PWM mode. If the BYPASS mode is designated, the implementation process is similar to that of the PWM mode, and thus the detailed description is omitted here.
And secondly, the specific setting mode can be determined according to the load voltage of the WiFi network (namely the voltage of the WiFi module).
Wherein, the lower the load voltage, the power supply mode with stronger power supply capability is needed to supply power, so the power supply mode needed when different load voltages are determined by the following method:
detecting the load voltage of the WiFi network, and if the load voltage is lower than a first preset voltage value and higher than a second preset voltage value, setting the working mode of the direct current-direct current power supply module to be a PWM mode; and if the load voltage is lower than a second preset voltage value, setting the working mode of the direct current-direct current power supply module to be a BYPASS mode.
The second preset voltage value is smaller than the first preset voltage.
Further, when it is detected that the receiver of the mobile terminal is no longer in the working state and the data transmission rate of the WiFi network is less than a predetermined threshold value, or the mobile terminal is not connected to the WiFi network, the working mode of the dc-dc power supply module is set to the PFM mode, so as to achieve the purpose of saving power.
In summary, in the power supply control method provided in the embodiment of the present invention, in order to avoid that the capacitive sound generated when the WiFi module is in the working state affects the user, the power supply mode of the dc-dc power supply module is changed by monitoring the data transmission rate of the WiFi network connected to the mobile terminal to supply power to the WiFi module, so as to reduce the capacitive sound, specifically: when the data transmission rate of the WiFi network is detected to be larger than a preset threshold value, or when the data transmission rate of the WiFi network is detected to be smaller than the preset threshold value and the earphone of the mobile terminal is in a working state, the working mode of the direct current-direct current power supply module is set to be a PWM mode or a BYPASS mode, so that the WiFi module works in a state with higher frequency, ripple voltage is reduced, and capacitance sound is reduced. In addition, the technical scheme provided by the embodiment of the invention improves the problem of capacitance sound in a software mode under the condition of not changing hardware, and has the advantages of small change on the mobile terminal and low development cost.
According to another aspect of the embodiments of the present invention, a mobile terminal is provided. The mobile terminal comprises a direct current-direct current power supply module and a WiFi module, wherein the direct current-direct current power supply module supplies power for the WiFi module.
As shown in fig. 5, the mobile terminal further includes:
a first detecting module 501, configured to detect whether a WiFi network is connected.
The second detecting module 502 is configured to detect a data transmission rate of the WiFi network when the WiFi network is connected.
The setting module 503 is configured to set the operating mode of the dc-dc power supply module to a Pulse Width Modulation (PWM) mode or a direct BYPASS mode when the data transmission rate of the WiFi network is greater than a predetermined threshold value, so as to supply power to the WiFi module.
Further, the setting module 503 is further configured to: when the data transmission rate of the WiFi network is smaller than a preset threshold value, detecting whether a receiver of the mobile terminal is in a working state; when the receiver of the mobile terminal is in a working state, the working mode of the direct current-direct current power supply module is set to be a PWM mode or a BYPASS mode, and power is supplied to the WiFi module.
Further, the setting module 503 is further configured to: and when detecting that the receiver of the mobile terminal is no longer in the working state and the data transmission rate of the WiFi network is less than a preset threshold value, setting the working mode of the direct current-direct current power supply module to be a Pulse Frequency Modulation (PFM) mode to supply power to the WiFi module.
Further, as shown in fig. 6, the setting module 503 includes:
a detecting unit 5031, configured to detect a load voltage of the WiFi network.
The first setting unit 5032 is configured to set the operating mode of the dc-dc power supply module to the PWM mode when the load voltage is lower than a first preset voltage value and higher than a second preset voltage value.
The second preset voltage value is smaller than the first preset voltage value.
The second setting unit 5033 is configured to set the operating mode of the dc-dc power supply module to a BYPASS mode when the load voltage is lower than a second preset voltage value.
In order to avoid that capacitive sound generated when the WiFi module is in a working state affects the use of a user, the mobile terminal provided in the embodiment of the present invention changes the power supply mode of the dc-dc power supply module by monitoring the data transmission rate of the WiFi network connected to the mobile terminal, and supplies power to the WiFi module, thereby reducing the capacitive sound, specifically: whether the mobile terminal is connected with the WiFi network is detected through the first detection module 501, and when the first detection module 501 detects that the mobile terminal is connected with the WiFi network, the second detection module 502 detects the data transmission rate of the WiFi network connected with the mobile terminal. When the second detection module 502 detects that the data transmission rate of the WiFi network is greater than the predetermined threshold, or detects that the data transmission rate of the WiFi network is less than the predetermined threshold and the earpiece of the mobile terminal is in the working state, the setting module 503 sets the working mode of the dc-dc power supply module to the PWM mode or the BYPASS mode to supply power to the WiFi module, so that the WiFi module works in a state with a higher frequency, the ripple voltage is reduced, and the capacitance sound is reduced. In addition, the technical scheme provided by the embodiment of the invention improves the problem of capacitance sound in a software mode under the condition of not changing hardware, and has the advantages of small change on the mobile terminal and low development cost.
Fig. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, 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 terminal, a wearable device, a pedometer, and the like.
A processor 710 for detecting whether a WiFi network is connected; if the WiFi network is connected, detecting the data transmission rate of the WiFi network; and if the data transmission rate of the WiFi network is greater than a preset threshold value, setting the working mode of the direct current-direct current power supply module to be a Pulse Width Modulation (PWM) mode or a direct-through BYPASS mode, and supplying power to the WiFi module.
In the embodiment of the invention, in order to avoid that the capacitance sound generated when the WiFi module is in the working state affects the use of a user, the power supply mode of the direct current-direct current power supply module is changed by monitoring the data transmission rate of the WiFi network connected with the mobile terminal to supply power to the WiFi module, so that the WiFi module works in a state with higher frequency, the ripple voltage is reduced, and the capacitance sound is reduced. In addition, the technical scheme provided by the embodiment of the invention improves the problem of capacitance sound in a software mode under the condition of not changing hardware, and has the advantages of small change on the mobile terminal and low development cost.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 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. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 is moved 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 705 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 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 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 707 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 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts 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 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. 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, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 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 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 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 audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 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 operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 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 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the above power supply control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The 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 above power supply control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. 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 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 power supply control method is applied to a mobile terminal, the mobile terminal comprises a direct current-direct current power supply module and a WiFi module, the direct current-direct current power supply module supplies power for the WiFi module, and the method is characterized by comprising the following steps:
detecting whether a WiFi network is connected or not;
if a WiFi network is connected, detecting the data transmission rate of the WiFi network;
and if the data transmission rate of the WiFi network is greater than a preset threshold value, setting the working mode of the direct current-direct current power supply module to be a Pulse Width Modulation (PWM) mode or a direct-through BYPASS mode, and supplying power to the WiFi module.
2. The power supply control method according to claim 1, wherein after the step of detecting the data transmission rate of the WiFi network if the WiFi network is connected, the power supply control method further comprises:
if the data transmission rate of the WiFi network is smaller than a preset threshold value, detecting whether a receiver of the mobile terminal is in a working state;
and if the receiver of the mobile terminal is in a working state, setting the working mode of the direct current-direct current power supply module to be a PWM mode or a BYPASS mode, and supplying power to the WiFi module.
3. The power supply control method according to claim 2, wherein after the step of setting the operating mode of the dc-dc power supply module to the PWM mode or the BYPASS mode if the earpiece of the mobile terminal is in the operating state, the power supply control method further comprises:
and if the receiver of the mobile terminal is detected to be no longer in the working state and the data transmission rate of the WiFi network is smaller than a preset threshold value, setting the working mode of the direct current-direct current power supply module to be a Pulse Frequency Modulation (PFM) mode.
4. The power supply control method according to claim 1 or 2, wherein setting the operation mode of the dc-dc power supply module to a Pulse Width Modulation (PWM) mode or a through BYPASS mode includes:
detecting a load voltage of the WiFi network;
if the load voltage is lower than a first preset voltage value and higher than a second preset voltage value, setting the working mode of the DC-DC power supply module to be a PWM mode, wherein the second preset voltage value is smaller than the first preset voltage value;
and if the load voltage is lower than a second preset voltage value, setting the working mode of the direct current-direct current power supply module to be a BYPASS mode.
5. A mobile terminal comprises a DC-DC power supply module and a WiFi module, wherein the DC-DC power supply module supplies power for the WiFi module, and the mobile terminal is characterized by further comprising:
the first detection module is used for detecting whether a WiFi network is connected or not;
the second detection module is used for detecting the data transmission rate of the WiFi network when the WiFi network is connected;
and the setting module is used for setting the working mode of the direct current-direct current power supply module to be a Pulse Width Modulation (PWM) mode or a direct pass BYPASS mode when the data transmission rate of the WiFi network is greater than a preset threshold value, and supplying power to the WiFi module.
6. The mobile terminal of claim 5, wherein the setting module is further configured to:
when the data transmission rate of the WiFi network is smaller than a preset threshold value, detecting whether a receiver of the mobile terminal is in a working state; and when the receiver of the mobile terminal is in a working state, setting the working mode of the direct current-direct current power supply module to a PWM mode or a BYPASS mode to supply power for the WiFi module.
7. The mobile terminal of claim 6, wherein the setting module is further configured to:
and when detecting that the receiver of the mobile terminal is no longer in the working state and the data transmission rate of the WiFi network is less than a preset threshold value, setting the working mode of the direct current-direct current power supply module to be a Pulse Frequency Modulation (PFM) mode.
8. The mobile terminal of claim 5, wherein the setup module comprises:
the detection unit is used for detecting the load voltage of the WiFi network;
the first setting unit is used for setting the working mode of the direct current-direct current power supply module to a PWM mode when the load voltage is lower than a first preset voltage value and higher than a second preset voltage value, wherein the second preset voltage value is smaller than the first preset voltage value;
and the second setting unit is used for setting the working mode of the direct current-direct current power supply module to be a BYPASS mode when the load voltage is lower than a second preset voltage value.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the power supply control method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the power supply control method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711131878.9A CN107846287B (en) | 2017-11-15 | 2017-11-15 | Power supply control method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711131878.9A CN107846287B (en) | 2017-11-15 | 2017-11-15 | Power supply control method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107846287A CN107846287A (en) | 2018-03-27 |
CN107846287B true CN107846287B (en) | 2020-05-26 |
Family
ID=61679632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711131878.9A Active CN107846287B (en) | 2017-11-15 | 2017-11-15 | Power supply control method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107846287B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130092097A (en) * | 2012-02-10 | 2013-08-20 | 한국과학기술원 | Channel localization method for solving ripple effect problem in small-sized wifi networks and apparatus thereof |
CN103269159A (en) * | 2013-05-15 | 2013-08-28 | 西安交通大学 | Voltage mode control DC-DC mode automatic switching circuit |
CN103338560A (en) * | 2013-07-03 | 2013-10-02 | 深圳市通普科技有限公司 | LED supply circuit |
CN104009629A (en) * | 2013-02-21 | 2014-08-27 | 马维尔国际有限公司 | Configurable DC-DC converter |
CN105404913A (en) * | 2014-12-15 | 2016-03-16 | 珠海艾派克微电子有限公司 | Non-contact card and communication and power supply methods therefor |
CN205486179U (en) * | 2016-03-31 | 2016-08-17 | 上海孚恩电子科技有限公司 | Terminal is handed to hyperfrequency fingerprint |
CN206640571U (en) * | 2017-03-06 | 2017-11-14 | 上海岳冉信息科技有限公司 | Support the portable identification identification terminal of real-time intercommunication |
-
2017
- 2017-11-15 CN CN201711131878.9A patent/CN107846287B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130092097A (en) * | 2012-02-10 | 2013-08-20 | 한국과학기술원 | Channel localization method for solving ripple effect problem in small-sized wifi networks and apparatus thereof |
CN104009629A (en) * | 2013-02-21 | 2014-08-27 | 马维尔国际有限公司 | Configurable DC-DC converter |
CN103269159A (en) * | 2013-05-15 | 2013-08-28 | 西安交通大学 | Voltage mode control DC-DC mode automatic switching circuit |
CN103338560A (en) * | 2013-07-03 | 2013-10-02 | 深圳市通普科技有限公司 | LED supply circuit |
CN105404913A (en) * | 2014-12-15 | 2016-03-16 | 珠海艾派克微电子有限公司 | Non-contact card and communication and power supply methods therefor |
CN205486179U (en) * | 2016-03-31 | 2016-08-17 | 上海孚恩电子科技有限公司 | Terminal is handed to hyperfrequency fingerprint |
CN206640571U (en) * | 2017-03-06 | 2017-11-14 | 上海岳冉信息科技有限公司 | Support the portable identification identification terminal of real-time intercommunication |
Also Published As
Publication number | Publication date |
---|---|
CN107846287A (en) | 2018-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108347759B (en) | Anti-interference method of flexible screen and mobile terminal | |
CN110890897B (en) | Power supply circuit, power supply method and electronic equipment | |
US11366510B2 (en) | Processing method for reducing power consumption and mobile terminal | |
CN111092621B (en) | Radio frequency circuit, control method and electronic equipment | |
CN108494030B (en) | Wireless charging method, terminal and transmitting terminal equipment | |
CN108234727B (en) | Noise reduction method, mobile terminal and computer readable storage medium | |
CN109739394B (en) | SAR value processing method and mobile terminal | |
CN109905812B (en) | Input power control method and device and terminal equipment | |
CN110045807B (en) | Voltage control method and terminal | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN109888928B (en) | Terminal and wireless charging control method | |
CN111443815A (en) | Vibration reminding method and electronic equipment | |
CN111225315B (en) | Audio playing device, audio playing method and electronic equipment | |
CN111614329B (en) | Power amplifier, electronic equipment, voltage control method and device | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
CN111240451B (en) | Heat dissipation method, electronic device and computer-readable storage medium | |
CN109451146B (en) | Vibration processing method and terminal | |
CN108924319B (en) | Proximity detection method and mobile terminal | |
CN107769324B (en) | Charging method, charger, mobile terminal and server | |
CN109270352B (en) | Amplitude adjusting method and sound generating device | |
CN109067429B (en) | Control method and terminal equipment | |
CN107743174B (en) | Clipping judgment method of sound signal and mobile terminal | |
CN107770811B (en) | Data processing method, mobile terminal and computer readable storage medium | |
CN111510075B (en) | Voltage adjustment method and device of power amplifier and electronic equipment |
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 |