CN107887947B - Protection method for charging port and mobile terminal - Google Patents

Protection method for charging port and mobile terminal Download PDF

Info

Publication number
CN107887947B
CN107887947B CN201711191368.0A CN201711191368A CN107887947B CN 107887947 B CN107887947 B CN 107887947B CN 201711191368 A CN201711191368 A CN 201711191368A CN 107887947 B CN107887947 B CN 107887947B
Authority
CN
China
Prior art keywords
charging port
mobile terminal
power supply
module
short
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
CN201711191368.0A
Other languages
Chinese (zh)
Other versions
CN107887947A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711191368.0A priority Critical patent/CN107887947B/en
Publication of CN107887947A publication Critical patent/CN107887947A/en
Application granted granted Critical
Publication of CN107887947B publication Critical patent/CN107887947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

the invention provides a protection method of a charging port and a mobile terminal, wherein the method comprises the following steps: when the charging port is not connected with external equipment, detecting whether the charging port of the mobile terminal is short-circuited or not through a power supply function of an equipment connection module; and if the short circuit occurs, prompting a user to perform safety check and processing on the charging port. The problem of charging when charging port short circuit and lead to charging port excessive heat damage mobile terminal is solved, the beneficial effect of avoiding charging port and mobile terminal damaged has been reached.

Description

