CN106331220B - Terminal and current control method and device thereof - Google Patents

Terminal and current control method and device thereof Download PDF

Info

Publication number
CN106331220B
CN106331220B CN201510351065.5A CN201510351065A CN106331220B CN 106331220 B CN106331220 B CN 106331220B CN 201510351065 A CN201510351065 A CN 201510351065A CN 106331220 B CN106331220 B CN 106331220B
Authority
CN
China
Prior art keywords
current
terminal
module
application
power supply
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
CN201510351065.5A
Other languages
Chinese (zh)
Other versions
CN106331220A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510351065.5A priority Critical patent/CN106331220B/en
Priority to PCT/CN2015/085068 priority patent/WO2016206154A1/en
Publication of CN106331220A publication Critical patent/CN106331220A/en
Application granted granted Critical
Publication of CN106331220B publication Critical patent/CN106331220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Secondary Cells (AREA)

Abstract

The invention discloses a terminal and a current control method and a current control device thereof, wherein the control process comprises the following steps: acquiring a current output value of a power supply module of a terminal; then, when the current output value is larger than a current management threshold value, the current demand condition of the terminal is obtained; controlling the output current of the terminal according to the current demand condition; the power module is not directly pulled to be protected after the current output value of the terminal power supply module is detected to be larger than the current management threshold value, so that the problem that the battery is pulled to be protected by instant current to cause crash can be avoided, and the satisfaction degree of user experience is improved.

Description

