CN106786969A - A kind of charge protection method and device - Google Patents

A kind of charge protection method and device Download PDF

Info

Publication number
CN106786969A
CN106786969A CN201710042950.4A CN201710042950A CN106786969A CN 106786969 A CN106786969 A CN 106786969A CN 201710042950 A CN201710042950 A CN 201710042950A CN 106786969 A CN106786969 A CN 106786969A
Authority
CN
China
Prior art keywords
voltage
charging
mobile terminal
controlled switch
signal input
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.)
Withdrawn
Application number
CN201710042950.4A
Other languages
Chinese (zh)
Inventor
陈伟得
林泓宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710042950.4A priority Critical patent/CN106786969A/en
Publication of CN106786969A publication Critical patent/CN106786969A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Abstract

The invention provides a kind of charge protection method and device.Methods described includes:Charging voltage under detection high-voltage charging state;Judge the charging voltage whether more than given threshold;If the charging voltage is more than given threshold, the connection of cut-off signal input port and inside chip.By the embodiment of the present invention; even if the USB VBUS pins at charger end are touched with the USB DM signal pins of mobile terminal; the 9V charging voltages at charger end will not be also applied in the USB DM signal pins and inside chip of mobile terminal; protect the signal input port and inside chip of mobile terminal not to be burned, and then protect mobile terminal.

Description

A kind of charge protection method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of charge protection method and device.
Background technology
Along with the arrival in mobile Internet epoch, user is had using the average time of mobile terminal than Internet era Very big growth.The popularization of large-size screen monitors mobile terminal and abundant application program also bring more electricity to mobile terminal simultaneously Expend.It is more frequently mobile terminal charging that the increase of mobile terminal power consumption and the growth of use time bring user therewith Need.Common charging modes are 5V voltages, and charging current is generally grown to limitation user in below 2A, charging and uses movement One bottleneck of terminal.In order to accelerate the charging rate of mobile terminal, conventional scheme is charged soon using 9V high pressures, in phase With more electricity can be filled with electric current.
But, 9V fills also bring some risks soon, if (Universal Serial Bus lead to the USB at charger end With universal serial bus) VBUS pins touch with the USB DM signal pins of mobile terminal, are easily caused mobile terminal inside chip USB port burns out, and this damage is typically permanent physical damage.Once after this thing happens, the mobile end of user End is likely to occur and cannot be started up, and charges abnormal, it is impossible to the failure such as is connected with computer, badly influences the use of user, or even lead Loss of data is caused, is forced the mobile terminal for more renewing.
The content of the invention
The embodiment of the present invention provides a kind of charge protection method, to solve the USB VBUS pins and mobile terminal of charging end USB DM signal pins touch the problem for causing the USB port of mobile terminal inside chip to burn out.
According to one aspect of the present invention, there is provided a kind of charge protection method, mobile terminal, methods described bag are applied to Include:
Charging voltage under detection high-voltage charging state;
Judge the charging voltage whether more than given threshold;
If the charging voltage is more than given threshold, the connection of cut-off signal input port and inside chip
According to another aspect of the present invention, there is provided a kind of charge protection device, mobile terminal, described device are deployed in Including:
Charging voltage detection module, for detecting the charging voltage under high-voltage charging state;
Charging voltage judge module, for judging the charging voltage whether more than given threshold;
Connection disconnects module, if being more than given threshold, cut-off signal input port and inside for the charging voltage The connection of chip.
According to the embodiment of the present invention, the charging voltage under mobile terminal detection high-voltage charging state;Judging charging voltage is It is no more than given threshold, that is, judge whether start charging protection function;If charging voltage is more than given threshold, starts and charge The connection of defencive function, cut-off signal input port and inside chip, even if the USB VBUS pins at charger end are whole with mobile The USB DM signal pins at end are touched, and the USB DM signals that the 9V charging voltages at charger end will not also be applied to mobile terminal draw On pin and inside chip, so as to the signal input port and inside chip that protect mobile terminal are not burned, and then protect Mobile terminal.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of charge protection method of the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of charge protection method of the embodiment of the present invention two;
Fig. 3 is a kind of one of block diagram of charge protection device of the embodiment of the present invention three;
Fig. 4 is the two of the block diagram of a kind of charge protection device of the embodiment of the present invention three;
Fig. 5 is the block diagram of the mobile terminal of the embodiment of the present invention four;
Fig. 6 is the structural representation of the mobile terminal of the embodiment of the present invention five.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Embodiment one
A kind of charge protection method provided in an embodiment of the present invention is discussed in detail.
Reference picture 1, shows a kind of flow chart of the charge protection method in the embodiment of the present invention, is applied to mobile whole End, methods described includes:
Step 101, the charging voltage under detection high-voltage charging state.
In the present embodiment, mobile terminal in the charge state, charging is detected by measuring the voltage of charging input end mouthful Voltage.In current mobile terminal charging technique, charging voltage includes 5V and 9V.When charging voltage is 9V, if charger The USB VBUS pins at end are touched with the USB DM signal pins of mobile terminal, it is easy to cause the USB DM of mobile terminal Signal pins and inside chip are burned, therefore in the case where charging voltage is for the high-voltage charging state of 9V, are charged with greater need for detection electric Pressure, the USB DM signal pins to mobile terminal are protected, and improve charging reliability.
Whether step 102, judge the charging voltage more than given threshold.
In the present embodiment, after detecting the charging voltage of charged state, judge whether charging voltage is more than given threshold, i.e., Judge that mobile terminal under high-voltage charging state, different counter-measures is taken according to different charging voltages.Given threshold can To be set greater than 5V and be less than 9V.For example, given threshold is 8.5V, when mobile terminal charges under 9V, charging voltage is big In given threshold, then start charging protection function.The embodiment of the present invention does not make restriction in detail to the size of given threshold, can be with root It is configured according to actual conditions.
Step 103, if the charging voltage is more than the company of given threshold, cut-off signal input port and inside chip Connect.
In the present embodiment, if charging voltage is more than given threshold, illustrate that mobile terminal needs to be protected, then disconnect and moving The signal input port of dynamic terminal is the connection of USB DM signal pins and inside chip, to avoid the USB VBUS at charger end When pin is touched with the USB DM signal pins of mobile terminal, the charging voltage of 9V is applied to the USB DM signals of mobile terminal On pin and inside chip, pin and chip is caused to burn out.
Mobile terminal can set switch between signal input port and inside chip, and switch closure makes signal input part Mouth is connected with inside chip, and switching off makes signal input port be disconnected with inside chip.Mobile terminal can also set other The mode for disconnecting, the embodiment of the present invention does not make restriction in detail to this, can be configured according to actual conditions.
In sum, the charging voltage under embodiment of the present invention mobile terminal detection high-voltage charging state;Judge the electricity that charges Whether pressure is more than given threshold, that is, judge whether to need to start charging protection function;If charging voltage is more than given threshold, Start charging protection function, the connection of cut-off signal input port and inside chip, even if the USB VBUS pins at charger end Touched with the USB DM signal pins of mobile terminal, the 9V charging voltages at charger end will not also be applied to the USB of mobile terminal In DM signal pins and inside chip, so as to the signal input port and inside chip that protect mobile terminal are not burned.
Embodiment two
Reference picture 2, shows a kind of flow chart of the charge protection method in another embodiment of the present invention.
Step 201, connects external charger.
In the present embodiment, the voltage input pin of mobile terminal is connected with the USB VBUS pins at charger end, makes shifting Dynamic terminal connection external charger.
Step 202, detects whether the external charger has voltage output.
In the present embodiment, after mobile terminal connection external charger, by the USB VBUS pins for measuring charger end Voltage detects whether external charger has voltage output.If the voltage of the USB VBUS pins at measurement charger end is 5V, Illustrate mobile terminal in common charged state;If the voltage of the USB VBUS pins at measurement charger end is 9V, movement is illustrated Terminal is in high-voltage charging state;If the voltage of the USB VBUS pins at measurement charger end is 0V, illustrate external charger without Voltage output.The voltage of the USB VBUS pins at charger end allows to fluctuate within the specific limits, for example, measurement charger end The voltage of USB VBUS pins fluctuates between 4.8V-5.2V.Output voltage fluctuation model of the embodiment of the present invention for charger Enclose and do not make restriction in detail, can be configured according to actual conditions.
Step 203, if the external charger Non voltage output, generates the prompt message without input voltage.
In the present embodiment, when the voltage of the USB VBUS pins at measurement charger end is 0V, i.e. external charger no-voltage During output, mobile terminal prompt message of the generation without input voltage.For example, generation " please check whether charger inserts " or Prompt messages such as " failures of charging ".
Step 204, judges whether charging port is high-voltage charging port.
In the present embodiment, when external charger has a voltage output, and charger output voltage mobile terminal knowledge In other scope, then the detection of charge protocol is carried out, whether the charging port for judging mobile terminal is high-voltage charging port.Charge and assist View detection can use BC1.2 charge protocols, and the charging for detecting mobile terminal is SDP (standard down port) types or CDP (charging downlink port) type, or DCP (high-voltage charging port) type.If the charging of mobile terminal be SDP type or CDP types, then carry out 5V chargings according to corresponding charge type, does not carry out follow-up safeguard measure;If mobile terminal fills Electricity is DCP types, then carry out 9V chargings according to corresponding charge type, performs step 205.
Whether step 205, if the charging port is high-voltage charging port, sends support that high pressure is filled to external charger The inquiry instruction of electricity.
In the present embodiment, when the charging port of mobile terminal is high-voltage charging port, 9V chargings can be carried out, then outwards Portion's charger sends inquiry instruction, and whether inquiry external charger supports that 9V charges.External charger sends according to actual conditions Feedback information.
Step 206, receives the feedback information of the support high-voltage charging that the external charger sends, and carries out high-voltage charging.
In the present embodiment, if external charger supports that 9V charges, sent to mobile terminal and support the anti-of high-voltage charging Feedforward information.Mobile terminal receive external charger send support high-voltage charging feedback information, then by control source port from 5V is switched to 9V, carries out high-voltage charging, performs step 207.If external charger does not support that 9V charges, sent out to mobile terminal Send the feedback information for not supporting high-voltage charging.Mobile terminal receives the feedback letter for not supporting high-voltage charging that external charger sends Breath, continues to keep 5V to charge, and follow-up safeguard measure is not performed.
Step 207, the charging voltage under detection high-voltage charging state.
Whether step 208, judge the charging voltage more than given threshold.
In the present embodiment, mobile terminal judges whether charging voltage can be processed more than the mode of given threshold by center Device (Central Processing Unit, CPU) is judged, it is also possible to judged by other means.Preferably, move Whether dynamic terminal is provided with logical device, judge the charging voltage more than given threshold by the logical device.Specifically, The logical device that mobile terminal is set can constitute NAND gate by triode, when charging voltage is high level (9V) and sets threshold When value is also high level, low level is output as, judges that charging voltage is more than given threshold;When charging voltage be low level (0V) and When given threshold is high level, high level is output as, judges that charging voltage is less than given threshold.
Mobile terminal is also provided with PMU (Power Management Unit, PMU), by described Whether PMU judges the charging voltage more than given threshold.Specifically, by the VBUS pins of external charger with Whether the input pin of PMU is connected, judge charging voltage more than given threshold in PMU.
Step 209, if the charging voltage is more than the company of given threshold, cut-off signal input port and inside chip Connect.
In the present embodiment, mobile terminal is provided with controlled switch, and the controlled switch is connected to the signal input port In the middle of inside chip, the logical device and institute's PMU connect the controlled switch respectively.When logical device is sentenced When determining charging voltage more than given threshold, mobile terminal controls the controlled switch to disconnect by the logical device, so that institute Signal input port is stated to be disconnected with the connection of inside chip.When PMU judges that charging voltage is more than given threshold, Mobile terminal controls the controlled switch to disconnect by the PMU, so that the signal input port and inner core The connection of piece disconnects.Specifically, PMU judges that charging voltage is more than given threshold, notifies CPU result of determination, CPU Order is sent to the GPIO of controlled switch according to result of determination, controlled switch is disconnected.
Hardware protection is belonged to by the connection of logical device cut-off signal input port and inside chip, by power management Unit cut-off signal input port belongs to software protection with the connection of inside chip.In the embodiment of the present invention, it is preferable that take two The duplicate protection that safeguard measure is carried out simultaneously is planted, to avoid charging socket surge and ESD (Electro-Static Discharge, Electro-static Driven Comb) cause logical device to damage and disconnect the uncontrollable controlled switch of logical device, or CPU soft Part control fails to control controlled switch and disconnects.
In sum, after embodiment of the present invention mobile terminal connection external charger, whether detection external charger has electricity Pressure output;If external charger Non voltage output, generates prompt message;If external charger has voltage output, sentence Whether the charging port of disconnected mobile terminal is high-voltage charging port;When charging port is high-voltage charging port, to external charging Whether device sends support that the inquiry of high-voltage charge is instructed;Receive the feedback letter of the support high-voltage charging of external charger transmission After breath, high-voltage charging is carried out;Charging voltage is detected under high-voltage charging state, when charging voltage is more than given threshold, explanation Need to start charge protection, then the connection of cut-off signal input port and inside chip, even if the USB VBUS at charger end draw Pin is touched with the USB DM signal pins of mobile terminal, and the 9V charging voltages at charger end will not also be applied to mobile terminal In USB DM signal pins and inside chip, so as to the signal input port and inside chip that protect mobile terminal are not burnt It is bad, and then protect mobile terminal.
It should be noted that for foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, and the present invention is not limited by described sequence of movement, because according to According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know, Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
Embodiment three
A kind of charge protection device provided in an embodiment of the present invention is discussed in detail, in realizing embodiment one to embodiment two Charge protection method details, and reach identical effect.
Reference picture 3, shows a kind of block diagram of the charge protection device in the embodiment of the present invention, is deployed in mobile terminal, Characterized in that, described device includes that charging voltage detection module 301, charging voltage judge module 302, connection disconnect module 303:
Charging voltage detection module 301, for detecting the charging voltage under high-voltage charging state;
Charging voltage judge module 302, for judging the charging voltage whether more than given threshold;
Connection disconnect module 303, if for the charging voltage be more than given threshold, cut-off signal input port with it is interior The connection of portion's chip.
On the basis of Fig. 3, the mobile terminal is provided with logical device, controlled switch;
The controlled switch is connected in the middle of the signal input port and inside chip;
The logical device connects the controlled switch;
The charging voltage judge module 302 includes logical device judging submodule 3021, sees Fig. 4:
Logical device judging submodule 3021, sets for judging whether the charging voltage is more than by the logical device Determine threshold value;
The connection disconnects module 303 includes that logical device disconnects submodule 3031, sees Fig. 4:
Logical device disconnects submodule 3031, for controlling the controlled switch to disconnect by the logical device, so that The signal input port disconnects with the connection of inside chip.
On the basis of Fig. 3, the mobile terminal is provided with PMU, controlled switch;
The controlled switch is connected in the middle of the signal input port and inside chip;
The PMU connects the controlled switch;
The charging voltage judge module 302 includes PMU judging submodule 3022, sees Fig. 4:
PMU judging submodule 3022, for judging that the charging voltage is by the PMU It is no more than given threshold;
The connection disconnects module 303 includes that PMU disconnects submodule 3032, sees Fig. 4:
PMU disconnects submodule 3032, for controlling the controlled switch to break by the PMU Open, so that the signal input port disconnects with the connection of inside chip.
On the basis of Fig. 3, before the charging voltage detection module, described device also judges mould including charging port Block 304, inquiry instruction sending module 305, high-voltage charging module 306, are shown in Fig. 4:
Charging port judge module 304, for judging whether charging port is high-voltage charging port;
Inquiry instruction sending module 305, if being high-voltage charging port for the charging port, sends out to external charger Whether the inquiry for supporting high-voltage charging is sent to instruct;
High-voltage charging module 306, the feedback information for receiving the support high-voltage charging that the external charger sends, enters Horizontal high voltage charges.
On the basis of Fig. 3, before the charging voltage detection module, described device also includes charger link block 307th, voltage output detection module 308, prompt message generation module 309, are shown in Fig. 4:
Charger link block 307, for connecting external charger;
Voltage output detection module 308, for detecting whether the external charger has voltage output;
Prompt message generation module 309, if for the external charger Non voltage output, generating without input voltage Prompt message.
In sum, in the embodiment of the present invention after mobile terminal connection external charger, whether detection external charger has Voltage output;If external charger Non voltage output, generates prompt message;If external charger has voltage output, Whether the charging port for judging mobile terminal is high-voltage charging port;When charging port is high-voltage charging port, filled to outside Whether electrical equipment sends support that the inquiry of high-voltage charge is instructed;Receive the feedback of the support high-voltage charging of external charger transmission After information, high-voltage charging is carried out;Charging voltage is detected under high-voltage charging state, when charging voltage is more than given threshold, is said It is bright to need to start charge protection, then the connection of cut-off signal input port and inside chip, even if the USB VBUS at charger end Pin is touched with the USB DM signal pins of mobile terminal, and the 9V charging voltages at charger end will not also be applied to mobile terminal In USB DM signal pins and inside chip, so as to the signal input port and inside chip that protect mobile terminal are not burnt It is bad, and then protect mobile terminal.
Example IV
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in Fig. 5 includes:At least One processor 501, memory 502, at least one network interface 504 and user interface 503.Each in mobile terminal 500 Component is coupled by bus system 505.It is understood that bus system 505 is used to realize that the connection between these components to be led to Letter.Bus system 505 in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition.It but is For the sake of clear explanation, in Figure 5 various buses are all designated as bus system 505.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 502 of the system and method for embodiment of the present invention description is intended to include but does not limit In these memories with any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Person their subset, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for Realize various basic businesses and process hardware based task.Application program 5022, comprising various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program for calling memory 502 to store or instruction, specifically, can be application The program stored in program 5022 or instruction, the charging voltage under the detection high-voltage charging state of processor 501;Judge the charging Whether voltage is more than given threshold;If the charging voltage is more than given threshold, cut-off signal input port and inside chip Connection.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned treatment Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammable GateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and box Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor In hardware and software module combination perform completion.Software module may be located at random access memory, and flash memory, read-only storage can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, register.The storage Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed with reference to its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other the electronics lists for performing herein described function In unit or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can To realize within a processor or outside processor.
Alternatively, the mobile terminal is provided with logical device, controlled switch;The controlled switch is connected to the signal In the middle of input port and inside chip;The logical device connects the controlled switch;The processor 501 is additionally operable to:Pass through Whether the logical device judges the charging voltage more than given threshold;The controlled switch is controlled by the logical device Disconnect, so that the signal input port disconnects with the connection of inside chip.
Alternatively, the mobile terminal is provided with PMU, controlled switch;The controlled switch is connected to described In the middle of signal input port and inside chip;The PMU connects the controlled switch;The processor 501 is also used In:Judge the charging voltage whether more than given threshold by the PMU;By the PMU The controlled switch is controlled to disconnect, so that the signal input port disconnects with the connection of inside chip.
Alternatively, the processor 501 is additionally operable to:Judge whether charging port is high-voltage charging port;If the charging Whether port is high-voltage charging port, then send support that the inquiry of high-voltage charging is instructed to external charger;Receive the outside The feedback information of the support high-voltage charging that charger sends, carries out high-voltage charging.
Alternatively, the processor 501 is additionally operable to:Connection external charger;Detect whether the external charger has electricity Pressure output;If the external charger Non voltage output, generates the prompt message without input voltage.
Mobile terminal 500 can realize each process of mobile terminal realization in previous embodiment, to avoid repeating, here Repeat no more.In the embodiment of the present invention, after mobile terminal connection external charger, whether detection external charger has voltage defeated Go out;If external charger Non voltage output, generates prompt message;If external charger has voltage output, judge to move Whether the charging port of dynamic terminal is high-voltage charging port;When charging port is high-voltage charging port, sent out to external charger Whether the inquiry for supporting high-voltage charge is sent to instruct;Receive the feedback information of the support high-voltage charging of external charger transmission Afterwards, high-voltage charging is carried out;Charging voltage is detected under high-voltage charging state, when charging voltage is more than given threshold, illustrates to need Start charge protection, then the connection of cut-off signal input port and inside chip, even if the USB VBUS pins at charger end Touched with the USB DM signal pins of mobile terminal, the 9V charging voltages at charger end will not also be applied to the USB of mobile terminal In DM signal pins and inside chip, so as to the signal input port and inside chip that protect mobile terminal are not burned, enter And protect mobile terminal.
Embodiment five
Fig. 6 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 600 can be mobile phone, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal 600 in Fig. 6 includes that radio frequency (RadioFrequency, RF) circuit 610, memory 620, input are single Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 and power supply 690。
Wherein, input block 630 can be used to receive the numeral or character information of user input, and produce and mobile terminal 600 user is set and the relevant signal input of function control.Specifically, in the embodiment of the present invention, the input block 630 can With including contact panel 631.Contact panel 631, user can be collected thereon or neighbouring touch operation (such as user uses hand The operation of any suitable object such as finger, stylus or annex on contact panel 631), and driven according to formula set in advance Corresponding attachment means.Optionally, contact panel 631 may include two parts of touch detecting apparatus and touch controller.Wherein, Touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, and transmit a signal to touch control Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 660, and the order sent of receiving processor 660 and can be performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with And the polytype such as surface acoustic wave realizes contact panel 631.Except contact panel 631, input block 630 can also include other Input equipment 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, one or more in action bars etc..
Wherein, display unit 640 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 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection Measure thereon or after neighbouring touch operation, processor 660 is sent to determine the type of touch event, with preprocessor 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And 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 660 is the control centre of mobile terminal 600, using various interfaces and connection whole mobile phone Various pieces, by running or performing software program and/or module of the storage in first memory 621, and call storage Data in second memory 622, perform the various functions and processing data of mobile terminal 600, so as to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, the charging voltage under the detection high-voltage charging state of processor 660;Judge the charging Whether voltage is more than given threshold;If the charging voltage is more than given threshold, cut-off signal input port and inside chip Connection.
Alternatively, the mobile terminal is provided with logical device, controlled switch;The controlled switch is connected to the signal In the middle of input port and inside chip;The logical device connects the controlled switch;The processor 660 is additionally operable to:Pass through Whether the logical device judges the charging voltage more than given threshold;The controlled switch is controlled by the logical device Disconnect, so that the signal input port disconnects with the connection of inside chip.
Alternatively, the mobile terminal is provided with PMU, controlled switch;The controlled switch is connected to described In the middle of signal input port and inside chip;The PMU connects the controlled switch;The processor 660 is also used In:Judge the charging voltage whether more than given threshold by the PMU;By the PMU The controlled switch is controlled to disconnect, so that the signal input port disconnects with the connection of inside chip.
Alternatively, the processor 660 is additionally operable to:Judge whether charging port is high-voltage charging port;If the charging Whether port is high-voltage charging port, then send support that the inquiry of high-voltage charging is instructed to external charger;Receive the outside The feedback information of the support high-voltage charging that charger sends, carries out high-voltage charging.
Alternatively, the processor 660 is additionally operable to:Connection external charger;Detect whether the external charger has electricity Pressure output;If the external charger Non voltage output, generates the prompt message without input voltage.
It can be seen that, in the embodiment of the present invention, after the connection external charger of mobile terminal 600, whether detection external charger has Voltage output;If external charger Non voltage output, generates prompt message;If external charger has voltage output, Whether the charging port for judging mobile terminal is high-voltage charging port;When charging port is high-voltage charging port, filled to outside Whether electrical equipment sends support that the inquiry of high-voltage charge is instructed;Receive the feedback of the support high-voltage charging of external charger transmission After information, high-voltage charging is carried out;Charging voltage is detected under high-voltage charging state, when charging voltage is more than given threshold, is said It is bright to need to start charge protection, then the connection of cut-off signal input port and inside chip, even if the USB VBUS at charger end Pin is touched with the USB DM signal pins of mobile terminal, and the 9V charging voltages at charger end will not also be applied to mobile terminal In USB DM signal pins and inside chip, so as to the signal input port and inside chip that protect mobile terminal are not burnt It is bad, and then protect mobile terminal.
For above-mentioned charge protection device embodiment, because it is substantially similar to embodiment of the method, so description Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It would have readily occurred to a person skilled in the art that be:Any combination application of above-mentioned each embodiment is all feasible, therefore Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
Provided herein charge protection scheme not with any certain computer, virtual system or the intrinsic phase of miscellaneous equipment Close.Various general-purpose systems can also be used together with based on teaching in this.As described above, construction has present invention side Structure required by the system of case is obvious.Additionally, the present invention is not also directed to any certain programmed language.Should be bright In vain, it is possible to use various programming languages realize the content of invention described herein, that and language-specific is done above retouches State is to disclose preferred forms of the invention.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body implementation method are expressly incorporated in the specific embodiment, wherein each claim conduct in itself Separate embodiments of the invention.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this 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, charge protection technical scheme essence of the invention On the part of the part that is contributed to prior art in other words or the technical scheme can be embodied in the form of software product Out, computer software product storage is in a storage medium, including some instructions are used to so that a computer equipment (can be personal computer, server, or network equipment etc.) perform each embodiment methods described of the invention whole or Part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be stored The medium of program code.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of charge protection method, is applied to mobile terminal, it is characterised in that methods described includes:
Charging voltage under detection high-voltage charging state;
Judge the charging voltage whether more than given threshold;
If the charging voltage is more than given threshold, the connection of cut-off signal input port and inside chip.
2. method according to claim 1, it is characterised in that the mobile terminal is provided with logical device, controlled switch;
The controlled switch is connected in the middle of the signal input port and inside chip;
The logical device connects the controlled switch;
It is described to judge whether the charging voltage includes more than given threshold:
Judge the charging voltage whether more than given threshold by the logical device;
The cut-off signal input port includes with the connection of inside chip:
The controlled switch is controlled to disconnect by the logical device, so that the connection of the signal input port and inside chip Disconnect.
3. method according to claim 1, it is characterised in that the mobile terminal is provided with PMU, controlled Switch;
The controlled switch is connected in the middle of the signal input port and inside chip;
The PMU connects the controlled switch;
It is described to judge whether the charging voltage includes more than given threshold:
Judge the charging voltage whether more than given threshold by the PMU;
The cut-off signal input port includes with the connection of inside chip:
The controlled switch is controlled to disconnect by the PMU, so that the signal input port and inside chip Connection disconnects.
4. method according to claim 1, it is characterised in that charging voltage under the detection high-voltage charging state it Before, methods described also includes:
Judge whether charging port is high-voltage charging port;
If the charging port is high-voltage charging port, send whether support that the inquiry of high-voltage charging refers to external charger Order;
The feedback information of the support high-voltage charging that the external charger sends is received, high-voltage charging is carried out.
5. method according to claim 1, it is characterised in that charging voltage under the detection high-voltage charging state it Before, methods described also includes:
Connection external charger;
Detect whether the external charger has voltage output;
If the external charger Non voltage output, generates the prompt message without input voltage.
6. a kind of charge protection device, is deployed in mobile terminal, it is characterised in that described device includes:
Charging voltage detection module, for detecting the charging voltage under high-voltage charging state;
Charging voltage judge module, for judging the charging voltage whether more than given threshold;
Connection disconnects module, if being more than given threshold, cut-off signal input port and inside chip for the charging voltage Connection.
7. device according to claim 6, it is characterised in that the mobile terminal is provided with logical device, controlled switch;
The controlled switch is connected in the middle of the signal input port and inside chip;
The logical device connects the controlled switch;
The charging voltage judge module includes:
Logical device judging submodule, for judging the charging voltage whether more than given threshold by the logical device;
The connection disconnects module to be included:
Logical device disconnects submodule, for controlling the controlled switch to disconnect by the logical device, so that the signal Input port disconnects with the connection of inside chip.
8. device according to claim 6, it is characterised in that the mobile terminal is provided with PMU, controlled Switch;
The controlled switch is connected in the middle of the signal input port and inside chip;
The PMU connects the controlled switch;
The charging voltage judge module includes:
PMU judging submodule, sets for judging whether the charging voltage is more than by the PMU Determine threshold value;
The connection disconnects module to be included:
PMU disconnects submodule, for controlling the controlled switch to disconnect by the PMU, so that The signal input port disconnects with the connection of inside chip.
9. device according to claim 6, it is characterised in that before the charging voltage detection module, described device Also include:
Charging port judge module, for judging whether charging port is high-voltage charging port;
Inquiry instruction sending module, if for the charging port be high-voltage charging port, to external charger send whether Support the inquiry instruction of high-voltage charging;
High-voltage charging module, the feedback information for receiving the support high-voltage charging that the external charger sends, enters horizontal high voltage Charge.
10. device according to claim 6, it is characterised in that before the charging voltage detection module, described device Also include:
Charger link block, for connecting external charger;
Voltage output detection module, for detecting whether the external charger has voltage output;
Prompt message generation module, if for the external charger Non voltage output, generating the prompting letter without input voltage Breath.
CN201710042950.4A 2017-01-20 2017-01-20 A kind of charge protection method and device Withdrawn CN106786969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710042950.4A CN106786969A (en) 2017-01-20 2017-01-20 A kind of charge protection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710042950.4A CN106786969A (en) 2017-01-20 2017-01-20 A kind of charge protection method and device

Publications (1)

Publication Number Publication Date
CN106786969A true CN106786969A (en) 2017-05-31

Family

ID=58944955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710042950.4A Withdrawn CN106786969A (en) 2017-01-20 2017-01-20 A kind of charge protection method and device

Country Status (1)

Country Link
CN (1) CN106786969A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109786879A (en) * 2019-03-26 2019-05-21 深圳市网心科技有限公司 A kind of mobile phone charging method, device, medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007068333A (en) * 2005-08-31 2007-03-15 Sony Corp Power supply-dedicated device, terminal, power supply system, and power supply method
CN103227488A (en) * 2013-03-29 2013-07-31 深圳市金立通信设备有限公司 Method for controlling charging voltage of mobile terminal and charging conversion device
CN203707809U (en) * 2013-09-25 2014-07-09 深圳市易丰展业通讯技术有限公司 USB data line
CN104467109A (en) * 2014-12-24 2015-03-25 广东欧珀移动通信有限公司 Method for supplying power to electronic equipment and electronic equipment
CN205610274U (en) * 2016-04-29 2016-09-28 维沃移动通信有限公司 Short -circuit protection circuit and electronic equipment charge

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007068333A (en) * 2005-08-31 2007-03-15 Sony Corp Power supply-dedicated device, terminal, power supply system, and power supply method
CN103227488A (en) * 2013-03-29 2013-07-31 深圳市金立通信设备有限公司 Method for controlling charging voltage of mobile terminal and charging conversion device
CN203707809U (en) * 2013-09-25 2014-07-09 深圳市易丰展业通讯技术有限公司 USB data line
CN104467109A (en) * 2014-12-24 2015-03-25 广东欧珀移动通信有限公司 Method for supplying power to electronic equipment and electronic equipment
CN205610274U (en) * 2016-04-29 2016-09-28 维沃移动通信有限公司 Short -circuit protection circuit and electronic equipment charge

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109786879A (en) * 2019-03-26 2019-05-21 深圳市网心科技有限公司 A kind of mobile phone charging method, device, medium and equipment

