CN107045295A - The control method and mobile terminal of a kind of mobile terminal - Google Patents
The control method and mobile terminal of a kind of mobile terminal Download PDFInfo
- Publication number
- CN107045295A CN107045295A CN201710261225.6A CN201710261225A CN107045295A CN 107045295 A CN107045295 A CN 107045295A CN 201710261225 A CN201710261225 A CN 201710261225A CN 107045295 A CN107045295 A CN 107045295A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- current value
- value
- resistance
- voltage
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a kind of control method of mobile terminal and mobile terminal, wherein method includes:Obtain the corresponding path resistance of path internal resistance on the power supply supply access of mobile terminal;The corresponding current value of mobile terminal safety work is determined according to path resistance, and obtains the current real work current value of mobile terminal;According to the corresponding current value of mobile terminal safety work and real work current value, at least one application program to the current operation of mobile terminal carries out switch control.Mobile terminal of the embodiment of the present invention determines the corresponding operating current of mobile terminal safety work by detecting the path internal resistance on power supply supply access, and the operation of limiting mobile terminal certain applications program is less than the corresponding electric current of mobile terminal safety work to meet the real work current value of mobile terminal, the problem of avoiding occurring automatic shutdown during running of mobile terminal high current application program or restarting, it is ensured that user uses the experience of mobile terminal.
Description
Technical field
The present invention relates to the control method and mobile terminal of communication technical field, more particularly to a kind of mobile terminal.
Background technology
With intelligent terminal it is powerful while, to the requirement of intelligent terminal in appearance also more and more higher, intelligence is eventually
Holding the ultrathin of outward appearance turns into the trend that intelligent terminal develops.Outward appearance ultrathin must reduce the volume of battery, intelligent terminal
The development course of battery is:Again to lithium ion battery and the polymer Li-ion of today electricity from nickel-cadmium cell to Ni-MH battery
Pond, wherein lithium battery are lightweight due to its, and energy density is big, are widely used the advantages of without memory effect.
The internal resistance of lithium ion battery is mainly related to temperature in use and cycle times etc., and lithium ion battery is at low ambient temperatures
Or during usage cycles number of times more (i.e. cell degradations), its internal resistance will become big.When mobile terminal is in low temperature environment or battery
When resistive is big in aging, lithium battery, mobile terminal is under high current application state, the pressure that lithium ion battery internal resistance itself is produced
Drop is excessive and causes carrying load ability to die down, when lithium ion battery is supplied to the operating voltage of load to meet the minimum of equipment
During operating voltage requirement, it may result in mobile terminal automatic shutdown or restart.
The content of the invention
The control method and mobile terminal of a kind of mobile terminal are provided in the embodiment of the present invention, with solve in the prior art by
The carrying load ability for causing mobile terminal greatly in resistive in lithium battery dies down, and mobile terminal automatic shutdown easily occurs or asking of restarting
Topic.
In a first aspect, the embodiment of the present invention provides a kind of control method of mobile terminal, this method includes:
Obtain the corresponding path resistance of path internal resistance on the power supply supply access of mobile terminal;
The corresponding current value of mobile terminal safety work is determined according to path resistance, and obtains the current reality of mobile terminal
Working current value;
According to the corresponding current value of mobile terminal safety work and real work current value, to the current operation of mobile terminal
At least one application program carry out switch control.
Second aspect, the embodiment of the present invention also provides a kind of mobile terminal, and mobile terminal includes:Be arranged at power supply power it is logical
Path internal resistance on road, the first resistor connected with path internal resistance, detection first resistor relevant information and detection mobile terminal
The detection circuit of real work current value;And the processor being connected with detection circuit, detect that circuit is arranged at mainboard or electricity
On source;Mobile terminal also includes:
The corresponding path resistance of path internal resistance on acquisition module, the power supply supply access for obtaining mobile terminal;
First processing module, for determining the corresponding current value of mobile terminal safety work according to path resistance, and is obtained
The current real work current value of mobile terminal;
Second processing module, for being worked corresponding current value and real work current value according to mobile terminal safety,
At least one application program to the current operation of mobile terminal carries out switch control.
The beneficial effect of technical scheme of the embodiment of the present invention at least includes:
Technical solution of the present invention, by obtaining the corresponding path resistance of the path internal resistance on power supply supply access, according to logical
Roadlock value determines that mobile terminal safety works corresponding current value, and the operation of limiting mobile terminal certain applications program is to meet shifting
The real work current value of dynamic terminal is less than the corresponding working current value of mobile terminal safety work so that mobile terminal is in just
Normal working condition, it is to avoid mobile terminal occur because the resistance of path internal resistance is excessive, cause carrying load ability to reduce is big in operation
The problem of occurring automatic shutdown during electric current application program or restart, it is ensured that user uses the experience of mobile terminal.
Brief description of the drawings
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Fig. 1 represents the control method schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 represents mobile terminal schematic internal view one provided in an embodiment of the present invention;
Fig. 3 represents mobile terminal schematic internal view two provided in an embodiment of the present invention;
Fig. 4 represents mobile terminal schematic diagram provided in an embodiment of the present invention;
Fig. 5 represents mobile terminal block diagram one provided in an embodiment of the present invention;
Fig. 6 represents mobile terminal block diagram two provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiment of the present invention provides a kind of control method of mobile terminal, including:
Step 101, the corresponding path resistance of path internal resistance obtained on the power supply supply access of mobile terminal.
Mobile terminal is including the path internal resistance being arranged on power supply supply access, the first resistor connected with path internal resistance,
Detect the detection circuit of the real work current value of first resistor relevant information and detection mobile terminal;And connect with detection circuit
The processor connect, detection circuit is arranged on mainboard or power supply.
The process of the corresponding path resistance of path internal resistance obtained on the power supply supply access of mobile terminal is:
At the first moment, the first voltage value U at the first resistor two ends connected with path internal resistance is obtaineda1With second voltage value
Ub1;
At the second moment, the third voltage value U at first resistor two ends is obtaineda2With the 4th magnitude of voltage Ub2, wherein the second moment
With the first time at intervals scheduled duration;
Determine the first moment corresponding first current value I1=| Ua1-Ub1|/R1, and the second moment corresponding second electric current
Value I2=| Ua2-Ub2|/R1, wherein R1For the resistance of first resistor;
According to first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2, the first current value
I1, the second current value I2And the resistance R of first resistor1, determine the corresponding path resistance R of path internal resistance.
Specially:At the first moment, corresponding first voltage value U is distinguished at detection electric circuit inspection first resistor two endsa1With
Two magnitude of voltage Ub1, at the second moment, corresponding third voltage value U is distinguished at detection electric circuit inspection first resistor two endsa2With the 4th electricity
Pressure value Ub2.Detection circuit obtains first voltage value U in detectiona1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage
Ub2Afterwards, according to the resistance R of first resistor1Determine the first moment corresponding first current value I1, and the second moment correspondence
The second current value I2.Then according to first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2、
First current value I1, the second current value I2And the resistance R of first resistor1, the corresponding path resistance R of path internal resistance is determined, will be right
The path resistance R answered is sent to processor.
Or detection circuit obtains first voltage value U in detectiona1, second voltage value Ub1, third voltage value Ua2, the 4th electricity
Pressure value Ub2Afterwards, by first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2And first electricity
The resistance R of resistance1Send to processor, processor is receiving the corresponding first voltage value of the first moment first resistor two ends difference
Ua1With second voltage value Ub1, the second moment first resistor two ends distinguish corresponding third voltage value Ua2With the 4th magnitude of voltage Ub2, with
And the resistance R of first resistor1Afterwards, the corresponding first current value I of the first moment first resistor is determined1And second moment first
The corresponding second current value I of resistance2.According to first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage
Ub2, the first current value I1, the second current value I2And the resistance R of first resistor1, determine the corresponding path resistance R of path internal resistance.
Or detection circuit obtains first voltage value U in detectiona1, second voltage value Ub1, third voltage value Ua2, the 4th electricity
Pressure value Ub2And the first corresponding first current value I of moment first resistor1, corresponding second current value of the second moment first resistor
I2Afterwards, by first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2, the first electricity of moment first
Hinder corresponding first current value I1, the corresponding second current value I of the second moment first resistor2And the resistance R of first resistor1Hair
Processor is delivered to, by processor calculate obtaining the corresponding path resistance R of path internal resistance.
It should be noted that the first moment was nonoverlapping two moment with the second moment, on the sequencing of time,
First moment can be located at before the second moment, and obtaining first resistor two ends at the first moment distinguishes corresponding first voltage value Ua1With
Second voltage value Ub1Afterwards, by scheduled time length, difference corresponding 3rd electricity in first resistor two ends is obtained at the second moment
Pressure value Ua2With the 4th magnitude of voltage Ub2。
Wherein, according to first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2, first
Current value I1, the second current value I2And the resistance R of first resistor1, when determining the corresponding path resistance R of path internal resistance, specific mistake
Cheng Wei:
Determine I2With I1Difference absolute value delta I=| I2-I1|、Ua2With Ua1Difference absolute value delta Ua=| Ua2-Ua1| with
And Ub2With Ub1Difference absolute value delta Ub=| Ub2-Ub1|;
By Δ UaWith Δ UbIt is compared, determines Δ UaWith Δ UbSize;
As Δ UaMore than Δ UbWhen, determine path resistance R=| Ua2-Ua1|/Δ I, or determine path resistance R=| Ub2-
Ub1|/ΔI+R1;
As Δ UaLess than Δ UbWhen, determine path resistance R=| Ub2-Ub1|/Δ I, or determine path resistance R=| Ua2-
Ua1|/ΔI+R1。
Specially:Calculate the corresponding second current value I of the second moment first resistor2It is corresponding with the first moment first resistor
First current value I1Difference absolute value, obtain current variation value Δ I=| I2-I1|;The second moment first resistor is calculated simultaneously
The third voltage value U of first enda2With the first voltage value U of the first moment first resistor first enda1Difference absolute value, obtain
To voltage change Δ Ua=| Ua2-Ua1|;It is also required to calculate the 4th magnitude of voltage U at second the second end of moment first resistor simultaneouslyb2
With the second voltage value U at first the second end of moment first resistorb1Difference absolute value, obtain voltage change Δ Ub=| Ub2-
Ub1|。
Obtaining Δ Ua=| Ua2-Ua1| and Δ Ub=| Ub2-Ub1| afterwards, it is necessary to by Δ UaWith Δ UbIt is compared, it is determined that
ΔUaWith Δ UbSize.
In embodiments of the present invention, power supply, path internal resistance, first resistor are arranged in order, as Δ UaMore than Δ UbWhen, it is determined that
Now the first end of first resistor is connected with path internal resistance, now path resistance R=| Ua2-Ua1|/ΔI;Or can determine to lead to
Roadlock value R=| Ub2-Ub1|/ΔI+R1.As Δ UaLess than Δ UbWhen, it is determined that now the second end of first resistor connects with path internal resistance
Connect, now determine path resistance R=| Ub2-Ub1|/Δ I, or path resistance R=can be determined | Ua2-Ua1|/ΔI+R1.True
Determine after path resistance, perform step 102.
Step 102, determine that according to path resistance mobile terminal safety works corresponding current value, and obtain mobile terminal to work as
Preceding real work current value.
When wherein determining the mobile terminal safety corresponding current value of work:Calculate supply voltage and mobile terminal normal work
Minimum voltage difference, mobile terminal carries out normal work in predeterminated voltage is interval;Calculate gained difference and path resistance
Ratio, result of calculation is defined as mobile terminal safety and worked corresponding current value.
Specially:First in the predeterminated voltage of mobile terminal normal work is interval, mobile terminal normal work is determined
Minimum amount of voltage that, then calculates the difference of the supply voltage of mobile terminal and the minimum amount of voltage that of mobile terminal normal work, will
Resulting difference is defined as the first difference, then calculates the ratio of the first difference and path internal resistance, and resulting value is to move
Move the corresponding current value of terminal security work.When obtaining the mobile terminal safety corresponding current value of work, it is also desirable to utilize inspection
Slowdown monitoring circuit obtains the real work current value that mobile terminal is current.
For example:The supply voltage of lithium ion battery is Vocv, the internal resistance of power supply supply access for R (including battery it is equivalent in
Including resistance), it is ensured that the minimum voltage of mobile terminal normal work is Vbat1, and the real work electric current of mobile terminal is Ibat, that
It can determine:Mobile terminal real work voltage is that output voltage is Vbat=Vocv-Ibat*R;Then in Vocv-Ibat*R
During >=Vbat1, mobile terminal just can normal work, otherwise mobile terminal automatic shutdown or will restart.In the implementation case,
Work corresponding current value of mobile terminal safety is:(Vocv-Vbat1)/R;In Ibat≤(Vocv-Vbat1)/R, you can
Ensure mobile terminal normal work.Obtaining the corresponding current value of mobile terminal safety work and the current reality of mobile terminal
After working current value, step 103 is performed.
Step 103, work corresponding current value and real work current value according to mobile terminal safety, to mobile terminal
At least one application program currently run carries out switch control.
According to the corresponding current value of mobile terminal safety work and real work current value, to the current operation of mobile terminal
An at least application program carry out switch control when, be specially:Mobile terminal safety is worked corresponding current value and actual work
It is compared, is preset when the difference of the corresponding current value of mobile terminal safety work and real work current value is less than as current value
During threshold value, at least application program that turning-off mobile terminal is currently run.
Obtain mobile terminal safety work corresponding current value and the current real work current value of mobile terminal it
Afterwards, the corresponding current value Isafe and real work current value Ibat of mobile terminal safety work difference is calculated.By mobile terminal
Trouble free service corresponding current value Isafe and real work current value Ibat difference Isafe-Ibat are compared with predetermined threshold value
Compared with, Isafe-Ibat be less than predetermined threshold value when, show now real work current value close to mobile terminal safety work pair
The current value answered, in order to ensure mobile terminal normal safe operation, it is necessary to turning-off mobile terminal currently run at least one should
Use program.
Wherein, it is compared by the mobile terminal safety corresponding current value that works with real work current value, works as movement
When the difference of the corresponding current value of terminal security work and real work current value is less than predetermined threshold value, turning-off mobile terminal is current
The process of an at least application program of operation is:When the corresponding current value of mobile terminal safety work and real work current value
When difference is less than predetermined threshold value, the application program to the current operation of mobile terminal is arranged according to the order of priority from high to low
Sequence;After the completion of sequence, turning-off mobile terminal currently sorts the application program of most end.
When the difference of the corresponding current value of mobile terminal safety work and real work current value is less than predetermined threshold value, press
According to default priority, the application program to the current operation of mobile terminal carries out the sequence of priority from high to low, moved closing
During at least application program that dynamic terminal is currently run, in the application program currently run, the minimum application of priority is determined
Program is closed.
For example:The application program of current mobile terminal operation includes application program of taking pictures, and carrying out flash lamp in user takes pictures
When, when having detected incoming call incoming call, if the difference of the corresponding current value of now mobile terminal safety work and real work current value
Value is less than predetermined threshold value, then needs to close an at least application program.And the priority for application program of taking pictures is less than incoming call application journey
The priority of sequence, now needs to take pictures by closing flash lamp to reduce the real work current value that mobile terminal is current, it is to avoid
The problem of there is mobile terminal automatic shutdown or restart.
It should be noted that this method also includes:
After the application program of sequence most end is closed, corresponding current value and real work if mobile terminal safety works
The difference of current value then needs to close the application program of sequence most end under current state still less than predetermined threshold value, until mobile whole
The difference of the corresponding current value of trouble free service and real work current value is held to be more than or equal to predetermined threshold value.
It is less than default threshold in the difference for detecting the corresponding current value of mobile terminal safety work and real work current value
Value, and close after the minimum application program of priority, because mobile terminal safety works corresponding current value for determination value, this
When mobile terminal real work current value change, it is necessary to continue to detect real work current value, if this time shift
Dynamic terminal security work corresponding current value with the difference of real work current value still less than predetermined threshold value, it is necessary in current state
The lower application program for determining that priority is minimum is closed, corresponding current value and real work until mobile terminal safety works
The difference of current value is more than or equal to predetermined threshold value.Wherein here the value of predetermined threshold value can be 0.1A or other numbers
Value a, or range intervals, those skilled in the art can set according to practical situation.
In the embodiment of the present invention, by obtaining the corresponding path resistance of the path internal resistance on power supply supply access, according to logical
Roadlock value determines that mobile terminal safety works corresponding current value, and the operation of limiting mobile terminal certain applications program is to meet shifting
The real work current value of dynamic terminal is less than the corresponding working current value of mobile terminal safety work so that mobile terminal is in just
Normal working condition, it is to avoid mobile terminal occur because the resistance of path internal resistance is excessive, cause carrying load ability to reduce is big in operation
The problem of occurring automatic shutdown during electric current application program or restart, it is ensured that user uses the experience of mobile terminal.
The embodiment of the present invention also provides a kind of mobile terminal, as shown in Fig. 2 mobile terminal includes:Power supply is arranged to power
Path internal resistance 1 on path, the first resistor 2 connected with path internal resistance 1, the detection relevant information of first resistor 2 and detection are moved
The detection circuit 3 of the real work current value of terminal;And the processor 4 being connected with detection circuit 3, detect that circuit 3 is arranged at
On power supply.
As shown in Fig. 2 when detecting that circuit 3 is arranged on power supply, dotted line side belongs to 1. part, dotted line opposite side
Belong to 2. part.1. the processor 4 of part and 2. the progress real-time communication of detection circuit 3 of part;Communication modes can be integrated
Circuit bus or single wire control etc..2. part is the power supply of mobile terminal, and detection circuit 3 is arranged on power supply.Wherein path
Internal resistance R (power supply equivalent resistance) includes battery equivalent internal resistance, trace resistances etc.;Detection circuit 3 can detect first resistor in real time
(R1) 2 ends As, B point voltages obtains passage current I, in addition can also by detection circuit 3 integrated mos manage, pass through
The conducting internal resistances of mos pipes detects electric current.
Detailed process is:At the first moment, the first voltage value U at first resistor A, B two ends is obtaineda1With second voltage value
Ub1;At the second moment, the third voltage value U at first resistor A, B two ends is obtaineda2With the 4th magnitude of voltage Ub2;Determined for the first moment pair
The the first current value I answered1, the second moment corresponding second current value I2。
The first moment corresponding first current value I can certainly be detected by mos pipes1, the second moment corresponding
Two current value I2。
The formula for so calculating path internal resistance R is:
R=Δs Ua/ Δ I, or R=Δs Ub/ΔI+R1
Wherein, Δ Ua=| Ua2-Ua1| ΔUb=| Ub2-Ub1| Δ I=| I2-I1|
, can be directly by detecting circuit 3 with reference to the resistance R's for realizing path internal resistance with upper type in the embodiment of the present invention
Detection, then reports processor 4, processor 4 controls the real work electric current of mobile terminal by path resistance by communication;Or
Person's detection circuit 3 carries out voltage detecting, or carries out voltage, current detecting, then by magnitude of voltage or general or magnitude of voltage and electricity
Flow valuve reports processor 4 by communication, and processor 4 carries out computing and detects the resistance of path internal resistance, then controls mobile terminal
Real work electric current.
As shown in figure 3, in mobile terminal provided in an embodiment of the present invention, detection circuit 3 can be located on Mobile terminal main board,
And detection circuit 3 can be mobile terminal power management chip or other integrated chips;The path internal resistance R of power supply supply access is not
Only include battery equivalent resistance, also including resistance such as mainboard trace resistances, trace resistances and battery connector contacts.Dotted line side
Belong to 1. part, dotted line opposite side belongs to 2. part.
1. part is load, and wherein processor 4 is mobile terminal baseband process chip;Detection circuit 3 can detect the in real time
One resistance (R1) 2 ends As, B point voltages obtains passage current I, in addition can also by detection circuit 3 integrated mos manage,
Current value is detected by the conducting internal resistance of mos pipes.Processor 4 carries out real-time communication with detection circuit 3, and communication modes can be
IC bus or single wire control etc. (are not enumerated) herein.3rd resistor (R3) 6 include mobile terminal connector
Equivalent contact resistance, mainboard trace resistances etc..2. part is power supply, wherein second resistance (R2) 5 i.e. battery module equivalent resistance,
Including equivalent resistances such as battery equivalent internal resistance, cablings.In mobile terminal internal structure shown in Fig. 3, path internal resistance R includes the 3rd
Resistance (R3) 6 and second resistance (R2) 5, wherein second resistance (R2) 5 belong to power unit, 3rd resistor (R3) 6 belong to load portion
Point.
Detailed process is:At the first moment, the first voltage value U at first resistor A, B two ends is obtaineda1With second voltage value
Ub1;At the second moment, the third voltage value U at first resistor A, B two ends is obtaineda2With the 4th magnitude of voltage Ub2;Determined for the first moment pair
The the first current value I answered1, the second moment corresponding second current value I2。
The first moment corresponding first current value I can certainly be detected by mos pipes1, the second moment corresponding
Two current value I2。
The formula for so calculating path internal resistance R is:
R=Δs Ua/ Δ I=R2+R3, or R=Δs Ub/ΔI+R1=R2+R3;
Wherein, Δ Ua=| Ua2-Ua1| ΔUb=| Ub2-Ub1| Δ I=| I2-I1|
, can be directly by detecting circuit 3 with reference to the resistance R's for realizing path internal resistance with upper type in the embodiment of the present invention
Detection, then reports processor 4, processor 4 controls the real work electric current of mobile terminal by path resistance by communication;Or
Person's detection circuit 3 carries out voltage detecting, or carries out voltage, current detecting, then by magnitude of voltage or by magnitude of voltage and current value
Processor 4 is reported by communication, processor 4 carries out computing and detects the resistance of path internal resistance, then controls the reality of mobile terminal
Border operating current.
As shown in figure 4, mobile terminal also includes:
The corresponding path resistance of path internal resistance on acquisition module 10, the power supply supply access for obtaining mobile terminal;
First processing module 20, for determining the corresponding current value of mobile terminal safety work according to path resistance, and is obtained
Take the real work current value that mobile terminal is current;
Second processing module 30, for according to the corresponding current value of mobile terminal safety work and real work electric current
Value, at least one application program to the current operation of mobile terminal carries out switch control.
Wherein, acquisition module 10 includes:
First acquisition submodule 11, the at the first moment, obtaining the first resistor two ends connected with path internal resistance
One magnitude of voltage Ua1With second voltage value Ub1;
Second acquisition submodule 12, at the second moment, obtaining the third voltage value U at first resistor two endsa2With the 4th
Magnitude of voltage Ub2, wherein the second moment and the first time at intervals scheduled duration;
First determination sub-module 13, for determining the first moment corresponding first current value I1, and the second moment correspondence
The second current value I2;Wherein I1=| Ua1-Ub1|/R1, I2=| Ua2-Ub2|/R1, R1For the resistance of first resistor;
Second determination sub-module 14, for according to first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th
Magnitude of voltage Ub2, the first current value I1, the second current value I2And the resistance R of first resistor1, determine the corresponding path of path internal resistance
Resistance R.
Wherein, the second determination sub-module 14 includes:
First determining unit 141, for determining I2With I1Difference absolute value delta I=| I2-I1|、Ua2With Ua1Difference it is exhausted
To value Δ Ua=| Ua2-Ua1| and Ub2With Ub1Difference absolute value delta Ub=| Ub2-Ub1|;
Second determining unit 142, for by Δ UaWith Δ UbIt is compared, determines Δ UaWith Δ UbSize;
3rd determining unit 143, for as Δ UaMore than Δ UbWhen, determine path resistance R=| Ua2-Ua1|/Δ I, or
Determine path resistance R=| Ub2-Ub1|/ΔI+R1;
4th determining unit 144, for as Δ UaLess than Δ UbWhen, determine path resistance R=| Ub2-Ub1|/Δ I, or
Determine path resistance R=| Ua2-Ua1|/ΔI+R1。
Wherein, first processing module 20 includes:
Calculating sub module 21, the difference for calculating supply voltage and the minimum voltage of mobile terminal normal work is mobile
Terminal carries out normal work in predeterminated voltage is interval;
Result of calculation is defined as moving by the 3rd determination sub-module 22, the ratio for calculating gained difference and path resistance
Move the corresponding current value of terminal security work.
Wherein, Second processing module 30 is further used for:
The mobile terminal safety corresponding current value that works is compared with real work current value, works as mobile terminal safety
When the difference of corresponding current value and real work current value of working is less than predetermined threshold value, turning-off mobile terminal currently run to
A few application program.
Wherein, Second processing module 30 includes:
Sorting sub-module 31, for when the difference of the corresponding current value of mobile terminal safety work and real work current value
During less than predetermined threshold value, the application program to the current operation of mobile terminal is ranked up according to the order of priority from high to low;
Submodule 32 is closed, for after the completion of sequence, turning-off mobile terminal currently sorts the application program of most end.
Mobile terminal provided in an embodiment of the present invention, by obtaining the corresponding path of path internal resistance on power supply supply access
Resistance, the corresponding current value of mobile terminal safety work is determined according to path resistance, limiting mobile terminal certain applications program
Run and be less than the corresponding working current value of mobile terminal safety work to meet the real work current value of mobile terminal so that move
Dynamic terminal is in normal operating conditions, it is to avoid mobile terminal occurs because the resistance of path internal resistance is excessive, causes carrying load ability
Reduction, the problem of occurring automatic shutdown when running high current application program or restart, it is ensured that user uses mobile terminal
Experience.
The embodiment of the present invention also provides a kind of mobile terminal, and Fig. 5 is the frame of the mobile terminal of another embodiment of the present invention
Figure.Mobile terminal 500 shown in Fig. 5 includes:At least one processor 501, memory 502, at least one network interface 504,
Other users interface 503 and external components 506.Wherein external components 506 include:It is arranged at the path on power supply supply access
Internal resistance 5061, the first resistor 5062 connected with path internal resistance 5061, the detection relevant information of first resistor 5062 and detection are moved
The detection circuit 5063 of the real work current value of terminal, wherein detection circuit 5063 is connected with processor 501.
Each component in mobile terminal 500 is coupled by bus system 505.It is understood that bus system 505 is used
Connection communication between these components are realized.Bus system 505 is in addition to including data/address bus, in addition to power bus, control
Bus and status signal bus in addition processed.But for the sake of clear explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 502 of system and method described herein be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 5022, includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application
The program stored in program 5022 or instruction, processor 501 are used for:Obtain in the path on the power supply supply access of mobile terminal
Hinder corresponding path resistance;The corresponding current value of mobile terminal safety work is determined according to path resistance, and obtains mobile terminal
Current real work current value;According to the corresponding current value of mobile terminal safety work and real work current value, to moving
At least one application program that dynamic terminal is currently run carries out switch control.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501.
Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 502, processor 501 reads the information in memory 502, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realized outside processor.
Wherein, during the corresponding path resistance of path internal resistance on the power supply supply access for obtaining mobile terminal, processor
501 are additionally operable to:At the first moment, the first voltage value U at the first resistor two ends connected with path internal resistance is obtaineda1And second voltage
Value Ub1;At the second moment, the third voltage value U at first resistor two ends is obtaineda2With the 4th magnitude of voltage Ub2, wherein the second moment with
First time at intervals scheduled duration;Determine the first moment corresponding first current value I1=| Ua1-Ub1|/R1, and the second moment
Corresponding second current value I2=| Ua2-Ub2|/R1, wherein R1For the resistance of first resistor;According to first voltage value Ua1, second electricity
Pressure value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2, the first current value I1, the second current value I2And the resistance of first resistor
R1, determine the corresponding path resistance R of path internal resistance.
Optionally, according to first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2,
One current value I1, the second current value I2And the resistance R of first resistor1, when determining the corresponding path resistance R of path internal resistance, processing
Device 501 is additionally operable to:Determine I2With I1Difference absolute value delta I=| I2-I1|、Ua2With Ua1Difference absolute value delta Ua=| Ua2-Ua1
| and Ub2With Ub1Difference absolute value delta Ub=| Ub2-Ub1|;By Δ UaWith Δ UbIt is compared, determines Δ UaWith Δ UbIt is big
It is small;As Δ UaMore than Δ UbWhen, determine path resistance R=| Ua2-Ua1|/Δ I, or R=| Ub2-Ub1|/ΔI+R1;As Δ UaIt is small
In Δ UbWhen, determine path resistance R=| Ub2-Ub1|/Δ I, or R=| Ua2-Ua1|/ΔI+R1。
Optionally, when determining the mobile terminal safety corresponding current value of work according to path resistance, processor 501 is also used
In:The difference of supply voltage and the minimum voltage of mobile terminal normal work is calculated, mobile terminal enters in predeterminated voltage interval
Row normal work;The ratio of gained difference and path resistance is calculated, result of calculation is defined as mobile terminal safety work correspondence
Current value.
Optionally, worked corresponding current value and real work current value according to mobile terminal safety, to it is mobile eventually
When holding at least one application program progress switch control currently run, processor 501 is additionally operable to:Mobile terminal safety is worked
Corresponding current value is compared with real work current value, when the corresponding current value of mobile terminal safety work and real work
When the difference of current value is less than predetermined threshold value, at least application program that turning-off mobile terminal is currently run.
Optionally, it is compared by the mobile terminal safety corresponding current value that works with real work current value, works as shifting
The difference for moving the corresponding current value of terminal security work and real work current value is less than predetermined threshold value, and turning-off mobile terminal is current
During an at least application program for operation, processor 501 is additionally operable to:When the corresponding current value of mobile terminal safety work and actual work
When the difference for making current value is less than predetermined threshold value, to the application program of the current operation of mobile terminal according to priority from high to low
Order is ranked up;After the completion of sequence, turning-off mobile terminal currently sorts the application program of most end.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The embodiment of the present invention, by obtaining the corresponding path resistance of the path internal resistance on power supply supply access, according to path
Resistance determines that mobile terminal safety works corresponding current value, and the operation of limiting mobile terminal certain applications program is to meet movement
The real work current value of terminal is less than the corresponding working current value of mobile terminal safety work so that mobile terminal is in normal
Working condition, it is to avoid mobile terminal occur because the resistance of path internal resistance is excessive, cause carrying load ability to reduce, in the big electricity of operation
The problem of occurring automatic shutdown during streaming application or restart, it is ensured that user uses the experience of mobile terminal.
Fig. 6 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6
600 can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input
Unit 630, display unit 640, external components 650, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity)
Module 680 and power supply 690.Wherein external components 650 include:The path internal resistance 651 on power supply supply access is arranged at, with path
The real work electric current of the first resistor 652 that internal resistance 651 is connected, the detection relevant information of first resistor 652 and detection mobile terminal
The detection circuit 653 of value, wherein detection circuit 653 is connected with processor 660, path internal resistance 651 is connected with power supply 690.
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and produce and mobile terminal
The signal input that 600 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 630 can
With including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller
Two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give the processor 660 again, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block
630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for information and the movement for showing the information inputted by user or being supplied to user
The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 660 is sent to determine the type of touch event, with preprocessor
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone
Various pieces, software program and/or module in first memory 621 are stored in by operation or execution, and call storage
Data in second memory 622, perform the various functions and processing data of mobile terminal 600, so as to mobile terminal 600
Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 is used for:Obtain in the path on the power supply supply access of mobile terminal
Hinder corresponding path resistance;The corresponding current value of mobile terminal safety work is determined according to path resistance, and obtains mobile terminal
Current real work current value;According to the corresponding current value of mobile terminal safety work and real work current value, to moving
At least one application program that dynamic terminal is currently run carries out switch control.
Wherein, during the corresponding path resistance of path internal resistance on the power supply supply access for obtaining mobile terminal, processor
660 are additionally operable to:At the first moment, the first voltage value U at the first resistor two ends connected with path internal resistance is obtaineda1And second voltage
Value Ub1;At the second moment, the third voltage value U at first resistor two ends is obtaineda2With the 4th magnitude of voltage Ub2, wherein the second moment with
First time at intervals scheduled duration;Determine the first moment corresponding first current value I1=| Ua1-Ub1|/R1, and the second moment
Corresponding second current value I2=| Ua2-Ub2|/R1, wherein R1For the resistance of first resistor;According to first voltage value Ua1, second electricity
Pressure value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2, the first current value I1, the second current value I2And the resistance of first resistor
R1, determine the corresponding path resistance R of path internal resistance.
Optionally, according to first voltage value Ua1, second voltage value Ub1, third voltage value Ua2, the 4th magnitude of voltage Ub2,
One current value I1, the second current value I2And the resistance R of first resistor1, when determining the corresponding path resistance R of path internal resistance, processing
Device 660 is additionally operable to:Determine I2With I1Difference absolute value delta I=| I2-I1|、Ua2With Ua1Difference absolute value delta Ua=| Ua2-Ua1
| and Ub2With Ub1Difference absolute value delta Ub=| Ub2-Ub1|;By Δ UaWith Δ UbIt is compared, determines Δ UaWith Δ UbIt is big
It is small;As Δ UaMore than Δ UbWhen, determine path resistance R=| Ua2-Ua1|/Δ I, or R=| Ub2-Ub1|/ΔI+R1;As Δ UaIt is small
In Δ UbWhen, determine path resistance R=| Ub2-Ub1|/Δ I, or R=| Ua2-Ua1|/ΔI+R1。
Optionally, when determining the mobile terminal safety corresponding current value of work according to path resistance, processor 660 is also used
In:The difference of supply voltage and the minimum voltage of mobile terminal normal work is calculated, mobile terminal enters in predeterminated voltage interval
Row normal work;The ratio of gained difference and path resistance is calculated, result of calculation is defined as mobile terminal safety work correspondence
Current value.
Optionally, worked corresponding current value and real work current value according to mobile terminal safety, to it is mobile eventually
When holding at least one application program progress switch control currently run, processor 660 is additionally operable to:Mobile terminal safety is worked
Corresponding current value is compared with real work current value, when the corresponding current value of mobile terminal safety work and real work
When the difference of current value is less than predetermined threshold value, at least application program that turning-off mobile terminal is currently run.
Optionally, it is compared by the mobile terminal safety corresponding current value that works with real work current value, works as shifting
The difference for moving the corresponding current value of terminal security work and real work current value is less than predetermined threshold value, and turning-off mobile terminal is current
During an at least application program for operation, processor 660 is additionally operable to:When the corresponding current value of mobile terminal safety work and actual work
When the difference for making current value is less than predetermined threshold value, to the application program of the current operation of mobile terminal according to priority from high to low
Order is ranked up;After the completion of sequence, turning-off mobile terminal currently sorts the application program of most end.
So, by obtaining the corresponding path resistance of the path internal resistance on power supply supply access, determined according to path resistance
Mobile terminal safety works corresponding current value, and the operation of limiting mobile terminal certain applications program is to meet the reality of mobile terminal
Border working current value is less than the corresponding working current value of mobile terminal safety work so that mobile terminal is in normal work shape
State, it is to avoid mobile terminal occur because the resistance of path internal resistance is excessive, cause carrying load ability to reduce, in operation high current application
The problem of occurring automatic shutdown during program or restart, it is ensured that user uses the experience of mobile terminal.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
Above-described is the preferred embodiment of the present invention, it should be pointed out that come for the ordinary person of the art
Say, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, and these improvements and modifications also exist
In protection scope of the present invention.
Claims (12)
1. a kind of control method of mobile terminal, it is characterised in that methods described includes:
Obtain the corresponding path resistance of path internal resistance on the power supply supply access of the mobile terminal;
Determine that the mobile terminal safety works corresponding current value according to the path resistance, and obtain the mobile terminal to work as
Preceding real work current value;
According to the mobile terminal safety corresponding current value of work and the real work current value, to the mobile terminal
At least one application program currently run carries out switch control.
2. control method according to claim 1, it is characterised in that the power supply of the acquisition mobile terminal is powered logical
The step of path internal resistance on road corresponding path resistance, includes:
At the first moment, the first voltage value U at the first resistor two ends connected with the path internal resistance is obtaineda1With second voltage value
Ub1;
At the second moment, the third voltage value U at the first resistor two ends is obtaineda2With the 4th magnitude of voltage Ub2, wherein described second
Moment and the first time at intervals scheduled duration;
Determine first moment corresponding first current value I1=| Ua1-Ub1|/R1, and second moment corresponding second
Current value I2=| Ua2-Ub2|/R1, wherein R1For the resistance of the first resistor;
According to the first voltage value Ua1, the second voltage value Ub1, the third voltage value Ua2, the 4th magnitude of voltage Ub2、
The first current value I1, the second current value I2And the resistance R of the first resistor1, determine the path internal resistance correspondence
Path resistance R.
3. control method according to claim 2, it is characterised in that described according to the first voltage value Ua1, described
Two magnitude of voltage Ub1, the third voltage value Ua2, the 4th magnitude of voltage Ub2, the first current value I1, second current value
I2And the resistance R of the first resistor1, the step of determining the path internal resistance corresponding path resistance R include:
Determine I2With I1Difference absolute value delta I=| I2-I1|、Ua2With Ua1Difference absolute value delta Ua=| Ua2-Ua1| and Ub2
With Ub1Difference absolute value delta Ub=| Ub2-Ub1|;
By Δ UaWith Δ UbIt is compared, determines Δ UaWith Δ UbSize;
As Δ UaMore than Δ UbWhen, determine the path resistance R=| Ua2-Ua1|/Δ I, or determine the path resistance R=|
Ub2-Ub1|/ΔI+R1;
As Δ UaLess than Δ UbWhen, determine the path resistance R=| Ub2-Ub1|/Δ I, or determine the path resistance R=|
Ua2-Ua1|/ΔI+R1。
4. control method according to claim 1, it is characterised in that described that the movement is determined according to the path resistance
The step of terminal security work corresponding current value, includes:
The difference of supply voltage and the minimum voltage of the mobile terminal normal work is calculated, the mobile terminal is in predeterminated voltage
Normal work is carried out in interval;
The ratio of gained difference and the path resistance is calculated, result of calculation is defined as into the mobile terminal safety works corresponding
Current value.
5. control method according to claim 1, it is characterised in that described to work corresponding according to the mobile terminal safety
Current value and the real work current value, at least one application program that the mobile terminal is currently run is opened
The step of closing control includes:
The corresponding current value of mobile terminal safety work is compared with the real work current value, when the movement
When the difference of the corresponding current value of terminal security work and the real work current value is less than predetermined threshold value, the movement is closed
At least application program that terminal is currently run.
6. control method according to claim 5, it is characterised in that described that the mobile terminal safety is worked corresponding
Current value is compared with the real work current value, when the corresponding current value of mobile terminal safety work and the reality
When the difference of border working current value is less than predetermined threshold value, the step at least application program that the mobile terminal is currently run is closed
Suddenly include:
When the difference of the corresponding current value of mobile terminal safety work and the real work current value is less than predetermined threshold value
When, the application program currently run to the mobile terminal is ranked up according to the order of priority from high to low;
After the completion of sequence, close the mobile terminal and currently sort the application program of most end.
7. a kind of mobile terminal, it is characterised in that the mobile terminal includes:It is arranged in the path on power supply supply access
Resistance, the first resistor connected with the path internal resistance detects the first resistor relevant information and detects the mobile terminal
The detection circuit of real work current value;And the processor that circuit is connected is detected with described, the detection circuit is arranged at master
On plate or power supply;The mobile terminal also includes:
Acquisition module, the corresponding path resistance of the path internal resistance on power supply supply access for obtaining the mobile terminal
Value;
First processing module, for determining the corresponding current value of the mobile terminal safety work according to the path resistance, and
Obtain the current real work current value of the mobile terminal;
Second processing module, for according to the mobile terminal safety corresponding current value of work and the real work electric current
Value, at least one application program currently run to the mobile terminal carries out switch control.
8. mobile terminal according to claim 7, it is characterised in that the acquisition module includes:
First acquisition submodule, at the first moment, obtaining the first of the first resistor two ends connected with the path internal resistance
Magnitude of voltage Ua1With second voltage value Ub1;
Second acquisition submodule, at the second moment, obtaining the third voltage value U at the first resistor two endsa2With the 4th electricity
Pressure value Ub2, wherein second moment and the first time at intervals scheduled duration;
First determination sub-module, for determining first moment corresponding first current value I1=| | Ua1-Ub1|/R1, Yi Jisuo
State the second moment corresponding second current value I2=| Ua2-Ub2|/R1, wherein R1For the resistance of the first resistor;
Second determination sub-module, for according to the first voltage value Ua1, the second voltage value Ub1, the third voltage value
Ua2, the 4th magnitude of voltage Ub2, the first current value I1, the second current value I2And the resistance of the first resistor
R1, determine the corresponding path resistance R of the path internal resistance.
9. mobile terminal according to claim 8, it is characterised in that second determination sub-module includes:
First determining unit, for determining I2With I1Difference absolute value delta I=| I2-I1|、Ua2With Ua1Difference absolute value delta Ua
=| Ua2-Ua1| and Ub2With Ub1Difference absolute value delta Ub=| Ub2-Ub1|;
Second determining unit, for by Δ UaWith Δ UbIt is compared, determines Δ UaWith Δ UbSize;
3rd determining unit, for as Δ UaMore than Δ UbWhen, determine the path resistance R=| | Ua2-Ua1|/Δ I, or really
The fixed path resistance R=| Ub2-Ub1|/ΔI+R1;
4th determining unit, for as Δ UaLess than Δ UbWhen, determine the path resistance R=| | Ub2-Ub1|/ΔI;Or really
The fixed path resistance R=| Ua2-Ua1|/ΔI+R1。
10. mobile terminal according to claim 7, it is characterised in that the first processing module includes:
Calculating sub module, the difference for calculating supply voltage and the minimum voltage of the mobile terminal normal work, the shifting
Dynamic terminal carries out normal work in predeterminated voltage is interval;
Result of calculation is defined as described by the 3rd determination sub-module, the ratio for calculating gained difference and the path resistance
The corresponding current value of mobile terminal safety work.
11. mobile terminal according to claim 7, it is characterised in that the Second processing module is further used for:
The corresponding current value of mobile terminal safety work is compared with the real work current value, when the movement
When the difference of the corresponding current value of terminal security work and the real work current value is less than predetermined threshold value, the movement is closed
At least application program that terminal is currently run.
12. mobile terminal according to claim 11, it is characterised in that the Second processing module includes:
Sorting sub-module, for when the difference of the corresponding current value of mobile terminal safety work and the real work current value
When value is less than predetermined threshold value, the application program currently run to the mobile terminal is carried out according to the order of priority from high to low
Sequence;
Submodule is closed, for after the completion of sequence, the mobile terminal is closed and currently sorts the application program of most end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710261225.6A CN107045295B (en) | 2017-04-20 | 2017-04-20 | A kind of control method and mobile terminal of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710261225.6A CN107045295B (en) | 2017-04-20 | 2017-04-20 | A kind of control method and mobile terminal of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107045295A true CN107045295A (en) | 2017-08-15 |
CN107045295B CN107045295B (en) | 2019-02-05 |
Family
ID=59545803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710261225.6A Active CN107045295B (en) | 2017-04-20 | 2017-04-20 | A kind of control method and mobile terminal of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107045295B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872569A (en) * | 2017-10-12 | 2018-04-03 | 惠州Tcl移动通信有限公司 | A kind of method for preventing intelligent terminal from restarting automatically, storage medium and intelligent terminal |
CN109847255A (en) * | 2019-01-29 | 2019-06-07 | 迅捷安消防及救援科技(深圳)有限公司 | Removable module wisdom fire-fighting Support Equipment on duty and Related product |
CN110265739A (en) * | 2019-07-05 | 2019-09-20 | Oppo(重庆)智能科技有限公司 | Battery management method, system, terminal device and storage medium |
CN112018844A (en) * | 2020-08-24 | 2020-12-01 | 维沃移动通信有限公司 | Charging parameter detection circuit and method and charger |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103858070A (en) * | 2013-10-25 | 2014-06-11 | 华为终端有限公司 | Power-off threshold voltage adjustment method, starting up method and electronic equipment using same |
CN105573372A (en) * | 2015-12-22 | 2016-05-11 | 广东欧珀移动通信有限公司 | Control method and apparatus of intelligent terminal |
CN106249837A (en) * | 2016-07-29 | 2016-12-21 | 深圳市金立通信设备有限公司 | A kind of method preventing terminal power down and terminal |
-
2017
- 2017-04-20 CN CN201710261225.6A patent/CN107045295B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103858070A (en) * | 2013-10-25 | 2014-06-11 | 华为终端有限公司 | Power-off threshold voltage adjustment method, starting up method and electronic equipment using same |
CN105573372A (en) * | 2015-12-22 | 2016-05-11 | 广东欧珀移动通信有限公司 | Control method and apparatus of intelligent terminal |
CN106249837A (en) * | 2016-07-29 | 2016-12-21 | 深圳市金立通信设备有限公司 | A kind of method preventing terminal power down and terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872569A (en) * | 2017-10-12 | 2018-04-03 | 惠州Tcl移动通信有限公司 | A kind of method for preventing intelligent terminal from restarting automatically, storage medium and intelligent terminal |
CN107872569B (en) * | 2017-10-12 | 2020-04-07 | 惠州Tcl移动通信有限公司 | Method for preventing intelligent terminal from automatically restarting, storage medium and intelligent terminal |
CN109847255A (en) * | 2019-01-29 | 2019-06-07 | 迅捷安消防及救援科技(深圳)有限公司 | Removable module wisdom fire-fighting Support Equipment on duty and Related product |
CN110265739A (en) * | 2019-07-05 | 2019-09-20 | Oppo(重庆)智能科技有限公司 | Battery management method, system, terminal device and storage medium |
CN110265739B (en) * | 2019-07-05 | 2021-02-02 | Oppo(重庆)智能科技有限公司 | Battery management method, system, terminal device and storage medium |
CN112018844A (en) * | 2020-08-24 | 2020-12-01 | 维沃移动通信有限公司 | Charging parameter detection circuit and method and charger |
Also Published As
Publication number | Publication date |
---|---|
CN107045295B (en) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106101848B (en) | A kind of barrage display methods and electronic equipment | |
CN106843739B (en) | A kind of display control method and mobile terminal of mobile terminal | |
CN106293332B (en) | A kind of processing method and mobile terminal of singlehanded positioning application | |
CN106919313A (en) | The startup method and mobile terminal of a kind of application program | |
CN106570372B (en) | A kind of the starting method and mobile terminal of application program | |
CN107466077A (en) | A kind of method for switching network and mobile terminal | |
CN106383645A (en) | Music playing control method and mobile terminal | |
CN107045295A (en) | The control method and mobile terminal of a kind of mobile terminal | |
CN107613117A (en) | A kind of interface display method and mobile terminal based on multitask | |
CN105893130B (en) | A kind of processing method and mobile terminal of application program for mobile terminal | |
CN107071264A (en) | A kind of image resolution ratio method of adjustment and mobile terminal | |
CN107203307A (en) | A kind of icon management method and mobile terminal | |
CN107608591A (en) | The display methods and mobile terminal of a kind of virtual key | |
CN107193482A (en) | The operating method and mobile terminal of a kind of mobile terminal screen | |
CN107222642A (en) | A kind of call processing method, antenna structure and mobile terminal | |
CN106557240A (en) | A kind of detection method and mobile terminal | |
CN106959797A (en) | The method to set up and mobile terminal of a kind of notice footmark | |
CN106681628A (en) | Method and terminal for starting application programs | |
CN106874046A (en) | The operating method and mobile terminal of a kind of application program | |
CN105930089B (en) | A kind of method and mobile terminal switching mobile terminal display interface | |
CN106208206A (en) | A kind of wireless charging method and mobile terminal | |
CN106055302A (en) | Volume adjustment method and mobile terminal | |
CN106775378A (en) | A kind of method and mobile terminal for determining input method candidate word | |
CN106502567A (en) | A kind of screenshot method and mobile terminal | |
CN106383713A (en) | Application control method and mobile terminal |
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 |