CN107547755B - USB interface protection method, mobile terminal and computer readable storage medium - Google Patents

USB interface protection method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107547755B
CN107547755B CN201710768844.4A CN201710768844A CN107547755B CN 107547755 B CN107547755 B CN 107547755B CN 201710768844 A CN201710768844 A CN 201710768844A CN 107547755 B CN107547755 B CN 107547755B
Authority
CN
China
Prior art keywords
usb interface
mobile terminal
circuit
short circuit
current
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.)
Active
Application number
CN201710768844.4A
Other languages
Chinese (zh)
Other versions
CN107547755A (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
Topronin Beijing Education 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 Topronin Beijing Education Technology Co ltd filed Critical Topronin Beijing Education 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

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a USB interface protection method, which is applied to a mobile terminal, wherein the mobile terminal at least comprises a USB interface and an internal power management module, the mobile terminal also comprises a switch module arranged on a circuit between the USB interface and the internal power management module, and the USB interface protection method comprises the following steps: when the mobile terminal is in a non-charging state, detecting whether the USB interface has a short circuit; if the USB interface has a short circuit, the switch module controls the circuit between the USB interface and the internal power management module to be in a disconnected state. The invention also discloses a mobile terminal and a computer readable storage medium. The invention can prevent a user from using the USB interface to access an external power supply for charging under the condition of not knowing that the USB interface is short-circuited, thereby effectively avoiding burning out the USB interface, further playing a role in protecting the USB interface and solving the potential safety hazard caused by the short circuit of the USB interface.

Description

USB interface protection method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a USB interface protection method, a mobile terminal, and a computer-readable storage medium.
Background
With the continuous development of scientific technology, the use of mobile terminals has become an essential part of people's life.
At present, a USB interface is used as an input/output interface for connecting a mobile terminal and an external device, and abrasion easily occurs due to long-term multiple plugging and unplugging of a user, which causes a situation that the USB interface is subjected to a micro short circuit or even a short circuit. When the USB interface is short-circuited, the USB interface is still connected with an external power supply device for charging through the USB interface, so that the USB interface is heated if the USB interface is light, the USB interface is burnt, and a terminal chip is burnt or a terminal power supply is exploded if the USB interface is heavy. In the actual use process, the safety of the terminal equipment is seriously influenced. Usually, whether the USB interface is short-circuited is detected according to input and output currents or interface temperatures when the mobile terminal is charged, but this method still has a potential safety hazard.
Disclosure of Invention
The invention mainly aims to provide a USB interface protection method, a mobile terminal and a computer readable storage medium, and aims to solve the technical problem of how to protect a USB interface from being burnt out due to short-circuit charging.
In order to achieve the above object, a USB interface protection method provided by the present invention is applied to a mobile terminal, where the mobile terminal at least includes a USB interface and an internal power management module, and the mobile terminal further includes a switch module disposed on a circuit between the USB interface and the internal power management module, and the USB interface protection method includes:
when the mobile terminal is in a non-charging state, detecting whether the USB interface has a short circuit;
and if the USB interface has a short circuit, controlling a circuit between the USB interface and the internal power management module to be in a disconnection state through the switch module.
Preferably, when the mobile terminal is in a non-charging state, the detecting whether the USB interface has a short circuit includes:
when the mobile terminal is in a non-charging state, controlling the switch module to cut off the conduction of a circuit between the USB interface and the internal power management module;
outputting direct-current voltage to a circuit between the USB interface and the switch module, and detecting a current value of the circuit between the USB interface and the switch module;
and determining whether the USB interface has a short circuit according to the current value.
Preferably, the determining whether the USB interface has a short circuit according to the current value includes:
judging whether the current value is zero or not;
if the current value is not zero, determining that the USB interface has a short circuit;
and if the current value is zero, determining that the USB interface has no short circuit.
Preferably, after detecting whether there is a short circuit in the USB interface when the mobile terminal is in the non-charging state, the USB interface protection method further includes:
if the USB interface has a short circuit, prompting a user that the USB interface has a short circuit or replacing the USB interface;
and if the USB interface is not short-circuited, controlling the switch module to conduct a circuit between the USB interface and the internal power management module.
Preferably, when the mobile terminal is in a non-charging state, the detecting whether the USB interface has a short circuit includes:
when the mobile terminal is in a non-charging state, judging whether the current short circuit detection condition of the USB interface is met;
and if so, detecting whether the USB interface has a short circuit.
Preferably, the determining whether the current USB interface short-circuit detection condition is met includes:
and acquiring the last charging time, and monitoring whether the time difference between the current time and the charging time is greater than or equal to a preset time length.
Preferably, the determining whether the current USB interface short-circuit detection condition is met includes:
and monitoring whether the electric quantity of the current mobile terminal is a preset threshold value.
In addition, to achieve the above object, the present invention further provides a mobile terminal, where the mobile terminal includes a USB interface and an internal power management module, and the mobile terminal further includes: a switch module, a memory, a processor and a USB interface protection program stored in the memory and operable on the processor, the USB interface protection program, when executed by the processor, implementing the steps of the USB interface protection method according to any one of claims 1 to 7.
Preferably, the switch module is an on-resistance, and a resistance value of the on-resistance is within a preset threshold.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having a USB interface protection program stored thereon, where the USB interface protection program, when executed by a processor, implements the steps of the USB interface protection method according to any one of the above items.
The invention detects whether the USB interface has short circuit when the mobile terminal is in a non-charging state, and controls the circuit between the USB interface and the internal power management module to be in a disconnection state through the switch module when the USB interface has short circuit, so that a user can use the USB interface to access an external power supply for charging under the condition of not knowing that the USB interface has short circuit, thereby effectively avoiding burning out the USB interface, further playing a role of protecting the USB interface, solving the potential safety hazard caused by the short circuit of the USB interface and further improving the use safety and reliability of the mobile terminal.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a USB interface protection method according to an embodiment of the present invention;
FIG. 4 is a detailed flowchart of step S10 in FIG. 3;
FIG. 5 is a detailed flowchart of step S13 in FIG. 4;
FIG. 6 is a flowchart illustrating a detailed process of a USB interface protection method according to a preferred embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present invention may include devices such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, a USB interface, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices. Specifically, the interface unit 108 includes a USB interface, which is an input/output interface for connecting the mobile terminal with an external device, and the interface types of the USB interface are various, such as Mini-USB, Micro-USB, Type-A, Type-B, and Type-C interfaces. At present, the USB interface is small in size, numerous in pins and very small in distance, so that a user frequently inserts and pulls out the USB interface to wear the USB interface easily, and then the situation of micro short circuit and even short circuit occurs, namely the short circuit of the pins of the USB interface can cause unnecessary leakage current.
The memory 109 may be used to store software programs as well as various data. In the present invention, the memory 109 of the mobile terminal 100 stores an application quick start program. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
In the present invention, the processor 110 is configured to execute the USB interface protection program to perform the following operations: when the mobile terminal is in a non-charging state, detecting whether the USB interface has a short circuit; and if the USB interface has a short circuit, controlling the switch module to cut off the conduction of the circuit between the USB interface and the internal power management module.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. Specifically, the power supply 111 is an internal power management module.
Although not shown in fig. 1, the mobile terminal 100 of the present invention further includes a switch module, such as an insulation impedance, a conduction impedance, etc., where the switch module is disposed on a circuit between the USB interface and the internal power management module, and is used to cut off a circuit between the USB interface and the internal power management module, or to conduct a circuit between the USB interface and the internal power management module, so as to control a resistance of the circuit between the USB interface and the internal power management module 111. Specifically, the switch module is a conducting impedance and comprises a pure resistor, a capacitive reactance and an inductive reactance, wherein the resistance of the pure resistor is not changed no matter the pure resistor is in a direct current circuit or an alternating current circuit. Factors that can prevent current flow also include capacitive reactance and inductive reactance, capacitive reactance with inductive reactance, algebraic sum of capacitive reactance and inductive reactance with inductive reactance, algebraic sum of reactance and pure resistance, or resistance. The resistance value is generally between a few ohms and a few tens of ohms, and can be set according to actual needs. Preferably, the MOS transistor has a low on-resistance value of 20m omega or less. Further, the mobile terminal 100 may further include a bluetooth module, etc., which will not be described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the hardware structure of the mobile terminal and the communication network system, the invention provides a USB interface protection method.
Referring to fig. 3, fig. 3 is a flowchart illustrating a USB interface protection method according to an embodiment of the present invention.
In this embodiment, the USB interface protection method includes the following steps:
step S10, when the mobile terminal 100 is in the non-charging state, detecting whether there is a short circuit in the USB interface;
in this embodiment, charging refers to the process of replenishing electricity to devices such as a battery, and the principle is to pass direct current in the opposite direction of discharging, so as to recover the action of active materials in the battery. That is, the external power source is connected through the USB interface, and the electric energy flows to the internal power management module through the circuit and is converted into the working process of the battery chemical energy. Generally, according to the formula of the electric quantity-voltage-current-time, when the electric quantity is fixed, the charging time is shortened by increasing the voltage or increasing the current. The charging can be divided into two modes of high-voltage charging and low-voltage charging. High voltage low current mode, increasing the voltage, requires multiple step down circuits to be designed in the charging circuit. During charging, the charger and the mobile phone generate heat, and the safety of the battery is affected. The low voltage high current mode increases the current, and the MCU single chip microcomputer is introduced into the charger circuit and the battery circuit to replace a voltage reduction circuit. And the mobile terminal 100 is in a non-charging state, i.e., is not connected to an external power source for charging.
In this embodiment, because the USB interface is small in size, numerous in pins, and very small in spacing, the user often pulls out and inserts to use and easily makes the interface wear, and then wears the pin of the USB interface, makes it the condition of little short circuit even short circuit to appear. The short circuit means that the current does not flow through the electric appliance, but the two poles of the power supply are directly connected, namely, a loop is formed by a lead. According to ohm's law I ═ U/R, it is known that when a short circuit occurs, since the current does not pass through the electrical appliance, the current is very large, the temperature of the wire is locally and suddenly increased, the arc will melt many elements in a short time, damage the USB interface, and in severe cases, damage, explosion and the like of the mobile terminal 100 will be caused, resulting in a serious fire and an injury event.
In addition, it should be further described that, when the USB interface is not charged, detecting whether there is a short circuit at the USB interface can play a role of preventing in advance, that is, before charging, it can be found whether there is a short circuit at the USB interface, and the short circuit is processed in advance according to the detection result, so as to avoid the damage to the USB interface and even the mobile terminal 100 due to the short circuit, and improve the security and reliability of the device.
And step S20, if the USB interface has a short circuit, controlling the circuit between the USB interface and the internal power management module to be in a disconnection state through the switch module.
In this embodiment, the circuit has three states, the connected circuit is a closed circuit, the disconnected circuit is an open circuit, and the circuit of the two stages of power supplies directly connected by the conducting wire is a short circuit. The path, as the name implies, is a circuit through which current can flow. An open circuit means that current cannot flow through the circuit. The switch module is used for controlling a circuit between the USB interface and the internal power management module to be in an off state, namely controlling the switch module to enable current not to pass through the circuit. Specifically, if a short circuit of the USB interface is detected, the on-resistance is controlled to prevent the current from passing through the circuit between the USB interface and the internal power management module, so that a local temperature rise is not caused.
This embodiment is when mobile terminal is in non-charging state, detect whether the USB interface has the short circuit, when detecting that the USB interface has the short circuit, be in the off-state through circuit between switch module control USB interface and the internal power management module, in case the user is not knowing that the USB interface appears under the condition of short circuit, use the USB interface to insert external power source and charge, thereby effectively avoid burning out the USB interface, then play the effect of protection USB interface, solve the potential safety hazard that the USB interface short circuit caused, and then improve security and the reliability that mobile terminal 100 used.
Referring to fig. 4, fig. 4 is a detailed flowchart of step S10 in fig. 3. Based on the above embodiment, in the present embodiment, step S10: when the mobile terminal 100 is in the non-charging state, detecting whether the USB interface has a short circuit includes:
in step S11, when the mobile terminal 100 is in the non-charging state, the switch module is controlled to cut off the conduction of the circuit between the USB interface and the internal power management module.
In this embodiment, the voltage is also referred to as a potential difference or a potential difference, and is a physical quantity that measures an energy difference of a unit charge in an electrostatic field due to a difference in potential. Current refers to the flow of a group of charges. The magnitude of the current is called current intensity, which refers to the amount of charge passing through a certain section of the wire per unit time, and the amount of electricity passing through one coulomb per second is called one ampere. The key to having current is the movement of charge. Therefore, there is not necessarily a current in the presence of a voltage. And detecting whether the USB interface has a short circuit or not, and adopting a circuit breaking method, namely breaking a circuit between the USB interface and the internal power management module to make the current not conducted.
Step S12, a dc voltage is output to the circuit between the USB interface and the switch module, and a current value of the circuit between the USB interface and the switch module is detected.
In this embodiment, a dc voltage is output, and the magnitude and time of the voltage output are controllable. The DC voltage is generally in the range of 3V-5.5V, and can also be output by using a fixed voltage, and the magnitude is 5V. The output and closing output time can be controlled by an enable signal, for example, when the enable signal is true, the direct current power supply outputs 5V direct current voltage; when the enable signal is not true, the DC power supply is turned off. The output direct current voltage can be a path of voltage output of a power management module in the mobile phone, and can also be provided with a special power management chip and the like, and is specifically set according to actual needs. Furthermore, a current detection module is arranged for detecting the current value of the circuit between the USB interface and the switch module, wherein the current detection module has high sensitivity and is used for detecting micro current and improving detection performance, and the current detection module is arranged for detecting the current value when the circuit has direct current voltage output. Preferably, the power management chip is arranged to output a 5V DC voltage to a circuit between the USB interface and the switch module, and the current detection module is arranged to detect a current value. When the power management chip stops outputting voltage to the circuit between the USB interface and the switch module, the current detection module does not detect any more.
And step S13, determining whether the USB interface has a short circuit according to the current value.
In this embodiment, since there is not necessarily current under the condition of voltage, the current value of the circuit between the USB interface and the switch module is detected, and whether there is a short circuit in the USB interface is determined according to the current value. Normally, if there is a short circuit, the USB interface pin leads form a loop, and connect two stages of power supplies without using electric appliances, so that current flows through the USB interface pin leads. Specifically, the processor 110 receives the detection result and further processes the detection result, such as detecting a current value and sending the magnitude of the current value to the processor 110, or sending a short-circuit signal.
Referring to fig. 5, fig. 5 is a detailed flowchart of step S13 in fig. 4. Based on the above embodiment, in the present embodiment, step S13: determining whether the USB interface has a short circuit according to the current value comprises:
step S131 determines whether or not the current value is zero.
In this embodiment, a current detection module is provided to detect a minute amount of current or a current of a certain magnitude. In the case of a normal open circuit, no current passes, i.e. no current value is detected, or the current value is zero. In the case of a via or short circuit, a current flows through the device, and the magnitude of the current value can be detected.
And step S132, when the current value is not zero, determining that the USB interface has a short circuit.
In this embodiment, when detecting a short circuit, the circuit between the USB interface and the internal power management module is cut off, and a dc voltage is output to the circuit between the USB interface and the switch module, so that the detected current value is a current of the circuit between the USB interface and the switch module. When the current value is not zero, namely, current passes through the formed wire loop, the phenomenon that the USB interface is short-circuited can be determined. The switch module is controlled to control the circuit between the USB interface and the internal power management module to be in a disconnected state, namely the switch module is controlled to be in the disconnected state after detection, so that the circuit between the USB interface and the internal power management module is disconnected, and a user can still access an external power supply to charge under the condition that the USB interface is not short-circuited.
Step S133, when the current value is zero, it is determined that there is no short circuit in the USB interface.
In this embodiment, when the current value is zero, no charge flows in the circuit, that is, the pins of the USB interface are parallel and do not intersect, and no wire loop is formed, so that it is determined that there is no short circuit in the USB interface.
Further, in another embodiment of the USB interface protection method of the present invention, if there is a short circuit in the USB interface, the user is prompted that there is a short circuit in the USB interface or the USB interface is replaced, so as to remind the user that a component of the mobile terminal 100 has a fault, thereby avoiding causing serious potential safety hazard. Specifically, once the short circuit of the USB interface is detected, the user is prompted to pay attention to the use safety. Meanwhile, the information for prompting the user can also be that the USB interface fails and can not be charged, and the like, and is specifically set according to actual needs. Since the detection of the short circuit of the USB interface is performed by the open circuit, when the detection result is that the USB interface is short-circuited, the holding circuit is in an open state, that is, the operation consistent with the on state of the cut-off circuit during detection is maintained, so that the user is prompted that the short circuit should be notified when the holding circuit is open at the same time, or the short circuit should be notified after the holding circuit is open, specifically, the short circuit is set according to actual needs. If the USB interface is determined not to have the short circuit, the switch module is controlled to conduct a circuit between the USB interface and the internal power management module, and a user can charge at any time without worrying about potential safety hazards caused by the short circuit. Specifically, the on-resistance is controlled to conduct a circuit between the USB interface and the internal power management module, so that electric charges can flow on the circuit.
Further, in another embodiment of the USB interface protection method of the present invention, when the mobile terminal 100 is in a non-charging state, it is determined whether a short-circuit detection condition of the USB interface is currently satisfied; and if so, detecting whether the USB interface has a short circuit. Since the time that the mobile terminal 100 is in the non-charging state is long, it cannot be predicted that the user charges the mobile terminal 100 at a specific time point. On the other hand, if the mobile terminal is in the non-charging state for real-time detection, the memory operation of the mobile terminal 100 is consumed greatly, which is not favorable for releasing the memory space and saving the operation. Therefore, the detection is carried out conditionally by judging whether the short-circuit detection condition of the USB interface is met or not at present, but not at any moment in a non-charging state. The setting of the detection condition may be various, for example, monitoring a duration of continuous operation performed by the user using the mobile terminal 100, monitoring whether the current time is a set detection time, monitoring whether a time difference between the current time and the charging time is greater than or equal to a preset duration, monitoring whether an electric quantity of the current mobile terminal is a preset threshold, and the like, and is specifically set according to actual needs. Preferably, as long as the detection condition is satisfied, the short circuit detection can be performed on the USB interface for multiple times.
Further, the judging the detection condition includes: the method comprises the steps of firstly obtaining the last charging time, and then monitoring whether the time difference between the current time and the charging time is greater than or equal to the preset time length. The preset time period can be set to six hours, one hour, fifty minutes and the like, and can also be set according to the use habits of the user. For example, if the user uses the mobile terminal 100 for a long time but the power consumption is relatively small, a long preset time period may be set, and conversely, a short preset time period may be set. Specifically, when the time difference between the current monitoring time and the charging time is greater than or equal to the preset time length, the USB interface short circuit detection condition is satisfied.
Further, the judging the detection condition includes: and monitoring whether the electric quantity of the current mobile terminal is a preset threshold value. The mobile terminal 100 is usually provided with a power display, and when the power is lower than a threshold, the user may be reminded to charge the battery, so as to prevent the mobile terminal 100 from being powered off due to power consumption. And monitoring whether the current electric quantity of the mobile terminal is a preset threshold value, namely judging according to the residual electric quantity. The preset threshold may be set according to the remaining alarm power amount set by the factory of the mobile terminal 100, or may be set according to the use habit of the user, for example, if the remaining alarm power amount is 20%, the preset threshold is set to 20%, or if the user is used to charge the remaining power amount by 50%, the preset threshold is set to 51%, and the like, specifically set according to the actual needs.
Referring to fig. 6, fig. 6 is a detailed flow chart of a USB interface protection method according to a preferred embodiment of the present invention.
To facilitate understanding of the USB interface protection method of the present invention, a preferred embodiment is provided herein, in which the USB interface protection method includes:
1. when the mobile terminal is in a non-charging state, monitoring whether the electric quantity of the current mobile terminal is a preset threshold value, if so, meeting the USB interface short circuit detection condition, and skipping to the step 2, otherwise, continuously monitoring the current electric quantity;
2. the control switch module cuts off the conduction of a circuit between the USB interface and the internal power management module;
3. outputting direct-current voltage to a circuit between the USB interface and the switch module, and detecting the current value of the circuit between the USB interface and the switch module;
4. judging whether the current value is zero or not according to the current value, if so, jumping to the step 6, and otherwise, jumping to the step 5;
5. determining that the USB interface has a short circuit, controlling a circuit between the USB interface and the internal power management module to be in a disconnected state through the switch module, and informing a user to replace the USB interface;
6. and determining that the USB interface is not short-circuited, and controlling the switch module to conduct a circuit between the USB interface and the internal power management module.
This embodiment is when mobile terminal is in non-charging state, detect whether the USB interface has the short circuit, when detecting that the USB interface has the short circuit, be in the off-state through circuit between switch module control USB interface and the internal power management module, in case the user is not knowing that the USB interface appears under the condition of short circuit, use the USB interface to insert external power source and charge, thereby effectively avoid burning out the USB interface, then play the effect of protection USB interface, solve the potential safety hazard that the USB interface short circuit caused, and then improve security and the reliability that mobile terminal 100 used.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a USB interface protection program is stored on the computer-readable storage medium, and when executed by the processor 110, the USB interface protection program implements the following operations:
when the mobile terminal is in a non-charging state, detecting whether the USB interface has a short circuit;
and if the USB interface has a short circuit, controlling a circuit between the USB interface and the internal power management module to be in a disconnection state through the switch module.
In this embodiment, charging refers to the process of replenishing electricity to devices such as a battery, and the principle is to pass direct current in the opposite direction of discharging, so as to recover the action of active materials in the battery. That is, the external power source is connected through the USB interface, and the electric energy flows to the internal power management module through the circuit and is converted into the working process of the battery chemical energy. Generally, according to the formula of the electric quantity-voltage-current-time, when the electric quantity is fixed, the charging time is shortened by increasing the voltage or increasing the current. The charging can be divided into two modes of high-voltage charging and low-voltage charging. High voltage low current mode, increasing the voltage, requires multiple step down circuits to be designed in the charging circuit. During charging, the charger and the mobile phone generate heat, and the safety of the battery is affected. The low voltage high current mode increases the current, and the MCU single chip microcomputer is introduced into the charger circuit and the battery circuit to replace a voltage reduction circuit. And the mobile terminal 100 is in a non-charging state, i.e., is not connected to an external power source for charging.
In this embodiment, because the USB interface is small in size, numerous in pins, and very small in spacing, the user often pulls out and inserts to use and easily makes the interface wear, and then wears the pin of the USB interface, makes it the condition of little short circuit even short circuit to appear. The short circuit means that the current does not flow through the electric appliance, but the two poles of the power supply are directly connected, namely, a loop is formed by a lead. According to ohm's law I ═ U/R, it is known that when a short circuit occurs, since the current does not pass through the electrical appliance, the current is very large, the temperature of the wire is locally and suddenly increased, the arc will melt many elements in a short time, damage the USB interface, and in severe cases, damage, explosion and the like of the mobile terminal 100 will be caused, resulting in a serious fire and an injury event.
In this embodiment, the circuit has three states, the connected circuit is a closed circuit, the disconnected circuit is an open circuit, and the circuit of the two stages of power supplies directly connected by the conducting wire is a short circuit. The path, as the name implies, is a circuit through which current can flow. An open circuit means that current cannot flow through the circuit. The switch module controls the circuit between the USB interface and the internal power management module to be in an off state, namely, current cannot pass through. Specifically, if a short circuit of the USB interface is detected, the on-resistance is controlled to prevent the current from passing through the circuit between the USB interface and the internal power management module, so that a local temperature rise is not caused.
In this embodiment, when the mobile terminal is in a non-charging state, whether the short circuit exists in the USB interface is detected, when the short circuit exists in the USB interface, the switch module is used to control the circuit between the USB interface and the internal power management module to be in a disconnection state, so that the user can use the USB interface to access the external power supply to charge without knowing that the short circuit occurs in the USB interface, thereby effectively avoiding burning out the USB interface, further playing a role in protecting the USB interface, solving the potential safety hazard caused by the short circuit of the USB interface, and further improving the safety and reliability of the use of the mobile terminal 100.
Further, the USB interface protection program when executed by the processor 110 further implements the following operations:
when the mobile terminal is in a non-charging state, controlling the switch module to cut off the conduction of a circuit between the USB interface and the internal power management module;
outputting direct-current voltage to a circuit between the USB interface and the switch module, and detecting a current value of the circuit between the USB interface and the switch module;
and determining whether the USB interface has a short circuit according to the current value.
In particular, voltage is also called potential difference or potential difference, and is a physical quantity that measures an energy difference of a unit charge in an electrostatic field due to a difference in potential. Current refers to the flow of a group of charges. The magnitude of the current is called current intensity, which refers to the amount of charge passing through a certain section of the wire per unit time, and the amount of electricity passing through one coulomb per second is called one ampere. The key to having current is the movement of charge. Therefore, there is not necessarily a current in the presence of a voltage. And detecting whether the USB interface has a short circuit or not, and adopting a circuit breaking method, namely breaking a circuit between the USB interface and the internal power management module to make the current not conducted. And the direct-current voltage is output, and the voltage output is controllable in size and time. The voltage is 5V. The output and the closing output time can be further controlled through an enabling signal, and a current detection module is arranged to detect the current value of a circuit between the USB interface and the switch module, wherein the current detection module is high in sensitivity and used for detecting micro current and improving the detection performance.
Further, the USB interface protection program when executed by the processor 110 further implements the following operations:
judging whether the current value is zero or not;
when the current value is not zero, determining that the USB interface has a short circuit;
and when the current value is zero, determining that the USB interface has no short circuit.
Specifically, by providing the current detection module, a minute amount of current value or a certain amount of current value can be detected. In the case of a normal open circuit, no current passes, i.e. no current value is detected, or the current value is zero. In the case of a via or short circuit, a current flows through the device, and the magnitude of the current value can be detected.
When short circuit is detected, the circuit between the USB interface and the internal power management module is cut off, and direct current voltage is output to the circuit between the USB interface and the switch module, so that the detected current value is the current of the circuit between the USB interface and the switch module. When the current value is not zero, namely, current passes through the formed wire loop, the phenomenon that the USB interface is short-circuited can be determined. The switch module is controlled to control the circuit between the USB interface and the internal power management module to be in a disconnected state, namely the switch module is controlled to be in the disconnected state after detection, so that the circuit between the USB interface and the internal power management module is disconnected, and a user can still access an external power supply to charge under the condition that the USB interface is not short-circuited.
When the current value is zero, no charge flows in the circuit, that is, pins of the USB interface are kept parallel and do not cross, no conductor loop is formed, and therefore, the USB interface can be determined to be free of short circuit. Since the short circuit of the USB interface does not exist, the switch module is controlled to conduct the circuit between the USB interface and the internal power management module, and a user can charge at any time without worrying about potential safety hazards caused by the short circuit.
Further, the USB interface protection program when executed by the processor 110 further implements the following operations:
if the USB interface has a short circuit, prompting a user that the USB interface has a short circuit or replacing the USB interface;
and if the USB interface is not short-circuited, controlling the switch module to conduct a circuit between the USB interface and the internal power management module.
Specifically, once the short circuit of the USB interface is detected, the user is prompted to pay attention to the use safety. Meanwhile, the information for prompting the user can also be that the USB interface fails and can not be charged, and the like, and is specifically set according to actual needs. When the USB interface is detected to have a short circuit, a user is prompted or the conduction of a circuit between the USB interface and the internal power management module is cut off, the sequence is not limited, and the USB interface and the internal power management module can be simultaneously operated and processed, and the USB interface and the internal power management module are specifically set according to actual needs. If the USB interface is determined not to have the short circuit, the switch module is controlled to conduct a circuit between the USB interface and the internal power management module, and a user can charge at any time without worrying about potential safety hazards caused by the short circuit. Specifically, the on-resistance is controlled to conduct a circuit between the USB interface and the internal power management module, so that electric charges can flow on the circuit.
Further, the USB interface protection program when executed by the processor 110 further implements the following operations:
when the mobile terminal is in a non-charging state, judging whether the current short circuit detection condition of the USB interface is met;
and if so, detecting whether the USB interface has a short circuit.
Specifically, when the mobile terminal 100 is in a non-charging state, it is determined whether a USB interface short-circuit detection condition is currently satisfied; and if so, detecting whether the USB interface has a short circuit. Since the time that the mobile terminal 100 is in the non-charging state is long, it cannot be predicted that the user charges the mobile terminal 100 at a specific time point. On the other hand, if the mobile terminal is in the non-charging state for real-time detection, the memory operation of the mobile terminal 100 is consumed greatly, which is not favorable for releasing the memory space and saving the operation. Therefore, the detection is carried out conditionally by judging whether the short-circuit detection condition of the USB interface is met or not at present, but not at any moment in a non-charging state. The setting of the detection condition may be various, for example, monitoring a duration of continuous operation performed by the user using the mobile terminal 100, monitoring whether the current time is a set detection time, monitoring whether a time difference between the current time and the charging time is greater than or equal to a preset duration, monitoring whether an electric quantity of the current mobile terminal is a preset threshold, and the like, and is specifically set according to actual needs. Preferably, as long as the detection condition is satisfied, the short circuit detection can be performed on the USB interface for multiple times.
Further, the USB interface protection program when executed by the processor 110 further implements the following operations: and monitoring whether the time difference between the current time and the charging time is greater than or equal to a preset time length.
Specifically, the last charging time is obtained, and then whether the time difference between the current time and the charging time is greater than or equal to a preset time length is monitored. The preset time period can be set to six hours, one hour, fifty minutes and the like, and can also be set according to the use habits of the user. For example, if the user uses the mobile terminal 100 for a long time but the power consumption is relatively small, a long preset time period may be set, and conversely, a short preset time period may be set. Specifically, when the time difference between the current monitoring time and the charging time is greater than or equal to the preset time length, the USB interface short circuit detection condition is satisfied.
Further, the USB interface protection program when executed by the processor 110 further implements the following operations: and monitoring whether the electric quantity of the current mobile terminal is a preset threshold value.
Specifically, whether the current power of the mobile terminal 100 is a preset threshold is monitored. The mobile terminal 100 is usually provided with a power display, and when the power is lower than a threshold, the user may be prompted to charge the battery, so as to avoid shutdown of the mobile terminal due to power exhaustion. And monitoring whether the current electric quantity of the mobile terminal is a preset threshold value, namely judging according to the residual electric quantity. The preset threshold may be set according to the remaining alarm power amount set by the factory of the mobile terminal 100, or may be set according to the use habit of the user, for example, if the remaining alarm power amount is 20%, the preset threshold is set to 20%, or if the user is used to charge the remaining power amount by 50%, the preset threshold is set to 51%, and the like, specifically set according to the actual needs.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A USB interface protection method is applied to a mobile terminal, the mobile terminal at least comprises a USB interface and an internal power management module, and is characterized in that the mobile terminal also comprises a switch module arranged on a circuit between the USB interface and the internal power management module, and the USB interface protection method comprises the following steps:
when the mobile terminal is in a non-charging state, detecting whether the USB interface has a short circuit;
if the USB interface has a short circuit, controlling a circuit between the USB interface and the internal power management module to be in a disconnection state through the switch module;
when the mobile terminal is in a non-charging state, the detecting whether the short circuit exists in the USB interface includes:
when the mobile terminal is in a non-charging state, controlling the switch module to cut off the conduction of a circuit between the USB interface and the internal power management module;
outputting direct-current voltage to a circuit between the USB interface and the switch module, and detecting a current value of the circuit between the USB interface and the switch module;
and determining whether the USB interface has a short circuit according to the current value.
2. The USB interface protection method of claim 1, wherein the determining whether the USB interface has a short circuit according to the current value comprises:
judging whether the current value is zero or not;
if the current value is not zero, determining that the USB interface has a short circuit;
and if the current value is zero, determining that the USB interface has no short circuit.
3. The USB interface protection method according to claim 1, wherein after detecting whether there is a short circuit in the USB interface while the mobile terminal is in the non-charging state, the USB interface protection method further comprises:
if the USB interface has a short circuit, prompting a user that the USB interface has a short circuit or replacing the USB interface;
and if the USB interface is not short-circuited, controlling the switch module to conduct a circuit between the USB interface and the internal power management module.
4. The USB interface protection method according to claim 1, wherein the detecting whether the USB interface has a short circuit while the mobile terminal is in the non-charging state includes:
when the mobile terminal is in a non-charging state, judging whether the current short circuit detection condition of the USB interface is met;
and if so, detecting whether the USB interface has a short circuit.
5. The method according to claim 4, wherein the determining whether the current USB interface short-circuit detection condition is satisfied comprises:
and acquiring the last charging time, and monitoring whether the time difference between the current time and the charging time is greater than or equal to a preset time length.
6. The method according to claim 4, wherein the determining whether the current USB interface short-circuit detection condition is satisfied comprises:
and monitoring whether the electric quantity of the current mobile terminal is a preset threshold value.
7. A mobile terminal comprises a USB interface and an internal power management module, and is characterized in that the mobile terminal further comprises: a switch module, a memory, a processor and a USB interface protection program stored in the memory and operable on the processor, the USB interface protection program, when executed by the processor, implementing the steps of the USB interface protection method according to any one of claims 1 to 6.
8. The mobile terminal of claim 7, wherein the switch module is a turn-on impedance having a resistance value within a preset threshold.
9. A computer-readable storage medium, having a USB interface protection program stored thereon, which when executed by a processor implements the steps of the USB interface protection method according to any one of claims 1 to 6.
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 CN107547755A (en) 2018-01-05
CN107547755B true 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)

Families Citing this family (8)

* 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
CN108710428B (en) * 2018-05-15 2020-09-01 甄十信息科技(上海)有限公司 Method and device for interface power supply
CN108879589B (en) * 2018-05-31 2020-09-18 Oppo(重庆)智能科技有限公司 Overcurrent protection method and device, terminal equipment and storage medium
KR20200021274A (en) * 2018-08-20 2020-02-28 삼성전자주식회사 Device and method for ensuring power delivery in 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
CN111753340B (en) * 2020-05-18 2023-07-18 贵州电网有限责任公司 USB interface information security prevention and control method and system
CN114037673B (en) * 2021-11-03 2022-08-23 深圳市创科自动化控制技术有限公司 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

Also Published As

Publication number Publication date
CN107547755A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN107547755B (en) USB interface protection method, mobile terminal and computer readable storage medium
CN108594120B (en) Battery state detection method and device and computer readable storage medium
US10269163B2 (en) Method and apparatus for switching real-time image in instant messaging
CN107546808B (en) Charging identification circuit, identification method and terminal equipment
EP3930138B1 (en) Charging control circuit, terminal device and control method
CN107645189B (en) Charging protection method and mobile terminal
TW201724690A (en) Method and device for controlling charging, power adapter and mobile terminal
CN107332316B (en) Stepped charging method, mobile terminal and computer-readable storage medium
CN109310035B (en) Heat dissipation control method, mobile terminal and computer-readable storage medium
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN108874708B (en) OTG device, terminal charging method, mobile terminal and computer readable storage medium
CN107887947B (en) Protection method for charging port and mobile terminal
CN107785961B (en) Series battery charging method, mobile terminal and computer readable medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN109286970B (en) Wearable device power consumption optimization method and device, device and readable storage medium
CN107911778B (en) Playing method based on parallel loudspeaker, mobile terminal and readable storage medium
CN108415549B (en) Method for improving endurance of mobile terminal, mobile terminal and readable storage medium
CN107634940B (en) Flow use control method, terminal, server and readable storage medium
CN110957785B (en) Battery assembly, charging control method and system
CN109599830A (en) A kind of voltage overshoot protective device and mobile terminal
CN114498202A (en) Interface circuit device and equipment
CN112189292B (en) Charging protection method and device
CN107591858B (en) Charging method, terminal and computer readable storage medium
CN113407016A (en) Temperature control method and device, mobile terminal and 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