CN108848248B - Charging control method, power management integrated chip, terminal device and storage medium - Google Patents

Charging control method, power management integrated chip, terminal device and storage medium Download PDF

Info

Publication number
CN108848248B
CN108848248B CN201810413538.3A CN201810413538A CN108848248B CN 108848248 B CN108848248 B CN 108848248B CN 201810413538 A CN201810413538 A CN 201810413538A CN 108848248 B CN108848248 B CN 108848248B
Authority
CN
China
Prior art keywords
target device
terminal
power
charging system
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810413538.3A
Other languages
Chinese (zh)
Other versions
CN108848248A (en
Inventor
王文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810413538.3A priority Critical patent/CN108848248B/en
Publication of CN108848248A publication Critical patent/CN108848248A/en
Application granted granted Critical
Publication of CN108848248B publication Critical patent/CN108848248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge

Abstract

The invention provides a charging control method, a power management integrated chip, terminal equipment and a storage medium, wherein the method comprises the following steps: when a terminal is in a charging state, acquiring a service currently executed in the terminal; determining a target device supporting the currently executed service in the terminal; adjusting the power supply power of a charging system in the terminal for supplying power to the target device and the non-target device; the non-target device is other devices except the target device in the devices powered by the charging system. By the method, unnecessary current consumption can be reduced, and the interference of charging on the service being executed by the terminal can be reduced.

Description

Charging control method, power management integrated chip, terminal device and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a charging control method, a power management integrated chip, terminal equipment and a storage medium.
Background
In an actual application scenario, a user often encounters a situation that the terminal device is used while charging the terminal device, for example, playing a game, making a call, and the like in a charging process of a mobile phone, and the function of the mobile phone running is interfered when the mobile phone is used in the charging process of the mobile phone.
Taking the dialing of the phone in the charging process of the mobile phone as an example, if the phone comes in during the charging process of the mobile phone and the user does not want to stop charging the mobile phone, the user can answer the call during the charging process of the mobile phone. When a call is made in the charging process of the mobile phone, the charging of the mobile phone can cause interference to the call, so that the call quality is reduced.
Disclosure of Invention
The embodiment of the invention provides a charging control method, a power management integrated chip, terminal equipment and a storage medium, which can reduce the interference of charging on the service being executed by a terminal.
An embodiment of a first aspect of the present invention provides a charging control method, including:
when a terminal is in a charging state, acquiring a service currently executed in the terminal;
determining a target device supporting the currently executed service in the terminal;
adjusting the power supply power of a charging system in the terminal for supplying power to the target device and the non-target device; the non-target device is other devices except the target device in the devices powered by the charging system.
According to the charging control method, when the terminal is in a charging state, the service currently executed in the terminal is obtained, the target device supporting the service currently executed in the terminal is determined, and then the power supply power of a charging system in the terminal for supplying power to the target device and the non-target device is adjusted. Therefore, electricity taking of other devices except the target device to the charging system can be reduced, unnecessary current consumption is reduced, interference of charging on the service being executed by the terminal is reduced, and user experience is improved.
An embodiment of a second aspect of the present invention provides a power management integrated chip, including:
the terminal comprises a detection module, a processing module and a processing module, wherein the detection module is used for acquiring a currently executed service in the terminal when the terminal is in a charging state;
a determining module, configured to determine a target device in the terminal that supports the currently executed service;
the adjusting module is used for adjusting the power supply power of the charging system in the terminal for supplying power to the target device and the non-target device; the non-target device is other devices except the target device in the devices powered by the charging system.
According to the power management integrated chip provided by the embodiment of the invention, when the terminal is in the charging state, the currently executed service in the terminal is obtained, the target device supporting the currently executed service in the terminal is determined, and further, the power supply power for supplying power to the target device and the non-target device by a charging system in the terminal is adjusted. Therefore, electricity taking of other devices except the target device to the charging system can be reduced, unnecessary current consumption is reduced, interference of charging on the service being executed by the terminal is reduced, and user experience is improved.
An embodiment of a third aspect of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the charging control method according to the embodiment of the first aspect.
A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the charging control method according to the first aspect.
An embodiment of a fifth aspect of the present invention provides a computer program product, where instructions of the computer program product, when executed by a processor, implement the charging control method according to the embodiment of the first aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a charging control method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for obtaining a minimum operating current of a non-target device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another charging control method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating the current flow during the terminal charging process;
fig. 5 is a schematic structural diagram of a power management integrated chip according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another power management integrated chip according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of another power management integrated chip according to an embodiment of the present invention; and
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A charge control method, a power management integrated chip, a terminal device, and a storage medium according to embodiments of the present invention are described below with reference to the accompanying drawings.
In the process of charging the terminal device, if the service provided by the terminal device, such as making a call, chatting with a video, etc., is used, the charging behavior may cause interference to the executed service, and affect the use experience of the user.
In order to reduce the interference caused by the charging of the terminal device to the executed service, the conventional scheme mostly adopts a hardware shielding measure to reduce the interference. The following three common hardware shielding measures are used:
(1) electromagnetic Interference (EMI) ink is sprayed on a printed circuit flexible board which charges the whole Universal Serial Bus (USB), so that the Interference frequency cannot be leaked outwards;
(2) an exposed copper wire of a USB-charged printed circuit soft board is connected with a middle frame front shell of a terminal, so that the aim of grounding is fulfilled, and energy of interference frequency can be quickly led into the ground;
(3) the peripheral devices of the charging terminal of the Power Management Integrated Circuits (PMIC), such as the common diode nonlinear devices, increase the large capacitance to ground, so that the interference frequency generated by the diode can be quickly led to the ground to avoid leakage.
The traditional hardware shielding measures (spraying EMI printing ink and wrapping and grounding by copper foil) can prevent the interference frequency on the printed circuit soft board from leaking or intensively reflowing, guide the interference into the ground in time and avoid the leakage of the interference frequency. However, the adoption of the hardware shielding mode increases extra hardware cost, cannot ensure complete shielding and interference reduction, has requirements on the hardware structure, and cannot perform hardware shielding on the structure which cannot be sprayed with EMI ink or wrap a copper foil grounding area. In addition, when the interference is reduced by adopting a mode of quickly guiding the interference into the ground by tuning the capacitance value of the peripheral device of the PMIC charging end, the capacitance value of the capacitor is selected through experience, and the effect cannot be ensured.
In view of the above problems, an embodiment of the present invention provides a charging control method to reduce unnecessary current consumption and reduce interference of charging on a service being executed by a terminal.
Fig. 1 is a flowchart illustrating a charging control method according to an embodiment of the present invention, where the method may be executed by a terminal device, where the terminal device may be, for example, a mobile phone, a tablet computer, or another terminal that needs to be charged by using an adapter.
As shown in fig. 1, the charge control method may include the steps of:
step 101, when the terminal is in a charging state, acquiring a service currently executed in the terminal.
In this embodiment, the charging interface of the terminal may be monitored, and when it is monitored that the charging interface of the terminal is called, it may be determined that the terminal is currently in a charging state. At this time, for the terminal in the charging state, whether the service being executed exists in the terminal may be continuously detected, so as to determine whether other services, such as call, internet access, and the like, are being executed in the terminal charging process.
As an example, the currently executed task may be determined according to a program in the terminal, which is in the foreground, where the program in the foreground may be a system application, such as a call application, a browser of the system automation, a weather application, and the like, or an application installed by a user through self-downloading, such as a music application, a game application, an instant messaging software, and the like. For example, when the program running in the foreground is dialing, it may be determined that the service being executed is dialing; when the program running in the foreground is a camera, it can be determined that the service being executed is photographing.
Step 102, determining a target device supporting a currently executed service in the terminal.
In a terminal, each service needs to be supported by a corresponding hardware device, for example, the implementation of a telephone service needs to be supported by a microphone, an analog-to-digital converter and a Power Amplifier (PA), and a photographing service needs to be supported by an image sensor; the wireless internet function requires the support of a wireless WiFi module, and the like.
Therefore, in this embodiment, a target device supporting a currently executed service in the terminal may be determined according to the determined service being executed in the terminal.
And 103, adjusting the power supply power of the charging system in the terminal for supplying power to the target device and the non-target device.
The non-target device is other devices except the target device in the devices powered by the charging system. For example, the charging system supplies power to a microphone, an analog-to-digital converter, a PA, a wireless WiFi module, an image sensor, and a speaker, and the service currently being performed by the terminal is a telephone service, and since the telephone service is implemented by the support of the microphone, the analog-to-digital converter, and the PA, that is, the target device includes the microphone, the analog-to-digital converter, and the PA, the non-target device includes the wireless WiFi module, the image sensor, and the speaker.
In this embodiment, after the target device supporting the service being executed is determined, the power supply power of the charging system in the terminal for supplying power to the target device and the non-target device may be adjusted according to the determined target device.
Specifically, the basic normal operation of each device (i.e., each non-target device) except the target device in the terminal may be maintained only, so that the power taking of the charging system by the non-target device is reduced, unnecessary current consumption is reduced, and the energy generating the interference frequency is reduced without affecting the normal function of the non-target device. Alternatively, the unnecessary devices may be temporarily turned off to reduce the power draw of other devices to the charging system.
In the charging control method of this embodiment, when the terminal is in a charging state, the service currently being executed in the terminal is acquired, and the target device supporting the service currently being executed in the terminal is determined, so that the power supply power of the charging system in the terminal for supplying power to the target device and the non-target device is adjusted. Therefore, electricity taking of other devices except the target device to the charging system can be reduced, unnecessary current consumption is reduced, interference of charging on the service being executed by the terminal is reduced, and user experience is improved.
In order to more clearly describe a specific implementation process of adjusting the power supply power of the charging system in the terminal to supply power to the target device and the non-target device in the foregoing embodiment, three possible implementation manners are provided in the embodiments of the present invention.
As one of the possible implementations, the supply current of the charging system to power the non-target device may be reduced. In this embodiment, after the target device is determined, the supply current of the target device may be kept unchanged, and the supply currents of other devices except the target device may be reduced, so as to achieve the purpose of reducing interference.
Further, in a possible implementation manner of the embodiment of the present invention, before reducing the supply current of the charging system for supplying power to the non-target device, the minimum operating current of each non-target device may be determined first, so as to ensure normal operation of each non-target device. Fig. 2 is a flowchart illustrating a method for obtaining a minimum operating current of a non-target device according to an embodiment of the present invention.
As shown in fig. 2, obtaining the minimum operating current of each non-target device may include the following steps:
step 201, determining the lowest power consumption of each non-target device in the unit time corresponding to the terminal in the normal working state.
In this embodiment, in a state where the terminal normally operates, power consumption of each device in the terminal in a unit time (for example, 1 second) when the device is in the lowest operating mode may be obtained as power consumption of each device in the unit time. For example, for a display screen, the backlight power consumption per unit time corresponding to the lowest screen brightness of the display screen may be obtained as the lowest power consumption per unit time of the display screen. For devices without the lowest operating mode, the lowest power consumption can be determined by means of statistical analysis.
For example one, for each device, the power consumptions of a plurality of units of time may be obtained, and one minimum power consumption may be selected as the minimum power consumption of the device.
For example two, for each device, the power consumptions of a plurality of units of time may be obtained, and the average of the plurality of power consumptions may be calculated as the lowest power consumption of the device.
In this embodiment, the lowest power consumption of each device in the terminal in the unit time may be stored in the local memory, and after the target device is determined, the lowest power consumption of the other devices except the target device may be directly obtained from the local memory.
Step 202, determining the minimum working current corresponding to each non-target device according to the working voltage corresponding to each non-target device and the minimum power consumption in unit time.
In this embodiment, for each device other than the target device, the minimum operating current corresponding to the device may be determined according to the operating voltage of the device and the minimum power consumption per unit time. Since power is the product of voltage and current, and power consumption is defined as the difference between input power and output power, in this embodiment, the ratio of the lowest power consumption and the operating voltage in the unit time corresponding to the non-target device may be used as the minimum operating current of the non-target device.
And then, according to the minimum working current corresponding to the non-target device, reducing the power supply current of the charging system for supplying power to each non-target device, so that the charging system supplies power to each corresponding non-target device by using the minimum working current corresponding to each non-target device, and the interference on the service being executed is reduced.
In summary, by determining the minimum power consumption of each non-target device in the normal operating state of the terminal in unit time and then determining the minimum operating current corresponding to each non-target device according to the operating voltage and the minimum power consumption of each non-target device in unit time, a basis can be provided for the charging system to reduce the supply current of each non-target device, the normal operation of each non-target device is ensured, and the problem that each non-target device cannot normally operate due to too small supply current is avoided.
As one possible implementation manner, as shown in fig. 3, on the basis of the embodiment shown in fig. 1, step 103 may include the following steps:
step 301, determining the corresponding function of each non-target device.
Step 302, determining power adjustment levels respectively corresponding to the non-target devices according to the functions respectively corresponding to the non-target devices.
Each device has its own corresponding function, for example, the speaker is used for amplifying an audio signal, the microphone is used for acquiring an audio signal, the WiFi module is used for implementing a wireless internet access function, and the like.
For example, generally speaking, the image sensor can be used when taking a picture, the microphone and the speaker can be used when making a call or sending voice information and voice search, the WiFi module can be used when the user accesses the internet, and can also be used when the user performs video chat and voice search, therefore, for the image sensor, the microphone, the speaker and the WiFi module, the corresponding power adjustment level can be set from high to low as: image sensor-microphone, speaker-WiFi module.
And 303, adjusting the power supply current of the charging system for supplying power to the non-target device according to the power adjustment level respectively corresponding to each non-target device.
In this embodiment, it may be set that the higher the power adjustment level is, the larger the adjustment amplitude of the corresponding supply current is, the higher the power adjustment level is, the non-target devices of the image sensor-microphone and the speaker-WiFi module are sequentially set from high to low, the adjustment amplitude of the supply current of the image sensor is the largest, the microphone and the speaker are the next, the adjustment amplitude of the supply current of the WiFi module is the smallest, and then, the charging system supplies power to each non-target device according to the adjusted supply current.
In the charging control method of this embodiment, the functions of the non-target devices are determined, the corresponding power adjustment levels are determined according to the functions corresponding to the non-target devices, and then the power supply current supplied by the charging system to the non-target devices is adjusted according to the power adjustment levels corresponding to the non-target devices, so that the power supply current can be adjusted for the devices in a targeted manner, and the flexibility of adjusting the power supply current is improved.
As one possible implementation manner, when the supply current of the charging system in the terminal is adjusted to supply power to the target device and the non-target device, the duty ratio and/or the operating frequency of the voltage converter in the charging system, which supplies power to the target device and the non-target device, may be adjusted.
Since rated operating voltages of various devices in the terminal are different, a corresponding voltage converter is integrated in the PMIC for each device, and in this embodiment, the supply current of each device can be adjusted by adjusting the voltage duty cycle and/or the operating frequency. Specifically, for non-target devices, the duty cycle and/or operating frequency of the corresponding voltage converter may be adjusted down to reduce the supply current of the charging system to power the non-target devices. It should be noted that when the duty ratio and/or the operating frequency of the voltage converter of each non-target device is adjusted, it should be ensured that the normal operation of each non-target device is not affected.
By adjusting the duty ratio and/or operating frequency of the voltage converter supplying power to the target device and the non-target device, the supply current of each device can be adjusted to reduce the interference caused by the larger supply current of other devices to the service being executed.
In the embodiment of the present invention, the charging system may be a power management chip PMIC. A PMIC is usually integrated inside the terminal to manage the power states inside the terminal. For example, various sensors, power amplifiers, speakers, etc. used in the terminal are powered, and a battery of the terminal is charged. Because rated operating voltages of various devices are different, a plurality of switch circuits (DC/DC voltage converters) are integrated in the PMIC, and the switch circuits generate different frequency components in the opening and closing processes, usually, the frequency components of the frequency components are low, but the frequency components are frequency-doubled when passing through some non-linear devices or circuits on the periphery of the PMIC along with the output voltage of the PMIC, and the frequency components after frequency doubling can be accessed into the frequency band of a call or an internet, so as to cause interference to the call or the internet service.
When the terminal is charged by using the adapter, the PMIC is also responsible for supplying power to a PA (power amplifier) for making a call while charging a battery, and when the battery is charged, the frequency generated by current passing through a non-linear device and a circuit on the periphery of the PMIC can generate interference on conversation. In the process of terminal charging, except that the PA works, other devices of the system consume power, when other devices get power from the PMIC, the current passing through the peripheral nonlinear device and the circuit is also larger, but because a user needs to ensure the call quality when passing through the PMIC at the moment, in the embodiment, the current of other devices can be switched into a low-current mode or unnecessary devices are directly and temporarily closed under the condition of not influencing the normal work of other devices, so that the current obtained from the PMIC by other devices except the PA can be reduced, unnecessary current consumption is reduced, the current passing through the nonlinear device or the circuit is also reduced, the energy of interference frequency is reduced, and the purpose of reducing interference is achieved.
Fig. 4 is a schematic diagram of the current flow during the terminal charging process. As shown in fig. 4, the terminal adapter charges the terminal through the terminal charging interface, wherein the input voltage forms the input voltage of the PMIC after passing through the reverse protection circuit and the overvoltage protection, and a part of the voltage flowing into the PMIC flows out from the output terminal VBAT _ RST, and is sent to the battery through the switch circuit, and supplies power to the power amplifier PA. In addition to charging the battery and powering the PA, the voltage flowing into the PMIC may also have a portion flowing out of the output VPH _ PWR to power other components of the system, such as the baseband chip, display driver, WiFi module, etc. shown in fig. 4. The output VPH _ PWR is usually connected with more nonlinear devices and circuits, and the interference is larger. By adopting the charging control method of the embodiment, when the call service is executed in the terminal charging process, unnecessary current supply of the VPH _ PWR terminal can be reduced, so that the device connected with the VPH _ PWR terminal only maintains basic normal operation, the interference of current obtained by other devices from the PMIC to the call service is reduced, and after the call is finished, the power supply in the normal mode is recovered.
In order to implement the above embodiments, the present invention further provides a charging control apparatus.
Fig. 5 is a schematic structural diagram of a power management integrated chip according to an embodiment of the present invention.
As shown in fig. 5, the power management integrated chip 50 includes: a detection module 510, a determination module 520, and an adjustment module 530. Wherein the content of the first and second substances,
the detecting module 510 is configured to obtain a service currently executed in the terminal when the terminal is in a charging state.
A determining module 520, configured to determine a target device in the terminal that supports the currently executed service.
The adjusting module 530 is configured to adjust power supplied by the charging system in the terminal to the target device and the non-target device; the non-target device is other devices except the target device in the devices powered by the charging system.
As a possible implementation manner, the adjusting module 530 is specifically configured to adjust a duty cycle and/or an operating frequency of a voltage converter that supplies power to the target device and the non-target device in the charging system.
As a possible implementation manner, as shown in fig. 6, on the basis of the embodiment shown in fig. 5, the power management integrated chip 50 may further include:
and a minimum power consumption determining module 540, configured to determine minimum power consumption of each non-target device in a unit time corresponding to each non-target device in a normal operating state of the terminal.
The minimum current determining module 550 is configured to determine a minimum operating current corresponding to each non-target device according to the operating voltage corresponding to each non-target device and the minimum power consumption in unit time.
At this time, the adjusting module 530 is specifically configured to reduce the supply current of the charging system for supplying power to the non-target device. After the minimum current determining module 550 determines the minimum working current corresponding to each non-target device, the adjusting module 530 may reduce the power supply current for the charging system to supply power to each non-target device according to the minimum working current of each non-target device, so that the charging system supplies power to each corresponding non-target device with the minimum working current corresponding to each non-target device.
The minimum power consumption of each non-target device in the unit time corresponding to each non-target device in the normal working state of the terminal is determined, and then the minimum working current corresponding to each non-target device is determined according to the working voltage corresponding to each non-target device and the minimum power consumption in the unit time, so that a basis can be provided for a charging system to reduce the power supply current of each non-target device, the normal work of each non-target device is ensured, and the problem that each non-target device cannot work normally due to the fact that the power supply current is too small is avoided.
As a possible implementation manner, as shown in fig. 7, on the basis of the embodiment shown in fig. 5, the adjusting module 530 may include:
the determining unit 531 is configured to determine functions corresponding to the non-target devices, respectively.
An adjustment level determining unit 532, configured to determine power adjustment levels corresponding to the non-target devices according to the functions corresponding to the non-target devices, respectively.
The adjusting unit 533 is configured to adjust a supply current of the charging system for supplying power to the non-target device according to the power adjustment level corresponding to each non-target device.
The power supply current of the charging system for supplying power to the non-target device is adjusted according to the power adjustment level respectively corresponding to each non-target device by determining the function of each non-target device and determining the corresponding power adjustment level according to the function respectively corresponding to each non-target device, so that the power supply current of each device can be adjusted in a targeted manner, and the flexibility of power supply current adjustment is improved.
It should be noted that the foregoing explanation of the embodiment of the charging control method is also applicable to the charging control device of this embodiment, and the implementation principle is similar, and is not repeated here.
The charging control apparatus of this embodiment obtains a service currently being executed in the terminal when the terminal is in a charging state, and determines a target device supporting the service currently being executed in the terminal, thereby adjusting a power supply power of a charging system in the terminal to supply power to the target device and a non-target device. Therefore, electricity taking of other devices except the target device to the charging system can be reduced, unnecessary current consumption is reduced, interference of charging on the service being executed by the terminal is reduced, and user experience is improved.
In order to implement the above embodiments, the present invention further provides a terminal device.
Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 8, the terminal device 80 includes: the charging control method according to the foregoing embodiment is implemented by the processor 820 executing the programs, which include the memory 810, the processor 820 and the computer program 830 stored in the memory 810 and running on the processor 820.
In order to implement the above embodiments, the present invention also proposes a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the charging control method as described in the foregoing embodiments.
In order to implement the above embodiments, the present invention further provides a computer program product, wherein when the instructions in the computer program product are executed by a processor, the charging control method according to the foregoing embodiments is implemented.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. A charging control method is applied to a terminal and is characterized by comprising the following steps:
when a terminal is in a charging state, acquiring a service currently executed in the terminal;
determining a target device supporting the currently executed service in the terminal;
adjusting the power supply power of a charging system in the terminal for supplying power to the target device and the non-target device;
the non-target device is other devices except the target device in all the devices powered by the charging system;
the adjusting of the power supply power of the charging system in the terminal for supplying power to the target device and the non-target device includes: and reducing the power supply current of the charging system for supplying power to the non-target device according to the minimum working current corresponding to the non-target device.
2. The method of claim 1, wherein prior to reducing the supply current for the charging system to power the non-target device, further comprising:
determining the lowest power consumption of each non-target device in unit time corresponding to the terminal in a normal working state;
and determining the minimum working current corresponding to each non-target device according to the working voltage corresponding to each non-target device and the minimum power consumption in unit time.
3. The method of any one of claims 1-2, wherein the adjusting the power supplied by the charging system in the terminal to power the target device and the non-target device comprises:
determining the corresponding function of each non-target device;
determining power adjustment levels respectively corresponding to the non-target devices according to the functions respectively corresponding to the non-target devices;
and adjusting the power supply current of the charging system for supplying power to the non-target devices according to the power adjustment levels respectively corresponding to the non-target devices.
4. The method of any one of claims 1-2, wherein the adjusting the power supplied by the charging system in the terminal to power the target device and the non-target device comprises:
and adjusting the duty ratio and/or the working frequency of a voltage converter which respectively supplies power for the target device and the non-target device in the charging system.
5. A power management integrated chip, comprising:
the terminal comprises a detection module, a processing module and a processing module, wherein the detection module is used for acquiring a currently executed service in the terminal when the terminal is in a charging state;
a determining module, configured to determine a target device in the terminal that supports the currently executed service;
the adjusting module is used for adjusting the power supply power of the charging system in the terminal for supplying power to the target device and the non-target device; the non-target device is other devices except the target device in all the devices powered by the charging system;
the adjusting of the power supply power of the charging system in the terminal for supplying power to the target device and the non-target device includes: and reducing the power supply current of the charging system for supplying power to the non-target device according to the minimum working current corresponding to the non-target device.
6. The power management integrated chip of claim 5, further comprising:
the lowest power consumption determining module is used for determining the lowest power consumption of each non-target device in unit time corresponding to the terminal in a normal working state;
and the minimum current determining module is used for determining the minimum working current corresponding to each non-target device according to the working voltage corresponding to each non-target device and the minimum power consumption in unit time.
7. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the charging control method according to any one of claims 1 to 4 when executing the program.
8. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the charging control method according to any one of claims 1 to 4.
CN201810413538.3A 2018-05-03 2018-05-03 Charging control method, power management integrated chip, terminal device and storage medium Active CN108848248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810413538.3A CN108848248B (en) 2018-05-03 2018-05-03 Charging control method, power management integrated chip, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810413538.3A CN108848248B (en) 2018-05-03 2018-05-03 Charging control method, power management integrated chip, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN108848248A CN108848248A (en) 2018-11-20
CN108848248B true CN108848248B (en) 2020-07-31

Family

ID=64212597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810413538.3A Active CN108848248B (en) 2018-05-03 2018-05-03 Charging control method, power management integrated chip, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN108848248B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103840504A (en) * 2012-11-26 2014-06-04 纬创资通股份有限公司 Charging control method and mobile telephone
CN104022544A (en) * 2014-04-30 2014-09-03 深圳市中兴移动通信有限公司 Charging management method and device of mobile terminal
CN106208212A (en) * 2016-08-05 2016-12-07 北京小米移动软件有限公司 Terminal unit charge control method, device and terminal unit
CN106230038A (en) * 2016-07-26 2016-12-14 努比亚技术有限公司 A kind of charging method and terminal
CN106450533A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method, charging device and terminal equipment
CN106451612A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method and charging apparatus
JP2017099114A (en) * 2015-11-24 2017-06-01 キヤノン株式会社 Power supply device
CN107277249A (en) * 2017-06-20 2017-10-20 维沃移动通信有限公司 It is a kind of to reduce the method and mobile terminal of interference of call signal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160006272A1 (en) * 2014-07-03 2016-01-07 Apple Inc. Battery charger with gauge-based closed-loop control

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103840504A (en) * 2012-11-26 2014-06-04 纬创资通股份有限公司 Charging control method and mobile telephone
CN104022544A (en) * 2014-04-30 2014-09-03 深圳市中兴移动通信有限公司 Charging management method and device of mobile terminal
JP2017099114A (en) * 2015-11-24 2017-06-01 キヤノン株式会社 Power supply device
CN106230038A (en) * 2016-07-26 2016-12-14 努比亚技术有限公司 A kind of charging method and terminal
CN106208212A (en) * 2016-08-05 2016-12-07 北京小米移动软件有限公司 Terminal unit charge control method, device and terminal unit
CN106450533A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method, charging device and terminal equipment
CN106451612A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method and charging apparatus
CN107277249A (en) * 2017-06-20 2017-10-20 维沃移动通信有限公司 It is a kind of to reduce the method and mobile terminal of interference of call signal

Also Published As

Publication number Publication date
CN108848248A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN110060213B (en) Image processing method, image processing device, storage medium and electronic equipment
CN111179861B (en) Brightness calibration method and device, storage medium and terminal
KR101941510B1 (en) Method for saving power consumption and an electronic device thereof
CN111158455A (en) Power consumption control method and device, storage medium and terminal
US10720791B2 (en) Charging method, charging device and terminal
CN108834176B (en) Antenna signal interference processing method, antenna signal interference processing device, electronic device and storage medium
WO2020088184A1 (en) Electromagnetic interference control method and relevant product
CN114844182B (en) Charging circuit, charging method and electronic equipment
CN107734613B (en) Power management method and device
CN108848248B (en) Charging control method, power management integrated chip, terminal device and storage medium
CN110708747A (en) Data transmission rate adjusting method, system, storage medium and mobile terminal
CN113555917A (en) Electronic device, charging method thereof and readable storage medium
US20230115955A1 (en) Voice call method and apparatus and electronic device
CN110636526A (en) NFC communication detection method and device, computer readable storage medium and terminal
US11063507B2 (en) Electronic apparatus capable of suppressing negative effects of a switching operation of a power source and control method
CN114759782A (en) Control method and device of power supply circuit, electronic equipment and readable storage medium
CN112084084B (en) Electronic equipment, detection method and device
CN112821475B (en) Charging circuit, charging control method and device
CN106951128B (en) Method for adjusting driving signal, computer-readable storage medium and mobile terminal
CN111987764B (en) Discharge control method and device, storage medium and mobile terminal
CN110708746B (en) Communication control method, communication control device, storage medium and mobile terminal
CN114245026B (en) Shooting method, shooting device, computer equipment and storage medium
CN112256610B (en) Connection control method, system, storage medium and mobile terminal
CN114630237B (en) Audio device, control method and device thereof and electronic device
CN111542165B (en) Electrostatic protection system, method, electronic device 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