Protection method for charging port and mobile terminal
Technical Field
the invention relates to the technical field of mobile terminals, in particular to a protection method of a charging port and a mobile terminal.
Background
With the wide application of electronic devices such as mobile terminals, users have more and more demands on charging the electronic devices, and the demands are also higher and higher. Since the more frequently a user uses the mobile terminal, the faster the charging speed is required.
In the prior art, two quick charging schemes of high-voltage quick charging and low-voltage quick charging mainly exist. The high-voltage quick charge is realized by increasing the voltage, so that the quick charge is realized under the condition of unchanged current; and the low-voltage quick charge is realized by increasing the current, so that the quick charge is realized under the condition of unchanged voltage. It should be noted that in both fast charging schemes, the power of the adapter is large during the fast charging process.
However, the charging port inevitably has dust and moisture problems, which cause the positive receiving terminal of the charging port to generate short circuit to ground to different degrees, thereby causing overheating of the port and damage to the mobile terminal when the high-power adapter is connected for charging.
Disclosure of Invention
According to the protection method for the charging port and the mobile terminal, provided by the embodiment of the invention, whether the charging port is short-circuited can be detected through the power supply function of the equipment connection module, and the user is prompted to perform charging after cleaning before charging, so that the charging port and the mobile terminal are prevented from being damaged.
On one hand, the embodiment of the invention discloses a protection method of a charging port, which is applied to a mobile terminal and comprises the following steps:
when the charging port is not connected with external equipment, detecting whether the charging port of the mobile terminal is short-circuited or not through a power supply function of an equipment connection module;
And if the short circuit occurs, prompting a user to perform safety check and processing on the charging port.
On the other hand, the embodiment of the invention also discloses a mobile terminal, which comprises:
The short circuit detection module is used for detecting whether the charging port of the mobile terminal is short-circuited or not through the power supply function of the equipment connection module when the charging port is not connected with external equipment;
and the short circuit prompting module is used for prompting a user to perform safety check and processing on the charging port if the short circuit occurs.
In another aspect, an embodiment of the present invention further discloses a mobile terminal, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the method for protecting a charging port as described in any one of the above.
In a final aspect, an embodiment of the present invention further discloses a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the protection method for a charging port according to any one of the above.
in the embodiment of the invention, when the charging port is not connected with the external equipment, whether the charging port of the mobile terminal is short-circuited is detected through the power supply function of the equipment connection module; and if the short circuit occurs, prompting a user to perform safety check and processing on the charging port. The problem of charging when charging port short circuit and lead to charging port excessive heat damage mobile terminal is solved, the beneficial effect of avoiding charging port and mobile terminal damaged has been reached.
the foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of a method for protecting a charging port according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an embodiment of detecting whether a charging port is shorted;
fig. 3 is a flowchart illustrating steps of a method for protecting a charging port according to a second embodiment of the present invention;
fig. 4 is a block diagram illustrating a mobile terminal according to a third embodiment of the present invention;
Fig. 5 is a block diagram illustrating a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a diagram illustrating a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes a protection method for a charging port and a mobile terminal according to the present invention in detail by taking several specific embodiments as examples.
Example one
Referring to fig. 1, a flowchart illustrating steps of a protection method for a charging port according to a first embodiment of the present invention is shown, which may specifically include the following steps:
step 101, when the charging port is not connected to an external device, detecting whether the charging port of the mobile terminal is short-circuited through a power supply function of a device connection module.
The embodiment of the invention is suitable for detecting mobile terminals and other terminals with charging functions, such as mobile phones, tablet computers and the like. It will be appreciated that detection may be required when the charging port is not connected to an external device.
The device connection module is an OTG (on-the-go) module, and has a function of supplying power to other terminals and a function of communicating with other terminals. In the embodiment of the present invention, the power supply function of the OTG is mainly used.
Specifically, whether the current voltage is smaller than a specified value or not is tested through a small current, and if the current voltage is smaller than the specified value, the short circuit of the charging port is judged, so that the power supply function of the OTG is closed; otherwise, judging that the charging port is not short-circuited.
And 102, if the short circuit occurs, prompting a user to perform safety check and processing on the charging port.
Specifically, as shown in fig. 2, the user may be prompted through an interface, such as "the charging port has foreign matter or moisture, please clean up in time". It can be understood that the specific content and form of the prompt message may be set according to the actual application scenario, and the embodiment of the present invention does not limit the specific content and form.
as shown in fig. 2, when the CPU detects that the OTG is abnormally closed, it is determined that the charging port is short-circuited, thereby prompting the user on the interface of the mobile terminal.
the embodiment of the invention can prompt the user through friendly interface, thereby ensuring the safety of the charging port and the mobile terminal.
In the embodiment of the invention, when the charging port is not connected with the external equipment, whether the charging port of the mobile terminal is short-circuited is detected through the power supply function of the equipment connection module; and if the short circuit occurs, prompting a user to perform safety check and processing on the charging port. The problem of charging when charging port short circuit and lead to charging port excessive heat damage mobile terminal is solved, the beneficial effect of avoiding charging port and mobile terminal damaged has been reached.
Example two
Referring to fig. 3, a flowchart illustrating steps of a protection method for a charging port according to a second embodiment of the present invention is shown, which may specifically include the following steps:
Step 201, when the charging port is not connected to the external device, periodically starting the power supply function of the device connection module.
As shown in fig. 2, the system for detecting whether the charging port is short-circuited mainly includes: a charging port, a CPU (Central Processing Unit), an interface, a charging IC (Integrated Circuit), and a battery. The charging IC is referred to as a charging chip in the present invention, and VBUS is (Voltage BUS). GND (Ground) is Ground or 0 line. A PIN (Personal Identification Number) is a Personal password of a SIM (Subscriber Identification Module) card.
Specifically, the charging chip turns on the power supply function of the device connection module according to a certain period. It can be understood that the period for turning on the power supply function may be set according to an actual application scenario, and the embodiment of the present invention does not limit the period.
Step 202, controlling the power supply current of the equipment connection module to be smaller than a preset current.
The predetermined current is a small current, for example, 100 mA. It can be understood that the preset current may be set according to an actual application scenario, and the embodiment of the present invention does not limit the preset current.
Step 203, determining whether the charging port is short-circuited according to the power supply voltage of the device connection module.
The power supply voltage is the voltage provided by the equipment connection module during power supply, and can be calculated according to the power supply current and the impedance and also can be directly measured.
Specifically, since the impedance of the charging port is small, the supply current is small, and thus when the supply voltage is smaller than a set value, it is determined that the charging port is short-circuited; otherwise, determining that the charging port is not short-circuited.
Alternatively, in another embodiment of the present invention, step 203 includes sub-steps 2031 to 2032:
substep 2031 of measuring a supply voltage of the device connection module.
In the embodiment of the invention, for convenience, the supply voltage of the equipment connecting module is directly measured. In practical applications, the supply voltage may also be calculated from the supply current and the impedance.
it is understood that the method for measuring the supply voltage is not limited by the embodiment of the present invention.
substep 2032, determining that the charging port is short-circuited if the supply voltage of the device connection module is less than a preset voltage threshold.
The preset voltage threshold may be set according to an actual application scenario, and is not limited in the embodiments of the present invention. It can be understood that the preset voltage threshold needs to be set according to the preset current, so that the detection of the short circuit of the charging port is more accurate.
Substep 2033, if the power supply voltage of the device connection module is less than a preset voltage threshold, closing the power supply function of the device connection module. The embodiment of the invention can protect the mobile terminal by closing the power supply function.
And step 205, if the short circuit occurs, turning on the field effect transistor between the voltage bus of the charging port and the ground.
When the field effect transistor is conducted, the charging port is grounded, and the field effect transistor cannot be damaged due to large current. It is to be noted that the field effect transistor is turned on when it is determined that the charging port is short-circuited; the field effect transistor is turned off when the charging port is not short circuited.
it is understood that, in practical applications, other devices and methods similar to the field effect transistor may also be used to protect the charging port, and the embodiment of the present invention does not limit the charging port.
In addition, steps 204 and 205 may be performed simultaneously or separately, which is not limited by the embodiment of the present invention.
and step 206, when the starting operation of the user on the function of the equipment connection module is detected, interrupting the power supply function of the equipment connection module to detect whether the charging port of the mobile terminal is short-circuited.
For a mobile terminal needing to manually start an OTG function, the embodiment of the invention does not detect whether a charging port of the mobile terminal is short-circuited when the function of the equipment connection module is started. When detecting whether the charging port of the mobile terminal is short-circuited or not, if the user manually starts the function of the device connection module, the detection is interrupted.
and step 207, and/or, when an access signal of the external device is detected, interrupting the power supply function of the device connection module to detect whether the charging port of the mobile terminal is short-circuited.
the external equipment comprises a charger and other equipment which is charged by using the equipment connecting module.
The embodiment of the invention does not detect whether the charging port of the mobile terminal is short-circuited or not when the mobile terminal is charged. And when detecting whether the charging port of the mobile terminal is short-circuited or not, if the user accesses the mobile terminal into the charger, interrupting the detection.
Specifically, it may also be determined before step 101 whether charging is in progress, and if charging is in progress, the power supply function of the device connection module is not turned on; if not, step 207 and step 208 are performed, and the power supply function of the device connection module is turned on only when the mobile terminal is not being charged, the device connection module function is not turned on, and the external device is not accessed. For a mobile terminal which does not need to manually start an OTG function, the embodiment of the invention does not detect whether a charging port of the mobile terminal is short-circuited when the device connection module supplies power to or communicates with external equipment. When detecting whether the charging port of the mobile terminal is short-circuited, as shown in fig. 2, if it is detected that the device connection module supplies power to or communicates with the external device, the detection is interrupted. Specifically, when the external power supply device or the external communication device is inserted into the charging port, the master-slave identification Pin transmits a signal to the charging chip, and the charging chip interrupts detection after recognizing the signal.
In the embodiment of the invention, when the charging port is not connected with the external equipment, whether the charging port of the mobile terminal is short-circuited is detected through the power supply function of the equipment connection module; and if the short circuit occurs, prompting a user to perform safety check and processing on the charging port. The problem of charging when charging port short circuit and lead to charging port excessive heat damage mobile terminal is solved, the beneficial effect of avoiding charging port and mobile terminal damaged has been reached. In addition, the charging port can be safely protected through safety check or grounding the charging port.
EXAMPLE III
Referring to fig. 4, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal 300 includes: a short circuit detection module 301 and a short circuit prompt module 302.
The functions of the modules and the interaction relationship between the modules are described in detail below.
A short circuit detection module 301, configured to detect whether the charging port of the mobile terminal is short-circuited through a power supply function of the device connection module when the charging port is not connected to an external device.
and a short circuit prompting module 302, configured to prompt a user to perform security check and processing on the charging port if the charging port is short-circuited.
In the embodiment of the invention, when the charging port is not connected with the external equipment, whether the charging port of the mobile terminal is short-circuited is detected through the power supply function of the equipment connection module; and if the short circuit occurs, prompting a user to perform safety check and processing on the charging port. The problem of charging when charging port short circuit and lead to charging port excessive heat damage mobile terminal is solved, the beneficial effect of avoiding charging port and mobile terminal damaged has been reached.
The third embodiment is a corresponding apparatus embodiment to the first embodiment, and details thereof are not repeated herein.
Example four
referring to fig. 5, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal 400 includes: the short circuit detection module 401, the short circuit prompt module 402, the grounding module 403, the first interrupt module 404, and the second interrupt module 405.
The functions of the modules and the interaction relationship between the modules are described in detail below.
and a short circuit detection module 401, configured to detect whether the charging port of the mobile terminal is short-circuited through a power supply function of the device connection module when the charging port is not connected to an external device. Optionally, in an embodiment of the present invention, the short circuit detecting module 401 includes:
And the discharging starting submodule 4011 is used for periodically starting a power supply function of the equipment connection module.
and the current control submodule 4012 is configured to control a supply current of the device connection module to be smaller than a preset current.
And the short-circuit detection submodule 4013 is configured to determine whether the charging port is short-circuited according to the supply voltage of the device connection module.
And a short circuit prompting module 402, configured to prompt a user to perform security check and processing on the charging port if the charging port is short-circuited.
Optionally, in an embodiment of the present invention, the method further includes:
And a grounding module 403, configured to turn on the field effect transistor between the voltage bus of the charging port and ground if short circuit occurs.
A first interrupting module 404, configured to interrupt short circuit detection on the charging port of the mobile terminal when a user's operation of starting a device connection module function is detected.
And/or the second interrupting module 405 is configured to interrupt short circuit detection on the charging port of the mobile terminal when an access signal of an external device is detected.
Optionally, in another embodiment of the present invention, the short circuit detection sub-module 4013 includes:
And the power supply voltage measuring unit is used for measuring the power supply voltage of the equipment connecting module.
and the short circuit determining unit is used for determining that the charging port is short-circuited if the power supply voltage of the equipment connecting module is smaller than a preset voltage threshold.
And the power supply function closing unit is used for closing the power supply function of the equipment connecting module if the power supply voltage of the equipment connecting module is smaller than a preset voltage threshold value.
In the embodiment of the invention, when the charging port is not connected with the external equipment, whether the charging port of the mobile terminal is short-circuited is detected through the power supply function of the equipment connection module; and if the short circuit occurs, prompting a user to perform safety check and processing on the charging port. The problem of charging when charging port short circuit and lead to charging port excessive heat damage mobile terminal is solved, the beneficial effect of avoiding charging port and mobile terminal damaged has been reached. In addition, the charging port can be safely protected through safety check or grounding the charging port.
The fourth embodiment is a device embodiment corresponding to the second embodiment, and details can be found in reference to the second embodiment, which are not described herein again.
EXAMPLE five
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 510, configured to detect whether a charging port of the mobile terminal is short-circuited through a power supply function of a device connection module when the charging port is not connected to an external device; and if the short circuit occurs, prompting a user to perform safety check and processing on the charging port.
Therefore, in the embodiment of the present invention, when the charging port is not connected to the external device, whether the charging port of the mobile terminal is short-circuited is detected through the power supply function of the device connection module; and if the short circuit occurs, prompting a user to perform safety check and processing on the charging port. The problem of charging when charging port short circuit and lead to charging port excessive heat damage mobile terminal is solved, the beneficial effect of avoiding charging port and mobile terminal damaged has been reached.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture 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 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 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), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
the display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 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 507 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 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 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 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 6, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. 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, and the like. The interface unit 508 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 500 or may be used to transmit data between the mobile terminal 500 and external devices.
the memory 509 may be used to store software programs as well as various data. The memory 509 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 509 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 510 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 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 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 processor 510.
the mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned protection method for a charging port are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned protection method for a charging port, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 (11)

1. A protection method of a charging port is applied to a mobile terminal, and is characterized by comprising the following steps:
When the charging port is not connected with external equipment, detecting whether the charging port of the mobile terminal is short-circuited or not through a power supply function of an equipment connection module;
if the charging port is short-circuited, prompting a user to perform safety check and processing on the charging port;
whether the power supply function through equipment connection module detects mobile terminal's charging port short circuit includes:
Periodically starting the power supply function of the equipment connection module;
Controlling the power supply current of the equipment connection module to be smaller than a preset current;
determining whether a charging port is short-circuited according to the power supply voltage of the equipment connection module;
Wherein, the equipment connection module is OTG.
2. The method of claim 1, wherein determining whether a charging port is shorted based on a supply voltage of the device connection module comprises:
Measuring a supply voltage of the device connection module;
And if the power supply voltage of the equipment connection module is smaller than a preset voltage threshold, determining that the charging port is short-circuited.
3. the method of claim 2, further comprising:
And if the power supply voltage of the equipment connection module is smaller than a preset voltage threshold, closing the power supply function of the equipment connection module.
4. the method of claim 1, further comprising:
And if the short circuit occurs, the field effect transistor between the voltage bus of the charging port and the ground is conducted.
5. The method of claim 1, further comprising:
when the starting operation of a user on the function of the equipment connection module is detected, the short circuit detection of the charging port of the mobile terminal is interrupted;
And/or interrupting the short circuit detection of the charging port of the mobile terminal when an access signal of an external device is detected.
6. A mobile terminal, comprising:
The short circuit detection module is used for detecting whether the charging port of the mobile terminal is short-circuited or not through the power supply function of the equipment connection module when the charging port is not connected with external equipment;
the short circuit prompting module is used for prompting a user to perform safety check and processing on the charging port if the charging port is short-circuited;
The short circuit detection module includes:
The discharge starting submodule is used for periodically starting the power supply function of the equipment connecting module;
The current control submodule is used for controlling the power supply current of the equipment connecting module to be smaller than the preset current;
the short-circuit detection submodule is used for determining whether the charging port is short-circuited according to the power supply voltage of the equipment connection module;
Wherein, the equipment connection module is OTG.
7. the mobile terminal of claim 6, wherein the short detection submodule comprises:
The power supply voltage measuring unit is used for measuring the power supply voltage of the equipment connecting module;
And the short circuit determining unit is used for determining that the charging port is short-circuited if the power supply voltage of the equipment connecting module is smaller than a preset voltage threshold.
8. The mobile terminal of claim 7, further comprising:
And the power supply function closing unit is used for closing the power supply function of the equipment connecting module if the power supply voltage of the equipment connecting module is smaller than a preset voltage threshold value.
9. The mobile terminal of claim 6, further comprising:
And the grounding module is used for conducting the field effect transistor between the voltage bus of the charging port and the ground if the short circuit occurs.
10. the mobile terminal of claim 6, further comprising:
The first interruption module is used for interrupting the short circuit detection of the charging port of the mobile terminal when the starting operation of a user on the function of the equipment connection module is detected;
And/or the second interruption module is used for interrupting the short circuit detection of the charging port of the mobile terminal when the access signal of the external equipment is detected.
11. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the protection method of a charging port according to any one of claims 1 to 5.
CN201711191368.0A 2017-11-24 2017-11-24 Protection method for charging port and mobile terminal Active CN107887947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711191368.0A CN107887947B (en) 2017-11-24 2017-11-24 Protection method for charging port and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711191368.0A CN107887947B (en) 2017-11-24 2017-11-24 Protection method for charging port and mobile terminal

Publications (2)

Publication Number Publication Date
CN107887947A CN107887947A (en) 2018-04-06
CN107887947B true CN107887947B (en) 2019-12-06

Family

ID=61774966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711191368.0A Active CN107887947B (en) 2017-11-24 2017-11-24 Protection method for charging port and mobile terminal

Country Status (1)

Country Link
CN (1) CN107887947B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230315157A1 (en) * 2022-03-30 2023-10-05 Lenovo (United States) Inc. Moisture removal from device port

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279361B (en) * 2018-04-17 2020-06-02 南昌黑鲨科技有限公司 Test method and test circuit for charging port of intelligent terminal
CN109245244B (en) * 2018-11-13 2021-03-02 Oppo(重庆)智能科技有限公司 Charging circuit, charging processing method, electronic device, and storage medium
CN109950955A (en) * 2019-03-29 2019-06-28 努比亚技术有限公司 Charging method, device and terminal device based on cradle
CN112929485B (en) * 2019-12-06 2022-07-22 北京小米移动软件有限公司 Electronic device, interface module protection method, protection device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0729613A (en) * 1993-07-16 1995-01-31 Nec Data Terminal Ltd Electric charging connector
CN106849246A (en) * 2017-03-01 2017-06-13 顺丰科技有限公司 Charging inlet short-circuit detecting device, mobile terminal and method for detecting short circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0729613A (en) * 1993-07-16 1995-01-31 Nec Data Terminal Ltd Electric charging connector
CN106849246A (en) * 2017-03-01 2017-06-13 顺丰科技有限公司 Charging inlet short-circuit detecting device, mobile terminal and method for detecting short circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
通用手机充电器及其接口设计和标准化;何桂立等;《安全与电磁装置》;20090430;第65-67页 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230315157A1 (en) * 2022-03-30 2023-10-05 Lenovo (United States) Inc. Moisture removal from device port

