CN106972560A - Charge port short-circuit protection method and device - Google Patents

Charge port short-circuit protection method and device Download PDF

Info

Publication number
CN106972560A
CN106972560A CN201710208831.1A CN201710208831A CN106972560A CN 106972560 A CN106972560 A CN 106972560A CN 201710208831 A CN201710208831 A CN 201710208831A CN 106972560 A CN106972560 A CN 106972560A
Authority
CN
China
Prior art keywords
charging
electronic equipment
equipment
instruction
charge port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710208831.1A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710208831.1A priority Critical patent/CN106972560A/en
Publication of CN106972560A publication Critical patent/CN106972560A/en
Pending 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/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect 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
    • 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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent protection

Abstract

The invention discloses a kind of charge port short-circuit protection method and device, belong to electronic technology field.Methods described includes:In charging process is carried out to the electronic equipment using charging equipment, electric current is whether there is between the pressure-wire and ground wire that detect the electronic equipment;If there is electric current between the pressure-wire and ground wire of the electronic equipment, determine that short circuit occurs for the charge port of the electronic equipment;Sent to the charging equipment and stop charging instruction, the stopping charging instruction being used for the charging for indicating that the charging equipment stops to the electronic equipment.The embodiment of the present disclosure passes through the current detecting between the VBUS pins and GND pin to electronic equipment, to detect whether the charge port of electronic equipment occurs short circuit, so as to when occurring short circuit, stop charging of the charging equipment to electronic equipment in time, substantially increase security, it is to avoid the loss of property.

Description

Charge port short-circuit protection method and device
Technical field
This disclosure relates to electronic technology field, more particularly to a kind of charge port short-circuit protection method and device.
Background technology
With the development of electronic technology, quick charge has become generally needing for masses.However, what quick charge needed Charging current is larger, and this larger charging current also brings some problems.Such as, such certain situation is presently, there are, is moved USB (Universal Serial Bus, USB) charge port of dynamic equipment has foreign matter and entered or may be More used in moist environment.If in these cases, the pollution of foreign matter or the environment of humidity can cause charge port Short circuit, charging current can form current loop between charger and charge port, and when electric current is larger, the charge port of short circuit can be big Amount heating, if user has found not in time, gently then burns out mobile phone, heavy then cause and catch fire.Such case leverages movement and set Standby security.It is therefore proposed that a kind of charge port short-circuit protection method.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of charge port short-circuit protection method and device.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of charge port short-circuit protection method, applied to electronic equipment, Including:
In charging process is carried out to the electronic equipment using charging equipment, detect the electronic equipment pressure-wire and It whether there is electric current between ground wire;
If there is electric current between the pressure-wire and ground wire of the electronic equipment, the charge port hair of the electronic equipment is determined Raw short circuit;
Sent to the charging equipment and stop charging instruction, the stopping charging instruction being used to indicate that the charging equipment stops Only to the charging of the electronic equipment.
The embodiment of the present disclosure is by the current detecting between the VBUS pins and GND pin to electronic equipment, to detect electricity Whether the charge port of sub- equipment occurs short circuit, so as to when occurring short circuit, stop charging equipment in time to electronic equipment Charging, substantially increases security, it is to avoid the loss of property.
In a kind of possible implementation, the charging equipment is charger.
In a kind of possible implementation, the charging equipment and the electronic equipment support USB PD agreements.
It is described to include to charging equipment transmission stopping charging instruction in a kind of possible implementation:
The electronic equipment is sent out by the connection between the electronic equipment and the charging equipment to the charging equipment Send the stopping charging instruction.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of charge port short-circuit protection method, applied to charging equipment, Methods described includes:
In charging process is carried out to the electronic equipment using charging equipment, the stopping that the electronic equipment is sent is received Charging instruction, the stopping charging instruction being used for the charging for indicating that the charging equipment stops to the electronic equipment;
Stop the output of the charging equipment.
The embodiment of the present disclosure is by the current detecting between the VBUS pins and GND pin to electronic equipment, to detect electricity Whether the charge port of sub- equipment occurs short circuit, so as to when occurring short circuit, stop charging equipment in time to electronic equipment Charging, substantially increases security, it is to avoid the loss of property.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of charge port short-circuit protection, applied to electronic equipment, Described device includes:
Detection module, in charging process is carried out to the electronic equipment using charging equipment, detecting the electronics It whether there is electric current between the pressure-wire and ground wire of equipment;
Sending module, if for there is electric current between the pressure-wire and ground wire of the electronic equipment, determining the electronics Short circuit occurs for the charge port of equipment, is sent to the charging equipment and stops charging instruction, and the stopping charging instruction being used to indicate The charging equipment stops the charging to the electronic equipment.
In a kind of possible implementation, the charging equipment is charger.
In a kind of possible implementation, the charging equipment and the electronic equipment support USB PD agreements.
In a kind of possible implementation, the sending module be used for by the electronic equipment and the charging equipment it Between connection, send the stopping charging instruction to the charging equipment.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of charge port short-circuit protection, applied to charging equipment, Described device includes:
Receiving module, in charging process is carried out to the electronic equipment using charging equipment, receiving the electronics The stopping charging instruction that equipment is sent, the stopping charging instruction being used to indicate that the charging equipment stops to the electronic equipment Charging;
Processing module, the output for stopping the charging equipment.
According to the 5th of the embodiment of the present disclosure the aspect there is provided a kind of charge port short-circuit protection, including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
In charging process is carried out to the electronic equipment using charging equipment, detect the electronic equipment pressure-wire and It whether there is electric current between ground wire;
If there is electric current between the pressure-wire and ground wire of the electronic equipment, the charge port hair of the electronic equipment is determined Raw short circuit;
Sent to the charging equipment and stop charging instruction, the stopping charging instruction being used to indicate that the charging equipment stops Only to the charging of the electronic equipment.
According to the 6th of the embodiment of the present disclosure the aspect there is provided a kind of charge port short-circuit protection, including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
In charging process is carried out to the electronic equipment using charging equipment, the stopping that the electronic equipment is sent is received Charging instruction, the stopping charging instruction being used for the charging for indicating that the charging equipment stops to the electronic equipment;
Stop the charging to the electronic equipment.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of charge port short-circuit protection method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of charge port short-circuit protection method according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of charge port short-circuit protection method according to an exemplary embodiment.
Fig. 4 is a kind of schematic diagram of charge current loop according to an exemplary embodiment.
Fig. 5 is a kind of schematic diagram of charge current loop according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of charge port short-circuit protection shown in an exemplary embodiment.
Fig. 7 is a kind of block diagram of charge port short-circuit protection shown in an exemplary embodiment.
Fig. 8 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of charge port short-circuit protection method according to an exemplary embodiment, such as Fig. 1 institutes Show, this method is used in electronic equipment, comprises the following steps.
In a step 101, in charging process is carried out to the electronic equipment using charging equipment, detect that the electronics is set It whether there is electric current between standby pressure-wire and ground wire.
In a step 102, if there is electric current between the pressure-wire and ground wire of the electronic equipment, determine that the electronics is set Short circuit occurs for standby charge port.
In step 103, sent to the charging equipment and stop charging instruction, the stopping charging instruction being used to indicate institute State charging of the charging equipment stopping to the electronic equipment.
In a kind of possible implementation, the charging equipment is charger.
In a kind of possible implementation, the charging equipment and the electronic equipment support USB PD agreements.
It is described to include to charging equipment transmission stopping charging instruction in a kind of possible implementation:
The electronic equipment is sent out by the connection between the electronic equipment and the charging equipment to the charging equipment Send the stopping charging instruction.
The embodiment of the present disclosure is by the current detecting between the VBUS pins and GND pin to electronic equipment, to detect electricity Whether the charge port of sub- equipment occurs short circuit, so as to when occurring short circuit, stop charging equipment in time to electronic equipment Charging, substantially increases security, it is to avoid the loss of property.
Fig. 2 is a kind of flow chart of charge port short-circuit protection method according to an exemplary embodiment, applied to filling Electric equipment, methods described includes:
In step 201, in charging process is carried out to the electronic equipment using charging equipment, receive the electronics and set The stopping charging instruction that preparation is sent, the stopping charging instruction being used to indicate that the charging equipment stops to the electronic equipment Charging;
In step 202., the charging to the electronic equipment is stopped.
The embodiment of the present disclosure is by the current detecting between the VBUS pins and GND pin to electronic equipment, to detect electricity Whether the charge port of sub- equipment occurs short circuit, so as to when occurring short circuit, stop charging equipment in time to electronic equipment Charging, substantially increases security, it is to avoid the loss of property.
Fig. 3 is a kind of flow chart of charge port short-circuit protection method according to an exemplary embodiment, such as Fig. 3 institutes Show, this method is used in the charging process of electronic equipment and charging equipment, comprises the following steps.
In step 301, charging equipment and electronic equipment are attached, start charging process.
Charging equipment can be used to the equipment that electronic equipment provides power supply, such as charger or Portable power source Deng this kind of charging equipment has USB interface, can be attached by USB data line and electronic equipment, so as to be connect by USB Mouth and USB data line, charging current is provided for electronic equipment.
Referring to Fig. 4, when charging equipment and electronic equipment are attached by USB data line, connection that can be just like Fig. 4 In USB interface of the pressure-wire VBUS pins by USB data line and electronic equipment in relation, the USB interface of charging equipment Pressure-wire VBUS pins are connected, and ground wire GND pin passes through USB data line and the USB of electronic equipment in the USB interface of charging equipment Ground wire GND pin connection in interface.
In step 302, in charging process is carried out to the electronic equipment using charging equipment, electronic equipment detects the electricity It whether there is electric current between the pressure-wire and ground wire of sub- equipment, if it is, step 303 is performed, if it is not, then continuing executing with step Rapid 302 detection process.
It was recognized by the inventor that in the case where electronic equipment does not have any exception, the electric current in charging process is from charging Pressure-wire VBUS pins in the USB interface of equipment flow to the pressure-wire in the USB interface of electronic equipment by USB data line VBUS pins, and the USB for flowing to charging equipment by USB data line by the ground wire GND pin in the USB interface of electronic equipment connects Ground wire GND pin in mouthful, forms current loop.And once charge port short circuit occurs for electronic equipment, then it is likely to result in such as Fig. 5 Situation, that is to say, there is also electric current between the pressure-wire VBUS pins and ground wire GND pin of electronic equipment side, therefore, it can It whether there is electric current between the pressure-wire of the electronic equipment and ground wire by detecting, to determine whether there occurs charge port short circuit.
And be then probably a part of electricity of charging equipment if there is electric current between the pressure-wire and ground wire of the electronic equipment Stream has flowed to ground wire without inflow electronic equipment by pressure-wire, then at this point it is possible to be an actually-received according to electronic equipment Charging current current value and the charging equipment current value of charging current that should export between difference detect that electronics is set It whether there is electric current between standby pressure-wire and ground wire, for example, electronic equipment can detect reality by built-in galvanometer The current value of the charging current received, and judge between the current value of the charging current and the pre-set current value of charging equipment Whether difference is more than predetermined threshold value, if it is greater, then determine to detect there is electric current between the pressure-wire of electronic equipment and ground wire, And if it is not greater, then determining that electric current is not present.
It should be noted that in view of that may occur when being transmitted by data wire and by other electronic building bricks Certain current loss, therefore, it can one predetermined threshold value of setting to be weighed, once rather than charging equipment predetermined current Value is more than the current value for the charging current that electronic equipment is an actually-received, it is assumed that there is electric current between pressure-wire and ground wire. Certainly, the detection between the pressure-wire and ground wire with the presence or absence of electric current can also have other detection modes, and the embodiment of the present disclosure is not It is specifically limited.
It should be noted that the detection can be real-time detection or the detection carried out every predetermined period, this public affairs Embodiment is opened to be not construed as limiting this.
In step 303, if there is electric current between the pressure-wire and ground wire of the electronic equipment, electronic equipment determines charging Short circuit occurs for mouth, is sent to the charging equipment and stops charging instruction, and the stopping charging instruction is for indicating that the charging equipment stops Charging to the electronic equipment.
, then can be by USB PD agreements, by agreement when the charging equipment and the electronic equipment support USB PD agreements Into 24MHZ FSK, ((Frequency-Shift Keying, frequency shift keying) signal is simultaneously coupled to VBUS and drawn the message modulation of layer It is transmitted on pin by USB data line, to realize the communication between electronic equipment and charging equipment, charging equipment can connect Receipts are transmitted to the fsk signal of VBUS pins by USB data line, and by being demodulated to fsk signal, to obtain the agreement The message of layer, to realize the communication between charging equipment and electronic equipment.
It is described to include to charging equipment transmission stopping charging instruction in a kind of possible implementation:The electronics Equipment sends the stopping charging by the connection between the electronic equipment and the charging equipment, to the charging equipment and referred to Order.
In fact, the above-mentioned VBUS pins that can essentially refer to electronic equipment of being transmitted by USB data line In DC level, detected by charging equipment.
In step 304, charging equipment stops the charging to the electronic equipment when receiving the stopping charging instruction.
When charging equipment receives the stopping charging instruction, the output of charging current can be stopped, so as to stop to electricity The charging of sub- equipment.
The embodiment of the present disclosure is by the current detecting between the VBUS pins and GND pin to electronic equipment, to detect electricity Whether the charge port of sub- equipment occurs short circuit, so as to when occurring short circuit, stop charging equipment in time to electronic equipment Charging, substantially increases security, it is to avoid the loss of property.
Fig. 6 is a kind of block diagram of charge port short-circuit protection shown in an exemplary embodiment.The device is applied to electricity Sub- equipment, described device includes:
Detection module 601, in charging process is carried out to the electronic equipment using charging equipment, detecting the electricity It whether there is electric current between the pressure-wire and ground wire of sub- equipment;
Sending module 602, for stopping the charging to the electronic equipment.
Wherein, the charging equipment is charger.
Wherein, the charging equipment and the electronic equipment support USB PD agreements.
Wherein, the sending module 602 is used for by the connection between the electronic equipment and the charging equipment, to institute State charging equipment and send the stopping charging instruction.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is a kind of block diagram of charge port short-circuit protection shown in an exemplary embodiment.The device is applied to fill Electric equipment, described device includes:
Receiving module 701, in charging process is carried out to the electronic equipment using charging equipment, receiving the electricity The stopping charging instruction that sub- equipment is sent, the stopping charging instruction being used to indicate that the charging equipment stops setting the electronics Standby charging;
Processing module 702, the output for stopping the charging equipment.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 8 is the block diagram of a kind of electronic equipment 800 according to an exemplary embodiment.For example, electronic equipment 800 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Reference picture 8, electronic equipment 800 can include following one or more assemblies:Processing assembly 802, memory 804, Power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, And communication component 816.
The integrated operation of the usual control electronics 800 of processing assembly 802, such as with display, call, data are led to Letter, the camera operation operation associated with record operation.Treatment element 802 can include one or more processors 820 to hold Row instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more moulds Block, is easy to the interaction between processing assembly 802 and other assemblies.For example, processing component 802 can include multi-media module, with Facilitate the interaction between multimedia groupware 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in equipment 800.These data are shown Example includes the instruction of any application program or method for being operated on electronic equipment 800, contact data, telephone directory number According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they Combination realize that such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, quick flashing Memory, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of electronic equipment 800.Electric power assembly 806 can include power supply pipe Reason system, one or more power supplys, and other components associated with generating, managing and distributing electric power for electronic equipment 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between the electronic equipment 800 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip The border of action, but also the detection duration related to the touch or slide and pressure.In certain embodiments, Multimedia groupware 808 includes a front camera and/or rear camera.When equipment 800 is in operator scheme, mould is such as shot When formula or video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each preposition shooting Head and rear camera can be a fixed optical lens systems or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when electronic equipment 800 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone It is configured as receiving external audio signal.The audio signal received can be further stored in memory 804 or via logical Letter component 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, the state for providing various aspects for electronic equipment 800 Assess.For example, sensor cluster 814 can detect opening/closed mode of equipment 800, the relative positioning of component, such as institute Display and keypad that component is electronic equipment 800 are stated, sensor cluster 814 can also detect electronic equipment 800 or electronics The position of 800 1 components of equipment changes, the existence or non-existence that user contacts with electronic equipment 800, the orientation of electronic equipment 800 Or acceleration/deceleration and the temperature change of electronic equipment 800.Sensor cluster 814 can include proximity transducer, be configured to The presence of object near being detected in not any physical contact.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In certain embodiments, the sensor cluster 814 can be with Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment. Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Show at one In example property embodiment, communication component 816 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuits (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned charge port short-circuit protection Method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of electronic equipment 800.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage is situated between Instruction in matter by the computing device of mobile terminal when so that mobile terminal is able to carry out a kind of charge port short-circuit protection side Method.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

1. a kind of charge port short-circuit protection method, it is characterised in that applied to electronic equipment, methods described includes:
In charging process is carried out to the electronic equipment using charging equipment, the pressure-wire and ground wire of the electronic equipment are detected Between whether there is electric current;
If there is electric current between the pressure-wire and ground wire of the electronic equipment, determine that the charge port generation of the electronic equipment is short Road;
Sent to the charging equipment and stop charging instruction, the stopping charging instruction being used to indicate the charging equipment stopping pair The charging of the electronic equipment.
2. according to the method described in claim 1, it is characterised in that the charging equipment is charger.
3. according to the method described in claim 1, it is characterised in that the charging equipment and the electronic equipment support power Transmit USB PD agreements.
4. according to the method described in claim 1, it is characterised in that described sent to the charging equipment stops charging instruction bag Include:
The electronic equipment sends institute by the connection between the electronic equipment and the charging equipment to the charging equipment State stopping charging instruction.
5. a kind of charge port short-circuit protection method, it is characterised in that applied to charging equipment, methods described includes:
In charging process is carried out to the electronic equipment using charging equipment, the stopping charging that the electronic equipment is sent is received Instruction, the charging instruction that stops is used for the charging for indicating that the charging equipment stops to the electronic equipment;
Stop the charging to the electronic equipment.
6. a kind of charge port short-circuit protection, it is characterised in that applied to electronic equipment, described device includes:
Detection module, in charging process is carried out to the electronic equipment using charging equipment, detecting the electronic equipment Pressure-wire and ground wire between whether there is electric current;
Sending module, if for there is electric current between the pressure-wire and ground wire of the electronic equipment, determining the electronic equipment Charge port occur short circuit, sent to the charging equipment and stop charging instruction, the stopping charging instruction being used to indicating described Charging equipment stops the charging to the electronic equipment.
7. device according to claim 6, it is characterised in that the charging equipment is charger.
8. device according to claim 6, it is characterised in that the charging equipment and the electronic equipment support power Transmit USB PD agreements.
9. device according to claim 6, it is characterised in that the sending module is used to pass through the electronic equipment and institute The connection between charging equipment is stated, the stopping charging instruction being sent to the charging equipment.
10. a kind of charge port short-circuit protection, it is characterised in that applied to charging equipment, described device includes:
Receiving module, in charging process is carried out to the electronic equipment using charging equipment, receiving the electronic equipment The stopping charging instruction of transmission, the stopping charging instruction being used to indicate that the charging equipment stops filling the electronic equipment Electricity;
Processing module, for stopping the charging to the electronic equipment.
11. a kind of charge port short-circuit protection, it is characterised in that including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
In charging process is carried out to the electronic equipment using charging equipment, the pressure-wire and ground wire of the electronic equipment are detected Between whether there is electric current;
If there is electric current between the pressure-wire and ground wire of the electronic equipment, determine that the charge port generation of the electronic equipment is short Road;
Sent to the charging equipment and stop charging instruction, the stopping charging instruction being used to indicate the charging equipment stopping pair The charging of the electronic equipment.
12. a kind of charge port short-circuit protection, it is characterised in that including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
In charging process is carried out to the electronic equipment using charging equipment, the stopping charging that the electronic equipment is sent is received Instruction, the charging instruction that stops is used for the charging for indicating that the charging equipment stops to the electronic equipment;Stop to described The charging of electronic equipment.
CN201710208831.1A 2017-03-31 2017-03-31 Charge port short-circuit protection method and device Pending CN106972560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710208831.1A CN106972560A (en) 2017-03-31 2017-03-31 Charge port short-circuit protection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710208831.1A CN106972560A (en) 2017-03-31 2017-03-31 Charge port short-circuit protection method and device

Publications (1)

Publication Number Publication Date
CN106972560A true CN106972560A (en) 2017-07-21

Family

ID=59336870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710208831.1A Pending CN106972560A (en) 2017-03-31 2017-03-31 Charge port short-circuit protection method and device

Country Status (1)

Country Link
CN (1) CN106972560A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279361A (en) * 2018-04-17 2018-07-13 南昌黑鲨科技有限公司 A kind of test method and test circuit of the charging port of intelligent terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106505688A (en) * 2016-12-19 2017-03-15 北京小米移动软件有限公司 Charge control method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106505688A (en) * 2016-12-19 2017-03-15 北京小米移动软件有限公司 Charge control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279361A (en) * 2018-04-17 2018-07-13 南昌黑鲨科技有限公司 A kind of test method and test circuit of the charging port of intelligent terminal
CN108279361B (en) * 2018-04-17 2020-06-02 南昌黑鲨科技有限公司 Test method and test circuit for charging port of intelligent terminal

Similar Documents

Publication Publication Date Title
CN104714414B (en) The control method and device of smart home device, electronic equipment
CN105117033B (en) The connection method of external equipment and device
CN107426428A (en) Electronic equipment and display lightness regulating method
CN104832446A (en) Method and device for controlling fan
CN104298547A (en) Terminal setting method and device
CN106329635A (en) Terminal charging method and device
CN105678133A (en) Terminal unlocking method and device
CN107329862A (en) Detection method, device and the terminal of keyboard
CN105550568A (en) Mobile terminal data protection method and apparatus
CN105353901A (en) Method and apparatus for determining validity of touch operation
CN104243829A (en) Self-shooting method and self-shooting device
CN106230066A (en) Charge prompting method and apparatus
CN106095636A (en) A kind of method, device and mobile device reminding continuation charging
CN105630655B (en) A kind of method and apparatus of prompt charging connection
CN105487758B (en) Application software pop-up control method, device and terminal device
CN107331910A (en) Charging method and device
CN108476379A (en) Information recording method and information record carrier
CN104020628A (en) Flash lamp prompting method and device thereof
CN106877451A (en) Charge port short-circuit protection method and device
CN105975038A (en) Prompt method and device of charging port detection result
CN106325575A (en) Touch response method and apparatus
CN106774802A (en) The reminding method of terminal power, device and terminal
CN104410900B (en) A kind of method and device for controlling the indicator light being installed on smart machine
CN104281431B (en) The method and device that audio plays
CN107371222A (en) Virtual card prohibited method and device

Legal Events

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

Application publication date: 20170721

RJ01 Rejection of invention patent application after publication