Terminal and current control method and device thereof
Technical Field
The invention relates to the field of terminals, in particular to a terminal and a current control method and device thereof.
Background
The existing lithium batteries have certain charge and discharge protection current, such as default maximum discharge current of 5.5A used in some terminals, and delay of 96 ms. This means that when the battery is discharged at a maximum current of 5.5A and lasts 96ms later, the battery enters a protection mechanism, the battery is locked, and then the battery is halted, and a charger is required to be inserted for activation to a certain extent.
Meanwhile, the development of the intelligent terminal can run more and more programs at the same time, and has a parallel processing mechanism, so that many large-scale applications can be processed in parallel, for example, data can be received while a video call is carried out, videos can be minimized while the videos are watched, and the videos can be photographed at the same time. And along with the development of the 4G network, the popularization rate is higher and higher, the data flow is increased, more current is consumed to a certain extent, even the existing dual-card mobile phone generally exists, dual-card standby particularly dual-card bi-pass exists, and the use current is further increased. The current terminal has a plurality of faults of dead halt caused by the fact that a battery is pulled to be protected due to overlarge instantaneous current; and requires the user to reinsert the charger for activation. But in this case it is not a substantial battery short circuit and no discharge protection is required.
Disclosure of Invention
The invention provides a terminal and a current control method and device thereof, and aims to solve the problems that the conventional terminal current protection mechanism can pull and protect a battery when the instantaneous current is too large, so that the problem of dead halt is caused, and the user experience satisfaction degree is poor.
In order to solve the above technical problem, the present invention provides a terminal current control method, including:
acquiring a current output value of a power supply module of a terminal;
when the current output value is larger than a current management threshold value, acquiring the current demand condition of the terminal;
and controlling the output current of the terminal according to the current demand condition.
In an embodiment of the present invention, before acquiring the current demand condition of the terminal, the method further includes:
acquiring a current protection parameter value of the power supply module;
judging whether the protection parameter value is larger than a protection parameter threshold value; and if not, acquiring the current demand condition of the terminal.
In an embodiment of the present invention, if the protection parameter value is less than or equal to the protection parameter threshold, the current application of the terminal is regulated.
In an embodiment of the present invention, the regulating the current application of the terminal includes:
determining a regulated one of the applications;
limiting resources occupied by the regulated application or closing the regulated application.
In an embodiment of the present invention, the protection parameter value includes a power supply module temperature value and/or a power supply module pressure value.
In an embodiment of the present invention, acquiring the current demand condition of the terminal includes:
acquiring the current running application condition of the terminal;
and judging whether the terminal has a high current requirement or not according to the application condition.
In an embodiment of the present invention, controlling the output current of the terminal according to the current demand condition includes:
when judging that the terminal has a current requirement of large current according to the application condition, increasing the current management threshold;
and when judging that the terminal does not have a large current requirement currently according to the application condition, controlling the power supply module.
In an embodiment of the present invention, the controlling the power supply module includes: and switching off the power supply module or limiting the output current of the power supply module.
In order to solve the above problem, the present invention also provides a terminal current control device, including:
the current detection module is used for acquiring the current output value of the power supply module of the terminal;
the demand acquisition module is used for acquiring the current demand condition of the terminal when the current output value is greater than a current management threshold value;
and the main control module is used for controlling the output current of the terminal according to the current demand condition.
In an embodiment of the invention, the device further comprises a parameter acquisition module and a judgment module;
the parameter acquisition module is used for acquiring the current protection parameter value of the power supply module;
the judging module is used for judging whether the protection parameter value is larger than a protection parameter threshold value; if not, the current detection module is informed to acquire the current demand condition of the terminal.
In an embodiment of the present invention, the terminal further includes a regulating module, configured to regulate a current application of the terminal when the protection parameter value is less than or equal to the protection parameter threshold value.
In an embodiment of the present invention, the requirement obtaining module includes an application obtaining sub-module and a processing sub-module;
the application acquisition submodule is used for acquiring the current running application condition of the terminal;
and the processing submodule is used for judging whether the terminal has a high current requirement or not according to the application condition.
In an embodiment of the present invention, the main control module includes a threshold adjustment sub-module and a current regulation sub-module;
the threshold adjusting submodule is used for increasing the current management threshold when the processing submodule judges that the terminal has a current large current demand according to the application condition;
and the current control submodule is used for controlling the power supply module when the processing submodule judges that the terminal does not have a large current demand currently according to the application condition.
In order to solve the above problem, the present invention also provides a terminal including the terminal current control device as described above.
The invention has the beneficial effects that:
the terminal and the current control method and the current control device thereof provided by the invention have the following control processes: acquiring a current output value of a power supply module of a terminal; then, when the current output value is larger than a current management threshold value, the current demand condition of the terminal is obtained; controlling the output current of the terminal according to the current demand condition; the power module is not directly pulled to be protected after the current output value of the terminal power supply module is detected to be larger than the current management threshold value, so that the problem that the battery is pulled to be protected by instant current to cause crash can be avoided, and the satisfaction degree of user experience is improved.
Drawings
Fig. 1 is a schematic flow chart of a terminal current control method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal current control device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to a third embodiment of the present invention;
fig. 4 is a schematic flow chart of a terminal current control process according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
The first embodiment is as follows:
referring to fig. 1, the method for controlling a terminal current provided in this embodiment includes:
step 101: acquiring a current output value of a power supply module of a terminal;
step 102: when the current output value is larger than the current management threshold value, the current demand condition of the terminal is obtained; the current management threshold value can be flexibly set according to different network conditions, different configurations of the terminal and other factors;
step 103: and controlling the output current of the terminal according to the current demand condition.
It can be seen that, in this embodiment, when it is detected that the current output value of the terminal power supply module is greater than the current management threshold, the power supply module is not immediately pull-protected, but the current demand condition of the terminal is further acquired, so that a fault that a battery is pulled to be protected by an instantaneous current to cause a dead halt can be avoided.
Before the current demand condition of the terminal is obtained in the step 102, the method further includes:
acquiring a current protection parameter value of a power supply module;
judging whether the protection parameter value is larger than a protection parameter threshold value; if so, regulating the current application of the terminal; and if not, acquiring the current demand condition of the terminal.
The regulating the current application of the terminal comprises the following steps:
determining a regulated application in the current running application of the terminal;
limiting the resources occupied by the regulated application or shutting down the regulated application.
In this embodiment, the rule for determining the managed application of the application currently running in the terminal may be set according to a specific application or a requirement. For example, the application is determined according to the priority level of each application, or randomly selected, or selected from the applications currently running in the background, or selected according to the time sequence of the opening of each application, and the like.
In step 101, the output current of the terminal power supply module (for example, a battery) may be obtained by detecting and accumulating the current flowing out of the power supply module in real time.
The step 102 of obtaining the current demand condition of the terminal includes:
acquiring the current running application conditions of the terminal, including foreground and background running applications;
and judging whether the terminal has a high current requirement or not according to the application condition. Specifically, whether the terminal has a large current demand can be judged according to the number of currently running applications, and whether the terminal has the large current demand can also be judged according to factors such as the types of the running applications and the historical power consumption. For example:
whether to download other transmission services of big data and the like when the video application is started;
the multi-card multi-standby terminal simultaneously runs a large game under the condition of weak network signals;
when the flashlight is turned on, bursting burst of GSM;
and large applications are added on the premise that N programs are run in the background.
The large current in this embodiment means that the demand is larger than the current management threshold set at present.
In step 103, the controlling the output current of the terminal according to the current demand condition includes:
when the current large current requirement of the terminal is judged according to the obtained application condition, the current management threshold value is increased; the specific increasing amount can be specific according to the current application situation, can also be preset, or can be appropriately set according to the maximum limit of the power supply module as long as the maximum limit is not exceeded;
and when the current terminal does not have a large current demand according to the application condition, the power supply module is controlled, wherein the control can be to turn off the power supply module or limit the output current of the power supply module, for example, to reduce the output current.
Example two:
referring to fig. 2, the terminal current control apparatus provided in this embodiment includes:
the current detection module 1 is used for acquiring the current output value of a power supply module of the terminal;
the demand acquisition module 2 is used for acquiring the current demand condition of the terminal when the current output value is greater than the current management threshold value; the current management threshold value can be flexibly set according to different network conditions, different configurations of the terminal and other factors;
the main control module 3 is used for controlling the output current of the terminal according to the current demand condition; the power module is not immediately pulled for protection, but the current demand condition of the terminal is further acquired, so that the fault that the battery is pulled for protection by instant current to cause dead halt can be avoided.
The terminal current control device also comprises a parameter acquisition module 4, a judgment module 5 and a control module 6;
the parameter obtaining module 4 is used for obtaining a current protection parameter value of the power supply module;
the judging module 5 is used for judging whether the protection parameter value is larger than the protection parameter threshold value; if not, the requirement obtaining module 2 is informed to obtain the current requirement condition of the terminal; otherwise, the control module 6 is notified to control the current application of the terminal. The specific way of performing the control includes:
the control module 6 determines the controlled application in the current running application of the terminal; the rule for determining the managed application of the application currently running in the terminal may be set according to a specific application or requirement. For example, the application is determined according to the priority level of each application, or randomly selected, or selected from the applications currently running in the background, or selected according to the time sequence of the opening of each application, and the like.
The policing module 6 limits the resources occupied by the policed application or closes the policed application.
The demand acquisition module 2 of the terminal current control device comprises an application acquisition submodule and a processing submodule;
the application acquisition submodule is used for acquiring the current running application condition of the terminal;
and the processing submodule is used for judging whether the terminal has a high-current requirement or not according to the application condition. Specifically, whether the terminal has a large current demand can be judged according to the number of currently running applications, and whether the terminal has the large current demand can also be judged according to factors such as the types of the running applications and the historical power consumption.
The main control module 3 comprises a threshold value adjusting submodule and a current control submodule;
the threshold adjusting submodule is used for increasing the current management threshold when the processing submodule judges that the terminal has the current large current requirement according to the application condition; the specific increasing amount can be specific according to the current application situation, can also be preset, or can be appropriately set according to the maximum limit of the power supply module as long as the maximum limit is not exceeded;
and the current control submodule is used for controlling the power supply module when the processing submodule judges that the terminal does not have a large current demand at present according to the application condition. The regulation may be to switch off the power supply module or to limit the output current of the power supply module, for example to reduce its output current.
It should be understood that the modules included in the terminal current control device may be implemented by software, and when the modules are implemented by software, the modules may be provided in the terminal. The method can also be realized by hardware or combination of hardware and software, and at the moment, a corresponding hardware module can be newly added in the terminal or the existing related hardware module in the terminal can be utilized for realization.
Example three:
the present embodiment further exemplifies the present invention by taking a terminal with a specific structure as an example.
Referring to fig. 3, a power supply module of the terminal is a battery, and the terminal further includes a current detection module, a current processing module, a power management module, a main chip, a current limiting circuit module, a temperature and pressure detection module, and an application detection module; wherein:
batteries include lithium batteries, lithium polymer batteries, and other types of batteries;
the application condition detection module is used for detecting and identifying the applications running in real time and newly added applications and identifying the priority of each application;
the current processing module is used for detecting and accumulating the current output by the battery in real time and reporting the collected and accumulated current value to the power management module;
the power management module is used for sending the result to the main chip;
the temperature and pressure detection module is used for detecting the temperature and the pressure of the battery in real time and sending a detection result to the main chip, so that the battery can be well protected while the maximum power supply is provided for the system, and other hidden dangers, such as explosion or spontaneous combustion, caused by overlarge temperature or pressure of the battery are avoided.
The main control chip is used for comparing the current value reported by the power management module with a preset current management threshold value and controlling the current of the terminal according to the comparison result, the detection result of the application condition detection module and the detection result of the temperature and pressure detection module.
The present invention is further illustrated with reference to a specific control flow, which is shown in fig. 4 and includes:
step 401: the current processing module continuously detects and accumulates the current output by the battery in real time to obtain a current output value, and reports the detected current output value to the power supply management module; meanwhile, the storage record can be locally carried out; the temperature and pressure detection module detects the temperature and pressure of the battery in real time and sends the detection result to the main control chip; the application condition detection module sends the detected application running condition to the main control chip;
step 402: the power supply management module sends the current output value to the main control chip;
step 403: the main control chip compares the current output value with a current management threshold value, judges whether the current output value is greater than the current management threshold value, if so, turns to step 404; otherwise, returning to step 401;
step 404: the main control chip judges whether the received temperature and pressure are normal, if so, the step 406 is carried out; otherwise, go to step 405;
step 405: and regulating the determined regulated application in the applications currently running in the terminal, for example, selecting the running application with the lowest priority to close.
Step 406: the main control chip judges whether the terminal has a large current requirement according to the application running condition, for example, whether a large program runs, if so, the process goes to step 407; otherwise, go to step 408;
step 407: the current management threshold is increased appropriately.
Step 408: this time represents a possible failure or over-discharge of the battery, and regulates the output of the battery, including shutting down the battery or controlling the output current of the battery.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (12)

1. A method of controlling a terminal current, comprising:
acquiring a current output value of a power supply module of a terminal;
when the current output value is larger than a current management threshold value, acquiring the current running application condition of the terminal;
and when judging that the current terminal has a large current demand according to the application condition, increasing the current management threshold.
2. The terminal current control method of claim 1, wherein before obtaining the current demand condition of the terminal, further comprising:
acquiring a current protection parameter value of the power supply module;
judging whether the protection parameter value is larger than a protection parameter threshold value; and if not, acquiring the current demand condition of the terminal.
3. The terminal current control method of claim 2, wherein if the protection parameter value is greater than the protection parameter threshold, then regulating the current application of the terminal.
4. The terminal current control method of claim 3, wherein regulating the current application of the terminal comprises:
determining a regulated one of the applications;
limiting resources occupied by the regulated application or closing the regulated application.
5. The terminal current control method according to any one of claims 2 to 4, wherein the protection parameter values comprise power supply module temperature values and/or pressure values.
6. The terminal current control method according to any one of claims 1 to 4, wherein controlling the output current of the terminal according to the current demand condition comprises:
when judging that the terminal has a current requirement of large current according to the application condition, increasing the current management threshold;
and when judging that the terminal does not have a large current requirement currently according to the application condition, controlling the power supply module.
7. The terminal current control method of claim 6, wherein regulating the power supply module comprises: and switching off the power supply module or limiting the output current of the power supply module.
8. A terminal current control device, comprising:
the current detection module is used for acquiring the current output value of the power supply module of the terminal;
the demand acquisition module comprises an application acquisition submodule and a processing submodule; the application acquisition submodule is used for acquiring the current running application condition of the terminal; the processing submodule is used for judging whether the terminal has a large current demand according to the application condition;
and the main control module comprises a threshold adjusting submodule, and the current management threshold is increased when the processing submodule judges that the current terminal has a high current demand according to the application condition.
9. The terminal current control device according to claim 8, further comprising a parameter acquisition module, a judgment module;
the parameter acquisition module is used for acquiring the current protection parameter value of the power supply module;
the judging module is used for judging whether the protection parameter value is larger than a protection parameter threshold value; if not, the requirement acquisition module is informed to acquire the current requirement condition of the terminal.
10. The terminal current control device of claim 9, further comprising a policing module for policing a current application of the terminal when the protection parameter value is less than or equal to the protection parameter threshold value.
11. The terminal current control device according to any one of claims 8-10, wherein the main control module further comprises a current regulation sub-module;
and the current control submodule is used for controlling the power supply module when the processing submodule judges that the terminal does not have a large current demand currently according to the application condition.
12. A terminal characterized by comprising a terminal current control device according to any one of claims 8-11.
CN201510351065.5A 2015-06-23 2015-06-23 Terminal and current control method and device thereof Active CN106331220B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510351065.5A CN106331220B (en) 2015-06-23 2015-06-23 Terminal and current control method and device thereof
PCT/CN2015/085068 WO2016206154A1 (en) 2015-06-23 2015-07-24 Terminal and current control method and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510351065.5A CN106331220B (en) 2015-06-23 2015-06-23 Terminal and current control method and device thereof

