CN106130094A - A kind of USB port charge protection device and method - Google Patents
A kind of USB port charge protection device and method Download PDFInfo
- Publication number
- CN106130094A CN106130094A CN201610494215.2A CN201610494215A CN106130094A CN 106130094 A CN106130094 A CN 106130094A CN 201610494215 A CN201610494215 A CN 201610494215A CN 106130094 A CN106130094 A CN 106130094A
- Authority
- CN
- China
- Prior art keywords
- current
- voltage
- usb port
- temperature threshold
- default
- 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
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000001514 detection method Methods 0.000 claims abstract description 62
- 230000005611 electricity Effects 0.000 claims description 16
- 230000002829 reductive effect Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 22
- 230000008569 process Effects 0.000 description 13
- 230000000052 comparative effect Effects 0.000 description 10
- 230000006378 damage Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000010295 mobile communication Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 230000001276 controlling effect Effects 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 206010014357 Electric shock Diseases 0.000 description 2
- 208000027418 Wounds and injury Diseases 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 208000014674 injury Diseases 0.000 description 2
- 210000001503 joint Anatomy 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001629 suppression Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 241000196324 Embryophyta Species 0.000 description 1
- 241001062009 Indigofera Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000000875 corresponding effect Effects 0.000 description 1
- 239000009730 ganji Substances 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000002463 transducing effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
-
- H02J7/0077—
-
- H02J7/0088—
Abstract
The invention discloses a kind of general-purpose serial bus USB port charge protection device and method, this device includes: first detection module, after being terminal charge the first duration by USB port, detects the Current Temperatures of USB port.The Current Temperatures detected is compared by the first comparison module with the first temperature threshold preset.Current Temperatures, when Current Temperatures is more than the first temperature threshold preset, is compared by the first comparison module with the second temperature threshold preset.Adjusting module is when Current Temperatures is more than the first temperature threshold preset, and during less than the second temperature threshold preset, from the first electric current, charging current is adjusted to the second electric current;Wherein, the first electric current is more than the second electric current.Stopping modular, when Current Temperatures is more than or equal to the second temperature threshold preset, stops as terminal charge.By embodiment of the present invention scheme, it is possible to when solving to be charged by USB port, owing to USB port is the warmmest or the highest safety problem caused of USB port voltage.
Description
Technical field
The present invention relates to terminal charge field, particularly relate to a kind of general-purpose serial bus USB port charge protection device and
Method.
Background technology
Along with the development of terminal charge technology, terminal supports increasingly large current charge, and output current of charger function is more
Coming the biggest, more large current charge also supported by end cell.But the general-purpose serial bus USB port at charging and terminal joint leads to
The electric current crossed is limited, and owing to USB port plugs for a long time, the USB port points of proximity are also chronically exposed in air, may
Causing USB port contact point impedance to increase, when large current charge, heating increases, and possibly even causes USB port to burn time serious
Bad the most on fire, impact safe handling.It addition, when charger damages, charger output may exceed human-body safety scope
, now can there is high voltage in voltage, therefore, user will deposit when using terminal or when touching terminal on USB port
In the risk got an electric shock.For the problems referred to above, current the art does not also have effective solution.
Summary of the invention
Present invention is primarily targeted at a kind of USB port charge protection device of proposition and method, it is intended to solve to pass through USB
When port is charged, owing to USB port is the warmmest or the highest safety problem caused of USB port voltage.
For achieving the above object, a kind of USB port charge protection device that the present invention provides, this device includes: the first inspection
Survey module, the first comparison module, adjusting module and stopping modular.
First detection module, for after being terminal charge the first duration by USB port, detects working as of USB port
Front temperature.
First comparison module, for comparing the Current Temperatures detected with the first temperature threshold preset.
First comparison module, is additionally operable to when Current Temperatures is more than the first temperature threshold preset, by Current Temperatures with pre-
If the second temperature threshold compare.
Adjusting module, for being more than, when Current Temperatures, the first temperature threshold preset, and less than the second temperature threshold preset
During value, charging current is adjusted to the second electric current from the first electric current;Wherein, the first electric current is more than the second electric current.
Stopping modular, for when Current Temperatures is more than or equal to the second temperature threshold preset, stopping as terminal charge.
Alternatively, this device also includes: arrange module.
Module is set, for when being initially terminal charge, charging current is set to the first electric current;When Current Temperatures is little
In or equal to preset the first temperature threshold time, maintain charging current be the first electric current.
Alternatively, this device also includes: the second detection module, the second comparison module and warning module.
Second detection module, for after being terminal charge the second duration by USB port, detects working as of USB port
Front voltage.
Second comparison module, for comparing the current voltage detected with the first voltage threshold preset.
Second comparison module, is additionally operable to when current voltage is more than the first voltage threshold preset, by current voltage with pre-
If the second voltage threshold compare.
Stopping modular, is additionally operable to when current voltage is more than the first voltage threshold preset, less than the second voltage threshold preset
During value, stop as terminal charge.
Warning module, for when current voltage is more than or equal to the second low pressure threshold preset, carrying out safe early warning.
Alternatively, module is set and is additionally operable to: when current voltage is less than or equal to the first voltage threshold preset, maintain electricity
Charging current before pressure detection is terminal charge.
Alternatively, this device also includes: the 3rd detection module.
3rd detection module, for when Current Temperatures is more than or equal to the second temperature threshold preset, stopping modular stops
When only reaching the second duration for the time after terminal charge, the current electric quantity of detection terminal.
First detection module, is additionally operable to when current electric quantity is less than or equal to the power threshold preset, detection USB end again
The Current Temperatures of mouth.
First comparison module, is additionally operable to compare the Current Temperatures again detected with the 3rd default temperature threshold
Relatively.
Module is set, is additionally operable to when the Current Temperatures again detected is less than or equal to three temperature threshold preset,
Again with the first electric current as terminal charge.
Stopping modular, is additionally operable to, when the Current Temperatures again detected is more than three temperature threshold preset, keep stopping
Only for the state of terminal charge and enter timing stage of next second duration.
Additionally, for achieving the above object, the present invention also proposes a kind of USB port charge protection method, and the method includes:
After being terminal charge the first duration by USB port, the Current Temperatures of detection USB port.
The Current Temperatures detected is compared with the first temperature threshold preset.
When Current Temperatures is more than the first temperature threshold preset, Current Temperatures is carried out with the second temperature threshold preset
Relatively.
When Current Temperatures is more than the first temperature threshold preset, during less than the second temperature threshold preset, by charging current
It is reduced to the second electric current from the first electric current.
When Current Temperatures is more than or equal to the second temperature threshold preset, stop as terminal charge.
Alternatively, the method also includes: when being initially terminal charge, and charging current is set to the first electric current;When working as
When front temperature is less than or equal to the first temperature threshold preset, maintaining charging current is the first electric current.
Alternatively, the method also includes: after being terminal charge the second duration by USB port, detection USB port
Current voltage.
The current voltage detected is compared with the first voltage threshold preset.
When current voltage is more than the first voltage threshold preset, current voltage is carried out with the second voltage threshold preset
Relatively.
When current voltage is more than the first voltage threshold preset, during less than the second voltage threshold preset, stop as terminal
Charging.
When current voltage is more than or equal to the second low pressure threshold preset, carry out safe early warning.
Alternatively, the method also includes: when current voltage is less than or equal to the first voltage threshold preset, maintain voltage
Charging current before detection is terminal charge.
Alternatively, the method also includes:
When Current Temperatures is more than or equal to the second temperature threshold preset, the time after stopping as terminal charge reaches the
During two durations, the current electric quantity of detection terminal.
When current electric quantity is less than or equal to the power threshold preset, again detect the Current Temperatures of USB port, will again
The Current Temperatures detected compares with the 3rd temperature threshold preset.
When the Current Temperatures again detected is less than or equal to three temperature threshold preset, again with the first electric current it is
Terminal charge.
When the Current Temperatures again detected is more than three temperature threshold preset, keep stopping the shape for terminal charge
State also enters timing stage of next second duration.
USB port charge protection device and method that the present invention proposes include: first detection module by USB port is being
After terminal charge the first duration, the Current Temperatures of detection USB port.First comparison module by the Current Temperatures that detects with pre-
If the first temperature threshold compare.First comparison module, ought when Current Temperatures is more than the first temperature threshold preset
Front temperature compares with the second temperature threshold preset.Adjusting module is more than, when Current Temperatures, the first temperature threshold preset,
And during less than the second temperature threshold preset, charging current is adjusted to the second electric current from the first electric current;Wherein, the first electric current is big
In the second electric current.Stopping modular, when Current Temperatures is more than or equal to the second temperature threshold preset, stops as terminal charge.Logical
Cross embodiment of the present invention scheme, it is possible to when solving to be charged by USB port, owing to USB port is the warmmest or USB port is electric
Press the highest safety problem caused.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the USB port charge protection device structure composition frame chart of the embodiment of the present invention;
Fig. 4 is the hardware architecture diagram of the terminal charge of the embodiment of the present invention;
Fig. 5 is the USB port charge protection method flow chart of the embodiment of the present invention;
Fig. 6 is the USB port charge protection method schematic diagram of the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Describe referring now to accompanying drawing and realize the present invention one optional mobile terminal of each embodiment.In follow-up description
In, use is used for the suffix representing such as " module ", " parts " or " unit " of the element explanation only for the beneficially present invention,
Itself do not has specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and consolidating of such as numeral TV, desk computer etc.
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, mobile except being used in particular for
Outside the element of purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is one the optional hardware architecture diagram of mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, user's input
Unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190
Etc..Fig. 1 shows the mobile terminal with various assembly, it should be understood that be not required for implementing all groups illustrated
Part.Can alternatively implement more or less of assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and wireless communication system
Or the radio communication between network.Such as, wireless communication unit can include broadcast reception module 111, mobile communication module
112, at least one in wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcasting management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be to generate and send
Broadcast singal and/or the server of broadcast related information or the broadcast singal generated before receiving and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include that TV broadcast singal, radio signals, data are broadcasted
Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Pass information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be with the electronics of DMB (DMB)
Program guide (EPG), the form of electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H) and exist.Broadcast
Receiver module 111 can be broadcasted by using various types of broadcast systems to receive signal.Especially, broadcast reception module 111
Can be by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video wide
Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for extensively
Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcast reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals to base station (such as, access point, node B etc.), exterior terminal
And in server at least one and/or receive from it radio signal.Such radio signal can include that voice leads to
Words signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Positional information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115 calculates from three or more satellites
Range information and correct time information and for the Information application triangulation calculated, thus according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, the method use three being used for calculating position and temporal information is defended
Star and by using the position and the error of temporal information that other satellite correction calculates.Additionally, GPS module 115
Velocity information can be calculated by Continuous plus current location information in real time.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He
Mike 1220, the camera 121 static map to being obtained by image capture apparatus in Video Capture pattern or image capture mode
The view data of sheet or video processes.Picture frame after process may be displayed on display unit 151.At camera 121
Picture frame after reason can be stored in memorizer 160 (or other storage medium) or carry out via wireless communication unit 110
Send, two or more cameras 1210 can be provided according to the structure of mobile terminal.Mike 122 can be at telephone relation mould
Formula, logging mode, speech recognition mode etc. operational mode receives sound (voice data) via mike, and can be by
Such acoustic processing is voice data.Audio frequency (voice) data after process can be changed in the case of telephone calling model
For can be sent to the form output of mobile communication base station via mobile communication module 112.Mike 122 can implement all kinds
Noise eliminate (or suppression) algorithm with the noise eliminating (or suppression) and producing during receiving and send audio signal or
Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input
Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch
Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
Orientation, the acceleration or deceleration of mobile terminal 100 of 100 move and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense
This sliding-type phone opens or cuts out.It addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include that proximity transducer 1410 will combine below
This is described by touch screen.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses each of mobile terminal 100
Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..It addition, the device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, know
Other device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 may be used for receive from
The input (such as, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements or may be used between mobile terminal and external device (ED) transmit data.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing electricity by it
Power provides the path of mobile terminal 100 from base or can serve as allowing from the various command signals of base input by it
It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from various command signals or the electric power of base input
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner
Go out signal (such as, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display
Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, it is in electricity when mobile terminal 100
During words call mode, display unit 151 can show and call or other (such as, text messaging, multimedia file that communicate
Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern
Or during image capture mode, display unit 151 can show image and/or the image of reception of capture, illustrate video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit
151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent
Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, move
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode, logging mode,
Time under the isotype such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or at memorizer 160
The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide with mobile
The audio frequency output (such as, call signal receives sound, message sink sound etc.) that the specific function that terminal 100 performs is relevant.
Dio Output Modules 152 can include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typical event is permissible
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video exports, alarm unit
153 can provide output with the generation of notification event in a different manner.Such as, alarm unit 153 can be with the form of vibration
Output is provided, when receiving calling, message or some other entrance communication (incomingcommunication), alarm list
Unit 153 can provide sense of touch output (that is, vibration) to notify to user.By providing such sense of touch to export, even if
When the mobile phone of user is in the pocket of user, user also is able to identify the generation of various event.Alarm unit 153 is also
The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can
Temporarily to store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And
And, memorizer 160 can with storage about when touch be applied to touch screen time the vibration of various modes of output and audio signal
Data.
Memorizer 160 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many
Media card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access store
Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network
The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice call, data
Control that communication, video calling etc. are relevant and process.It addition, controller 180 can include for reproducing (or playback) many matchmakers
The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or it is so structured that with control
Device 180 processed separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or figure
Sheet is drawn input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein
At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation
Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language
Implementing, software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that utilize via frame or packet transmission data all if any
Line and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, communication system use
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face relates to cdma communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.
If back haul link can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific direction
Each subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity reception
Antenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum
(such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal operated by broadcsting transmitter (BT) 295
100.Broadcast reception module 111 is arranged on mobile terminal 100 and sentences the broadcast that reception is sent by BT295 as shown in Figure 1
Signal.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position multiple mobile terminals
At least one in 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain useful
Location information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the location letter wanted as shown in Figure 1
Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of position of mobile terminal can be followed the tracks of
Technology.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each instead
Processed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides call
Resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receive
According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned optional mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Along with the development of terminal charge technology, terminal supports increasingly large current charge, and output current of charger function is more
Coming the biggest, more large current charge also supported by end cell.But the electric current passed through at the USB port of charging and terminal joint is to have
Limit, and owing to USB port plugs for a long time, the USB port points of proximity are also chronically exposed in air, may cause USB port
Contact point impedance increases, and when large current charge, heating increases, and possibly even causes USB port to burn out the most on fire time serious,
Impact safe handling.It addition, when charger damages, charger may export the voltage beyond human-body safety scope, now uses
When using mobile terminal, there is electrical shock safety risk in family.
For problem above, as shown in Figure 3, Figure 4, first embodiment of the invention proposes a kind of USB port charge protection dress
Setting to 01, this device includes: first detection module the 02, first comparison module 03, adjusting module 04 and stopping modular 05.This device 01
Can be arranged in the Master control chip in the terminal charge hardware elementary diagram shown in Fig. 4, or can be as single USB end
Mouth charge protection device is applied independent of beyond terminal and charger.
First detection module 02, for after being terminal charge the first duration by USB port, detects USB port
Current Temperatures.
In embodiments of the present invention, it is that terminal charge has become very universal by USB port, and in order to improve charging
Efficiency, all using big electric current is terminal charge, and the USB port caused in order to avoid large current charge overlong time is the warmmest, causes
Potential safety hazard, embodiment of the present invention scheme the most at regular intervals will be to the USB end in charging by first detection module 02
The temperature of mouth carries out a temperature detection, and such as, often the first duration in embodiment of the present invention scheme carries out detecting once,
This first duration can be according to different application scenarios self-definings, such as, according to the size of charging current, according to present terminal
Self configuring condition etc..It is further to note that the time interval between every twice detection can be the same or different,
The most each first duration can be the same or different, and is and is periodically detected time identical, is aperiodicity inspection when differing
Surveying, two schemes is all within the protection domain of the embodiment of the present invention.
First comparison module 03, for comparing the Current Temperatures detected with the first temperature threshold preset.
In embodiments of the present invention, detected the Current Temperatures of USB port by first detection module 02 after, the most permissible
The size of this Current Temperatures is judged, here, it is judged that standard be a default temperature threshold, as the present invention implement
The first temperature threshold in example, the first comparison module 03 is by entering the Current Temperatures detected with the first temperature threshold preset
Row compares, and judges the size of this Current Temperatures according to comparative result.Concrete comparative result can be divided into two kinds:
The first comparative result, Current Temperatures, less than or equal to the first temperature threshold preset, illustrates current USB port
Temperature be in normal range within, this Current Temperatures can be processed.
Alternatively, this device also includes: arrange module 06.
Module 06 is set, for when being initially terminal charge, charging current is set to the first electric current;Work as Current Temperatures
During less than or equal to the first temperature threshold preset, maintaining charging current is the first electric current.
In embodiments of the present invention, if the first comparison module 03 has compared Current Temperatures less than or equal to the preset
One temperature threshold, it is determined that USB port is currently under safe temperature state, arranging module 06 can tie up according to this testing result
Hold the original charging current of terminal, the i.e. first electric current, continue as terminal charge.Need exist for explanation, module 06 is set and exists
Will be arranged to be charged with the first electric current for terminal when terminal starts to charge up, in order to improve charging rate, typically this first
Electric current all can be bigger, and here, this first electric current can not made numerical value limit according to different application scenarios self-definings, example
As, according to the rated current of end cell, self configuration etc. of terminal.
The second comparative result, Current Temperatures, more than the first temperature threshold preset, illustrates the temperature of current USB port
The most higher, it is in outside normal temperature range, needs the temperature of this USB port is controlled.But, concrete controlling party
It is how many that case also needs to exceed normal temperature according to Current Temperatures, or height takes different measures respectively to which degree,
That is, we are needing the concrete high thermal level that further determines that out residing for Current Temperatures, Ex ante here, by first
The high thermal level of Current Temperatures is judged by comparison module 03, and concrete scheme is as described below.
First comparison module 03, be additionally operable to when Current Temperatures more than preset the first temperature threshold time, by Current Temperatures with
The second temperature threshold preset compares.
In embodiments of the present invention, when detecting that Current Temperatures is more than the first default temperature threshold, current for this
The judgement of the high thermal level of temperature also needs to be entered with the second temperature threshold preset by Current Temperatures by the first comparison module 03
Row relatively realizes.Such as, when Current Temperatures is more than the first temperature threshold preset, and less than the second temperature threshold preset
Time, Current Temperatures can be judged to the first high thermal level, when Current Temperatures is more than or equal to the second temperature threshold preset,
Current Temperatures can be judged to the second high thermal level, and, the different high temperature that can also will judge in other embodiments
Grade is reminded to user, in order to user understands the high thermal level that the USB port in charging is presently in time, can be by artificial
Mode takes measures in time, in order to avoid causing damage or personal injury.Here, concrete alerting pattern can be with self-defining, such as,
By text prompt, warning strip, caution frame, prompt tone etc..
Can keep charging normal when being in charged state it should be noted that the first above-mentioned temperature threshold is USB port,
Without the temperature value of security threat, the second temperature threshold is for causing USB port to be damaged when USB port continues to keep charged state
One temperature value of bad risk, this first temperature threshold and the second temperature threshold can be fixed voluntarily according to different application scenarios
Justice, this is not restricted, such as, according to different empirical values, the configuration of different terminals, the size of different charging current and
The type of USB port or material etc. are defined.
It addition, be the most only provided with two temperature thresholds, can also arrange more in other embodiments
Temperature threshold, to mark off more detailed high thermal level, and it is possible to by arrange the first temperature threshold and the second temperature
The temperature range that threshold value is limited combines, and arranges unified temperature grade.Such as, when Current Temperatures is less than or equal to pre-
If the first temperature threshold time, Current Temperatures is arranged in the first temperature grade, when Current Temperatures more than preset first
Temperature threshold, and during less than the second temperature threshold preset, Current Temperatures is arranged in the second temperature grade, when current temperature
When degree is more than or equal to the second temperature threshold preset, Current Temperatures is arranged in the 3rd temperature grade, when follow-up setting
Having more temperature threshold is that the rest may be inferred for temperature grade.
Adjusting module 04, for being more than, when Current Temperatures, the first temperature threshold preset, and less than the second temperature preset
During threshold value, charging current is adjusted to the second electric current from the first electric current;Wherein, the first electric current is more than the second electric current.
In embodiments of the present invention, still illustrate as a example by above-mentioned high thermal level.By the first comparison module 03
Detect that Current Temperatures is more than the first default temperature threshold, and during less than the second temperature threshold preset, it is determined that USB port
Current Temperatures is in the first high thermal level, then the temperature drift of current USB port is described, but does not arrives the most serious degree, pin
Current charging current can be adjusted by the measure taking this situation by adjusting module 04, current charging current is adjusted
Joint is to relatively low numerical value, it is known that arranging module 06 during initial charge and being provided with initial charge current is the first electric current, therefore, now
Can be the second electric current described in the embodiment of the present invention from the first current reduction by charging current, here, this second electric current be same
Can not make numerical value limit, such as, according to the rated current of end cell, terminal according to different application scenarios self-defining
Self configuration etc. be defined.It addition, in other embodiments, it is also possible to it is set to the percentage preset by the first current reduction
Ratio, or it is reduced to a few percent of initial value, such as, it is set to reduce 5 the percent of former charging current, if former charged electrical
Stream, the i.e. first electric current is 2A, then become 1.9A after reducing by 5%, or be set to be reduced to 80 the percent of former charging current,
If former charging current is 2A, then become 1.6A after reducing to original 80%.
Stopping modular 05, for when Current Temperatures is more than or equal to the second temperature threshold preset, stopping filling for terminal
Electricity.
In embodiments of the present invention, still illustrate as a example by above-mentioned high thermal level.By the first comparison module 03
When comparing Current Temperatures more than or equal to the second temperature threshold preset, then judge that the Current Temperatures of USB port is in second
High thermal level, then illustrate that the temperature of current USB port is the highest, the risk that ports having is burned, therefore, in order to protect USB
The safety of port, can directly be taken through stopping modular 05 for the second current high thermal level and stop arranging for terminal charge
Execute.Certainly, in other embodiments, may also take on other measures according to different application scenarios, such as, resistance at USB port
In the case of hot conditions is preferable, can continue to use the measure reducing charging current.
Alternatively, this device also includes: the second detection module the 07, second comparison module 08 and warning module 09.
In embodiments of the present invention, describe during being charged by USB port by above scheme, in order to keep away
Exempt from USB port that large current charge overlong time causes the hottest and produce one or more solutions of the potential safety hazard embodiment of the present invention
Certainly scheme.But, when being charged by USB port, there is also another potential safety hazard, i.e. when charger damages, fill
Electrical equipment may output beyond the voltage of human-body safety scope, if now USB port leaks outside, user when using mobile terminal just
There is electric shock risk, this will bring damage to person for user, therefore, need also exist for providing effective solution, on avoiding
State the generation of hidden danger.Here, with above-mentioned temperature detection scheme, we pass through second detection module 07 voltage to USB port
Detect in time, it is thus achieved that USB port voltage condition the most in the same time, and by the second comparison module 08 to working as that this detects
Front voltage judges, it is thus achieved that the electric pressure of current voltage, takes corresponding treatment measures for different electric pressures, with
Eliminate safe hidden trouble in time or give user security early warning.It should be noted that following voltage detection scheme and above-mentioned temperature
Degree detection scheme can detect simultaneously, it is also possible to first checks out temperature and detects voltage again, or first check out voltage and detect temperature again
Degree, the most strictly limits for concrete detection ordering, as long as can reach to detect that USB port exists high temperature or high pressure in time
Etc. the scheme of potential safety hazard all within the protection domain of the embodiment of the present invention.
Second detection module 07, for after being terminal charge the second duration by USB port, detects USB port
Current voltage.
In embodiments of the present invention, with above-mentioned temperature monitoring scheme, the second detection module 07 can also be every certain
Time just carries out primary voltage detection, such as, often in embodiment of the present invention scheme to the voltage of the USB port in charging
Second duration carries out detecting once, and this second duration is equally according to different application scenarios self-definings, such as, according to working as
Front USB port and charger and/or the contact condition of terminal, the damaged condition of charger or service life etc..Additionally need
Bright, the time interval between every twice detection can be the same or different, and the most each second duration can identical also may be used
With difference, being and be periodically detected time identical, be aperiodicity detection when differing, two schemes is all in the embodiment of the present invention
Protection domain within.Such as, in embodiments of the present invention, after within 20 minutes, detecting primary voltage for terminal charge later, can
Second time voltage detecting is carried out, it is also possible to carried out second time voltage detecting through 30 minutes to again pass by 20 minutes.Further,
One duration and the second duration can also be identical or different, do not do restriction in detail.
Second comparison module 08, for comparing the current voltage detected with the first voltage threshold preset.
In embodiments of the present invention, detected the current voltage of USB port by the second detection module 07 after, the most permissible
The size of this Current Temperatures is judged, here, it is judged that standard be a default voltage threshold, as the present invention implement
The first voltage threshold in example, the second comparison module 08 is by entering the Current Temperatures detected with the first voltage threshold preset
Row compares, and judges the size of this current voltage according to comparative result.Concrete comparative result can be divided into two kinds:
The first comparative result, current voltage, less than or equal to the first voltage threshold preset, illustrates current USB port
Voltage be in normal range within, this current voltage can be processed, or current charged state not entered
Row changes.
Alternatively, module 06 is set and is additionally operable to: when current voltage is less than or equal to the first voltage threshold preset, maintain
Charging current before voltage detecting is terminal charge.
In embodiments of the present invention, if the second comparison module 08 has compared current voltage less than or equal to the preset
One voltage threshold, it is determined that USB port is currently under safe voltage state, arranging module 06 can be according to this testing result
Maintain the original charging current of terminal, the such as first electric current, continue as terminal charge.
The second comparative result, current voltage, more than the first voltage threshold preset, illustrates the voltage of current USB port
The most higher, it is in outside normal voltage range, needs the high-voltage state of this USB port is processed.But, concrete
It is how many that control program also needs to exceed normal voltage according to current voltage, or height is taked different to which degree respectively
Measure, i.e. we are needing the concrete electric pressure that further determines that out residing for current voltage Ex ante, here, logical
Crossing the second comparison module 08 to judge the electric pressure of current voltage, concrete scheme is as described below.
Second comparison module 08, be additionally operable to when current voltage more than preset the first voltage threshold time, by current voltage with
The second voltage threshold preset compares.
In embodiments of the present invention, when detecting that current voltage is more than the first default voltage threshold, current for this
The judgement of the electric pressure of voltage also needs to be entered with the second voltage threshold preset by current voltage by the second comparison module 08
Row relatively realizes.Such as, when current voltage is more than the first voltage threshold preset, and less than the second voltage threshold preset
Time, current voltage can be judged to the first electric pressure, when current voltage is more than or equal to the second voltage threshold preset,
Current voltage can be judged to the second electric pressure, and, the different voltage that can also will judge in other embodiments
Grade is reminded to user, in order to user understands the electric pressure that the USB port in charging is presently in time, can be by artificial
Mode takes measures in time, in order to avoid causing damage or personal injury.Here, concrete alerting pattern can be with self-defining, such as,
By text prompt, warning strip, caution frame, prompt tone etc..
Can keep charging normal when being in charged state it should be noted that the first above-mentioned voltage threshold is USB port
Maximum allowable voltage, the second voltage threshold is the magnitude of voltage that can affect human life safety, this first voltage threshold and the
Two voltage thresholds can be according to different application scenarios self-definings, and this is not restricted, such as, according to different experiences
The configuration of value, different terminals and the type of USB port or material etc. are defined.
It addition, be the most only provided with two voltage thresholds, can also arrange more in other embodiments
Voltage threshold, to mark off more detailed electric pressure, and it is possible to by arrange the first voltage threshold and the second voltage
The voltage range that threshold value is limited combines, and arranges unified electric pressure.Such as, when current voltage is less than or equal to pre-
If the first voltage threshold time, current voltage is arranged in the first electric pressure, when current voltage more than preset first
Voltage threshold, and during less than the second voltage threshold preset, current voltage is arranged in the second electric pressure, when current electricity
When pressure is more than or equal to the second voltage threshold preset, current voltage is arranged in tertiary voltage grade, when follow-up setting
Having more voltage threshold is that the rest may be inferred for electric pressure.
Stopping modular 05, is additionally operable to when current voltage is more than the first voltage threshold preset, and less than the second electricity preset
During pressure threshold value, stop as terminal charge.
In embodiments of the present invention, still illustrate as a example by above-mentioned electric pressure.By the second comparison module 08
Detect when current voltage is more than the first voltage threshold preset, and during less than the second voltage threshold preset, then judge USB end
The current voltage Ying Jing of mouth is in the first electric pressure, then illustrate that the voltage of current USB port is the highest, and ports having is burned
Risk, therefore, in order to protect the safety of USB port, for the first current electric pressure can directly be taken through stop
Module 05 stops the measure for terminal charge.Certainly, in other embodiments, may also take on it according to different application scenarios
His measure, such as, reminds user to change the higher USB port of pressure threshold to continue in the case of terminal charge is not fully complete
For terminal charge.
Warning module 09, for when current voltage is more than or equal to the second low pressure threshold preset, carrying out safe early warning.
In embodiments of the present invention, still illustrate as a example by above-mentioned electric pressure.By the second comparison module 08
Detect when current voltage is more than or equal to the second low pressure threshold preset, then judge that the current voltage of USB port has been located
In the second electric pressure, then illustrate that the voltage of current USB port has been able to injure personal safety, therefore, in order to protect end
End subscriber the person safety, for the second current electric pressure can directly take stop for terminal charge measure it
Under, issue the user with safe early warning, to remind user that present terminal has danger by warning module 09, it is impossible to touching simultaneously.
Certainly, concrete early warning form can carry out self-defined according to different application scenarios or different hobbies, and this safety is pre-
Alert early warning form must distinguish between reminds or electric pressure prompting form in foregoing high thermal level.Such as, use promptly
Call prompt sound, one or more forms such as warning flashing lamp and red early warning and reminding frame.
Alternatively, this device also includes: the 3rd detection module 10.
3rd detection module 10, is used for when Current Temperatures is more than or equal to the second temperature threshold preset, stopping modular
When time after stopping as terminal charge reaches the second duration, the current electric quantity of detection terminal.
In embodiments of the present invention, by above scheme it is known that to compare Current Temperatures big by the first comparison module 03
In or during equal to the second temperature threshold preset, then judge that the Current Temperatures of USB port is in the second high thermal level, then explanation is worked as
The temperature of front USB port is the highest, the risk that ports having is burned, therefore, in order to protect the safety of USB port, for sentencing
The second fixed high thermal level can directly be taken through stopping modular 05 and stop the measure for terminal charge.But, fill for user
Electricity is our final purpose, especially user in the case of being badly in need of charging, it is thus impossible in order to protect USB port, in inspection
Measure USB port overheated in the case of be just always maintained at stopping for the state of terminal charge, and, do not damage at USB port
In the case of, after the charging stopping a period of time, the temperature of this USB port will lower, and can be in again good for use
State, therefore, for this situation, in order to not affect user's charging, embodiment of the present invention scheme, because of Current Temperatures more than or
Equal to the second temperature threshold preset after stopping as terminal charge a period of time, such as the in embodiment of the present invention scheme
During two durations, can pass through the 3rd detection module 10, the current electric quantity of detection terminal, to determine the electricity feelings of active user's terminal
Condition, thus judge that present terminal battery is the need of continuing charging.Here, this second duration can be according to different application scenarios
Self-defining, such as, according to the size of charging current, according to the rate of cooling etc. of USB port.
First detection module 02, is additionally operable to, when current electric quantity is less than or equal to the power threshold preset, again detect USB
The Current Temperatures of port.
In embodiments of the present invention, if the 3rd detection module 10 detects that the current electric quantity of terminal is less than or equal to presetting
Power threshold, then explanation present terminal need continue charging, therefore, it is desirable to first detection module 02 detects USB port again
Current Temperatures, to determine whether the Current Temperatures of USB port has already decreased in normal range.Here, this electricity preset
Threshold value is equally according to different application scenarios self-definings, such as, and the 95% or 100% of total charge capacity etc..
First comparison module 03, is additionally operable to compare the Current Temperatures again detected with the 3rd default temperature threshold
Relatively.
In embodiments of the present invention, determine whether the Current Temperatures of USB port has already decreased to the enforcement in normal range
Scheme is to be compared with the 3rd temperature threshold preset by the Current Temperatures again detected by the first comparison module 03, with
Reason, the 3rd temperature threshold can also be according to different application scenarios self-definings, and this is not restricted, such as, according to difference
Empirical value, the configuration of different terminals, that the different sizes of charging current and the type of USB port or material etc. are carried out is fixed
Justice.It addition, the 3rd temperature threshold can be equal to the first above-mentioned temperature threshold, it is also possible to less than the first temperature threshold, in order to
The temperature of USB port is reduced within the scope of safer temperature.
Arranging module 06, the Current Temperatures being additionally operable to again to detect is less than or equal to the 3rd temperature threshold preset
Time, again with the first electric current as terminal charge.
In embodiments of the present invention, if the first comparison module 03 compare the Current Temperatures that again detects less than or etc.
In the 3rd default temperature threshold, it is determined that USB port is currently already under safe temperature state, and arranging module 06 can basis
This comparative result, again with the first electric current as terminal charge, reaches not affect the purpose of user terminal electricity consumption.
Stopping modular 05, is additionally operable to, when the Current Temperatures again detected is more than three temperature threshold preset, keep
Stop as the state of terminal charge and enter timing stage of next second duration.
In embodiments of the present invention, if the first comparison module 03 compares the Current Temperatures again detected more than presetting
The 3rd temperature threshold, it is determined that the temperature of current USB port is the most higher, need the temperature of this USB port is continued into
Row controls.Therefore, stopping modular 05 meeting continues to keep stopping under the state for terminal charge, and entrance according to this comparative result
In the timing stage of one the second duration, continue the temperature of detection USB port when next second duration arrives, it is judged that its temperature
Reach in safe charging temperature range.If it addition, it is big still to compare Current Temperatures through multiple second durations
When three default temperature threshold, in order to reach not affect the purpose of user terminal electricity consumption, may remind the user that replacing USB fills
Electricity port continues as terminal charge.In like manner, concrete alerting pattern can be with self-defining, such as, by text prompt, warning
Bar, caution frame, prompt tone etc..
It is further to note that the 3rd above-mentioned detection module is the most right to detection and the first detection module of electricity
The detection of USB port temperature order in no particular order, can first detect temperature, it is also possible to first detect electricity, or both examine simultaneously
Surveying, any can realization does not affect the embodiment of user's charging all within the protection domain of the embodiment of the present invention.
So far, by the agency of is over whole basic features of the embodiment of the present invention program, it should be noted that in above-mentioned
Appearance is the most only one or more embodiments of the embodiment of the present invention, can also select other embodiment party in other embodiments
Formula, any and same or analogous embodiment of the embodiment of the present invention, and any group of the basic feature of the embodiment of the present invention
Close all within the protection domain of the embodiment of the present invention.
Additionally, for achieving the above object, the present invention also proposes a kind of USB port charge protection method, and above-mentioned USB port fills
Any embodiment in electrical protective device is suitable in the USB port charge protection method of the embodiment of the present invention, at this no longer
Repeating, as shown in Figure 5, Figure 6, the method includes S101-S105:
S101, after being terminal charge the first duration by USB port, detection USB port Current Temperatures.
S102, by the Current Temperatures detected with preset the first temperature threshold compare.
S103, when Current Temperatures more than preset the first temperature threshold time, by Current Temperatures with preset the second temperature threshold
Value compares.
S104, when Current Temperatures more than preset the first temperature threshold, less than preset the second temperature threshold time, will charging
Electric current is reduced to the second electric current from the first electric current.
S105, when Current Temperatures more than or equal to preset the second temperature threshold time, stop as terminal charge.
Alternatively, the method also includes: when being initially terminal charge, and charging current is set to the first electric current;When working as
When front temperature is less than or equal to the first temperature threshold preset, maintaining charging current is the first electric current.
Alternatively, the method also includes step S201-S205:
S201, after being terminal charge the second duration by USB port, detection USB port current voltage.
S202, by the current voltage detected with preset the first voltage threshold compare.
S203, when current voltage more than preset the first voltage threshold time, by current voltage with preset the second voltage threshold
Value compares.
S204, when current voltage more than preset the first voltage threshold, less than preset the second voltage threshold time, stop be
Terminal charge.
S205, when current voltage more than or equal to preset the second low pressure threshold time, carry out safe early warning.
Alternatively, the method also includes: when current voltage is less than or equal to the first voltage threshold preset, maintain voltage
Charging current before detection is terminal charge.
Alternatively, the method also includes S301-S304:
S301, when Current Temperatures more than or equal to preset the second temperature threshold time, the time after stopping as terminal charge
When reaching the second duration, the current electric quantity of detection terminal.
S302, when current electric quantity less than or equal to preset power threshold time, again detect the Current Temperatures of USB port,
The Current Temperatures again detected is compared with the 3rd temperature threshold preset.
S303, when the Current Temperatures again detected less than or equal to preset three temperature thresholds time, again with first
Electric current is terminal charge.
S304, when the Current Temperatures again detected more than preset three temperature thresholds time, keep stop fill for terminal
The state of electricity also enters timing stage of next second duration.
USB port charge protection device and method that the present invention proposes include: first detection module by USB port is being
After terminal charge the first duration, the Current Temperatures of detection USB port.First comparison module by the Current Temperatures that detects with pre-
If the first temperature threshold compare.First comparison module, ought when Current Temperatures is more than the first temperature threshold preset
Front temperature compares with the second temperature threshold preset.Adjusting module is more than, when Current Temperatures, the first temperature threshold preset,
And during less than the second temperature threshold preset, charging current is adjusted to the second electric current from the first electric current;Wherein, the first electric current is big
In the second electric current.Stopping modular, when Current Temperatures is more than or equal to the second temperature threshold preset, stops as terminal charge.Logical
Cross embodiment of the present invention scheme, it is possible to when solving to be charged by USB port, owing to USB port is the warmmest or USB port is electric
Press the highest safety problem caused.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row
Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and
And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device
Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this
The process of key element, method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side
Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of
The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words
The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take
Business device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this
Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills
Art field, is the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. a general-purpose serial bus USB port charge protection device, it is characterised in that described device includes: the first detection mould
Block, the first comparison module, adjusting module and stopping modular;
Described first detection module, for after being terminal charge the first duration by described USB port, detects described USB
The Current Temperatures of port;
Described first comparison module, for comparing the described Current Temperatures detected with the first temperature threshold preset;
Described first comparison module, is additionally operable to when described Current Temperatures is more than described default first temperature threshold, by described
Current Temperatures compares with the second temperature threshold preset;
Described adjusting module, for when described Current Temperatures is more than described the first default temperature threshold, default less than described
During the second temperature threshold, charging current is adjusted to the second electric current from the first electric current;Wherein, described first electric current is more than described the
Two electric currents;
Described stopping modular, for when described Current Temperatures is more than or equal to described default second temperature threshold, stop be
Described terminal charge.
2. USB port charge protection device as claimed in claim 1, it is characterised in that described device also includes: arrange mould
Block;
Described module is set, for when being initially described terminal charge, described charging current is set to described first electric current;
When described Current Temperatures is less than or equal to described default first temperature threshold, maintaining described charging current is the first electric current.
3. USB port charge protection device as claimed in claim 1, it is characterised in that described device also includes: the second detection
Module, the second comparison module and warning module;
Described second detection module, for after being terminal charge the second duration by described USB port, detects described USB
The current voltage of port;
Described second comparison module, for comparing the described current voltage detected with the first voltage threshold preset;
Described second comparison module, is additionally operable to when described current voltage is more than described default first voltage threshold, by described
Current voltage compares with the second voltage threshold preset;
Described stopping modular, is additionally operable to, when described current voltage is more than described the first default voltage threshold, preset less than described
The second voltage threshold time, stop as described terminal charge;
Described warning module, for when described current voltage is more than or equal to described default second low pressure threshold, pacifying
Full early warning.
4. USB port charge protection device as claimed in claim 3, it is characterised in that the described module that arranges is additionally operable to: work as institute
When stating current voltage less than or equal to described default first voltage threshold, maintaining the charging current before voltage detecting is described end
End charging.
5. USB port charge protection device as claimed in claim 1, it is characterised in that described device also includes: the 3rd detection
Module;
Described 3rd detection module, for when described Current Temperatures is more than or equal to described default second temperature threshold, institute
When the time after stopping modular stops as described terminal charge of stating reaches the second duration, detect the current electric quantity of described terminal;
Described first detection module, is additionally operable to, when described current electric quantity is less than or equal to the power threshold preset, again detect
The Current Temperatures of described USB port;
Described first comparison module, is additionally operable to carry out the described Current Temperatures again detected with the 3rd temperature threshold preset
Relatively;
Described arranging module, the described Current Temperatures being additionally operable to again to detect is less than or equal to described the 3rd default temperature
During threshold value, it is described terminal charge with described first electric current again;
Described stopping modular, the described Current Temperatures being additionally operable to again to detect is more than described the 3rd default temperature threshold
Time, the state keeping stopping to be described terminal charge the timing stage entering next second duration.
6. a general-purpose serial bus USB port charge protection method, it is characterised in that described method includes:
After being terminal charge the first duration by described USB port, detect the Current Temperatures of described USB port;
The described Current Temperatures detected is compared with the first temperature threshold preset;
When described Current Temperatures is more than described default first temperature threshold, by described Current Temperatures and the second temperature preset
Threshold value compares;
When described Current Temperatures is more than described the first default temperature threshold, during less than described default second temperature threshold, will
Charging current is reduced to the second electric current from the first electric current;
When described Current Temperatures is more than or equal to described default second temperature threshold, stop as described terminal charge.
7. USB port charge protection method as claimed in claim 6, it is characterised in that described method also includes: be initially
During described terminal charge, described charging current is set to described first electric current;When described Current Temperatures is less than or equal to described
During the first temperature threshold preset, maintaining described charging current is the first electric current.
8. USB port charge protection method as claimed in claim 6, it is characterised in that described method also includes: passing through
State after USB port is terminal charge the second duration, detect the current voltage of described USB port;
The described current voltage detected is compared with the first voltage threshold preset;
When described current voltage is more than described default first voltage threshold, by described current voltage and the second voltage preset
Threshold value compares;
When described current voltage is more than described the first default voltage threshold, during less than described default second voltage threshold, stop
Only for described terminal charge;
When described current voltage is more than or equal to described default second low pressure threshold, carry out safe early warning.
9. USB port charge protection method as claimed in claim 8, it is characterised in that described method also includes: work as when described
When front voltage is less than or equal to described default first voltage threshold, maintaining the charging current before voltage detecting is that described terminal is filled
Electricity.
10. USB port charge protection method as claimed in claim 6, it is characterised in that described method also includes:
When described Current Temperatures is more than or equal to described default second temperature threshold, after stopping as described terminal charge time
Between when reaching the second duration, detect the current electric quantity of described terminal;
When described current electric quantity is less than or equal to the power threshold preset, again detect the Current Temperatures of described USB port, will
The described Current Temperatures again detected compares with the 3rd temperature threshold preset;
When the described Current Temperatures again detected is less than or equal to described default three temperature threshold, again with described the
One electric current is described terminal charge;
When the described Current Temperatures again detected is more than described default three temperature threshold, keep stopping as described terminal
The state charged the timing stage entering next second duration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610494215.2A CN106130094B (en) | 2016-06-29 | 2016-06-29 | A kind of USB port charge protection device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610494215.2A CN106130094B (en) | 2016-06-29 | 2016-06-29 | A kind of USB port charge protection device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106130094A true CN106130094A (en) | 2016-11-16 |
CN106130094B CN106130094B (en) | 2019-05-24 |
Family
ID=57284286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610494215.2A Active CN106130094B (en) | 2016-06-29 | 2016-06-29 | A kind of USB port charge protection device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106130094B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106786871A (en) * | 2016-12-19 | 2017-05-31 | 北京小米移动软件有限公司 | Charge control method, apparatus and system |
CN106786997A (en) * | 2017-02-23 | 2017-05-31 | 北京小米移动软件有限公司 | Charging method and device |
CN106898832A (en) * | 2017-02-23 | 2017-06-27 | 北京小米移动软件有限公司 | Charging method and device |
CN107331910A (en) * | 2017-06-30 | 2017-11-07 | 北京小米移动软件有限公司 | Charging method and device |
CN108334431A (en) * | 2018-01-31 | 2018-07-27 | 上海与德科技有限公司 | A kind of method for early warning and terminal of mainboard temperature |
CN109004724A (en) * | 2018-09-15 | 2018-12-14 | 宁波亿诺维信息技术有限公司 | Mobile terminal charge protection system |
CN113394856A (en) * | 2021-08-16 | 2021-09-14 | 山东普利斯林智能仪表有限公司 | Electric energy conversion control method and system for lithium ion electrolyte battery |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420054A (en) * | 2007-10-25 | 2009-04-29 | 宏基股份有限公司 | Battery charging method and device thereof |
CN102195299A (en) * | 2010-03-10 | 2011-09-21 | 鸿富锦精密工业(深圳)有限公司 | Battery charging system and method |
CN104638712A (en) * | 2013-11-15 | 2015-05-20 | 艾酷电子科技有限公司 | Movable hand-held device capable of preventing USB (universal serial bus) socket from overheat during charging and method applied to movable hand-hold device |
-
2016
- 2016-06-29 CN CN201610494215.2A patent/CN106130094B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420054A (en) * | 2007-10-25 | 2009-04-29 | 宏基股份有限公司 | Battery charging method and device thereof |
CN102195299A (en) * | 2010-03-10 | 2011-09-21 | 鸿富锦精密工业(深圳)有限公司 | Battery charging system and method |
CN104638712A (en) * | 2013-11-15 | 2015-05-20 | 艾酷电子科技有限公司 | Movable hand-held device capable of preventing USB (universal serial bus) socket from overheat during charging and method applied to movable hand-hold device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106786871A (en) * | 2016-12-19 | 2017-05-31 | 北京小米移动软件有限公司 | Charge control method, apparatus and system |
CN106786997A (en) * | 2017-02-23 | 2017-05-31 | 北京小米移动软件有限公司 | Charging method and device |
CN106898832A (en) * | 2017-02-23 | 2017-06-27 | 北京小米移动软件有限公司 | Charging method and device |
CN107331910A (en) * | 2017-06-30 | 2017-11-07 | 北京小米移动软件有限公司 | Charging method and device |
CN107331910B (en) * | 2017-06-30 | 2020-06-02 | 北京小米移动软件有限公司 | Charging method and device |
CN108334431A (en) * | 2018-01-31 | 2018-07-27 | 上海与德科技有限公司 | A kind of method for early warning and terminal of mainboard temperature |
CN109004724A (en) * | 2018-09-15 | 2018-12-14 | 宁波亿诺维信息技术有限公司 | Mobile terminal charge protection system |
CN109004724B (en) * | 2018-09-15 | 2022-01-04 | 深圳市奇芯电子有限公司 | Mobile terminal charging protection system |
CN113394856A (en) * | 2021-08-16 | 2021-09-14 | 山东普利斯林智能仪表有限公司 | Electric energy conversion control method and system for lithium ion electrolyte battery |
CN113394856B (en) * | 2021-08-16 | 2021-11-05 | 山东普利斯林智能仪表有限公司 | Electric energy conversion control method and system for lithium ion electrolyte battery |
Also Published As
Publication number | Publication date |
---|---|
CN106130094B (en) | 2019-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106130094A (en) | A kind of USB port charge protection device and method | |
CN106231087B (en) | A kind of method and apparatus of front and back sides dual-screen display device false-touch prevention | |
CN104980588B (en) | A kind of method and apparatus for detecting mobile terminal state | |
CN104935044B (en) | Charging method and charging unit | |
CN104636030B (en) | Method and device for starting application programs and mobile terminal | |
CN106161783A (en) | A kind of battery charge controller and method | |
CN106250734A (en) | Double screen terminal and unlocking screen verification method | |
CN104915111B (en) | terminal operation control method and device | |
CN106412243B (en) | A kind of method and terminal of monitoring distance inductor exception | |
CN105138400B (en) | Application program self-starting management method and device | |
CN106254628A (en) | A kind of mobile terminal and multi-display method | |
CN105044608B (en) | Battery status monitoring method and device | |
CN105095708B (en) | A kind of unlocking method and device of mobile terminal | |
CN105958565A (en) | Wireless charge controller, charge control method and charge control system | |
CN106253415A (en) | A kind of charge control method and device | |
CN105978103B (en) | A kind of battery charge controller and method | |
CN106162651A (en) | A kind of method and apparatus identifying pseudo-base station | |
CN104618382B (en) | A kind of method and device realizing the seamless access of information | |
CN106597298B (en) | A kind of the electric leakage judgment means and method of battery battery core | |
CN105100427B (en) | Electronic equipment and its unexpected method of protection | |
CN105896647A (en) | Charging management method and charging management device | |
CN104883454B (en) | A kind of display control method and display control terminal | |
CN106231657A (en) | The method and device of dual-screen mobile terminal switching battery saving mode | |
CN106255057A (en) | Emergency telephone number adaptive approach and device | |
CN106886713A (en) | A kind of risk checking method of terminal, server and installation software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |