Specific embodiment
Exemplary embodiment of the invention is more fully described below with reference to accompanying drawings.Although showing the present invention in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are able to be best understood from the present invention, and can be by the scope of the present invention
Complete conveys to those skilled in the art.
First embodiment
As shown in figure 1, The embodiment provides a kind of voltage control method of charging inlet, being applied to a charging
Device, the method is specifically included:
Step 101:Obtain the current value of charging inlet output.
Wherein, current value is:Mobile terminal enters after charging inlet temperature is detected more than predetermined threshold value to charging inlet
Row is drawn when carrying, and charging inlet is through drawing the current value for being loaded onto default pulling load current and persistently being exported after Preset Time.Further, this
In the current value of described acquisition charging inlet output be specially:Obtain multiple current values of charging inlet output, multiple electric currents
Value can be the current value that multiple changes are got within the once acquisition cycle, can also be got within the once acquisition cycle
Multiple regularity current values.
Step 102:If current value meets pre-conditioned, a current-order is generated.
Wherein, if multiple current value is satisfied by pre-conditioned, current-order is generated, current-order includes multiple indicating ratio
A kind of spy, current value of each indication bit correspondence meets pre-conditioned state.Further, it is pre-conditioned to may be set to obtain
To current value be continued above or less than predetermined current threshold, whether comprehensive multiple current values meet pre-conditioned state, can
The situation of change of the current value for getting, (high current is formed when situation of change and the charging inlet of the current value for getting are abnormal
Loop) when output current situation of change when matching, generate a current-order.
Step 103:According to the current-order of generation, the output voltage of charging inlet is turned off.
After charger detects the current-order, the output voltage of charging inlet is turned off, that is, stop supplying mobile terminal
Electricity, prevents mobile terminal from being burnt out because of charging inlet abnormal formation big current loop.
Obtain by charger and detect whether charging inlet is abnormal due to the embodiment of the present invention, and it is determined that charging inlet is different
Power supply is actively cut off when often, so as to avoid being burnt out because forming big current loop the problem of charging inlet or charger.This
Outward, in the voltage control method of the charging inlet, charger is the output voltage according to the charging inlet for getting to be carried out
Control, therefore need not be realized by the cc passages of the D+/D- signalling channels of Micro USB interfaces or Type C, in realization not
Need the charging system of dependence two-way communication, go for common standard charging system (D+/D- acquiescences are shorted together)
With the fast charging system of high pressure, with versatility higher.
Second embodiment
First embodiment above has carried out simple introduction to the voltage control method of charging inlet of the invention, below this reality
Applying example will be described further with reference to accompanying drawing and concrete application scene to it.
As shown in Fig. 2 the voltage control method of the charging inlet of the embodiment of the present invention specifically includes following steps:
Step 201:Obtain at least three current values of charging inlet output.
Wherein, above three current value is that mobile terminal is being detected after charging inlet temperature exceedes predetermined threshold value to charging
When interface carries out default drawing load, charging inlet is through drawing the current value for being loaded onto default pulling load current and persistently being exported after Preset Time.
Here obtaining at least three current values is worth being at least to draw charging inlet twice load, i.e. current value at least to occur to become twice
Change.Mobile terminal carries out output electric current measure in the output end of charger, is set when being exceeded by NTC resistance detections to port temperature
When determining threshold value, the VBUS electric currents of charging inlet output end are carried out using predefined drawing load strategy on the VBUS of mobile terminal
Draw and carry, the current value of charger detection charging inlet output.Wherein, mobile terminal draws the strategy for carrying VBUS electric currents for intermittence is pressed
Drawing load is carried out to VBUS electric currents according to default pulling load current, i.e., VBUS electric currents is carried out according to default pulling load current repeatedly drawing load, and
Draw twice and be separated with preset interval time between carrying.
Further, used safely in the range of power requirements to ensure charger, for presetting setting for pulling load current
Putting needs the actual output current for ensureing charger to be less than or equal to output-current rating.The setting for presetting pulling load current is based on filling
The rated output power of electrical equipment.Specifically, the present VBUS pull-up of mobile terminal carries a low current, and detects charging IC inputs
Voltage;The electric current that VBUS pull-up is carried is improved step by step, is both needed to detect the voltage of charging IC inputs after raising electric current gear every time,
And contrasted with the default voltage thresholds of charging IC, continue to improve the electricity that VBUS pull-up is carried if less than voltage threshold
Stream, if reaching default voltage threshold, it is determined that power output has not had surplus when charger draws load current gear current value,
The input current value of VBUS can not be further continued for improving, at this moment can determine that the output-current rating higher limit institute that the charger is supported is right
The pulling load current answered.
Preferably, the present embodiment is illustrated by taking four current values as an example, obtains four current values of charging inlet output,
Specific acquisition process is as follows:Charging inlet is obtained after the first default pulling load current value is loaded onto through drawing and continues the first Preset Time
First current value of interior output;Obtain stop drawing carry and after continuing for the first interval time charging inlet output the second current value;
Charging inlet is obtained after the second default pulling load current value is loaded onto through drawing and continues the 3rd electric current exported in the second Preset Time
Value;Obtain stop drawing carry and after continuing for the second interval time charging inlet output the 4th current value.
As shown in figure 3, mobile terminal is after charging inlet temperature is detected more than predetermined threshold value, the drawing to charging inlet is carried
Strategy is:Pulled up in VBUS by charging IC and carry fixed current value (such as 50mA) and duration T 0 (such as 150ms);Continuing
Draw the electric current 500mA that carries on VBUS and persistently after 150ms, stopping pulling load current, and duration T 1 (such as 50ms);Stopping
After pulling load current, mobile terminal draws load VBUS current values (such as 500mA) and duration T 2 (such as 100ms) again, stops afterwards
Pulling load current.The current value of front and rear pulling load current twice is identical in the present embodiment, but it is front and rear multiple to draw load strategy also to may be configured as
The current value of pulling load current is different, but draws threshold value of the current value no more than maximum pulling load current for carrying every time.
Step 202:Whether at least three current values that detection gets meet preset relation with corresponding current threshold.
Corresponding to above-mentioned steps 201, it is necessary to detect at least three electricity for getting after at least three current values are got
Whether flow valuve meets preset relation with corresponding current threshold, and the corresponding current threshold of different current values is different here, that is, charge
Interface corresponding current threshold value in corresponding current threshold during drawing load and drawing are carried and be spaced is different, so can more intuitively judge
Draw during carrying and draw the situation of change for carrying charging inlet output voltage in interval, so as to more accurately whether judge charging inlet
Needs are protected, and reduce the False Rate of protection mechanism.Illustrated as a example by obtaining 4 current values below.
First current value, the second current value, the 3rd current value and the 4th current value that get of detection with it is corresponding
Whether current threshold meets preset relation;Specially:Whether the first current value that detection gets is higher than the first pre-set current value
And continue the first Preset Time;Wherein, the first pre-set current value is less than the first default pulling load current value;Detect second for getting
Whether current value is less than the first pre-set current value and continued for the first interval time;The 3rd current value that gets of detection whether be higher than
Second pre-set current value simultaneously continues the second Preset Time;Wherein, the second pre-set current value is less than the second default pulling load current value;Inspection
Whether the 4th current value that survey gets is less than the second pre-set current value and continued for the second interval time.
For example, the first pre-set current value is set as into the 65% of the first default pulling load current value (500mA), i.e., first presets
Current value is 0.65*500mA=325mA, timing is started after the first current value is detected higher than 325mA, and detect the first electricity
Duration of the flow valuve higher than 325mA.And further detect the second electricity got after mobile terminal stops drawing load for the first time
Whether flow valuve is less than the first pre-set current value and continued for the first interval time.Similarly, detection gets when drawing and carrying for second
Whether the 3rd current value is higher than the second pre-set current value (equal with the first pre-set current value in the embodiment, to be 325mA), and
Detect higher than starting timing after 325mA, and detect duration of the 3rd current value higher than 325mA.And further detect
Mobile terminal stops second and draws whether the 4th current value got after load is less than the second pre-set current value and continues between second
Every the time.Wherein, when whether detection stops drawing the current value got after load less than certain threshold value, it is pre- that the threshold value may be configured as first
If current value or the second pre-set current value, it is 0 that may further be provided, i.e., detect that the current value for getting is after stopping drawing load
No is 0.
Step 203:If detect at least three current values is satisfied by preset relation with corresponding current threshold, one is generated
Current-order.
If detecting the first current value, the second current value, the 3rd current value and the 4th current value and corresponding current threshold
Preset relation is satisfied by, then generates a current-order.Specifically, if the first current value is higher than the first pre-set current value and continues the
One Preset Time, the second current value are less than the first pre-set current value and continue the first interval time, the 3rd current value higher than second
Pre-set current value simultaneously continues the second Preset Time, the 4th current value less than the second pre-set current value and continued for the second interval time,
Then generate a current-order.
By taking above-mentioned example as an example, if draw for the first time carry during the first current value for getting higher than 325mA and it is lasting when
Between reach 150ms, then labeled as 1, otherwise labeled as 0.If being got during stopping drawing load after first time draws load to terminate
The second current value for 0 and the duration reach 50ms, then labeled as 0, otherwise labeled as 1.If drawing for second obtained during carrying
The 3rd current value got is higher than 325mA and duration to reach 100ms, then labeled as 1, otherwise labeled as 0.If second is drawn
The 4th current value that load stops being got during drawing load after terminating is 0 and duration to reach for the second interval time (such as
10ms), then labeled as 0, otherwise labeled as 1.So when parse above-mentioned first current value, the second current value, the 3rd current value and
After 4th current value, obtain generating current-order during the marker bit labeled as 1010, current-order is not generated otherwise.
Step 204:According to the current-order of generation, the output voltage of charging inlet is turned off.
After current-order generation has been detected, the requirement of the current-order is responded, by the defeated of the charging inlet of charger
Go out voltage shut-off, to protect the safety of the charging inlet of the mobile terminal being connected with charger.When user plugs charger again
During input, charger is re-powered can recover normal output.
It is worthy of note that, the instruction cited by the present embodiment is 1010, but is not limited according to this, using other instruction inspections
Survey mode also can, and current values cited in above-mentioned example and time numerical value is illustrative only, it is considered to practical application
When also may be set to other specification numerical value.
Because the voltage control method of the charging inlet of the embodiment of the present invention is obtained by charger and detects that charging inlet is
No exception, and it is determined that charging inlet actively cuts off power supply when abnormal, so as to avoid burning out because of formation big current loop
The problem of charging inlet or charger.It is by charging inlet, especially additionally, in the voltage control method of the charging inlet
It is that the VBUS of charging inlet realizes the current-order interaction of mobile terminal and charger and controls, therefore Micro need not be passed through
The cc passages realization of the D+/D- signalling channels or Type C of USB interface, needs not rely on the Charging of two-way communication in realization
System, goes for common standard charging system (D+/D- acquiescences are shorted together) and the fast charging system of high pressure, with higher
Versatility.
3rd embodiment
First embodiment above and second embodiment describe the voltage control method of charging inlet of the invention respectively, under
Face the present embodiment will be described further with reference to accompanying drawing to its corresponding charger.
As shown in figure 4, the charger 400 of the embodiment of the present invention, can realize being obtained in first embodiment and second embodiment
The current value of charging inlet output;If current value meets pre-conditioned, a current-order is generated;Electric current according to generation refers to
Order, turns off the details of the output voltage method of charging inlet, and reaches identical effect, wherein, current value is:Mobile terminal exists
When detecting charging inlet temperature more than load draw to charging inlet after predetermined threshold value, charging inlet is carried through drawing to be loaded onto to preset to draw
The current value exported after electric current and persistently Preset Time.The charger specifically includes following functions module:
Acquisition module 410, the current value for obtaining charging inlet output;Wherein, current value is:Mobile terminal is in detection
When draw load to charging inlet after exceeding predetermined threshold value to charging inlet temperature, charging inlet is loaded onto default pulling load current through drawing
And continue the current value exported after Preset Time;
Generation module 420, for when the current value that acquisition module 410 gets meets pre-conditioned, generating an electric current
Instruction;
Processing module 430, for the current-order generated according to generation module 420, turns off the output voltage of charging inlet.
Wherein, as shown in figure 5, acquisition module 410 includes:
Acquisition submodule 411, at least three current values for periodically obtaining charging inlet output.
Wherein, generation module 420 includes:
Detection sub-module 421, for detecting whether at least three current values for getting meet with corresponding current threshold
Preset relation;
Generation submodule 422, for detecting at least three current values with corresponding current threshold when detection sub-module 421
When being satisfied by preset relation, a current-order is generated.
Wherein, acquisition module 410 includes:
First acquisition unit 4101, for obtaining charging inlet after drawing and being loaded onto the first default pulling load current value and lasting
First current value of output in first Preset Time;
Second acquisition unit 4102, for obtain stop drawing carry and after continuing for the first interval time charging inlet output the
Two current values;
3rd acquiring unit 4103, for obtaining charging inlet after drawing and being loaded onto the second default pulling load current value and lasting
3rd current value of output in second Preset Time;
4th acquiring unit 4104, for obtain stop drawing carry and after continuing for the second interval time charging inlet output the
Four current values.
Wherein, generation module 420 includes:
Detection unit 4201, for detecting the first current value for getting, the second current value, the 3rd current value and respectively
Whether four current values expire preset relation with corresponding current threshold;
Generation unit 4202, for detecting the first current value, the second current value, the 3rd current value when detection unit 4201
Preset relation is satisfied by with the 4th current value and corresponding current threshold, then generates a current-order.
Wherein, detection unit 4201 includes:
First detection sub-unit 42011, for detecting the first current value for getting whether higher than the first pre-set current value
And continue the first Preset Time;Wherein, the first pre-set current value is less than the first default pulling load current value;
Second detection sub-unit 42012, for detecting the second current value for getting whether less than the first pre-set current value
And continued for the first interval time;
3rd detection sub-unit 42013, for detecting the 3rd current value for getting whether higher than the second pre-set current value
And continue the second Preset Time;Wherein, the second pre-set current value is less than the second default pulling load current value;
4th detection sub-unit 42014, for detecting the 4th current value for getting whether less than the second pre-set current value
And continued for the second interval time.
Wherein, generation unit 4202 includes:
Generation subelement 42021, for when the first current value higher than the first pre-set current value and continue the first Preset Time,
Second current value is less than the first pre-set current value and continues the first interval time, the 3rd current value higher than the second pre-set current value simultaneously
When continuing the second Preset Time, the 4th current value less than the second pre-set current value and continuing for the second interval time, an electric current is generated
Instruction.
A kind of mobile terminal, including charger as described above are additionally provided according to another aspect of the present embodiment.
It is worthy of note that, the charger and mobile terminal of the embodiment of the present invention are controlled with the voltage of above-mentioned charging inlet
Method is corresponding, and the implementation method of the above method and the technique effect of realization are suitable for the embodiment of the charger.Wherein,
Charger of the invention generates current-order to realize filling by obtaining the current value that charging inlet is exported based on multiple current values
The shut-off of electrical equipment output voltage, the program judges the shut-off of simultaneously controlled output voltage by charger, not over charger
Safe and applicable scope, it is to avoid the security hidden trouble caused by charger overloads for a long time.Additionally, the program need not rely on it is two-way
The charging system of communication, it is adaptable to various charging systems.
Fourth embodiment
Fig. 6 is the block diagram of the mobile terminal 600 of another embodiment of the present invention, and mobile terminal as shown in Figure 6 includes:Extremely
Few processor 601, memory 602, charger 603 and a user interface 604.Each component in mobile terminal 600 passes through
Bus system 605 is coupled.It is understood that bus system 605 is used to realize the connection communication between these components.Total linear system
605 are united in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition.But for clear theory
For the sake of bright, various buses are all designated as bus system 605 in figure 6.
Wherein, user interface 604 can be including display or pointing device (such as touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 602 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 height
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 602 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 602 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for
Realize various basic businesses and process hardware based task.Application program 6022, comprising 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 6022.
In an embodiment of the present invention, by the program for calling memory 602 to store or instruction, specifically, can be should
With the program or instruction that are stored in program 6022.Wherein, processor 601 is used to detect charging inlet temperature more than default threshold
When draw load to charging inlet after value, charging inlet is through drawing the electricity for being loaded onto default pulling load current and persistently being exported after Preset Time
Flow valuve.Charger 603 includes a microprocessor, is mainly used in:Obtain the current value of charging inlet output;If current value meets pre-
If condition, then a current-order is generated;According to the current-order of generation, the output voltage of charging inlet is turned off.
The method that the embodiments of the present invention are disclosed can apply in processor 601, or be realized by processor 601.
Processor 601 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 instruction of the integrated logic circuit of the hardware in processor 601 or software form.Above-mentioned treatment
Device 601 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.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
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 may 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 602, processor 601 reads the information in memory 602, with reference to the step of its hardware completion above method.
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 circuits (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.
Realized for software, can be realized by performing the module (such as process, function etc.) of function described herein herein
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realize processor outside.
Specifically, the microprocessor of 6 chargers 603 is additionally operable to:Obtain at least three current values of charging inlet output.
Specifically, the microprocessor 6 of charger 603 is additionally operable to:At least three current values that get of detection with it is corresponding
Whether current threshold meets preset relation;If detect at least three current values is satisfied by default pass with corresponding current threshold
System, then generate a current-order.
Specifically, the microprocessor 6 of charger 603 is additionally operable to:Obtain charging inlet and be loaded onto the first default drawing load through drawing
After current value and continue the first current value of output in the first Preset Time;Obtain and stop after drawing carries and continued for the first interval time
Second current value of charging inlet output;Obtain charging inlet and after drawing and being loaded onto the second default pulling load current value and continue second
3rd current value of output in Preset Time;Obtain stop drawing carry and after continuing for the second interval time charging inlet output the 4th
Current value.
Further, the microprocessor 6 of charger 603 is additionally operable to:The first current value, the second electricity for getting are detected respectively
Whether flow valuve, the 3rd current value and the 4th current value meet preset relation with corresponding current threshold;If detecting the first electric current
Value, the second current value, the 3rd current value and the 4th current value are satisfied by preset relation with corresponding current threshold, then generate an electricity
Stream instruction.
Wherein, the microprocessor 6 of charger 603 is additionally operable to:Whether the first current value that detection gets is pre- higher than first
If current value simultaneously continues the first Preset Time;Wherein, the first pre-set current value is less than the first default pulling load current value;
Whether the second current value that detection gets is less than the first pre-set current value and continued for the first interval time;
Whether the 3rd current value that detection gets is higher than the second pre-set current value and continues the second Preset Time;Wherein,
Second pre-set current value is less than the second default pulling load current value;
Whether the 4th current value that detection gets is less than the second pre-set current value and continued for the second interval time.
Wherein, the microprocessor of charger 603 is additionally operable to:If the first current value is higher than the first pre-set current value and continues the
One Preset Time, the second current value are less than the first pre-set current value and continue the first interval time, the 3rd current value higher than second
Pre-set current value simultaneously continues the second Preset Time, the 4th current value less than the second pre-set current value and continued for the second interval time,
Then generate a current-order.
The mobile terminal 600 of the embodiment of the present invention, multiple current values that charging inlet is exported are obtained by charger 603,
Current-order is generated to realize the shut-off of charger output voltage based on current value, the program is judged by charger and controlled defeated
Go out the shut-off of voltage, not over the safe and applicable scope of charger, it is to avoid the potential safety hazard caused by charger overloads for a long time
Problem.Additionally, the program needs not rely on the charging system of two-way communication, it is adaptable to various charging systems, lead to higher
The property used.
Sixth embodiment
Fig. 7 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 7
700 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 700 in Fig. 7 includes power supply 710, memory 720, input block 730, display unit 740, charging
Device 750, processor 760, WIFI (Wireless Fidelity) module 770, voicefrequency circuit 780 and RF circuits 790, wherein, fill
Electrical equipment 750 includes microprocessor, the output voltage for controlling charging inlet.
Wherein, input block 730 can be used to receive the information of user input, and produce the user with mobile terminal 700
Set and the relevant signal input of function control.Specifically, in the embodiment of the present invention, the input block 730 can include touching
Control panel 731.Contact panel 731, also referred to as touch-screen, can collect user thereon or neighbouring touch operation (such as user
Use the operation of any suitable object such as finger, stylus or annex on contact panel 731), and according to journey set in advance
Formula drives corresponding attachment means.Optionally, contact panel 731 may include two portions of touch detecting apparatus and touch controller
Point.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, and transmit a signal to
Touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives
The processor 760, and the order sent of receiving processor 760 and can be performed.Furthermore, it is possible to using resistance-type, condenser type,
The polytype such as infrared ray and surface acoustic wave realizes contact panel 731.Except contact panel 731, input block 730 can be with
Including other input equipments 732, other input equipments 732 can include but is not limited to physical keyboard, function key (such as volume control
Button processed, switch key etc.), trace ball, mouse, one or more in action bars etc..
Wherein, display unit 740 can be used for display by the information of user input or be supplied to information and the movement of user
The various menu interfaces of terminal.Display unit 740 may include display panel 741, optionally, can use LCD or organic light emission
The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 741.
It should be noted that contact panel 731 can cover display panel 741, touch display screen is formed, when touch display screen inspection
Measure thereon or after neighbouring touch operation, processor 760 is sent to determine the type of touch event, with preprocessor
760 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 the 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 be used for show utilization rate control higher, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 760 is the control centre of mobile terminal, using each of various interfaces and connection whole mobile phone
Individual part, by running or performing software program and/or module of the storage in first memory 721, and calls storage to exist
Data in second memory 722, perform the various functions and processing data of mobile terminal, so as to carry out entirety to mobile terminal
Monitoring.Optionally, processor 760 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 721 in software program and/or module and/
To the data in second memory 722, processor 760 is used for after charging inlet temperature is detected more than predetermined threshold value to charging
Interface draw when carrying, and charging inlet is through drawing the current value for being loaded onto default pulling load current and persistently being exported after Preset Time.Charge
The microprocessor of device 750 is used to obtain the current value of charging inlet output;If current value meets pre-conditioned, an electric current is generated
Instruction;According to the current-order of generation, the output voltage of charging inlet is turned off.
Specifically, the microprocessor of charger 750 is additionally operable to:Obtain at least three current values of charging inlet output.
Specifically, the microprocessor of charger 750 is additionally operable to:At least three current values and corresponding electricity that detection gets
Whether stream threshold value meets preset relation;If detect at least three current values is satisfied by preset relation with corresponding current threshold,
Then generate a current-order.
Further, the microprocessor of charger 750 is additionally operable to:Obtain charging inlet and be loaded onto the first default drawing load through drawing
After current value and continue the first current value of output in the first Preset Time;Obtain and stop after drawing carries and continued for the first interval time
Second current value of charging inlet output;Obtain charging inlet and after drawing and being loaded onto the second default pulling load current value and continue second
3rd current value of output in Preset Time;Obtain stop drawing carry and after continuing for the second interval time charging inlet output the 4th
Current value.
Wherein, the microprocessor of charger 750 is additionally operable to:Detect respectively get the first current value, the second current value,
Whether the 3rd current value and the 4th current value meet preset relation with corresponding current threshold;If detecting the first current value,
Two current values, the 3rd current value and the 4th current value are satisfied by preset relation with corresponding current threshold, then generate an electric current and refer to
Order.
Specifically, the microprocessor of charger 750 is additionally operable to:Whether the first current value that detection gets is pre- higher than first
If current value simultaneously continues the first Preset Time;Wherein, the first pre-set current value is less than the first default pulling load current value;
Whether the second current value that detection gets is less than the first pre-set current value and continued for the first interval time;
Whether the 3rd current value that detection gets is higher than the second pre-set current value and continues the second Preset Time;Wherein,
Second pre-set current value is less than the second default pulling load current value;
Whether the 4th current value that detection gets is less than the second pre-set current value and continued for the second interval time.
Specifically, the microprocessor of charger 750 is additionally operable to:If the first current value is higher than the first pre-set current value and continues
First Preset Time, the second current value are less than the first pre-set current value and continue the first interval time, the 3rd current value higher than the
Two pre-set current values simultaneously continue the second Preset Time, the 4th current value less than the second pre-set current value and when continuing the second interval
Between, then generate a current-order.
The mobile terminal 700 of the embodiment of the present invention, multiple current values that charging inlet is exported are obtained by charger 750,
Current-order is generated to realize the shut-off of charger output voltage based on current value, the program is judged by charger and controlled defeated
Go out the shut-off of voltage, not over the safe and applicable scope of charger, it is to avoid the potential safety hazard caused by charger overloads for a long time
Problem.Additionally, the program needs not rely on the charging system of two-way communication, it is adaptable to various charging systems, lead to higher
The property used.
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
Unit 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, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application
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, can be by other
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, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing 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 according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, 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 used to so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
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 the ordinary person for the art comes
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.