CN107887947A - A kind of guard method of charging port and mobile terminal - Google Patents

A kind of guard method of charging port and mobile terminal Download PDF

Info

Publication number
CN107887947A
CN107887947A CN201711191368.0A CN201711191368A CN107887947A CN 107887947 A CN107887947 A CN 107887947A CN 201711191368 A CN201711191368 A CN 201711191368A CN 107887947 A CN107887947 A CN 107887947A
Authority
CN
China
Prior art keywords
charging port
short
mobile terminal
circuit
link block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711191368.0A
Other languages
Chinese (zh)
Other versions
CN107887947B (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 kind of guard method of charging port and mobile terminal, wherein, methods described includes:When the charging port does not access external equipment, whether the charging port that the mobile terminal is detected by the function of supplying power of equipment link block is short-circuit;If short-circuit, user is prompted to carry out safety inspection and processing to the charging port.Solve the problems, such as that charging causes charging port to cross cause thermal damage mobile terminal during charging port short circuit, has reached and has avoided charging port and the impaired beneficial effect of mobile terminal.

Description

A kind of guard method of charging port and mobile terminal
Technical field
The present invention relates to guard method and the mobile terminal of technical field of mobile terminals, more particularly to a kind of charging port.
Background technology
With the extensive use of the electronic equipments such as mobile terminal, user is more and more to the charge requirement of electronic equipment, Seek also more and more higher.Because user is frequent using mobile terminal skip, thus it requires charging rate is fast.
In the prior art, two kinds of quick charge schemes of high pressure fast charge and low pressure fast charge are primarily present.Wherein, high pressure fast charge is led to Raising voltage is crossed to realize, so as to realize quick charge in the case where electric current is constant;And low pressure fast charge by increase electric current come Realize, so as to realize quick charge in the case where voltage is constant.It should be noted that two kinds of fast charge schemes, in quick charge The power of adapter is very big in journey.
However, because charging port inevitably has dust and moisture issues, cause the positive pole of charging port Receiving terminal produces different degrees of short circuit over the ground, so as to cause port mistake when access High Power Adapter is charged at this moment Heat, damage mobile terminal.
The content of the invention
The guard method of charging port provided in an embodiment of the present invention and mobile terminal, the confession of equipment link block can be passed through Whether Electricity Functional detection charging port is short-circuit, and prompts user that cleaning is charged again afterwards before being charged, so as to keep away Exempt from charging port and mobile terminal is damaged.
On the one hand, the embodiment of the invention discloses a kind of guard method of charging port, applied to mobile terminal, including:
When the charging port does not access external equipment, the movement is detected by the function of supplying power of equipment link block Whether the charging port of terminal is short-circuit;
If short-circuit, user is prompted to carry out safety inspection and processing to the charging port.
On the other hand, the embodiment of the invention also discloses a kind of mobile terminal, including:
Short-circuit detecting module, for when the charging port does not access external equipment, passing through the confession of equipment link block Whether the charging port that Electricity Functional detects the mobile terminal is short-circuit;
Short-circuit reminding module, if for short circuit, user is prompted to carry out safety inspection and processing to the charging port.
Another further aspect, the embodiment of the invention also discloses a kind of mobile terminal, including processor, memory and it is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is by the computing device The step of realizing the as above guard method of the charging port described in any one.
Last aspect, it is described computer-readable the embodiment of the invention also discloses a kind of computer-readable recording medium Computer program is stored with storage medium, filling described in as above any one is realized when the computer program is executed by processor The step of guard method of electric port.
In embodiments of the present invention, when the charging port does not access external equipment, the confession of equipment link block is passed through Whether the charging port that Electricity Functional detects the mobile terminal is short-circuit;If short-circuit, user is prompted to carry out the charging port Safety inspection and processing.Solve the problems, such as that charging causes charging port to cross cause thermal damage mobile terminal during charging port short circuit, reaches To avoiding charging port and the impaired beneficial effect of mobile terminal.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 shows a kind of step flow chart of the guard method of charging port in the embodiment of the present invention one;
Fig. 2 show the embodiment of the present invention detection charging port whether short circuit schematic diagram;
Fig. 3 shows a kind of step flow chart of the guard method of charging port in the embodiment of the present invention two;
Fig. 4 shows a kind of structured flowchart of mobile terminal in the embodiment of the present invention three;
Fig. 5 shows a kind of structured flowchart of mobile terminal in the embodiment of the present invention four;
Fig. 6 shows a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Below by the protection side for enumerating several specific embodiments and being discussed in detail a kind of charging port provided by the invention Method and mobile terminal.
Embodiment one
Reference picture 1, a kind of step flow chart of the guard method of charging port of the embodiment of the present invention one is shown, specifically It may include steps of:
Step 101, when the charging port does not access external equipment, detected by the function of supplying power of equipment link block Whether the charging port of the mobile terminal is short-circuit.
The embodiment of the present invention, which is applied to detection mobile phone, tablet personal computer etc., has mobile terminal and other ends of charge function End.It is appreciated that, it is necessary to it could be detected when charging port does not access external equipment.
Wherein, equipment link block is OTG (on-the-go), have to other-end power function and and other The function of terminal communication.In embodiments of the present invention, OTG function of supplying power is mainly used.
Specifically, test whether current voltage is less than designated value by low current, if be less than designated value, judge charging end Mouth short circuit, so as to close OTG function of supplying power;Otherwise, judge that charging port is non-shorting.
Step 102, it is if short-circuit, prompt user to carry out safety inspection and processing to the charging port.
Specifically, user can be prompted by interface as shown in Figure 2, such as " charging port has foreign matter or humidity, Please clear up in time ".It is appreciated that the particular content and form of prompt message can be set according to practical application scene, the present invention Embodiment is not any limitation as to it.
As shown in Fig. 2 when CPU detects that OTG is closed extremely, charging port short circuit is determined, so as in mobile terminal circle User is prompted on face.
The embodiment of the present invention can prompt user by friendly interface, ensure that the safety of charging port and mobile terminal Property.
In embodiments of the present invention, when the charging port does not access external equipment, the confession of equipment link block is passed through Whether the charging port that Electricity Functional detects the mobile terminal is short-circuit;If short-circuit, user is prompted to carry out the charging port Safety inspection and processing.Solve the problems, such as that charging causes charging port to cross cause thermal damage mobile terminal during charging port short circuit, reaches To avoiding charging port and the impaired beneficial effect of mobile terminal.
Embodiment two
Reference picture 3, a kind of step flow chart of the guard method of charging port of the embodiment of the present invention two is shown, specifically It may include steps of:
Step 201, when the charging port does not access external equipment, the power supply work(of equipment link block is periodically opened Energy.
As shown in Fig. 2 whether the system of short circuit mainly includes detection charging port:Charging port, CPU (Central Processing Unit, CPU), interface, charging IC (Integrated Circuit, integrated circuit), battery. Wherein, the IC that charges is referred to as charging chip in the present invention, and VBUS is (Voltage BUS, voltage bus).GND (Ground, ground) For ground wire or 0 line.PIN (Personal Identification Number, PIN) is SIM (Subscriber Identification Module, Subscriber Identity Module) card personal identification number.
Specifically, charging chip can open the function of supplying power of equipment link block according to some cycles.It is appreciated that open The cycle of function of supplying power can be set according to practical application scene, and the embodiment of the present invention is not any limitation as to it.
Step 202, the supply current of the equipment link block is controlled to be less than predetermined current.
Wherein, predetermined current is a low current, for example, 100mA.It is appreciated that predetermined current can be according to practical application Scene settings, the embodiment of the present invention are not any limitation as to it.
Step 203, determine whether charging port is short-circuit according to the supply voltage of the equipment link block.
Wherein, supply voltage is the voltage that equipment link block provides in power supply, can be according to supply current and impedance Calculate, can also direct measurement.
Specifically, due to the impedance very little of charging port, supply current very little, so as to be less than setting value when supply voltage When, determine charging port short circuit;Otherwise, it determines charging port is non-shorting.
Alternatively, in another embodiment of the invention, step 203 includes sub-step 2031 to 2032:
Sub-step 2031, measure the supply voltage of the equipment link block.
In embodiments of the present invention, for convenience, the supply voltage of direct measurement equipment link block.In practical application In, supply current and impedance computation supply voltage can also be passed through.
It is appreciated that the embodiment of the present invention is not any limitation as to the measuring method of supply voltage.
Sub-step 2032, if the supply voltage of the equipment link block is less than predetermined voltage threshold, it is determined that charging end Mouth short circuit.
Wherein, predetermined voltage threshold can be set according to practical application scene, and the embodiment of the present invention is not any limitation as to it. It is appreciated that predetermined voltage threshold needs to be set according to predetermined current, so as to ensure that the detection to charging port short circuit is more accurate.
Sub-step 2033, if the supply voltage of the equipment link block is less than predetermined voltage threshold, set described in closing The function of supplying power of standby link block.The embodiment of the present invention can protect mobile terminal by closing function of supplying power.
Step 205, it is if short-circuit, turn on the field-effect transistor between the voltage bus and ground of the charging port.
Wherein, charging port is grounded, and field-effect transistor will not be because of big electricity by field-effect transistor in conducting Stream damage.It should be noted that it is determined that turning on field-effect transistor during charging port short circuit;Break when charging port is non-shorting Prologue effect transistor.
It is appreciated that in actual applications, other can also be used similar to the apparatus and method of field-effect transistor to filling Electric port is protected, and the embodiment of the present invention is not any limitation as to it.
In addition, step 204 and 205 can be carried out simultaneously, can also carry out respectively, the embodiment of the present invention is not limited it System.
Step 206, when detecting unlatching operation of the user to equipment link block function, interrupt and mould is connected by equipment Whether the charging port that the function of supplying power of block detects the mobile terminal is short-circuit.
Mobile terminal for needing manually opened OTG functions, the embodiment of the present invention are opened in equipment link block function When do not detect mobile terminal charging port it is whether short-circuit.When whether the charging port for detecting mobile terminal is short-circuit, if user Manually opened equipment link block function, then interrupt detection.
Step 207, and/or, when detecting the access signal of external equipment, the power supply by equipment link block is interrupted Whether the charging port of mobile terminal described in Function detection is short-circuit.
Wherein, external equipment includes charger and other equipment to be charged using the equipment link block.
Whether the charging port that the embodiment of the present invention does not detect mobile terminal when mobile terminal is charged is short-circuit.Examining When whether the charging port of survey mobile terminal is short-circuit, if mobile terminal is accessed charger by user, detection is interrupted.
Specifically, it can also before step 101 judge whether to charge, if charging, be not turned on equipment company The function of supplying power of connection module;If not charging, into step 207 and 208 judgement, only when mobile terminal not charging, And equipment link block function just opens the function of supplying power of equipment link block when being not switched on and not accessing external equipment.For The mobile terminal of manually opened OTG functions is not needed, the embodiment of the present invention is powered or led to external equipment in equipment link block Whether the charging port for not detecting mobile terminal during letter is short-circuit.When whether the charging port for detecting mobile terminal is short-circuit, such as Fig. 2 It is shown, if detect that equipment link block is powered or communicated to external equipment, interrupt detection.Specifically, when externally fed is set During standby or external communication device insertion charging port, when principal and subordinate identifies that Pin transmits signals to charging chip, charging chip recognizes After signal, detection is interrupted.
In embodiments of the present invention, when the charging port does not access external equipment, the confession of equipment link block is passed through Whether the charging port that Electricity Functional detects the mobile terminal is short-circuit;If short-circuit, user is prompted to carry out the charging port Safety inspection and processing.Solve the problems, such as that charging causes charging port to cross cause thermal damage mobile terminal during charging port short circuit, reaches To avoiding charging port and the impaired beneficial effect of mobile terminal.Further, it is also possible to by safety inspection or by charging end Mouth ground connection carries out safeguard protection to charging port.
Embodiment three
Reference picture 4, show a kind of structured flowchart of mobile terminal of the embodiment of the present invention three.
The mobile terminal 300 includes:Short-circuit detecting module 301, short-circuit reminding module 302.
Be discussed in detail separately below each module function and each module between interactive relation.
Short-circuit detecting module 301, for when the charging port does not access external equipment, passing through equipment link block Whether the charging port that function of supplying power detects the mobile terminal is short-circuit.
Short-circuit reminding module 302, if for short circuit, user is prompted to carry out safety inspection and place to the charging port Reason.
In embodiments of the present invention, when the charging port does not access external equipment, the confession of equipment link block is passed through Whether the charging port that Electricity Functional detects the mobile terminal is short-circuit;If short-circuit, user is prompted to carry out the charging port Safety inspection and processing.Solve the problems, such as that charging causes charging port to cross cause thermal damage mobile terminal during charging port short circuit, reaches To avoiding charging port and the impaired beneficial effect of mobile terminal.
Embodiment three is device embodiment corresponding to embodiment of the method one, and detailed description is referred to embodiment one, herein Repeat no more.
Example IV
Reference picture 5, show a kind of structured flowchart of mobile terminal of the embodiment of the present invention four.
The mobile terminal 400 includes:Short-circuit detecting module 401, short-circuit reminding module 402, earthing module 403, first Interrupt module 404, the second interrupt module 405.
Be discussed in detail separately below each module function and each module between interactive relation.
Short-circuit detecting module 401, for when the charging port does not access external equipment, passing through equipment link block Whether the charging port that function of supplying power detects the mobile terminal is short-circuit.Alternatively, in embodiments of the present invention, above-mentioned short circuit inspection Module 401 is surveyed, including:
Submodule 4011 is opened in electric discharge, for periodically opening the function of supplying power of equipment link block.
Current control submodule 4012, for controlling the supply current of the equipment link block to be less than predetermined current.
Short-circuit detecting submodule 4013, for whether determining charging port according to the supply voltage of the equipment link block Short circuit.
Short-circuit reminding module 402, if for short circuit, user is prompted to carry out safety inspection and place to the charging port Reason.
Alternatively, in embodiments of the present invention, in addition to:
Earthing module 403, if for short circuit, the field-effect turned between the voltage bus and ground of the charging port is brilliant Body pipe.
First interrupt module 404, for when detect user to equipment link block function unlatching operation when, interrupt pair The short-circuit detecting of the charging port of the mobile terminal.
And/or second interrupt module 405, for when detecting the access signal of external equipment, interrupting to the movement The short-circuit detecting of the charging port of terminal.
Alternatively, in another embodiment of the invention, above-mentioned short-circuit detecting submodule 4013, including:
Supply voltage measuring unit, for measuring the supply voltage of the equipment link block.
Short-circuit unit is determined, if the supply voltage for the equipment link block is less than predetermined voltage threshold, it is determined that Charging port short circuit.
Function of supplying power closing unit, if the supply voltage for the equipment link block is less than predetermined voltage threshold, Close the function of supplying power of the equipment link block.
In embodiments of the present invention, when the charging port does not access external equipment, the confession of equipment link block is passed through Whether the charging port that Electricity Functional detects the mobile terminal is short-circuit;If short-circuit, user is prompted to carry out the charging port Safety inspection and processing.Solve the problems, such as that charging causes charging port to cross cause thermal damage mobile terminal during charging port short circuit, reaches To avoiding charging port and the impaired beneficial effect of mobile terminal.Further, it is also possible to by safety inspection or by charging end Mouth ground connection carries out safeguard protection to charging port.
Example IV is device embodiment corresponding to embodiment of the method two, and detailed description is referred to embodiment two, herein Repeat no more.
Embodiment five
Fig. 6 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 500 Including but not limited to:It is radio frequency unit 501, mixed-media network modules mixed-media 502, audio output unit 503, input block 504, sensor 505, aobvious Show the parts such as unit 506, user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511. It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 6 does not form the restriction to mobile terminal, it is mobile whole End can be included than illustrating more or less parts, either combine some parts or different parts arrangement.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet personal computer, notebook computer, palm PC, car-mounted terminal, can worn Wear equipment and pedometer etc..
Processor 510, for when the charging port does not access external equipment, passing through the power supply work(of equipment link block Whether the charging port that the mobile terminal can be detected is short-circuit;If short-circuit, user is prompted to carry out safety to the charging port Check and handle.
It can be seen that in embodiments of the present invention, when the charging port does not access external equipment, pass through equipment link block Function of supplying power detect the mobile terminal charging port it is whether short-circuit;If short-circuit, user is prompted to the charging port Carry out safety inspection and processing.Charging causes charging port to cross asking for cause thermal damage mobile terminal when solving charging port short circuit Topic, has reached and has avoided charging port and the impaired beneficial effect of mobile terminal.
It should be understood that in the embodiment of the present invention, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 510;In addition, will be up Data are sent to base station.Generally, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 502 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be receiving by radio frequency unit 501 or mixed-media network modules mixed-media 502 or in memory 509 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 503 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input block 504 is used to receive audio or video signal.Input block 504 can include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 506.Picture frame after the processing of graphics processor 5041 can be deposited Storage is transmitted in memory 509 (or other storage mediums) or via radio frequency unit 501 or mixed-media network modules mixed-media 502.Mike Wind 5042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 also includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity transducer can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 506 is used for the information for showing the information inputted by user or being supplied to user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 5061.
User input unit 507 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 507 include contact panel 5071 and Other input equipments 5072.Contact panel 5071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 5071 or in contact panel 5071 Neighbouring operation).Contact panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area Manage the order that device 510 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 5071.Except contact panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 5071 can be covered on display panel 5061, when contact panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch The type for touching event provides corresponding visual output on display panel 5061.Although in figure 6, contact panel 5071 and display Panel 5061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 5071 and display panel 5061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 508 is the interface that external device (ED) is connected with mobile terminal 500.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 500 can be used in the He of mobile terminal 500 Data are transmitted between external device (ED).
Memory 509 can be used for storage software program and various data.Memory 509 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 509 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 509, and call and be stored in storage Data in device 509, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) to all parts power supply, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, memory 509, is stored in On memory 509 and the computer program that can be run on the processor 510, the computer program are performed by processor 510 Each process of the guard method embodiment of the above-mentioned charging ports of Shi Shixian, and identical technique effect can be reached, to avoid weight It is multiple, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each mistake of the guard method embodiment of above-mentioned charging port when being executed by processor Journey, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable storage medium Matter, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (13)

  1. A kind of 1. guard method of charging port, applied to mobile terminal, it is characterised in that methods described includes:
    When the charging port does not access external equipment, the mobile terminal is detected by the function of supplying power of equipment link block Charging port it is whether short-circuit;
    If short-circuit, user is prompted to carry out safety inspection and processing to the charging port.
  2. 2. according to the method for claim 1, it is characterised in that the function of supplying power by equipment link block detects institute Whether short-circuit state the charging port of mobile terminal, including:
    Periodically open the function of supplying power of equipment link block;
    The supply current of the equipment link block is controlled to be less than predetermined current;
    Determine whether charging port is short-circuit according to the supply voltage of the equipment link block.
  3. 3. according to the method for claim 2, it is characterised in that the supply voltage according to the equipment link block is true Whether short-circuit determine charging port, including:
    Measure the supply voltage of the equipment link block;
    If the supply voltage of the equipment link block is less than predetermined voltage threshold, it is determined that charging port short circuit.
  4. 4. according to the method for claim 3, it is characterised in that also include:
    If the supply voltage of the equipment link block is less than predetermined voltage threshold, the power supply of the equipment link block is closed Function.
  5. 5. according to the method for claim 1, it is characterised in that also include:
    If short-circuit, the field-effect transistor between the voltage bus and ground of the charging port is turned on.
  6. 6. according to the method for claim 1, it is characterised in that also include:
    When detecting unlatching operation of the user to equipment link block function, interrupt to the charging port of the mobile terminal Short-circuit detecting;
    And/or when detecting the access signal of external equipment, interrupt the short circuit to the charging port of the mobile terminal and examine Survey.
  7. A kind of 7. mobile terminal, it is characterised in that including:
    Short-circuit detecting module, for when the charging port does not access external equipment, passing through the power supply work(of equipment link block Whether the charging port that the mobile terminal can be detected is short-circuit;
    Short-circuit reminding module, if for short circuit, user is prompted to carry out safety inspection and processing to the charging port.
  8. 8. mobile terminal according to claim 7, it is characterised in that the short-circuit detecting module, including:
    Submodule is opened in electric discharge, for periodically opening the function of supplying power of equipment link block;
    Current control submodule, for controlling the supply current of the equipment link block to be less than predetermined current;
    Short-circuit detecting submodule, for determining whether charging port is short-circuit according to the supply voltage of the equipment link block.
  9. 9. mobile terminal according to claim 8, it is characterised in that the short-circuit detecting submodule, including:
    Supply voltage measuring unit, for measuring the supply voltage of the equipment link block;
    Short-circuit unit is determined, if the supply voltage for the equipment link block is less than predetermined voltage threshold, it is determined that charging Port short circuit.
  10. 10. mobile terminal according to claim 9, it is characterised in that also include:
    Function of supplying power closing unit, if the supply voltage for the equipment link block is less than predetermined voltage threshold, close The function of supplying power of the equipment link block.
  11. 11. mobile terminal according to claim 7, it is characterised in that described also to include:
    Earthing module, if for short circuit, turn on the field-effect transistor between the voltage bus and ground of the charging port.
  12. 12. mobile terminal according to claim 7, it is characterised in that also include:
    First interrupt module, for when detecting unlatching operation of the user to equipment link block function, interrupting to the shifting The short-circuit detecting of the charging port of dynamic terminal;
    And/or second interrupt module, for when detecting the access signal of external equipment, interrupting to the mobile terminal The short-circuit detecting of charging port.
  13. 13. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 6 during the computing device The step of guard method of charging port described in any one.
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 true CN107887947A (en) 2018-04-06
CN107887947B 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 (4)

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

Families Citing this family (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

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
何桂立等: "通用手机充电器及其接口设计和标准化", 《安全与电磁装置》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279361A (en) * 2018-04-17 2018-07-13 南昌黑鲨科技有限公司 A kind of test method and test circuit of the charging port of intelligent terminal
CN108279361B (en) * 2018-04-17 2020-06-02 南昌黑鲨科技有限公司 Test method and test circuit for charging port of intelligent terminal
CN109245244A (en) * 2018-11-13 2019-01-18 Oppo(重庆)智能科技有限公司 Charging circuit, charging method, electronic equipment and storage medium
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
CN112929485A (en) * 2019-12-06 2021-06-08 北京小米移动软件有限公司 Electronic device, interface module protection method, protection device and storage medium
CN112929485B (en) * 2019-12-06 2022-07-22 北京小米移动软件有限公司 Electronic device, interface module protection method, protection device and storage medium

Also Published As

Publication number Publication date
CN107887947B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN107887947A (en) A kind of guard method of charging port and mobile terminal
CN107608514A (en) Information processing method and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN108494030A (en) A kind of wireless charging method, terminal and transmitting end equipment
CN108108007A (en) A kind of processing method and mobile terminal for reducing power consumption
CN107770760A (en) A kind of method and mobile terminal of the type for identifying bluetooth equipment
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN107808084A (en) A kind of touch operation method and mobile terminal
CN107806943A (en) A kind of coil temperature detection method and mobile terminal
CN107749647A (en) A kind of battery pack structure, mobile terminal and charge control method
CN108282000A (en) Wireless charging method, wireless transmitter, wireless charging receiving terminal and adapter
CN107834640A (en) A kind of charging method and terminal
CN109888928A (en) A kind of terminal and wireless charging control method
CN109739300A (en) A kind of method of controlling antenna and terminal
CN107785961A (en) A kind of series-connected cell charging method, mobile terminal and computer-readable medium
CN108235084A (en) A kind of video broadcasting method and mobile terminal
CN108540951A (en) A kind of recharge method and mobile terminal
CN108448177A (en) A kind of charging method and terminal
CN108388400A (en) A kind of operation processing method and mobile terminal
CN107895108A (en) A kind of operation management method and mobile terminal
CN107819957A (en) A kind of electricity based reminding method, mobile terminal
CN107749761A (en) A kind of anti-interference method and mobile terminal
CN110209543A (en) A kind of detection method and terminal of earphone socket
CN108595352A (en) A kind of guard method of mobile terminal and device
CN109991507A (en) A kind of smart card contact detection circuit, method and apparatus

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