Also Published As

Publication number Publication date
CN107887947A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN107887947B (en) Protection method for charging port and mobile terminal
CN108347759B (en) Anti-interference method of flexible screen and mobile terminal
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN108594120B (en) Battery state detection method and device and computer readable storage medium
CN109672254B (en) Charging control circuit, terminal equipment and control method
CN108572767B (en) Method for determining external object position and mobile terminal
CN108988421B (en) Battery charging method, charging circuit and terminal
CN109962514B (en) Charging method and mobile terminal
CN109560591B (en) Charging method, device and terminal
CN108448673B (en) Charging method, mobile terminal and charger
CN107834640B (en) Charging method and terminal
US20210391753A1 (en) Terminal and wireless charging control method
CN111106821B (en) Touch control method and wearable device
CN110730017A (en) Radio frequency device, control method thereof and terminal equipment
CN111651387B (en) Interface circuit and electronic equipment
CN108448177B (en) Charging method and terminal
CN108388400B (en) Operation processing method and mobile terminal
CN110868683B (en) Ultrasonic module failure detection method and electronic equipment
CN210894629U (en) Electric meter assembly and electronic equipment
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN110190641B (en) Charging control circuit, terminal equipment and data line
CN107995372B (en) False touch grounding identification processing method and circuit and mobile terminal
CN108924319B (en) Proximity detection method and mobile terminal
CN108595352B (en) Protection method and device for mobile terminal
CN110825682B (en) USB control method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant