CN102590597A - Circuit and method for detecting abnormal current of mobile phone - Google Patents

Circuit and method for detecting abnormal current of mobile phone Download PDF

Info

Publication number
CN102590597A
CN102590597A CN2011103919349A CN201110391934A CN102590597A CN 102590597 A CN102590597 A CN 102590597A CN 2011103919349 A CN2011103919349 A CN 2011103919349A CN 201110391934 A CN201110391934 A CN 201110391934A CN 102590597 A CN102590597 A CN 102590597A
Authority
CN
China
Prior art keywords
mobile phone
current
battery
cpu
user
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.)
Pending
Application number
CN2011103919349A
Other languages
Chinese (zh)
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 Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN2011103919349A priority Critical patent/CN102590597A/en
Publication of CN102590597A publication Critical patent/CN102590597A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a circuit and a method for detecting abnormal current of a mobile phone. The method comprises the following steps of: A, calculating a present current consumption value I1 of a battery through a CPU (Central Processing Unit) according to a present application state of the mobile phone; B, comparing the current consumption value I1 of the mobile phone in the present application state with a current consumption standard value I0 in a corresponding state in a current database of the mobile phone, judging whether difference I2 between the current consumption value I1 and the current consumption standard value I0 exceeds a specified difference value delta I, entering a step C if the difference I2 exceeds the specified difference value delta I, and otherwise entering a step F; C, calling a mobile phone task manager through the CPU, examining whether an abnormal program is opened, entering a step D if the abnormal program is opened, and otherwise entering a step E; and D, reminding a user of closing the abnormal program. Compared with the prior art, the abnormal electric quantity consumption of the mobile phone battery can be effectively reduced, and the user is reminded of processing when abnormal consumption occurs for the mobile phone battery, so that the service time of the mobile phone battery is greatly prolonged, and the standby time of the mobile phone is prolonged.

Description

