CN109672242B - Terminal charging control method and device and storage medium - Google Patents

Terminal charging control method and device and storage medium Download PDF

Info

Publication number
CN109672242B
CN109672242B CN201811564247.0A CN201811564247A CN109672242B CN 109672242 B CN109672242 B CN 109672242B CN 201811564247 A CN201811564247 A CN 201811564247A CN 109672242 B CN109672242 B CN 109672242B
Authority
CN
China
Prior art keywords
current
battery
power
charging
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
Application number
CN201811564247.0A
Other languages
Chinese (zh)
Other versions
CN109672242A (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.)
Shenzhen Huaxi Investment Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201811564247.0A priority Critical patent/CN109672242B/en
Publication of CN109672242A publication Critical patent/CN109672242A/en
Application granted granted Critical
Publication of CN109672242B publication Critical patent/CN109672242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H02J7/0077
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a terminal charging control method, a terminal charging control device and a storage medium, which are applied to a mobile terminal, wherein the terminal charging control method comprises the following steps: when the battery of the mobile terminal is being charged, determining the current input power and output power of the battery; calculating rated maximum power according to rated capacity and rated maximum voltage of the battery; determining a target control instruction according to the rated maximum power, the input power and the output power; the charging operation is controlled according to the target control instruction, so that the terminal can be ensured to have higher charging speed, meanwhile, the battery is not damaged, the method is simple, the flexibility is high, and the service life of the terminal battery is prolonged.

Description

Terminal charging control method and device and storage medium
Technical Field
The present application relates to the field of mobile communications, and in particular, to a method and an apparatus for controlling terminal charging, and a storage medium.
Background
With the development of electronic technology and communication technology, the popularization of intelligent electronic products has increased to an unprecedented level, and more intelligent terminals or mobile terminals become an indispensable part of people's lives, such as smart phones, smart televisions, computers and the like.
At present, while the mobile terminal is popularized, the requirements of a user on the types and performance of functions of the mobile terminal are higher and higher, for example, a large-screen display function, an audio function and a photographing function become necessary functions of the mobile terminal, however, with the increase of functions and applications in the mobile terminal, the display screen is increased, the consumption speed of a power supply battery is higher and higher, the user may need to charge for many times in one day, and how to make the mobile terminal have a higher charging speed, but it is a key research point at present that the battery is not damaged.
Disclosure of Invention
The embodiment of the application provides a terminal charging control method, a terminal charging control device and a storage medium, which can ensure that a terminal can have a higher charging speed without damaging a battery.
The embodiment of the application provides a terminal charging control method, which is applied to a mobile terminal and comprises the following steps:
when a battery of the mobile terminal is charged, determining the current input power and the current output power of the battery;
calculating rated maximum power according to rated capacity and rated maximum voltage of the battery;
determining a target control instruction according to the rated maximum power, the input power and the output power;
and controlling the charging operation according to the target control instruction.
The embodiment of the present application further provides a terminal charging control device, including:
the mobile terminal comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for determining the current input power and the current output power of a battery of the mobile terminal when the battery is charged;
the calculation module is used for calculating rated maximum power according to rated capacity and rated maximum voltage of the battery;
the second determining module is used for determining a target control instruction according to the rated maximum power, the input power and the output power;
and the control module is used for controlling the charging operation according to the target control instruction.
The embodiment of the application also provides a computer-readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any one of the above terminal charging control methods.
The method, the device and the storage medium for controlling the terminal charging are applied to a mobile terminal, when a battery of the mobile terminal is charged, a current input power and a current output power of the battery are determined, a rated maximum power is calculated according to a rated capacity and a rated maximum voltage of the battery, a target control instruction is determined according to the rated maximum power, the input power and the output power, and charging operation is controlled according to the target control instruction, so that the terminal can be ensured to have a higher charging speed, the battery is not damaged, the method is simple, the flexibility is high, and the service life of the battery of the terminal is prolonged.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a terminal charging control method according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of step S103 according to an embodiment of the present application.
Fig. 3 is a schematic flowchart of step S104 according to an embodiment of the present application.
Fig. 4 is another schematic flow chart of step S104 according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a terminal charging control device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
A terminal charging control method is applied to a mobile terminal and comprises the following steps: when the battery of the mobile terminal is being charged, determining the current input power and output power of the battery; calculating rated maximum power according to rated capacity and rated maximum voltage of the battery; determining a target control instruction according to the rated maximum power, the input power and the output power; and controlling the charging operation according to the target control instruction.
As shown in fig. 1, fig. 1 is a schematic flowchart of a terminal charging control method provided in an embodiment of the present application, where the terminal charging control method is applied to a mobile terminal, and a specific flow may be as follows:
s101, when a battery of the mobile terminal is charged, determining the current input power and output power of the battery.
For example, the step S101 may specifically include:
acquiring the current charging current, charging voltage, output current and output voltage of the battery;
calculating the product of the charging current and the charging voltage to obtain input power;
and calculating the product of the output current and the output voltage to obtain the output power.
In this embodiment, during the charging process of the battery, the charging current, the charging voltage, the output current and the output voltage are not fixed and may change in real time, the charging current and the charging voltage depend on the stability of the provided power supply, and the output current and the output voltage are determined by the turn-on condition of the terminal application, the aging condition of the hardware device, and the like. Assuming that the input power is P1, the output power is P2, the instantaneous charging current is I1, the instantaneous charging voltage is V1, the instantaneous output current is I2, and the instantaneous output voltage is V2, P1 ═ I1 × V1, and P2 ═ I2 × V2.
And S102, calculating rated maximum power according to the rated capacity and the rated maximum voltage of the battery.
In this embodiment, the rated capacity and the rated maximum voltage are generally specified by the battery manufacturer, and these pieces of information are stored in a designated location in the mobile terminal when the mobile terminal is shipped from the factory. Assuming that the rated capacity is Q and the rated maximum voltage is Vmax, the rated maximum power Pmax is V max Q/h 1/1000, for example, if V max is 4.35V and C is 3000mAh, Pmax is 4.35V (3000mAh)/1000 1/h, where (3000mAh)/1000 represents the conversion of the battery capacity m Ah into Ah, and when 1/h is taken as a unit hour, P max is 13.05 (w).
And S103, determining a target control instruction according to the rated maximum power, the input power and the output power.
For example, referring to fig. 2, the step S103 may specifically include:
s1031, calculating the sum of the input power and the output power to obtain actual power;
s1032, judging whether the rated maximum power is larger than the actual power, if so, executing the following step S1033, otherwise, executing the following step S1034;
s1033, acquiring a first preset instruction as a target control instruction, wherein the first preset instruction is used for indicating that the charging speed is increased;
s1034, a second preset instruction is obtained to serve as a target control instruction, and the second preset instruction is used for indicating the running of the control terminal application.
In this embodiment, the first preset instruction and the second preset instruction are manually set in advance. When Pmax is larger than P, the current charging condition is completely in the maximum bearing range of the battery, the charging speed of the battery can be improved, when Pmax is smaller than or equal to P, the current charging condition is beyond the maximum bearing range of the battery, the battery can be damaged, and at the moment, the output condition of the battery can be controlled.
And S104, controlling the charging operation according to the target control instruction.
For example, when the target control command is a first preset command, please refer to fig. 3, where the step S104 may specifically include:
S1041A, calculating rated maximum current according to the rated maximum power and a preset resistance value of the battery;
S1042A, determining a target current according to the rated maximum current;
and S1043A, increasing the input power of the charging operation according to the target current.
In this embodiment, the predetermined resistance value is usually set by a battery manufacturer. When the charging speed of the battery needs to be increased, the bearable maximum charging current can be calculated, and the battery is charged through the charging current. In the actual operation process, the preset resistance value is set as R0, and the rated maximum current is set as Imax, so that the formula Imax can be used2R0 is Pmax and Imax is calculated, the target current is typically slightly less than Imax. Then, the current charging current of the battery is adjusted to be consistent with the target current so as to achieve the purpose of increasing the input power.
For example, when the target control instruction is a second preset instruction, referring to fig. 4, the step S104 may specifically include:
S1041B, detecting the current background running application and the background staying time of the background running application;
S1042B, determining a target application from the background running application according to the background staying time;
and S1043B, closing the target application to reduce the output power of the charging operation.
In this embodiment, generally, the longer the background staying time of a certain running application is, the more the user is represented to use the application infrequently, and the weaker the importance of the user is, at this time, it may be preferable to close such an application, for example, a running application whose background staying time exceeds a certain time, or a plurality of running applications whose background staying time is longest, as target applications, to close.
It can be known from the above description that the terminal charging control method provided in this embodiment is applied to a mobile terminal, and when a battery of the mobile terminal is being charged, a current input power and a current output power of the battery are determined, a rated maximum power is calculated according to a rated capacity and a rated maximum voltage of the battery, then a target control instruction is determined according to the rated maximum power, the input power and the output power, and a charging operation is controlled according to the target control instruction, so that the terminal can be ensured to have a faster charging speed without damaging the battery, the method is simple, the flexibility is high, and the service life of the battery of the terminal is prolonged.
The present embodiment will be further described from the perspective of a terminal charging control device that may be embodied as a separate entity, according to the methods described in the above embodiments.
Referring to fig. 5, fig. 5 specifically describes that the terminal charging control apparatus provided in the embodiment of the present application is applied to a mobile terminal, where the mobile terminal may include a mobile phone, a PC, a tablet computer, and the like.
The terminal charging control apparatus may include: a first determination module 10, a calculation module 20, a second determination module 30, and a control module 40, wherein:
(1) first determination module 10
A first determining module 10, configured to determine the current input power and output power of a battery of the mobile terminal when the battery is being charged.
For example, the first determining module 10 may specifically be configured to:
acquiring the current charging current, charging voltage, output current and output voltage of the battery;
calculating the product of the charging current and the charging voltage to obtain input power;
and calculating the product of the output current and the output voltage to obtain the output power.
In this embodiment, during the charging process of the battery, the charging current, the charging voltage, the output current and the output voltage are not fixed and may change in real time, the charging current and the charging voltage depend on the stability of the provided power supply, and the output current and the output voltage are determined by the turn-on condition of the terminal application, the aging condition of the hardware device, and the like. Assuming that the input power is P1, the output power is P2, the instantaneous charging current is I1, the instantaneous charging voltage is V1, the instantaneous output current is I2, and the instantaneous output voltage is V2, P1 ═ I1 × V1, and P2 ═ I2 × V2.
(2) Computing module 20
And the calculating module 20 is used for calculating the rated maximum power according to the rated capacity and the rated maximum voltage of the battery.
In this embodiment, the rated capacity and the rated maximum voltage are generally specified by the battery manufacturer, and these pieces of information are stored in a designated location in the mobile terminal when the mobile terminal is shipped from the factory. Assuming that the rated capacity is Q and the rated maximum voltage is Vmax, the rated maximum power Pmax is V max Q/h 1/1000, for example, if V max is 4.35V and C is 3000mAh, Pmax is 4.35V (3000mAh)/1000 1/h, where (3000mAh)/1000 represents the conversion of the battery capacity m Ah into Ah, and when 1/h is taken as a unit hour, P max is 13.05 (w).
(3) Second determination module 30
And a second determining module 30, configured to determine a target control command according to the rated maximum power, the input power, and the output power.
For example, the second determining module 30 is specifically configured to:
calculating the sum of the input power and the output power to obtain actual power;
judging whether the rated maximum power is larger than the actual power;
if so, acquiring a first preset instruction as a target control instruction, wherein the first preset instruction is used for indicating to improve the charging speed;
and if not, acquiring a second preset instruction as a target control instruction, wherein the second preset instruction is used for indicating the operation of the control terminal application.
In this embodiment, the first preset instruction and the second preset instruction are manually set in advance. When Pmax is larger than P, the current charging condition is completely in the maximum bearing range of the battery, the charging speed of the battery can be improved, when Pmax is smaller than or equal to P, the current charging condition is beyond the maximum bearing range of the battery, the battery can be damaged, and at the moment, the output condition of the battery can be controlled.
(4) Control module 40
And the control module 40 is used for controlling the charging operation according to the target control instruction.
For example, when the target control instruction is a first preset instruction, the control module 40 may specifically be configured to:
calculating rated maximum current according to the rated maximum power and a preset resistance value of the battery;
determining a target current according to the rated maximum current;
the input power of the charging operation is increased according to the target current.
In this embodiment, the predetermined resistance value is usually set by a battery manufacturer. When the charging speed of the battery needs to be increased, the bearable maximum charging current can be calculated, and the battery is charged through the charging current. In the actual operation process, the preset resistance value is set as R0, and the rated maximum current is set as Imax, so that the formula Imax can be used2R0 is Pmax and Imax is calculated, the target current is typically slightly less than Imax. Then, the current charging current of the battery is adjusted to be consistent with the target current so as to achieve the purpose of increasing the input power.
For example, when the target control instruction is a second preset instruction, the control module 40 may specifically be configured to:
detecting a current background running application and a background staying time of the background running application;
determining a target application from the background running application according to the background staying time;
the target application is shut down to reduce the output power of the charging operation.
In this embodiment, generally, the longer the background staying time of a certain running application is, the more the user is represented to use the application infrequently, and the weaker the importance of the user is, at this time, it may be preferable to close such an application, for example, a running application whose background staying time exceeds a certain time, or a plurality of running applications whose background staying time is longest, as target applications, to close.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above description, the terminal charging control apparatus provided in this embodiment is applied to a mobile terminal, when a battery of the mobile terminal is being charged, the first determining module 10 determines the current input power and output power of the battery, the calculating module 20 calculates the rated maximum power according to the rated capacity and the rated maximum voltage of the battery, then the second determining module 30 determines a target control instruction according to the rated maximum power, the input power and the output power, and the control module 40 controls the charging operation according to the target control instruction, so as to ensure that the terminal can have a faster charging speed without damaging the battery, and the method is simple and has high flexibility, which is beneficial to prolonging the service life of the battery of the terminal.
In addition, the embodiment of the application further provides a mobile terminal, and the mobile terminal can be a smart phone, a tablet computer and other devices. As shown in fig. 6, the mobile terminal 200 includes a processor 201, a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the mobile terminal 200, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 201 in the mobile terminal 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, thereby implementing various functions:
when the battery of the mobile terminal is being charged, determining the current input power and output power of the battery;
calculating rated maximum power according to rated capacity and rated maximum voltage of the battery;
determining a target control instruction according to the rated maximum power, the input power and the output power;
and controlling the charging operation according to the target control instruction.
Fig. 7 is a block diagram showing a specific structure of a mobile terminal according to an embodiment of the present invention, where the mobile terminal may be used to implement the terminal charging control method provided in the foregoing embodiment. The mobile terminal 300 may be a smart phone or a tablet computer.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile communications (GSM), enhanced Mobile Communication (e-ms) technology
Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n, the american institute of electrical and electronics engineers (ieeee), Voice over Internet Protocol (VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for mail, instant messaging, and short messaging, and any other suitable communication Protocol, and may even include those protocols not yet developed.
The memory 320 may be configured to store software programs and modules, such as program instructions/modules corresponding to the automatic light supplement system and method for front-facing camera photographing in the foregoing embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the function of automatic light supplement for front-facing camera photographing. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 320 may further include memory located remotely from the processor 380, which may be connected to the mobile terminal 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means 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 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 7, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The mobile terminal 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the mobile terminal 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, and microphone 362 may provide an audio interface between a user and the mobile terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 300.
The mobile terminal 300, which may assist the user in e-mail, web browsing, streaming media access, etc., through the transmission module 370 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 7 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the mobile terminal 300 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 380 is a control center of the mobile terminal 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The mobile terminal 300 also includes a power supply 390 (e.g., a battery) that provides power to the various components and, in some embodiments, may be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when the battery of the mobile terminal is being charged, determining the current input power and output power of the battery;
calculating rated maximum power according to rated capacity and rated maximum voltage of the battery;
determining a target control instruction according to the rated maximum power, the input power and the output power;
and controlling the charging operation according to the target control instruction.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, embodiments of the present invention provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in any one of the terminal charging control methods provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any terminal charging control method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any terminal charging control method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (8)

1. A terminal charging control method is applied to a mobile terminal, and is characterized by comprising the following steps:
when a battery of the mobile terminal is charged, determining the current input power and the current output power of the battery;
acquiring rated capacity and rated maximum voltage of the battery from the mobile terminal, and calculating rated maximum power of the battery according to the rated capacity and the rated maximum voltage;
calculating the sum of the input power and the output power to obtain actual power;
judging whether the rated maximum power is larger than the actual power;
if not, acquiring a second preset instruction as a target control instruction, wherein the second preset instruction is used for indicating the operation of the control terminal application;
detecting the current background running application and the background staying time of the background running application according to the second preset instruction;
taking the background running application with the background staying time length exceeding a preset time length as a target application;
shutting down the target application to reduce an output power of a charging operation.
2. The terminal charge control method according to claim 1, further comprising:
if so, acquiring a first preset instruction as a target control instruction, wherein the first preset instruction is used for indicating to improve the charging speed.
3. The terminal charging control method according to claim 2, wherein when the target control instruction is a first preset instruction, the terminal charging control method further comprises:
calculating rated maximum current according to the rated maximum power and a preset resistance value of the battery;
determining a target current according to the rated maximum current;
increasing the input power of the charging operation according to the target current.
4. The terminal charge control method according to any one of claims 1-3, wherein the determining the current input power and output power of the battery comprises:
acquiring the current charging current, charging voltage, output current and output voltage of the battery;
calculating the product of the charging current and the charging voltage to obtain input power;
and calculating the product of the output current and the output voltage to obtain the output power.
5. A terminal charging control device is applied to a mobile terminal and is characterized by comprising:
the mobile terminal comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for determining the current input power and the current output power of a battery of the mobile terminal when the battery is charged;
the calculation module is used for acquiring the rated capacity and the rated maximum voltage of the battery from the mobile terminal and calculating the rated maximum power of the battery according to the rated capacity and the rated maximum voltage;
the second determining module is used for calculating the sum of the input power and the output power to obtain actual power; judging whether the rated maximum power is larger than the actual power; if not, acquiring a second preset instruction as a target control instruction, wherein the second preset instruction is used for indicating the operation of the control terminal application;
the control module is used for detecting the current background running application and the background staying time of the background running application according to the second preset instruction; taking the background running application with the background staying time length exceeding a preset time length as a target application; shutting down the target application to reduce an output power of a charging operation.
6. The terminal charging control device according to claim 5, wherein the second determining module is further configured to: if so, acquiring a first preset instruction as a target control instruction, wherein the first preset instruction is used for indicating to improve the charging speed.
7. The terminal charging control device according to claim 6, wherein when the target control instruction is a first preset instruction, the control module is specifically configured to:
calculating rated maximum current according to the rated maximum power and a preset resistance value of the battery;
determining a target current according to the rated maximum current;
increasing the input power of the charging operation according to the target current.
8. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the terminal charging control method according to any one of claims 1 to 4.
CN201811564247.0A 2018-12-20 2018-12-20 Terminal charging control method and device and storage medium Active CN109672242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811564247.0A CN109672242B (en) 2018-12-20 2018-12-20 Terminal charging control method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811564247.0A CN109672242B (en) 2018-12-20 2018-12-20 Terminal charging control method and device and storage medium

Publications (2)

Publication Number Publication Date
CN109672242A CN109672242A (en) 2019-04-23
CN109672242B true CN109672242B (en) 2021-02-26

Family

ID=66145142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811564247.0A Active CN109672242B (en) 2018-12-20 2018-12-20 Terminal charging control method and device and storage medium

Country Status (1)

Country Link
CN (1) CN109672242B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448054B (en) * 2019-08-30 2023-02-17 北京小米移动软件有限公司 Charging method and device of mobile terminal, terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685895B (en) * 2008-09-22 2012-01-25 联想(北京)有限公司 Battery charging method and device
CN103533183A (en) * 2013-10-18 2014-01-22 陕西高新实业有限公司 Standby time extension method for mobile phone
US9654906B2 (en) * 2014-06-12 2017-05-16 Samsung Electronics Co., Ltd Method for processing data based on bluetooth protocol and electronic device thereof
CN108199438A (en) * 2018-01-24 2018-06-22 广东小天才科技有限公司 A kind of wireless charging method and receiving device

Also Published As

Publication number Publication date
CN109672242A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
WO2018129976A1 (en) Charging control method, apparatus and system, storage medium, and terminal
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
WO2019034110A1 (en) Button control method, storage medium, and smart terminal
CN111240451B (en) Heat dissipation method, electronic device and computer-readable storage medium
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN106532876B (en) Power supply control method and device and computer equipment
CN111443803A (en) Mode switching method, device, storage medium and mobile terminal
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN110851014B (en) Touch recognition method and device, storage medium and terminal equipment
CN110022600B (en) Driving current adjusting method and device, storage medium and mobile terminal
CN109672242B (en) Terminal charging control method and device and storage medium
CN112199005A (en) Content display method, content display device, storage medium and mobile terminal
CN109327866B (en) Flow control method, flow control device, mobile terminal and storage medium
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN112312542B (en) Ephemeris information collection method, device, storage medium and mobile terminal
CN111342519B (en) Charging control method and device, storage medium and mobile terminal
CN111596827B (en) Icon display control method and device, storage medium and mobile terminal
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN111083288B (en) Screen control method and device, terminal equipment and storage medium
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium
CN111273774A (en) Terminal device display screen control method and system, storage medium and terminal device
CN109995441B (en) Communication information processing method, device and storage medium
CN112433694B (en) Light intensity adjusting method and device, storage medium and mobile terminal
CN111026488B (en) Communication data saving method, device, terminal equipment and storage medium
CN111984107B (en) Method and device for processing power supply abnormity of terminal 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
TR01 Transfer of patent right

Effective date of registration: 20230404

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee after: Shenzhen Huaxi Investment Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right