CN107547755A - USB interface guard method, mobile terminal and computer-readable recording medium - Google Patents

USB interface guard method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107547755A
CN107547755A CN201710768844.4A CN201710768844A CN107547755A CN 107547755 A CN107547755 A CN 107547755A CN 201710768844 A CN201710768844 A CN 201710768844A CN 107547755 A CN107547755 A CN 107547755A
Authority
CN
China
Prior art keywords
usb interface
circuit
mobile terminal
short circuit
guard method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710768844.4A
Other languages
Chinese (zh)
Other versions
CN107547755B (en
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.)
Topronin (Beijing) Education Technology Co.,Ltd.
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710768844.4A priority Critical patent/CN107547755B/en
Publication of CN107547755A publication Critical patent/CN107547755A/en
Application granted granted Critical
Publication of CN107547755B publication Critical patent/CN107547755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of USB interface guard method; applied to mobile terminal; mobile terminal comprises at least USB interface, internal electric source management module, and mobile terminal also includes being arranged on the switch module between USB interface and internal electric source management module on circuit, and USB interface guard method includes:When mobile terminal is in non-charged state, detection USB interface is with the presence or absence of short circuit;If USB interface has short circuit, circuit between USB interface and internal electric source management module is controlled to be off by switch module.The invention also discloses a kind of mobile terminal and computer-readable recording medium.The present invention can prevent user from not knowing that USB interface occurs under short-circuit conditions; charged using USB interface access external power source; so as to effectively avoid burning out USB interface, then play a part of protecting USB interface, solve potential safety hazard caused by USB interface short circuit.

Description

USB interface guard method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to electronic technology field, more particularly to a kind of USB interface guard method, mobile terminal and computer can Read storage medium.
Background technology
With the continuous development of scientific technology, essential in people's life one is had become using mobile terminal Point.
At present, USB interface is as connection mobile terminal and a kind of input/output interface of external equipment, because user is more for a long time Secondary plug is easily worn, and causes USB interface that the micro-short circuit even situation of short circuit occurs.When USB interface occurs short-circuit, still So external power supply is accessed by USB interface to be charged, gently then cause USB interface to generate heat, then burn USB interface, weight Then burn terminal chip or cause terminal supplying power blast etc..In actual use, the security of terminal device is had a strong impact on. Generally whether short circuit is when mobile terminal charges to detection USB interface, is entered according to input with the electric current or interface temperature exported Row detection, but this mode still has potential safety hazard.
The content of the invention
It is a primary object of the present invention to provide a kind of USB interface guard method, mobile terminal and computer-readable storage Medium, it is intended to solve how to realize the technical problem for protecting USB interface not burn out because short circuit is charged.
To achieve the above object, a kind of USB interface guard method provided by the invention, applied to mobile terminal, the shifting Dynamic terminal comprises at least USB interface, internal electric source management module, the mobile terminal also include being arranged on the USB interface with Switch module between the internal electric source management module on circuit, the USB interface guard method include:
When the mobile terminal is in non-charged state, the USB interface is detected with the presence or absence of short circuit;
If the USB interface has short circuit, by the switch module, the USB interface and the internal electricity are controlled Circuit is off between source control module.
Preferably, it is described when the mobile terminal is in non-charged state, the USB interface is detected with the presence or absence of short circuit Including:
When the mobile terminal is in non-charged state, control the switch module cut off the USB interface with it is described The conducting of circuit between internal electric source management module;
To circuit output DC voltage between the USB interface and the switch module, and detect the USB interface and institute State the current value of circuit between switch module;
According to the current value, determine the USB interface with the presence or absence of short circuit.
Preferably, it is described according to the current value, determine that the USB interface includes with the presence or absence of short circuit:
Judge whether the current value is zero;
If the current value is not zero, it is determined that the USB interface has short circuit;
If the current value is zero, it is determined that short circuit is not present in the USB interface.
Preferably, it is described be in non-charged state in the mobile terminal when, detect the USB interface with the presence or absence of short After road, the USB interface guard method also includes:
If the USB interface has short circuit, prompt user's USB interface short circuit to be present or change USB interface;
If short circuit is not present in the USB interface, the switch module is controlled to turn on the USB interface and the internal electricity Circuit between source control module.
Preferably, it is described when the mobile terminal is in non-charged state, the USB interface is detected with the presence or absence of short circuit Including:
When the mobile terminal is in non-charged state, whether judgement currently meets USB interface short-circuit detecting condition;
If satisfied, the USB interface is then detected with the presence or absence of short circuit.
Preferably, whether the judgement currently meets that USB interface short-circuit detecting condition includes:
The last charging interval is obtained, and monitors whether the time difference between current time and the charging interval is more than or waits In preset duration.
Preferably, whether the judgement currently meets that USB interface short-circuit detecting condition includes:
Whether the electricity for monitoring current mobile terminal is predetermined threshold value.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include USB interface, Internal electric source management module, the mobile terminal also include:Be arranged on the USB interface and the internal electric source management module it Between switch module on circuit, memory, processor and be stored on the memory and can run on the processor USB interface defence program, the USB interface defence program are realized during the computing device as any in claim 1 to 7 Described in USB interface guard method the step of.
Preferably, the switch module is conduction impedance, and the resistance value of the conduction impedance is in predetermined threshold value.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable USB interface defence program is stored with storage medium, realizes when the USB interface defence program is executed by processor and appoints as described above The step of USB interface guard method described in one.
The present invention is when mobile terminal is in non-charged state, and detection USB interface is with the presence or absence of short circuit, when detecting When USB interface has short-circuit, by switch module, circuit between USB interface and internal electric source management module is controlled to be in disconnection State, to prevent user in the case where not knowing that short circuit occurs in USB interface, charged using USB interface access external power source, So as to effectively avoid burning out USB interface, it is hidden then to play a part of safety caused by protecting USB interface, solution USB interface short circuit Suffer from, and then improve the safety and reliability that mobile terminal uses.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the embodiment of USB interface guard method one of the present invention;
Fig. 4 is the refinement schematic flow sheet of step S10 in Fig. 3;
Fig. 5 is the refinement schematic flow sheet of step S13 in Fig. 4;
Fig. 6 is the refinement schematic flow sheet of the preferred embodiment of USB interface guard method one of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Mobile terminal can be implemented in a variety of manners.For example, the mobile terminal described in the present invention can be included such as Mobile phone, tablet personal computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), guider, wearable device, intelligent hand Ring, pedometer etc..
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port, USB interface etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data message, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 Or it can be used for transmitting data between mobile terminal 100 and external device (ED).Specifically, interface unit 108 connects including USB Mouthful, USB interface as a kind of input/output interface for connecting mobile terminal and external equipment, its interface type have it is a variety of, such as Mini-USB, Micro-USB, Type-A, Type-B and Type-C interface etc..USB interface small volume, pin are many at this stage It is more, and spacing is very small, thus the frequent plug of user is using easily wearing interface, and then there is micro-short circuit even short circuit Situation, that is, USB interface pin short circuit, unnecessary leakage current can be caused.
Memory 109 can be used for storage software program and various data.In the present invention, the memory of mobile terminal 100 It is stored with 109 using fast starting sequence.Memory 109 can mainly include storing program area and storage data field, wherein, deposit Storing up program area can storage program area, application program (such as sound-playing function, image player work(needed at least one function Can etc.) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone. In addition, memory 109 can include high-speed random access memory, nonvolatile memory, for example, at least one can also be included Individual disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In the present invention, processor 110 is configured to perform USB interface defence program to perform operations described below:In the movement When terminal is in non-charged state, the USB interface is detected with the presence or absence of short circuit;If the USB interface has short circuit, control The switch module cuts off the conducting of circuit between the USB interface and the internal electric source management module.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.Specifically, power supply 111 is internal electric source management module.
Although not shown in Fig. 1, mobile terminal 100 also includes switch module in the present invention, such as insulation impedance, conducting resistance Anti- etc., switch module is arranged between USB interface and internal electric source management module on circuit, to cut off USB interface and inside Circuit circulates between power management module, or circuit between conducting USB interface and internal electric source management module, realizes management and control USB The resistance of circuit is led between interface and internal electric source management module 111.Specifically, switch module is conduction impedance, by pure resistance, is held Anti- and induction reactance composition, wherein, for pure resistance either in DC circuit still in alternating current circuit, its resistance is all constant.Energy Preventing the factor of electric current flowing also includes capacitive reactance and induction reactance, and electric capacity can produce capacitive reactance, and inductance can produce induction reactance, capacitive reactance and induction reactance Algebraical sum is reactance, and the algebraical sum of reactance and pure resistance is impedance or resistance value.This resistance value is typically in several Europe to tens Europe Between, it can be specifically configured according to being actually needed.It is preferred that the metal-oxide-semiconductor of low conduction impedance, resistance value is within 20m Ω.Enter one Step ground, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, the present invention provides a kind of USB interface protection side Method.
Reference picture 3, Fig. 3 are the schematic flow sheet of the embodiment of USB interface guard method one of the present invention.
In the present embodiment, USB interface guard method comprises the following steps:
Step S10, when mobile terminal 100 is in non-charged state, detection USB interface is with the presence or absence of short circuit;
In the present embodiment, the process of the equipment such as battery supplement electricity is showed in charging, and its principle is to allow direct current from electric discharge Opposite direction is by so that active material restitution in battery.That is, external power source is accessed by USB interface, Its electric energy flows to internal electric source management module via circuit, and is converted to the course of work of battery chemistries energy.Typically according to electricity The formula of=voltage * electric current * times, in the case where electricity is fixed, contracted by way of increasing voltage or increase electric current The short charging interval.Charging can be divided into high-voltage charging and low pressure charging both of which.High voltage low current pattern, increase voltage, need Stacked buck circuit is designed in the charge circuit.During charging, charger can generate heat, and mobile phone can also generate heat, and influence battery Security.Low voltage and high current pattern, increase electric current, MCU single-sheet miniature meters are all introduced in charger circuit and battery circuit Calculation machine replaces reduction voltage circuit.And mobile terminal 100 is in non-charged state, i.e., external power source is not accessed and is charged.
In the present embodiment, because USB interface small volume, pin are numerous, and spacing is very small, thus the frequent plug of user makes With easily interface is worn, the pin of USB interface is then worn, is allowed to the micro-short circuit even situation of short circuit occur.Short circuit, Refer to be not passed through electrical equipment, and the two poles of the earth that directly switch on power, i.e., loop is formed by wire.Known according to Ohm's law I=U/R, sent out When raw short-circuit, because electric current is not by electrical appliance, electric current is very big, and the temperature of wire can be made locally to raise suddenly, and electric arc will can be permitted The multicomponent short time melts, and damages USB interface, also mobile terminal 100 can be caused to damage, explode when serious, cause great fire Calamity and the incident of injury.
Furthermore, it is necessary to further illustrate, when not charging, detection USB interface can play in advance with the presence or absence of short circuit The effect of prevention, that is to say, that situation of the USB interface with the presence or absence of short circuit can be found before charge, and according to testing result Advanced processing, avoid damaging the situation of USB interface even mobile terminal 100 caused by short circuit, improve the security of equipment with Reliability.
Step S20, if short circuit be present in USB interface, by the switch module, control the USB interface with it is described interior Circuit is off between portion's power management module.
In the present embodiment, circuit has three kinds of states, and the circuit of connection is path, and dead circuit is breaking, power supply two-stage The circuit being joined directly together with wire is short circuit.Path, as the term suggests it is exactly that electric current can turn on circuit, circulation.Open circuit, it is exactly Electric current can not circulate on circuit.Circuit between USB interface and internal electric source management module is controlled to be in disconnected by switch module Open state, that is to say, that controlling switch module makes electric current to pass through on circuit.Specifically, if detecting, USB interface is present Short circuit, control conduction impedance prevent electric current between USB interface and internal electric source management module circuit from by will not then draw Play local temperature rise.
The present embodiment is when mobile terminal is in non-charged state, and detection USB interface is with the presence or absence of short circuit, when detecting When USB interface has short-circuit, circuit between USB interface and internal electric source management module is controlled to be in disconnection shape by switch module State, to prevent user in the case where not knowing that short circuit occurs in USB interface, charged using USB interface access external power source, from And effectively avoid burning out USB interface, it is hidden then to play a part of safety caused by protecting USB interface, solution USB interface short circuit Suffer from, and then improve the safety and reliability that mobile terminal 100 uses.
Reference picture 4, Fig. 4 are the refinement schematic flow sheet of step S10 in Fig. 3.Based on above-described embodiment, in the present embodiment, Step S10:When mobile terminal 100 is in non-charged state, detection USB interface includes with the presence or absence of short circuit:
Step S11, when mobile terminal 100 is in non-charged state, controlling switch module cut-out USB interface and inside electricity The conducting of circuit between source control module.
In the present embodiment, voltage is also referred to as electrical potential difference or potential difference, be unit of measurement electric charge in electrostatic field due to potential The physical quantity of energy difference caused by difference.Electric current refers to the flowing of a group electric charge.The size of electric current is referred to as current strength, refers to It is referred to as one ampere by the quantity of electric charge in a certain section of wire, the electricity per second by one coulomb in unit interval.There is the pass of electric current Key is the movement for having electric charge.So not necessarily there is electric current in the case of having voltage.USB interface is detected with the presence or absence of short circuit, is adopted With disconnecting circuit method, that is, circuit between USB interface and internal electric source management module is disconnected, prevents electric current from turning on.
Step S12, to circuit output DC voltage between USB interface and switch module, and detect USB interface and switching molding The current value of circuit between block.
In the present embodiment, DC voltage is exported, the size of voltage output and time are controllable.DC voltage is generally 3V- In the range of 5.5V, it can also be exported using fixed voltage, size 5V.Output can pass through enable signal with closing output time It is controlled, such as when enable signal is true, dc source output 5V DC voltages;When enable signal is not true, dc source Close.Output DC voltage can be the voltage output all the way of interior of mobile phone power management module, can also set special electricity Source control chip etc., is configured with specific reference to being actually needed.Further, set current detection module to USB interface with opening The current value of circuit is detected between the module of pass, wherein, the high sensitivity of current detection module, to detect micro electricity Stream, detection performance is improved, and be arranged to when circuit has direct voltage output, detect current value.It is preferred that power management core is set DC voltage from piece to circuit output 5V between USB interface and switch module, current detection module detection current value.When power supply pipe Reason chip stops to during circuit output voltage, current detection module is no longer detected between USB interface and switch module.
Step S13, according to the current value, determine the USB interface with the presence or absence of short circuit.
In the present embodiment, due to there is voltage in the case of not necessarily have electric current, with this detect USB interface and switch module it Between circuit current value, according to current value size determine USB interface with the presence or absence of short circuit.If short circuit, i.e. USB interface generally be present Pin wire forms loop, connects power supply two-stage without electrical appliance, thus has electric current to pass through.Specifically, processor 110 receives inspection Result is surveyed, and testing result is further processed, for example detects current value, and the big of current value is sent to processor 110 Small value, or send short-circuit signal etc..
Reference picture 5, Fig. 5 are the refinement schematic flow sheet of step S13 in Fig. 4.Based on above-described embodiment, in the present embodiment, Step S13:According to the current value, determine that the USB interface includes with the presence or absence of short circuit:
Step S131, judge whether current value is zero.
In the present embodiment, by setting current detection module, micro current value, or a certain size electric current can detect Value.Generally in the case of open circuit, no current is by can't detect current value, or current value is zero.Path or the situation of short circuit Under, there is electric current by can detect the size of current value.
Step S132, when current value is not zero, determine that USB interface has short circuit.
In the present embodiment, when detecting short-circuit, using electricity between cut-out USB interface and internal electric source management module Road, and to circuit output DC voltage between USB interface and switch module, thus detect that current value is to be USB interface with opening The electric current of circuit between the module of pass.When current value is not zero, that is, there is wire loop of the electric current by formation, thus can determine that The phenomenon of short circuit be present in USB interface.USB interface short circuit be present, that there is potential safety hazard, to protect USB interface not because of short circuit Charge and burn out, control circuit between USB interface and internal electric source management module to be off by switch module, also Be controlling switch module after sensing, remain off, to cut off circuit between USB interface and internal electric source management module Conducting so that user is not knowing that USB interface deposits in case of a short circuit, still accesses external power source and is charged.
Step S133, when current value is zero, determine that short circuit is not present in USB interface.
In the present embodiment, when current value is zero, i.e., circulated in circuit without electric charge, that is to say, that the pin of USB interface Keeping parallelism does not intersect, and does not form wire loop, thus can determine that short circuit is not present in USB interface.
Further, in another embodiment of USB interface guard method of the present invention, if USB interface has short circuit, prompt Be present short circuit or change USB interface in user's USB interface, to remind some part of customer mobile terminal 100 failure to be present, avoid Cause serious potential safety hazard.Specifically, once detecting that it is short-circuit that USB interface is present, user is prompted to pay attention at once safe to use. Meanwhile the information of user is prompted to can also be that USB interface failure is not chargeable etc., is configured with specific reference to being actually needed.By Whether there is short circuit in detection USB interface is detected using disconnecting circuit, thus when testing result is USB interface short circuit, Holding circuit is in the state disconnected, that is, maintains the operation consistent with cutting off circuit turn-on during detection, thus prompts user Actually should be at the same time holding circuit disconnect in the case of notice or holding circuit disconnect after notify, tool Body is configured according to being actually needed.If it is determined that USB interface be not present short circuit, then controlling switch module conducting USB interface with it is interior Circuit between portion's power management module, user can be charged and potential safety hazard caused by without worrying short circuit at any time.Specifically, Circuit between conduction impedance conducting USB interface and internal electric source management module is controlled, electric charge is circulated on circuit.
Further, in another embodiment of USB interface guard method of the present invention, non-charging is in mobile terminal 100 During state, whether judgement currently meets USB interface short-circuit detecting condition;If satisfied, USB interface is then detected with the presence or absence of short circuit. It is longer to be in the time of non-charged state due to mobile terminal 100, and can not predict user specifically at some time point to movement Terminal 100 is charged.On the other hand, if being detected in real time in the time in non-charged state, mobile terminal will largely be consumed 100 internal memory operation, is unfavorable for releasing memory space, saves operation etc..Thus by judging currently whether meet that USB interface is short Road testing conditions, it is conditional to be detected, rather than the moment is detected under non-charged state.The set-up mode of testing conditions has It is a variety of, for example, monitoring user operated continuously using mobile terminal 100 duration, monitoring current time whether be setting inspection Survey whether time, monitoring current time and the time difference between the charging interval are more than or equal to preset duration, monitoring when reach Whether the electricity of dynamic terminal is predetermined threshold value etc., is configured with specific reference to being actually needed.Preferably, as long as meeting detector bar Part, short-circuit detecting repeatedly can be carried out to USB interface.
Further, judge that testing conditions include:The last charging interval is first obtained, then monitors current time and charging Whether the time difference between the time is more than or equal to preset duration.Preset duration could be arranged to six hours, one hour, 50 minutes Deng can also be configured according to user's use habit.For example user is long using the duration of mobile terminal 100, but power consumption It is relatively small, then longer preset duration can be set, conversely, setting shorter preset duration.Specifically, when monitoring current time When the time difference between the charging interval is more than or equal to preset duration, meet USB interface short-circuit detecting condition.
Further, judge that testing conditions include:Whether the electricity for monitoring current mobile terminal is predetermined threshold value.It is mobile whole End 100 is generally shown from carried charge, and user can be reminded to be charged when electricity is less than threshold value, in order to avoid cause because electricity has consumed Mobile terminal 100 shuts down.Whether the electricity for monitoring current mobile terminal is predetermined threshold value, i.e., how much enters according to using electricity is remaining Row judges.Predetermined threshold value can be set according to the remaining alarm electricity of the Default Value of mobile terminal 100, also can use habit according to user It is used to be configured, for example remaining alarm electricity is 20%, then predetermined threshold value setting 20%, or user's custom are remaining in electricity 50% charging, then predetermined threshold value setting 51% etc., is configured with specific reference to being actually needed.
Reference picture 6, Fig. 6 are the refinement schematic flow sheet of the preferred embodiment of USB interface guard method one of the present invention.
For convenience of USB interface guard method of the present invention is understood, a preferred embodiment, USB interface guard method are provided herein Including:
1. when mobile terminal is in non-charged state, whether the electricity for monitoring current mobile terminal is predetermined threshold value, if It is to meet USB interface short-circuit detecting condition, and redirects the 2nd step, if otherwise continues to monitor current electric quantity;
2. controlling switch module cuts off the conducting of circuit between USB interface and internal electric source management module;
3. to circuit output DC voltage between USB interface and switch module, and detect USB interface and the switch module Between circuit current value;
4. according to current value, judge whether current value is zero, if then jumping to the 6th step, if otherwise jumping to the 5th step;
5. determining that USB interface has short circuit, and controlled by switch module between USB interface and internal electric source management module Circuit is off and notified user to change USB interface;
6. determine that USB interface is not present short circuit, and the conducting of controlling switch module USB interface and internal electric source management module it Between circuit.
The present embodiment is when mobile terminal is in non-charged state, and detection USB interface is with the presence or absence of short circuit, when detecting When USB interface has short-circuit, circuit between USB interface and internal electric source management module is controlled to be in disconnection shape by switch module State, to prevent user in the case where not knowing that short circuit occurs in USB interface, charged using USB interface access external power source, from And effectively avoid burning out USB interface, it is hidden then to play a part of safety caused by protecting USB interface, solution USB interface short circuit Suffer from, and then improve the safety and reliability that mobile terminal 100 uses.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, on the computer-readable recording medium USB interface defence program is stored with, following operation is realized when USB interface defence program is performed by processor 110:
When the mobile terminal is in non-charged state, the USB interface is detected with the presence or absence of short circuit;
If the USB interface has short circuit, by the switch module, the USB interface and the internal electricity are controlled Circuit is off between source control module.
In the present embodiment, the process of the equipment such as battery supplement electricity is showed in charging, and its principle is to allow direct current from electric discharge Opposite direction is by so that active material restitution in battery.That is, external power source is accessed by USB interface, Its electric energy flows to internal electric source management module via circuit, and is converted to the course of work of battery chemistries energy.Typically according to electricity The formula of=voltage * electric current * times, in the case where electricity is fixed, contracted by way of increasing voltage or increase electric current The short charging interval.Charging can be divided into high-voltage charging and low pressure charging both of which.High voltage low current pattern, increase voltage, need Stacked buck circuit is designed in the charge circuit.During charging, charger can generate heat, and mobile phone can also generate heat, and influence battery Security.Low voltage and high current pattern, increase electric current, MCU single-sheet miniature meters are all introduced in charger circuit and battery circuit Calculation machine replaces reduction voltage circuit.And mobile terminal 100 is in non-charged state, i.e., external power source is not accessed and is charged.
In the present embodiment, because USB interface small volume, pin are numerous, and spacing is very small, thus the frequent plug of user makes With easily interface is worn, the pin of USB interface is then worn, is allowed to the micro-short circuit even situation of short circuit occur.Short circuit, Refer to be not passed through electrical equipment, and the two poles of the earth that directly switch on power, i.e., loop is formed by wire.Known according to Ohm's law I=U/R, sent out When raw short-circuit, because electric current is not by electrical appliance, electric current is very big, and the temperature of wire can be made locally to raise suddenly, and electric arc will can be permitted The multicomponent short time melts, and damages USB interface, also mobile terminal 100 can be caused to damage, explode when serious, cause great fire Calamity and the incident of injury.
In the present embodiment, circuit has three kinds of states, and the circuit of connection is path, and dead circuit is breaking, power supply two-stage The circuit being joined directly together with wire is short circuit.Path, as the term suggests it is exactly that electric current can turn on circuit, circulation.Open circuit, it is exactly Electric current can not circulate on circuit.Circuit between USB interface and internal electric source management module is controlled to be in disconnected by switch module Open state, that is to say, that prevent electric current from passing through.Specifically, if detecting there is short circuit in USB interface, and control conduction impedance makes electricity Circuit can not be by will not then cause local temperature to raise between USB interface and internal electric source management module for stream.
It is when mobile terminal is in non-charged state, detection USB interface works as inspection with the presence or absence of short circuit in the present embodiment When measuring USB interface and having short-circuit, by switch module, circuit between USB interface and internal electric source management module is controlled to be in Off-state, to prevent user in the case where not knowing that short circuit occurs in USB interface, carried out using USB interface access external power source Charging, so as to effectively avoid burning out USB interface, then play a part of caused by protecting USB interface, solution USB interface short circuit Potential safety hazard, and then improve the safety and reliability that mobile terminal 100 uses.
Further, following operation is also realized when USB interface defence program is performed by processor 110:
When the mobile terminal is in non-charged state, control the switch module cut off the USB interface with it is described The conducting of circuit between internal electric source management module;
To circuit output DC voltage between the USB interface and the switch module, and detect the USB interface and institute State the current value of circuit between switch module;
According to the current value, determine the USB interface with the presence or absence of short circuit.
Specifically, voltage is also referred to as electrical potential difference or potential difference, be unit of measurement electric charge in electrostatic field because potential is different The physical quantity of caused energy difference.Electric current refers to the flowing of a group electric charge.The size of electric current is referred to as current strength, refers to unit It is referred to as one ampere by the quantity of electric charge in a certain section of wire, the electricity per second by one coulomb in time.The key for having electric current exists In the movement for having electric charge.So not necessarily there is electric current in the case of having voltage.USB interface is detected with the presence or absence of short circuit, using disconnected Open circuit method, that is, circuit between USB interface and internal electric source management module is disconnected, prevents electric current from turning on.Export DC voltage, The size of voltage output and time are controllable.Voltage swing is 5V.Output can be carried out with closing output time by enable signal Control further, sets current detection module to detect the current value of circuit between USB interface and switch module, its In, the high sensitivity of current detection module, to detect micro-current, improve detection performance.
Further, following operation is also realized when USB interface defence program is performed by processor 110:
Judge whether the current value is zero;
When the current value is not zero, determine that the USB interface has short circuit;
When the current value is zero, determine that short circuit is not present in the USB interface.
Specifically, by setting current detection module, micro current value, or a certain size current value be can detect. Generally in the case of open circuit, no current is by can't detect current value, or current value is zero.In the case of path or short circuit, There is electric current by can detect the size of current value.
When detecting short-circuit, using circuit between cut-out USB interface and internal electric source management module, and connect to USB Circuit output DC voltage between mouth and switch module, thus detect that current value is electric between USB interface and switch module The electric current on road.When current value is not zero, that is, there is wire loop of the electric current by formation, thus it is short to can determine that USB interface is present The phenomenon on road.USB interface short circuit be present, that there is potential safety hazard, to protect USB interface not burnt out because short circuit is charged, lead to Circuit between switch module control USB interface and internal electric source management module is crossed to be off, that is, controlling switch mould Block after sensing, remains off, to cut off the conducting of circuit between USB interface and internal electric source management module so that User is not knowing that USB interface deposits in case of a short circuit, still accesses external power source and is charged.
When current value is zero, i.e., circulated in circuit without electric charge, that is to say, that the pin keeping parallelism of USB interface is not handed over Fork, does not form wire loop, thus can determine that short circuit is not present in USB interface.Since in the absence of USB interface short circuit, that is just controlled Circuit between switch module conducting USB interface processed and internal electric source management module, user can at any time be charged and not have to worry Potential safety hazard caused by short circuit.
Further, following operation is also realized when USB interface defence program is performed by processor 110:
If the USB interface has short circuit, prompt user's USB interface short circuit to be present or change USB interface;
If the USB interface is not present short circuit, the conducting of controlling switch module USB interface and internal electric source management module it Between circuit.
Specifically, once detecting that it is short-circuit that USB interface is present, user is prompted to pay attention at once safe to use.Meanwhile prompt to use The information at family can also be that USB interface failure is not chargeable etc., is configured with specific reference to being actually needed.When detecting that USB connects There is short circuit in mouth, prompt user or cut off the conducting of circuit between USB interface and internal electric source management module, its sequencing is not Limit, can also operate processing simultaneously, be configured with specific reference to being actually needed.If it is determined that short circuit is not present in USB interface, then control is opened Circuit between module conducting USB interface and internal electric source management module is closed, user can at any time be charged and not have to worry short circuit Caused by potential safety hazard.Specifically, circuit between conduction impedance conducting USB interface and internal electric source management module is controlled, makes electricity Lotus can circulate on circuit.
Further, following operation is also realized when USB interface defence program is performed by processor 110:
When the mobile terminal is in non-charged state, whether judgement currently meets USB interface short-circuit detecting condition;
If satisfied, the USB interface is then detected with the presence or absence of short circuit.
Specifically, when mobile terminal 100 is in non-charged state, whether judgement currently meets USB interface short-circuit detecting Condition;If satisfied, USB interface is then detected with the presence or absence of short circuit.Due to mobile terminal 100 be in time of non-charged state compared with It is long, and user can not be predicted specifically mobile terminal 100 is charged at some time point.On the other hand, if being in non-charging Detected in real time in the time of state, the internal memory of a large amount of consumption mobile terminals 100 is run, is unfavorable for releasing memory space, saves Operation etc..It is conditional to be detected thus by judging currently whether meet USB interface short-circuit detecting condition, rather than Non- charged state lower moment detection.The set-up mode of testing conditions have it is a variety of, such as monitoring user carried out using mobile terminal 100 The duration of continuous operation, monitoring current time whether be the detection time of setting, monitoring current time and the charging interval it Between the time difference whether be more than or equal to preset duration, whether the electricity that monitors current mobile terminal is predetermined threshold value etc., specific root It is configured according to being actually needed.Preferably, as long as meeting testing conditions, short-circuit detecting repeatedly can be carried out to USB interface.
Further, following operation is also realized when USB interface defence program is performed by processor 110:Monitor current time Whether the time difference between the charging interval is more than or equal to preset duration.
Specifically, the last charging interval is first obtained, whether then monitors current time and time difference between the charging interval More than or equal to preset duration.Preset duration could be arranged to six hours, one hour, 50 minutes etc., can also be according to user Use habit is configured.For example user is long using the duration of mobile terminal 100, but power consumption is relatively small, then can be set Longer preset duration, conversely, setting shorter preset duration.Specifically, when monitoring current time and between the charging interval When the time difference is more than or equal to preset duration, meet USB interface short-circuit detecting condition.
Further, following operation is also realized when USB interface defence program is performed by processor 110:Monitoring is current mobile Whether the electricity of terminal is predetermined threshold value.
Specifically, whether the electricity for monitoring current mobile terminal 100 is predetermined threshold value.Mobile terminal 100 is generally from powered Amount display, and user can be reminded to be charged when electricity is less than threshold value, in order to avoid cause mobile terminal to shut down because electricity has consumed.Prison Whether the electricity for surveying current mobile terminal is predetermined threshold value, i.e., how much is judged according to using electricity is remaining.Predetermined threshold value can Set according to the remaining alarm electricity of the Default Value of mobile terminal 100, can be also configured according to user's use habit, for example, it is surplus Remaining alarm electricity is 20%, then predetermined threshold value sets 20%, or user's custom charges in electricity residue 50%, then predetermined threshold value 51% etc. is set, is configured with specific reference to being actually needed.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of USB interface guard method, applied to mobile terminal, the mobile terminal comprises at least USB interface, internal electric source Management module, it is characterised in that the mobile terminal also includes being arranged on the USB interface and the internal electric source management module Between switch module on circuit, the USB interface guard method includes:
When the mobile terminal is in non-charged state, the USB interface is detected with the presence or absence of short circuit;
If the USB interface has short circuit, by the switch module, the USB interface and the internal electric source pipe are controlled Circuit is off between reason module.
2. USB interface guard method as claimed in claim 1, it is characterised in that described to be filled in the mobile terminal in non- During electricity condition, detect the USB interface includes with the presence or absence of short circuit:
When the mobile terminal is in non-charged state, the switch module is controlled to cut off the USB interface and the inside The conducting of circuit between power management module;
To circuit output DC voltage between the USB interface and the switch module, and detect the USB interface and opened with described The current value of circuit between the module of pass;
According to the current value, determine the USB interface with the presence or absence of short circuit.
3. USB interface guard method as claimed in claim 2, it is characterised in that it is described according to the current value, it is determined that described USB interface includes with the presence or absence of short circuit:
Judge whether the current value is zero;
If the current value is not zero, it is determined that the USB interface has short circuit;
If the current value is zero, it is determined that short circuit is not present in the USB interface.
4. USB interface guard method as claimed in claim 1, it is characterised in that be in non-in the mobile terminal described During charged state, after detecting the USB interface with the presence or absence of short circuit, the USB interface guard method also includes:
If the USB interface has short circuit, prompt user's USB interface short circuit to be present or change USB interface;
If short circuit is not present in the USB interface, the switch module is controlled to turn on the USB interface and the internal electric source pipe Circuit between reason module.
5. USB interface guard method as claimed in claim 1, it is characterised in that described to be filled in the mobile terminal in non- During electricity condition, detect the USB interface includes with the presence or absence of short circuit:
When the mobile terminal is in non-charged state, whether judgement currently meets USB interface short-circuit detecting condition;
If satisfied, the USB interface is then detected with the presence or absence of short circuit.
6. USB interface guard method as claimed in claim 5, it is characterised in that whether the judgement currently meets USB interface Short-circuit detecting condition includes:
The last charging interval is obtained, and monitors whether the time difference between current time and the charging interval is more than or equal in advance If duration.
7. USB interface guard method as claimed in claim 5, it is characterised in that whether the judgement currently meets USB interface Short-circuit detecting condition includes:
Whether the electricity for monitoring current mobile terminal is predetermined threshold value.
8. a kind of mobile terminal, the mobile terminal includes USB interface, internal electric source management module, it is characterised in that the shifting Dynamic terminal also includes:It is arranged on the switch module between the USB interface and the internal electric source management module on circuit, stores Device, processor and it is stored in the USB interface defence program that can be run on the memory and on the processor, the USB Interface protection program is by USB interface guard method of the realization as any one of claim 1 to 7 during the computing device The step of.
9. mobile terminal as claimed in claim 8, it is characterised in that the switch module is conduction impedance, the conducting resistance Anti- resistance value is in predetermined threshold value.
10. a kind of computer-readable recording medium, it is characterised in that be stored with USB on the computer-readable recording medium and connect Mouth defence program, is realized as any one of claim 1 to 7 when the USB interface defence program is executed by processor The step of USB interface guard method.
CN201710768844.4A 2017-08-29 2017-08-29 USB interface protection method, mobile terminal and computer readable storage medium Active CN107547755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710768844.4A CN107547755B (en) 2017-08-29 2017-08-29 USB interface protection method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710768844.4A CN107547755B (en) 2017-08-29 2017-08-29 USB interface protection method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107547755A true CN107547755A (en) 2018-01-05
CN107547755B CN107547755B (en) 2020-08-25

Family

ID=60958790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710768844.4A Active CN107547755B (en) 2017-08-29 2017-08-29 USB interface protection method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107547755B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710428A (en) * 2018-05-15 2018-10-26 甄十信息科技(上海)有限公司 Method and device for interface power supply
CN108879589A (en) * 2018-05-31 2018-11-23 Oppo(重庆)智能科技有限公司 over-current protection method, device, terminal device and storage medium
CN109947372A (en) * 2019-03-28 2019-06-28 浙江众邦机电科技有限公司 A kind of speech storage medium guard method, system, equipment and computer media
CN110247368A (en) * 2018-03-09 2019-09-17 陈晓萍 Protect circuit
CN110854805A (en) * 2018-08-20 2020-02-28 三星电子株式会社 Apparatus and method for ensuring power delivery in a universal serial bus interface
CN111028882A (en) * 2019-11-27 2020-04-17 大连睿海信息科技有限公司 Detection device for storage medium
CN111753340A (en) * 2020-05-18 2020-10-09 贵州电网有限责任公司 USB interface information security prevention and control method and system
CN114037673A (en) * 2021-11-03 2022-02-11 深圳市创科自动化控制技术有限公司 Hardware connection interface monitoring method and system based on machine vision

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104655973A (en) * 2013-11-25 2015-05-27 艾默生网络能源有限公司 Method and device for detecting battery module short circuit in UPS system
CN105680504A (en) * 2015-12-18 2016-06-15 联想(北京)有限公司 Protection method, protection circuit and electronic equipment
CN106471697A (en) * 2015-12-16 2017-03-01 广东欧珀移动通信有限公司 Control the method charging, device, power supply adaptor and mobile terminal
CN106711928A (en) * 2017-01-16 2017-05-24 努比亚技术有限公司 Short-circuit protection device, as well as short-circuit protection method and short-circuit protection circuit thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104655973A (en) * 2013-11-25 2015-05-27 艾默生网络能源有限公司 Method and device for detecting battery module short circuit in UPS system
CN106471697A (en) * 2015-12-16 2017-03-01 广东欧珀移动通信有限公司 Control the method charging, device, power supply adaptor and mobile terminal
CN105680504A (en) * 2015-12-18 2016-06-15 联想(北京)有限公司 Protection method, protection circuit and electronic equipment
CN106711928A (en) * 2017-01-16 2017-05-24 努比亚技术有限公司 Short-circuit protection device, as well as short-circuit protection method and short-circuit protection circuit thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247368A (en) * 2018-03-09 2019-09-17 陈晓萍 Protect circuit
CN108710428A (en) * 2018-05-15 2018-10-26 甄十信息科技(上海)有限公司 Method and device for interface power supply
CN108879589A (en) * 2018-05-31 2018-11-23 Oppo(重庆)智能科技有限公司 over-current protection method, device, terminal device and storage medium
CN108879589B (en) * 2018-05-31 2020-09-18 Oppo(重庆)智能科技有限公司 Overcurrent protection method and device, terminal equipment and storage medium
CN110854805A (en) * 2018-08-20 2020-02-28 三星电子株式会社 Apparatus and method for ensuring power delivery in a universal serial bus interface
CN109947372A (en) * 2019-03-28 2019-06-28 浙江众邦机电科技有限公司 A kind of speech storage medium guard method, system, equipment and computer media
CN111028882A (en) * 2019-11-27 2020-04-17 大连睿海信息科技有限公司 Detection device for storage medium
CN111753340A (en) * 2020-05-18 2020-10-09 贵州电网有限责任公司 USB interface information security prevention and control method and system
CN114037673A (en) * 2021-11-03 2022-02-11 深圳市创科自动化控制技术有限公司 Hardware connection interface monitoring method and system based on machine vision

Also Published As

Publication number Publication date
CN107547755B (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN107547755A (en) USB interface guard method, mobile terminal and computer-readable recording medium
CN109525720A (en) Battery of mobile terminal control method, mobile terminal and readable storage medium storing program for executing
CN108594120A (en) Detection method, device and the computer readable storage medium of battery status
CN107221995A (en) Double-battery charge charging method, control circuit, mobile terminal and readable storage medium storing program for executing
CN109639879A (en) Control method for screen display, collapsible terminal and computer readable storage medium
CN107895561A (en) Method, terminal and the computer-readable recording medium of a kind of intelligent bright screen and the screen that goes out
CN107528369A (en) Terminal and its wireless charging control method, computer-readable recording medium
CN110446243A (en) Web search control method, terminal and computer readable storage medium
CN107182097A (en) A kind of method for switching network, terminal and computer-readable recording medium
CN108874708A (en) OTG equipment, terminal charging method, mobile terminal and computer readable storage medium
CN108307030A (en) A kind of SIM card management method, equipment and computer readable storage medium
CN107728838A (en) A kind of terminal display management method, mobile terminal and computer-readable recording medium
CN110290261A (en) Information processing method, electronic equipment and computer readable storage medium
CN108879841A (en) A kind of parallel charging circuit and mobile terminal
CN110086222A (en) A kind of charging/discharging thereof, device and mobile terminal
CN107887947A (en) A kind of guard method of charging port and mobile terminal
CN110225462A (en) A kind of method, system and device preventing network congestion
CN109618058A (en) A kind of protection screen is from broken screen method and device, touch control device and storage medium
CN110071543A (en) Battery charging control method, device, mobile terminal and storage medium
CN108600545A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN107706981A (en) A kind of wireless charging method and wireless charging device
CN108156325A (en) A kind of double-sided screen Incoming-call control method, equipment and computer readable storage medium
CN108121681A (en) A kind of hot plug implementation method, terminal and storage medium
CN110098651A (en) A kind of charging method, device, electronic equipment and readable storage medium storing program for executing
CN109710050A (en) A kind of display control method, wearable device and computer readable storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200715

Address after: Room 136, floor 1, building 23, East District, No. 10, northwest Wangdong Road, Haidian District, Beijing 100089

Applicant after: Topronin (Beijing) Education Technology Co.,Ltd.

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant