CN111987764B - Discharge control method and device, storage medium and mobile terminal - Google Patents

Discharge control method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN111987764B
CN111987764B CN202010795740.4A CN202010795740A CN111987764B CN 111987764 B CN111987764 B CN 111987764B CN 202010795740 A CN202010795740 A CN 202010795740A CN 111987764 B CN111987764 B CN 111987764B
Authority
CN
China
Prior art keywords
battery
electric quantity
determining
value
target
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
CN202010795740.4A
Other languages
Chinese (zh)
Other versions
CN111987764A (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 Yongtai Suneng Technology Co ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202010795740.4A priority Critical patent/CN111987764B/en
Publication of CN111987764A publication Critical patent/CN111987764A/en
Application granted granted Critical
Publication of CN111987764B publication Critical patent/CN111987764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • 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
    • H01M10/441Methods for charging or discharging for several batteries or cells simultaneously or sequentially
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/10Control circuit supply, e.g. means for supplying power to the control circuit
    • 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

Abstract

The application discloses a discharge control method, a discharge control device, a storage medium and a mobile terminal, wherein the discharge control method comprises the following steps: obtaining a current electric quantity value of each battery in the plurality of batteries; determining a target electric quantity interval corresponding to each battery; determining a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery; and controlling the target battery to supply power to the mobile terminal. The mobile terminal is powered by selecting the target battery from the plurality of batteries to avoid repeated use of the single battery, so that the endurance capacity of the battery is prevented from being weakened, and the service life of the battery is prolonged.

Description

Discharge control method and device, storage medium and mobile terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a discharge control method and apparatus, a storage medium, and a mobile terminal.
Background
In recent years, mobile terminals such as mobile phones, tablets, and personal digital assistants have been favored by users for portability, and users can download frequently used application software into the mobile terminals for use.
In the related art, only one battery is provided in the mobile terminal, and when a user uses the mobile terminal for a long time, the battery power of the mobile terminal is also consumed quickly, so that the endurance of the battery is weakened due to long-term use, and the service life of the battery is further shortened.
Disclosure of Invention
The embodiment of the application provides a discharge control method, which can avoid the reduction of the endurance capacity of a battery, and further prolong the service life of the battery.
The embodiment of the application provides a discharge control method, which is applied to a mobile terminal with a battery pack, and is characterized in that the battery pack consists of a plurality of batteries and a controllable switch, and comprises the following steps:
obtaining a current electric quantity value of each battery in the plurality of batteries;
determining a target electric quantity interval corresponding to each battery;
determining a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery;
and controlling the target battery to supply power to the mobile terminal.
The embodiment of the present application further provides a discharge control device, which is applied to a mobile terminal having a battery pack, and is characterized in that the battery pack is composed of a plurality of batteries and a controllable switch, and includes:
the acquisition module is used for acquiring the current electric quantity value of each battery in the plurality of batteries;
the first determining module is used for determining a target electric quantity interval corresponding to each battery;
the second determination module is used for determining a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery;
and the power supply module is used for controlling the target battery to supply power to the mobile terminal.
An embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the discharge control method as described above.
The embodiment of the present application further provides a mobile terminal, where the mobile terminal includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the discharge control method described above by calling the computer program stored in the memory.
The discharge control method provided by the embodiment of the application comprises the following steps: obtaining a current electric quantity value of each battery in the plurality of batteries; determining a target electric quantity interval corresponding to each battery; determining a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery; and controlling the target battery to supply power to the mobile terminal. The mobile terminal is powered by selecting the target battery from the plurality of batteries to avoid repeated use of the single battery, so that the endurance capacity of the battery is prevented from being weakened, and the service life of the battery is prolonged.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a schematic flowchart of a first discharge control method according to an embodiment of the present disclosure.
Fig. 1b is a schematic diagram of connection between cells in a battery pack provided in an embodiment of the present application.
Fig. 2 is a schematic flowchart of a second discharge control method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a discharge control device according to an embodiment of the present application.
Fig. 4 is a specific 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. It is to be understood that the embodiments described are only a few embodiments of the present application and not all 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.
Referring to fig. 1a, fig. 1a is a first flowchart illustrating a discharge control method according to an embodiment of the present disclosure. The discharge control method includes:
step 101, obtaining a current electric quantity value of each battery in a plurality of batteries.
Referring to fig. 1b, fig. 1b is a schematic diagram illustrating connection between batteries in a battery pack according to an embodiment of the present disclosure. Among them, the battery pack for supplying power to the mobile terminal is a battery pack composed of a plurality of batteries connected in series, and fig. 1B illustrates the battery pack composed of a battery a, a battery B, and a battery C, and control switches (11, 12, 13, 14, 15, and 16). The positive pole of the battery A is connected with the positive pole 21 of the circuit board, the negative pole of each battery is connected with the negative pole 22 of the circuit board, and the single battery or a plurality of batteries can be controlled to supply power to the circuit board through the control switch.
In order to determine which battery or batteries are used to supply power to the mobile terminal, the current electric quantity value of each battery needs to be acquired, and then the battery for supplying power to the mobile terminal is selected based on the acquired current electric quantity value of each battery.
In some embodiments, the step of obtaining the current charge value of each of the plurality of batteries comprises:
(1) determining an initial electric quantity value, a discharge current value and a discharge time length of each battery in the plurality of batteries;
(2) determining an electric quantity consumption value of each battery based on the discharge current value and the discharge duration;
(3) and determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value.
The power consumption of each battery can be determined by obtaining the actual power supply time of each battery from the start to the present and the power supply current value of each battery and according to the formula, namely the battery capacity is equal to the power supply time multiplied by the power supply current value. And determining the electric quantity value of each battery recorded during starting or last shutdown as the initial electric quantity value of each battery during the current starting, and determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value.
Specifically, the manner for determining the current electric quantity value of each battery provided in this embodiment is not unique, and the current voltage value of each battery may also be obtained, and the current electric quantity value corresponding to the current voltage value is determined according to the preset mapping relationship between the voltage value and the electric quantity value; or integrating time according to the discharge current value of each battery to obtain an electric quantity consumption value, and then determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value. The specific determination method is not unique and is not limited herein.
And 102, determining a target electric quantity interval corresponding to each battery.
The target electric quantity interval is a time period with fastest electric quantity consumption, for example, when the battery a consumes 20-10% of electric quantity, the electric quantity consumption time is 10 minutes, and when the consumption time of other electric quantity intervals is greater than 10 minutes, the electric quantity interval of 10-20% is the target electric quantity interval of the battery a.
In some embodiments, before the step of determining the target electric quantity interval corresponding to each battery, the method further includes:
(1) dividing the electric quantity value of each battery into a plurality of electric quantity value intervals according to a preset rule;
(2) recording the power consumption duration of each battery in a plurality of electric quantity value intervals;
(3) and determining the electric quantity value interval with the shortest power consumption duration in each battery as a target electric quantity interval.
The target electric quantity interval of each battery can be determined automatically before the mobile terminal leaves a factory or after the mobile terminal is used for a period of time, the electric quantity of the batteries can be divided according to the electric quantity value of 10%, so that 10 intervals are divided, the power consumption duration of each battery in each interval is determined, and the interval with the shortest power consumption duration is determined as the target electric quantity interval.
In some embodiments, the step of recording the time duration of power consumption of each battery in a plurality of the electric quantity value intervals includes:
(1.1) detecting whether the mobile terminal is in a screen-off state;
and (1.2) when the mobile terminal is detected to be in the screen-off state, recording the power consumption duration of each battery in a plurality of electric quantity value intervals.
In order to ensure that the inaccuracy of recording the power consumption duration of each interval caused by the use of a user when a target electric quantity interval is determined can be avoided, whether the mobile terminal is in a screen-off state or whether an application program runs in a background can be detected, and when the mobile terminal is detected to be in the screen-off state or no application program runs in the background, the power consumption duration of each battery in the electric quantity value intervals can be recorded.
Step 103, determining a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery.
And determining the target battery by judging whether the current electric quantity value is in the target electric quantity interval or not.
In some embodiments, the step of determining a target battery from the plurality of batteries based on the current capacity value and the target capacity interval of each battery comprises:
(1) determining whether the current electric quantity value of each battery is in a corresponding target electric quantity interval;
(2) and determining the battery with the current electric quantity value in the corresponding target electric quantity interval as the target battery.
Wherein, the battery with the current electric quantity value in the target electric quantity interval can be determined as the target battery.
And 104, controlling a target battery to supply power to the mobile terminal.
After the target battery is determined, the target battery can be controlled to supply power to the mobile terminal by controlling a control switch in the battery pack.
In some embodiments, after the step of controlling the target battery to supply power to the mobile terminal, the method further includes:
(1) and returning to the step of acquiring the current electric quantity value of each battery in the plurality of batteries when the power supply duration of the target battery to the mobile terminal is detected to reach the preset power supply duration.
When the preset time length for supplying power to the mobile terminal through the target battery is detected, the current electric quantity value of each battery can be obtained again, and then the target battery is confirmed to supply power to the mobile terminal.
The discharge control method provided by the embodiment of the application comprises the following steps: obtaining a current electric quantity value of each battery in the plurality of batteries; determining a target electric quantity interval corresponding to each battery; determining a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery; and controlling the target battery to supply power to the mobile terminal. The mobile terminal is powered by selecting the target battery from the plurality of batteries to avoid repeated use of the single battery, so that the endurance capacity of the battery is prevented from being weakened, and the service life of the battery is prolonged.
In some embodiments, there is provided a discharge control method as shown in fig. 2, the discharge control method including:
step 201, determining an initial electric quantity value, a discharge current value and a discharge time length of each battery in a plurality of batteries
Referring to fig. 1b, fig. 1b is a schematic diagram illustrating connection between batteries in a battery pack according to an embodiment of the present disclosure. Among them, the battery pack for supplying power to the mobile terminal is a battery pack composed of a plurality of batteries connected in series, and fig. 1B illustrates the battery pack composed of a battery a, a battery B, and a battery C, and control switches (11, 12, 13, 14, 15, and 16). The positive pole of the battery A is connected with the positive pole 21 of the circuit board, the negative pole of each battery is connected with the negative pole 22 of the circuit board, and the single battery or a plurality of batteries can be controlled to supply power to the circuit board through the control switch.
In order to determine which battery or batteries are used to supply power to the mobile terminal, the current electric quantity value of each battery needs to be acquired, and then the battery for supplying power to the mobile terminal is selected based on the acquired current electric quantity value of each battery.
Step 202, determining an electric quantity consumption value of each battery based on the discharge current value and the discharge time length.
The power consumption of each battery can be determined by obtaining the actual power supply time of each battery from the start to the present and the power supply current value of each battery and according to the formula, namely the battery capacity is equal to the power supply time multiplied by the power supply current value. And determining the electric quantity value of each battery recorded during starting or last shutdown as the initial electric quantity value of each battery during the current starting, and determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value.
Step 203, determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value.
Specifically, the manner for determining the current electric quantity value of each battery provided in this embodiment is not unique, and the current voltage value of each battery may also be obtained, and the current electric quantity value corresponding to the current voltage value is determined according to the preset mapping relationship between the voltage value and the electric quantity value; or integrating time according to the discharge current value of each battery to obtain an electric quantity consumption value, and then determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value. The specific determination method is not unique and is not limited herein.
Step 204, dividing the electric quantity value of each battery into a plurality of electric quantity value intervals according to a preset rule.
The target electric quantity interval of each battery can be determined automatically before the mobile terminal leaves a factory or after the mobile terminal is used for a period of time, the electric quantity of the batteries can be divided according to the electric quantity value of 10%, so that 10 intervals are divided, the power consumption duration of each battery in each interval is determined, and the interval with the shortest power consumption duration is determined as the target electric quantity interval.
And step 205, detecting whether the mobile terminal is in a screen-off state.
In order to ensure that the inaccuracy of recording the power consumption duration of each interval caused by the use of a user when a target electric quantity interval is determined can be avoided, whether the mobile terminal is in a screen-off state or whether an application program runs in a background can be detected, and when the mobile terminal is detected to be in the screen-off state or no application program runs in the background, the power consumption duration of each battery in the electric quantity value intervals can be recorded.
And step 206, recording the power consumption duration of each battery in a plurality of electric quantity value intervals when the mobile terminal is detected to be in the screen-off state.
Step 207, determining the electric quantity value interval with the shortest power consumption duration in each battery as a target electric quantity interval.
And step 208, determining a target electric quantity interval corresponding to each battery.
The target electric quantity interval is a time period with fastest electric quantity consumption, for example, when the battery a consumes 20-10% of electric quantity, the electric quantity consumption time is 10 minutes, and when the consumption time of other electric quantity intervals is greater than 10 minutes, the electric quantity interval of 10-20% is the target electric quantity interval of the battery a.
Step 209 determines whether the current charge value of each battery is within the corresponding target charge interval.
And determining the target battery by judging whether the current electric quantity value is in the target electric quantity interval or not.
And step 210, determining the battery with the current electric quantity value in the corresponding target electric quantity interval in the plurality of batteries as the target battery.
Wherein, the battery with the current electric quantity value in the target electric quantity interval can be determined as the target battery.
And step 211, controlling the target battery to supply power to the mobile terminal.
In fig. 1B, when the target batteries are battery a, battery B and battery C, the control switches 11, 13, 15 and 16 can be opened, and the control switches 12 and 14 are closed; when the target batteries are battery a and battery B, control switches 11, 13, 14 and 15 may be opened, and control switches 12 and 16 may be closed; when the target batteries are battery a and battery C, the control switches 11, 14, 15 and 16 can be opened, and the control switches 12 and 13 are closed; when the target batteries are battery B and battery C, the control switches 12, 13, 15 and 16 can be opened, and the control switches 11 and 14 are closed; when the target battery is battery a, the control switches 11, 12, 13, 14 and 16 can be opened, and the control switch 15 is closed; when the target battery is battery B, the control switches 12, 13, 14 and 15 can be opened, and the control switches 11 and 16 are closed; when the target battery is battery C, control switches 12, 14, 15, and 16 may be opened, and control switches 11 and 13 may be closed. And the control switch is controlled to be in an open or closed state, so that each battery or a plurality of batteries in the battery pack supply power to the mobile terminal.
And 212, when the power supply duration of the target battery to the mobile terminal is detected to reach the preset power supply duration, returning to execute the step of acquiring the current electric quantity value of each battery in the plurality of batteries.
When the preset time length for supplying power to the mobile terminal through the target battery is detected, the current electric quantity value of each battery can be obtained again, and then the target battery is confirmed to supply power to the mobile terminal.
The discharge control method provided by the embodiment of the application comprises the following steps: obtaining a current electric quantity value of each battery in the plurality of batteries; determining a target electric quantity interval corresponding to each battery; determining a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery; and controlling the target battery to supply power to the mobile terminal. The mobile terminal is powered by selecting the target battery from the plurality of batteries to avoid repeated use of the single battery, so that the endurance capacity of the battery is prevented from being weakened, and the service life of the battery is prolonged.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a discharge control device according to an embodiment of the present disclosure. The discharge control device includes: acquisition module 31, first determination module 32, second determination module 33, and power supply module 34
The obtaining module 31 is configured to obtain a current electric quantity value of each battery in the plurality of batteries.
The first determining module 32 is configured to determine a target electric quantity interval corresponding to each battery.
The second determining module 33 is configured to determine a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery.
And the power supply module 34 is used for controlling the target battery to supply power to the mobile terminal.
In some embodiments, the obtaining module 31 includes:
the first determining submodule is used for determining an initial electric quantity value, a discharging current value and a discharging time length of each battery in the plurality of batteries;
the second determining submodule is used for determining the electric quantity consumption value of each battery based on the discharge current value and the discharge duration;
and the third determining submodule is used for determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value.
Based on the above method, the present invention also provides a storage medium having a plurality of instructions stored thereon, wherein the instructions are adapted to be loaded by a processor and to execute the discharge control method as described above.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Fig. 4 is a block diagram showing a specific structure of a terminal according to an embodiment of the present invention, where the terminal may be used to implement the discharge control method, the storage medium, and the terminal provided in the foregoing embodiments.
As shown in fig. 4, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 4 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuitry 110 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. The RF circuit 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with a second device over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the discharge control method, apparatus, storage medium and mobile terminal in the foregoing embodiments, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120, that is, implements the function of mutual chip identification. Memory 120 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 a second non-volatile solid-state memory. In some examples, memory 120 may be a storage medium as described above.
The input unit 130 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 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 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 131 may comprise two parts, a touch detection means and a touch controller.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and further, the touch-sensitive surface 131 may cover the display panel 141. The display interface of the mobile terminal in the above embodiment may be represented by the display unit 140, that is, the display content for displaying the shot may be displayed by the display unit 140.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and a second sensor. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As for the second sensor such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, the detailed description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200, which can help a user send and receive e-mails, browse web pages, access streaming media, etc., provides the user with wireless broadband internet access through the transmission module 170.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 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 the processor 180.
Specifically, the processor 180 includes: an Arithmetic Logic Unit (ALU), an application processor, a Global Positioning System (GPS) and a control and status Bus (Bus) (not shown).
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 180 via a power management system in some embodiments to provide management of power, and power consumption 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 re-power system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein.
Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
obtaining a current electric quantity value of each battery in the plurality of batteries;
determining a target electric quantity interval corresponding to each battery;
determining a target battery from the plurality of batteries based on the current electric quantity value and the target electric quantity interval of each battery;
and controlling the target battery to supply power to the mobile terminal.
In some embodiments, when determining a target battery from the plurality of batteries based on the current charge value and the target charge interval of each battery, the processor 380 may further execute the instructions of:
determining whether the current electric quantity value of each battery is in a corresponding target electric quantity interval;
and determining the battery with the current electric quantity value in the corresponding target electric quantity interval as the target battery.
In some embodiments, in obtaining the current charge value for each of the plurality of batteries, processor 380 may further execute instructions to:
determining an initial electric quantity value, a discharge current value and a discharge time length of each battery in the plurality of batteries;
determining an electric quantity consumption value of each battery based on the discharge current value and the discharge duration;
and determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value.
In some embodiments, before determining the target power interval corresponding to each battery, the processor 380 may further execute the following instructions:
dividing the electric quantity value of each battery into a plurality of electric quantity value intervals according to a preset rule;
recording the power consumption duration of each battery in a plurality of electric quantity value intervals;
and determining the electric quantity value interval with the shortest power consumption duration in each battery as a target electric quantity interval.
In some embodiments, when recording the power consumption time of each battery in a plurality of the power value intervals, the processor 380 may further execute the following instructions:
detecting whether the mobile terminal is in a screen-off state;
and when the mobile terminal is detected to be in the screen-off state, recording the power consumption duration of each battery in a plurality of electric quantity value intervals.
In some embodiments, after said controlling said target battery to power said mobile terminal, processor 380 may further execute instructions to:
and returning to the step of acquiring the current electric quantity value of each battery in the plurality of batteries when the power supply duration of the target battery to the mobile terminal is detected to reach the preset power supply duration.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The foregoing describes in detail a discharge control method, apparatus, storage medium, and mobile terminal provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and implementation manner of the present application, and the description of the foregoing embodiments is only used to help understand the technical solutions and core ideas of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (8)

1. A discharge control method is applied to a mobile terminal with a battery pack, and is characterized in that the battery pack consists of a plurality of batteries and a controllable switch, and comprises the following steps:
obtaining a current electric quantity value of each battery in the plurality of batteries;
dividing the electric quantity value of each battery into a plurality of electric quantity value intervals according to a preset rule;
recording the power consumption duration of each battery in a plurality of electric quantity value intervals;
determining the electric quantity value interval with the shortest power consumption duration in each battery as a target electric quantity interval;
determining a target electric quantity interval corresponding to each battery;
determining whether the current electric quantity value of each battery is in a corresponding target electric quantity interval;
determining a battery with a current electric quantity value in a corresponding target electric quantity interval in the plurality of batteries as a target battery;
and controlling the target battery to supply power to the mobile terminal.
2. The discharge control method according to claim 1, wherein the step of obtaining the current electric quantity value of each of the plurality of batteries comprises:
determining an initial electric quantity value, a discharge current value and a discharge time length of each battery in the plurality of batteries;
determining an electric quantity consumption value of each battery based on the discharge current value and the discharge duration;
and determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value.
3. The discharge control method according to claim 1, wherein the step of recording the time duration of power consumption of each battery in a plurality of the electric quantity value intervals comprises:
detecting whether the mobile terminal is in a screen-off state;
and when the mobile terminal is detected to be in the screen-off state, recording the power consumption duration of each battery in a plurality of electric quantity value intervals.
4. The discharge control method according to claim 1, further comprising, after the step of controlling the target battery to supply power to the mobile terminal:
and returning to the step of acquiring the current electric quantity value of each battery in the plurality of batteries when the power supply duration of the target battery to the mobile terminal is detected to reach the preset power supply duration.
5. A discharge control device is applied to a mobile terminal with a battery pack, wherein the battery pack consists of a plurality of batteries and a controllable switch, and comprises:
the acquisition module is used for acquiring the current electric quantity value of each battery in the plurality of batteries;
dividing the electric quantity value of each battery into a plurality of electric quantity value intervals according to a preset rule;
recording the power consumption duration of each battery in a plurality of electric quantity value intervals;
determining the electric quantity value interval with the shortest power consumption duration in each battery as a target electric quantity interval;
the first determining module is used for determining a target electric quantity interval corresponding to each battery;
the second determining module is used for determining whether the current electric quantity value of each battery is in the corresponding target electric quantity interval or not;
determining a battery with a current electric quantity value in a corresponding target electric quantity interval in the plurality of batteries as a target battery;
and the power supply module is used for controlling the target battery to supply power to the mobile terminal.
6. The discharge control apparatus of claim 5, wherein the obtaining module comprises:
the first determining submodule is used for determining an initial electric quantity value, a discharging current value and a discharging time length of each battery in the plurality of batteries;
the second determining submodule is used for determining the electric quantity consumption value of each battery based on the discharge current value and the discharge duration;
and the third determining submodule is used for determining the current electric quantity value of each battery according to the initial electric quantity value and the electric quantity consumption value.
7. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, which when run on a computer, causes the computer to execute the discharge control method according to any one of claims 1 to 4.
8. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, the memory having stored therein a computer program, the processor being configured to execute the discharge control method according to any one of claims 1 to 4 by calling the computer program stored in the memory.
CN202010795740.4A 2020-08-10 2020-08-10 Discharge control method and device, storage medium and mobile terminal Active CN111987764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010795740.4A CN111987764B (en) 2020-08-10 2020-08-10 Discharge control method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010795740.4A CN111987764B (en) 2020-08-10 2020-08-10 Discharge control method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN111987764A CN111987764A (en) 2020-11-24
CN111987764B true CN111987764B (en) 2022-03-25

Family

ID=73445353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010795740.4A Active CN111987764B (en) 2020-08-10 2020-08-10 Discharge control method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN111987764B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201323228Y (en) * 2008-12-22 2009-10-07 深圳华为通信技术有限公司 Multi-cell mobile terminal
EP2463981A1 (en) * 2009-08-04 2012-06-13 Nec Corporation Energy system
CN105022289A (en) * 2015-01-29 2015-11-04 艾尔珀因特株式会社 Power control method and apparatus for controlling power source circuit of portable terminal
JP2015195653A (en) * 2014-03-31 2015-11-05 Fdk株式会社 Battery system, charging/discharging control program, and charging/discharging control method
JP2018029029A (en) * 2016-08-19 2018-02-22 東洋ゴム工業株式会社 Manufacturing method of battery pack using used batteries and battery pack
CN107732991A (en) * 2016-08-11 2018-02-23 中兴通讯股份有限公司 Terminal charge control method, device and terminal
TW201807920A (en) * 2016-08-25 2018-03-01 太普電子(常熟)有限公司 Power supply control method for a multi-module parallel battery structure
CN108649658A (en) * 2018-06-14 2018-10-12 Oppo(重庆)智能科技有限公司 The switching method of more batteries, for electric installation, electronic equipment
CN108828445A (en) * 2018-04-16 2018-11-16 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN109962510A (en) * 2017-12-25 2019-07-02 富泰华工业(深圳)有限公司 Electronic equipment and power supply management-control method
CN110365081A (en) * 2019-07-23 2019-10-22 Oppo(重庆)智能科技有限公司 Charge control method, device, terminal and storage medium
CN110571887A (en) * 2019-09-23 2019-12-13 Oppo(重庆)智能科技有限公司 Battery selection method and device, storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110767946B (en) * 2018-07-27 2021-08-24 Oppo(重庆)智能科技有限公司 Method and device for controlling discharging of mobile terminal and mobile terminal
CN109388220B (en) * 2018-10-09 2020-11-03 维沃移动通信有限公司 Power supply management method and mobile terminal
CN110429678A (en) * 2019-08-05 2019-11-08 惠州Tcl移动通信有限公司 Mobile terminal method of supplying power to, system, storage medium and mobile terminal
CN110828924B (en) * 2019-11-18 2021-05-25 创普斯(深圳)新能源科技有限公司 Quick charging method and device for battery, terminal and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201323228Y (en) * 2008-12-22 2009-10-07 深圳华为通信技术有限公司 Multi-cell mobile terminal
EP2463981A1 (en) * 2009-08-04 2012-06-13 Nec Corporation Energy system
JP2015195653A (en) * 2014-03-31 2015-11-05 Fdk株式会社 Battery system, charging/discharging control program, and charging/discharging control method
CN105022289A (en) * 2015-01-29 2015-11-04 艾尔珀因特株式会社 Power control method and apparatus for controlling power source circuit of portable terminal
CN107732991A (en) * 2016-08-11 2018-02-23 中兴通讯股份有限公司 Terminal charge control method, device and terminal
JP2018029029A (en) * 2016-08-19 2018-02-22 東洋ゴム工業株式会社 Manufacturing method of battery pack using used batteries and battery pack
TW201807920A (en) * 2016-08-25 2018-03-01 太普電子(常熟)有限公司 Power supply control method for a multi-module parallel battery structure
CN109962510A (en) * 2017-12-25 2019-07-02 富泰华工业(深圳)有限公司 Electronic equipment and power supply management-control method
CN108828445A (en) * 2018-04-16 2018-11-16 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN108649658A (en) * 2018-06-14 2018-10-12 Oppo(重庆)智能科技有限公司 The switching method of more batteries, for electric installation, electronic equipment
CN110365081A (en) * 2019-07-23 2019-10-22 Oppo(重庆)智能科技有限公司 Charge control method, device, terminal and storage medium
CN110571887A (en) * 2019-09-23 2019-12-13 Oppo(重庆)智能科技有限公司 Battery selection method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111987764A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
EP3349323B1 (en) Terminal and method for charging the same
ES2753802T3 (en) Charging procedure, charging device and terminal
CN111158455A (en) Power consumption control method and device, storage medium and terminal
CN112540304A (en) Battery power management method, electronic device and computer storage medium
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN106532876B (en) Power supply control method and device and computer equipment
CN111008090A (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN109687922B (en) Signal monitoring method and device of wireless network, storage medium and mobile terminal
CN111443803A (en) Mode switching method, device, storage medium and mobile terminal
CN110708747A (en) Data transmission rate adjusting method, system, storage medium and mobile terminal
CN110429678A (en) Mobile terminal method of supplying power to, system, storage medium and mobile terminal
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN110489177B (en) Application control method and device, storage medium and terminal equipment
CN110336918B (en) Bright screen control method and device, storage medium and mobile terminal
CN109327866B (en) Flow control method, flow control device, mobile terminal and storage medium
CN111987764B (en) Discharge control method and device, storage medium and mobile terminal
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN109672242B (en) Terminal charging control method and device and storage medium
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
CN110708746B (en) Communication control method, communication control device, storage medium and mobile terminal
CN112256610B (en) Connection control method, system, storage medium and mobile terminal
CN111343325B (en) Port detection method and device, mobile terminal and storage medium
CN110572516B (en) Call control method, device, storage medium and terminal equipment
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
TR01 Transfer of patent right

Effective date of registration: 20230412

Address after: 201, 101, 301, 401, Taihao (Shenzhen) Industrial Park, No. 5, Guansheng Fifth Road, Luhu Community, Guanhu Street, Longhua District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Yongtai suneng Technology Co.,Ltd.

Address before: 6 / F, No. B5, Lane 999, Yangfan Road, Meixu street, Yinzhou District, Ningbo City, Zhejiang Province

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.