Publications (2)

Publication Number Publication Date
CN106331220A CN106331220A (en) 2017-01-11
CN106331220B true CN106331220B (en) 2020-12-04

Family

ID=57584383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510351065.5A Active CN106331220B (en) 2015-06-23 2015-06-23 Terminal and current control method and device thereof

Country Status (2)

Country Link
CN (1) CN106331220B (en)
WO (1) WO2016206154A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1940038A2 (en) * 2006-12-29 2008-07-02 Samsung Electronics Co., Ltd. Apparatus and method for current control in mobile terminal
CN101938819A (en) * 2010-09-09 2011-01-05 中兴通讯股份有限公司 System and method for controlling power consumption of mobile terminal
CN102033594A (en) * 2010-10-15 2011-04-27 华为终端有限公司 Terminal equipment, input current control method and device thereof
CN104167786A (en) * 2014-08-11 2014-11-26 Tcl通讯(宁波)有限公司 Method for controlling output current of charger based on mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1940038A2 (en) * 2006-12-29 2008-07-02 Samsung Electronics Co., Ltd. Apparatus and method for current control in mobile terminal
CN101938819A (en) * 2010-09-09 2011-01-05 中兴通讯股份有限公司 System and method for controlling power consumption of mobile terminal
CN102033594A (en) * 2010-10-15 2011-04-27 华为终端有限公司 Terminal equipment, input current control method and device thereof
CN104167786A (en) * 2014-08-11 2014-11-26 Tcl通讯(宁波)有限公司 Method for controlling output current of charger based on mobile terminal and mobile terminal

Also Published As

Publication number Publication date
WO2016206154A1 (en) 2016-12-29
CN106331220A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN106785237B (en) Power battery thermal management method and system
CN109888889B (en) Charging control method and device, storage medium and electronic equipment
CN108400636B (en) Battery pack charging and discharging management system and method
CN109980609B (en) Battery under-voltage protection method and system based on BMS
CN111093241A (en) Intelligent network switching device and switching method
CN110601283A (en) Charging method and system
CN112752319A (en) Network switching method, device, terminal and storage medium
CN106331220B (en) Terminal and current control method and device thereof
CN114771328A (en) Charging control method, charging control device, storage medium and electronic equipment
CN111130154A (en) Terminal charging and discharging control method and device, storage medium and electronic device
CN103532221A (en) Spare-power automatic switching implementation method of lines under wiring and operating modes of self-adaptive 330kV substation
CN110165732B (en) Mobile terminal charging control method, mobile terminal and storage medium
WO2020007445A1 (en) Methods and apparatus for controlling the power supply of a network node
CN110971854B (en) Double-link-acquisition law enforcement recorder acquisition system and acquisition method thereof
CN105429246B (en) Automatic dead circuit and method after a kind of terminal is fully charged
CN107878239A (en) A kind of dynamic lithium battery management system
CN103533626B (en) Dormancy awakening method based on cascading skip wireless communication network
CN109287051B (en) Strong electricity controller and strong electricity management method thereof
CN106356946A (en) Charging method and device
CN115566763A (en) Unmanned aerial vehicle nest rapid charging control method and system
CN110557817B (en) Control method and device of multi-card mobile terminal, storage medium and computer equipment
CN107507373A (en) A kind of intelligent POS based on android system accelerates charging method
CN109217233A (en) Realize the method and system of secondary device communication state assessment control
CN111469710A (en) Battery management system and method
CN114077213A (en) Energy-saving control method and device

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