Similar Documents

Publication Publication Date Title
CN106844265B (en) A kind of control method and mobile terminal of general-purpose serial bus USB interface
CN108268388B (en) A kind of Type-C interface protective circuit and method, mobile terminal
CN108268389A (en) The insertion detection method and mobile terminal of a kind of equipment
CN106786960B (en) Charge control method, device and terminal
CN105898705A (en) Method for controlling scanning frequency of wireless local area network and mobile terminal
CN108268403A (en) A kind of Type-C interface protective circuits and method, mobile terminal
CN105811543A (en) Electric quantity display method of mobile power source, mobile terminal and mobile power source
CN106981904A (en) The method and charge-discharge control system of a kind of charge and discharge control
CN104216790A (en) Part anomaly monitoring method and electronic equipment
CN108268402A (en) Protection circuit, guard method and the mobile terminal of Type-C interfaces
CN106786969A (en) A kind of charge protection method and device
CN108268405A (en) Protection circuit, guard method and the mobile terminal of Type-C interfaces
CN107257406B (en) A kind of method and terminal to charge and audio data is handled
CN108347070A (en) A kind of method and mobile terminal, charging equipment of charging
CN108270253A (en) A kind of charging method and mobile terminal
CN107357455A (en) A kind of driving method of display screen, display screen and mobile terminal
CN108268090A (en) A kind of interface protector, mobile terminal and method
CN106684967B (en) A kind of charging method and mobile terminal of mobile terminal
CN107482736B (en) A kind of method for preventing USB interface short circuit from burning and electronic equipment
CN106066694A (en) The control method of a kind of touch screen operation response and terminal
CN111478378A (en) Protection circuit, charging control device and method, and electronic device
CN115328073A (en) Detection and protection system of electric drive system, detection and protection method of electric drive system and processor
CN108268091B (en) A kind of interface protector, mobile terminal and method
CN106776228A (en) The method for security protection and mobile terminal of a kind of mobile terminal
CN106054681A (en) Card inserting and plugging safe control circuit and method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170531

WW01 Invention patent application withdrawn after publication