A kind of mobile phone current anomaly testing circuit and method
Technical field
The present invention relates to mobile phone, what be specifically related to is a kind of mobile phone current anomaly testing circuit and method, is used for when the mobile phone current anomaly, reminds the user to close the unusual program of mobile phone or restart mobile phone, to solve short problem of cell phone standby time.
Background technology
Smart mobile phone has independently operating system; Can be by user's program of providing of third party such as install software, recreation service provider voluntarily; Come continuous function to expand through this class method, and can realize that wireless network inserts through mobile communication network to mobile phone.
Along with the fast development of smart mobile phone with popularize, more and more users joins in the use ranks of smart mobile phone, and because the application program that relates in the smart mobile phone is numerous; During use; Its power consumption is inevitable very big, and when especially a plurality of programs were moved simultaneously, the cell phone standby time was very short; And generally, during a plurality of program run, have part to be in running background in the mobile phone; It can't be understood by the user, and only in the mobile phone application manager, just can transfer and check, and in this case; The mobile phone electric weight still is in consumption state, influences the serviceable life of battery of mobile phone.
Summary of the invention
For this reason, the object of the present invention is to provide a kind of mobile phone current anomaly testing circuit and method, be used for when the mobile phone current anomaly, remind the user to close the unusual program of mobile phone or restart mobile phone, to solve short problem of cell phone standby time.
For realizing above-mentioned purpose, the present invention mainly adopts following technical scheme:
A kind of mobile phone current anomaly testing circuit comprises mobile phone CPU and battery, is connected with one between said CPU and the battery and detects resistance, and these detection resistance two ends are connected with an analog to digital converter testing circuit.
Wherein said battery is also through a voltage dependent resistor (VDR) ground connection.
Wherein said battery is also through an electric capacity of voltage regulation ground connection.
The present invention also provides a kind of mobile phone current anomaly detection method, comprises step:
A, according to the current user mode of mobile phone, calculate the current consumption value I of battery this moment through CPU 1
B, with the current consumption value I of the current user mode of mobile phone 1With the corresponding state current drain standard figures I in the mobile phone current data storehouse 0Compare, and judge the gap I between the two 2Whether surpass regulation gap numerical value Δ I, if then get into step C; If, then do not get into step F;
C, through CPU calling mobile phone task manager, whether have unusual program open, if then get into step D if checking; If, then do not get into step e;
D, prompting user close this unusual program.
Wherein also comprise before the steps A:
Set up mobile phone current data storehouse, store the current drain standard figures of mobile phone under different user modes in this database.
I among the step B wherein 2=current consumption value I 1-current drain standard figures I 0
Wherein also comprise step
E, suggestion user are restarted mobile phone.
Wherein also comprise step
F, mobile phone normally use.
The present invention detects resistance through having increased by one in the normal power supply circuit between battery of mobile phone and mobile phone CPU; And battery is that the electric current of CPU power supply passes through this detection resistance; Utilize the analog to digital converter testing circuit to detect the electric current that passes through this detection resistance under the current phone user mode; And the standard current sinking in this actual consumption electric current and the current data storehouse is compared by CPU; If poor distance surpasses regulation numerical value, represent that then battery current consumption is unusual, to remind the user to close unusual program or to restart.Compared with prior art, the present invention can effectively reduce the improper electric quantity consumption of battery of mobile phone, and when unusual consumption appears in battery of mobile phone, reminds the user to handle, thereby has promoted the stand-by time of mobile phone the service time of greatly having improved battery of mobile phone.
Description of drawings
Fig. 1 is circuit theory diagrams of the present invention.
Fig. 2 is a detection theory diagram of the present invention.
Embodiment
For setting forth thought of the present invention and purpose, will combine accompanying drawing and specific embodiment that the present invention is done further explanation below.
The present invention is to provide a kind of mobile phone current anomaly testing circuit and method, be primarily aimed at smart mobile phone in use, a plurality of program run that often occur occupy a large amount of battery electric quantities, and cause the problem that shortens in serviceable life of battery of mobile phone.
See also shown in Figure 1ly, Fig. 1 is circuit theory diagrams of the present invention.This mobile phone current anomaly testing circuit wherein; Include mobile phone CPU and battery, connect through the mobile phone feed circuit between said CPU and the battery, and be provided with a detection resistance in these feed circuit; The electric current of battery output is input to CPU through this detection resistance; Also be connected with voltage dependent resistor (VDR) and electric capacity of voltage regulation on the said battery, and through voltage dependent resistor (VDR) and electric capacity of voltage regulation ground connection, to reach the purpose of stable cell voltage.
Wherein the two ends of this detection resistance are connected with an analog to digital converter testing circuit; Said analog to digital converter testing circuit ADC+/ADC-is mainly used in the voltage that detects said detection resistance two ends; And the result that will detect issues CPU; And CPU calculates through detecting the electric current of resistance through I=V/R, promptly obtains the battery consumption current value of this moment.
Principle of work of the present invention is: detect resistance through having increased by one in the normal power supply circuit between battery of mobile phone and mobile phone CPU; Battery is that the electric current of CPU power supply passes through this detection resistance; Utilize the analog to digital converter testing circuit to detect the electric current that passes through this detection resistance under the current phone user mode; And the standard current sinking in this actual consumption electric current and the current data storehouse is compared by CPU; If poor distance surpasses regulation numerical value, represent that then battery current consumption is unusual, to remind the user to close unusual program or to restart.
More than be detailed introduction, will combine Fig. 2 that mobile phone current anomaly detection method of the present invention is done further explanation below mobile phone current anomaly testing circuit of the present invention.
A kind of mobile phone current anomaly detection method comprises step:
A, according to the current user mode of mobile phone, calculate the current consumption value I of battery this moment through CPU 1
Wherein also comprise before the steps A:
Set up mobile phone current data storehouse, store the current drain standard figures of mobile phone under different user modes in this database.
Here setting up mobile phone current data storehouse can be at the mobile phone preceding foundation of dispatching from the factory, the current drain standard figures when including like the mobile phone normal talking in this database; Current drain standard figures when mobile phone play audio frequency, video; And the current drain standard figures of mobile phone when running game or the like.
B, with the current consumption value I of the current user mode of mobile phone 1With the corresponding state current drain standard figures I in the mobile phone current data storehouse 0Compare, and judge the gap I between the two 2Whether surpass regulation gap numerical value Δ I, if then get into step C; If, then do not get into step F;
Be in talking state such as current phone, its current drain standard figures is I 0, and be I through the actual current consumption figures that detection demonstrates 1, and the I here 1Compare I 0Height, and if the gap between the two excessive, surpassed the gap data Δ I of regulation, then expression detected battery power consumption this moment occurs unusual.
C, through CPU calling mobile phone task manager, whether have unusual program open, if then get into step D if checking; If, then do not get into step e;
When cell-phone battery electric-charge quantity consumption occurs when unusual, need through CPU calling mobile phone task manager, check except when beyond the preceding user mode, whether also have other programs also at running background.
D, prompting user close this unusual program;
If there is unusual program in task manager, to occur, then remind the user to close this unusual program, if the user does not close current unusual program, then mobile phone still is in current user mode, the prompting that CPU is sent does not deal with.
E, suggestion user are restarted mobile phone;
If the no abnormal status routine of mobile phone, and also have the unusual situation of battery current consumption simultaneously, can remind the user to shut down this moment and restart, detect again.
F, mobile phone normally use;
If the cellphone subscriber does not deal with for the unusual program in the mobile phone, mobile phone still is in current user mode.
The present invention detects through the electric current of mobile phone batteries input CPU; Itself and normalized current consumption are compared, realize the supervision of situation that battery current is consumed, thereby reach the improper electric quantity consumption that reduces battery of mobile phone; And when unusual consumption appears in battery of mobile phone; Remind the user to handle, thereby promoted the stand-by time of mobile phone the service time of greatly having improved battery of mobile phone.
More than be that a kind of mobile phone current anomaly testing circuit provided by the present invention and method have been carried out detailed introduction; Used specific case herein structural principle of the present invention and embodiment are set forth, above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. a mobile phone current anomaly testing circuit comprises mobile phone CPU and battery, it is characterized in that being connected with between said CPU and the battery one and detects resistance, and these detection resistance two ends are connected with an analog to digital converter testing circuit.
2. mobile phone current anomaly testing circuit according to claim 1 is characterized in that said battery is also through a voltage dependent resistor (VDR) ground connection.
3. mobile phone current anomaly testing circuit according to claim 1 is characterized in that said battery is also through an electric capacity of voltage regulation ground connection.
4. mobile phone current anomaly detection method is characterized in that comprising step:
A, according to the current user mode of mobile phone, calculate the current consumption value I of battery this moment through CPU 1
B, with the current consumption value I of the current user mode of mobile phone 1With the corresponding state current drain standard figures I in the mobile phone current data storehouse 0Compare, and judge the gap I between the two 2Whether surpass regulation gap numerical value Δ I, if then get into step C; If, then do not get into step F;
C, through CPU calling mobile phone task manager, whether have unusual program open, if then get into step D if checking; If, then do not get into step e;
D, prompting user close this unusual program.
5. mobile phone current anomaly detection method according to claim 4 is characterized in that also comprising before the steps A:
Set up mobile phone current data storehouse, store the current drain standard figures of mobile phone under different user modes in this database.
6. mobile phone current anomaly detection method according to claim 4 is characterized in that I among the said step B 2=current consumption value I 1-current drain standard figures I 0
7. mobile phone current anomaly detection method according to claim 4, it is characterized in that also comprising step e, the suggestion user restart mobile phone.
8. mobile phone current anomaly detection method according to claim 4 is characterized in that also comprising that step F, mobile phone normally use.
CN2011103919349A 2011-11-29 2011-11-29 Circuit and method for detecting abnormal current of mobile phone Pending CN102590597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103919349A CN102590597A (en) 2011-11-29 2011-11-29 Circuit and method for detecting abnormal current of mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103919349A CN102590597A (en) 2011-11-29 2011-11-29 Circuit and method for detecting abnormal current of mobile phone

Publications (1)

Publication Number Publication Date
CN102590597A true CN102590597A (en) 2012-07-18

Family

ID=46479521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103919349A Pending CN102590597A (en) 2011-11-29 2011-11-29 Circuit and method for detecting abnormal current of mobile phone

Country Status (1)

Country Link
CN (1) CN102590597A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102944734A (en) * 2012-11-21 2013-02-27 北京小米科技有限责任公司 Method for monitoring terminal state, monitoring circuit and terminal
CN106559567A (en) * 2016-11-15 2017-04-05 捷开通讯(深圳)有限公司 High current control method and mobile communication terminal
CN106918786A (en) * 2015-12-28 2017-07-04 镇江坤泉电子科技有限公司 A kind of electric current detection means
CN108254703A (en) * 2017-12-28 2018-07-06 上海传英信息技术有限公司 A kind of computer readable storage medium and mobile terminal for the lamp test that glistens

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599172A (en) * 2003-09-18 2005-03-23 日本电气株式会社 Abnormal current determining method, electronic apparatus, and computer program of same
CN1780162A (en) * 2004-11-23 2006-05-31 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with anomalous electric current checking function and method thereof
CN101060242A (en) * 2006-04-18 2007-10-24 湖北盛佳电器设备有限公司 Current anomaly protective circuit
CN101472010A (en) * 2007-12-27 2009-07-01 华为技术有限公司 Method, system and device for implementing telephone desk lamp management
CN101750162A (en) * 2009-11-12 2010-06-23 华为终端有限公司 Method, device and terminal for detection of terminal abnormal heating
CN202334663U (en) * 2011-11-29 2012-07-11 深圳市金立通信设备有限公司 Mobile phone current abnormality detection circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599172A (en) * 2003-09-18 2005-03-23 日本电气株式会社 Abnormal current determining method, electronic apparatus, and computer program of same
CN1780162A (en) * 2004-11-23 2006-05-31 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with anomalous electric current checking function and method thereof
CN101060242A (en) * 2006-04-18 2007-10-24 湖北盛佳电器设备有限公司 Current anomaly protective circuit
CN101472010A (en) * 2007-12-27 2009-07-01 华为技术有限公司 Method, system and device for implementing telephone desk lamp management
CN101750162A (en) * 2009-11-12 2010-06-23 华为终端有限公司 Method, device and terminal for detection of terminal abnormal heating
CN202334663U (en) * 2011-11-29 2012-07-11 深圳市金立通信设备有限公司 Mobile phone current abnormality detection circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102944734A (en) * 2012-11-21 2013-02-27 北京小米科技有限责任公司 Method for monitoring terminal state, monitoring circuit and terminal
CN102944734B (en) * 2012-11-21 2015-12-23 小米科技有限责任公司 A kind of method of monitor terminal state, supervisory circuit and terminal
CN106918786A (en) * 2015-12-28 2017-07-04 镇江坤泉电子科技有限公司 A kind of electric current detection means
CN106559567A (en) * 2016-11-15 2017-04-05 捷开通讯(深圳)有限公司 High current control method and mobile communication terminal
CN108254703A (en) * 2017-12-28 2018-07-06 上海传英信息技术有限公司 A kind of computer readable storage medium and mobile terminal for the lamp test that glistens

Similar Documents

Publication Publication Date Title
CN102012487B (en) Charging detection method and detector of battery
CN101126796B (en) Battery electric quantity detecting method and device
WO2018129997A1 (en) Charging control method, charging control device and terminal
CN105554316B (en) A kind of realization method and system of reserved intelligent terminal battery capacity
EP2180573B1 (en) System and method for controlling charging of battery of portable terminal
CN101340011A (en) Intelligent charging method and apparatus
CN103872719A (en) Method for reducing power consumption of static battery
CN104065835A (en) Mobile terminal and power saving method and device thereof
CN103369124A (en) Battery management method and device
WO2013120332A1 (en) Method, module and terminal for activating battery
CN106451612A (en) Charging method and charging apparatus
CN102590597A (en) Circuit and method for detecting abnormal current of mobile phone
CN106374154B (en) A kind of charge control method and electronic equipment
JP2015050842A (en) Power storage system, power storage controller and power storage control method
CN102307260A (en) Mobile phone double cell electric quantity management system and method thereof
CN104701942B (en) Low-power-consumption terminal for controlling power-off discharge and control method of terminal
CN101924384A (en) Mobile terminal and charging protection method and device thereof
CN103208829A (en) Method and system for battery charging control of terminal
CN102883072A (en) Method for automatically adjusting power consumption according to signal strength
CN105516515A (en) Method and system for automatically switching power-saving mode of intelligent terminal
JP2009290931A (en) Charging circuit
CN202334663U (en) Mobile phone current abnormality detection circuit
CN103078355A (en) Battery discharging circuit system
CN102447273A (en) Terminal and power supply method thereof
CN114156971A (en) Energy storage charging and discharging control method, device and equipment and energy storage system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120718