CN106300252A - A kind of electrical leakage detecting method, device and terminal unit - Google Patents

A kind of electrical leakage detecting method, device and terminal unit Download PDF

Info

Publication number
CN106300252A
CN106300252A CN201610616939.XA CN201610616939A CN106300252A CN 106300252 A CN106300252 A CN 106300252A CN 201610616939 A CN201610616939 A CN 201610616939A CN 106300252 A CN106300252 A CN 106300252A
Authority
CN
China
Prior art keywords
terminal unit
charger
charging inlet
unit
described terminal
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
CN201610616939.XA
Other languages
Chinese (zh)
Other versions
CN106300252B (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.)
Dongguan Coolpad Software Technology Co Ltd
Original Assignee
Dongguan Coolpad Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Coolpad Software Technology Co Ltd filed Critical Dongguan Coolpad Software Technology Co Ltd
Priority to CN201610616939.XA priority Critical patent/CN106300252B/en
Publication of CN106300252A publication Critical patent/CN106300252A/en
Application granted granted Critical
Publication of CN106300252B publication Critical patent/CN106300252B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/26Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to difference between voltages or between currents; responsive to phase angle between voltages or between currents
    • H02H3/32Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to difference between voltages or between currents; responsive to phase angle between voltages or between currents involving comparison of the voltage or current values at corresponding points in different conductors of a single system, e.g. of currents in go and return conductors
    • 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/02Details
    • H02H3/04Details with warning or supervision in addition to disconnection, e.g. for indicating that protective apparatus has functioned

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of electrical leakage detecting method, device and terminal unit, be applied to mobile communication technology field.The method comprise the steps that whether detection terminal unit is connected with charger;If described terminal unit is connected with charger, then monitor pin voltage corresponding on described terminal unit charging inlet;Judge whether pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold;If exceeding, then control described terminal unit and disconnect with described charger, and control described terminal unit output alarm signal.Implement the embodiment of the present invention, high pressure electric leakage once occurs, user can be reminded by alarm signal, reduce potential safety hazard.

Description

A kind of electrical leakage detecting method, device and terminal unit
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of electrical leakage detecting method, device and terminal unit.
Background technology
Mobile phone, what the terminal unit such as panel computer brought us is not only conveniently, has also incorporated our daily simultaneously In the middle of life, having become a kind of indispensable instrument, charger also obtains as the standard configuration of the terminal unit such as mobile phone, panel computer Use frequently, the high-pressure side of the charger for mobile phone internal transformer provided in the market all without creepage protection function, Once occurring fault to cause high-tension current to seal in low-pressure side in charger, now high-tension current can be by the charging of mobile phone Mouth enters in mobile phone, and mobile phone may directly crash under the effect of high-tension current, but do not have any different on mobile phone surface Chang Xianxiang, user cannot discover, and now user once contacts mobile phone, it is possible to user causes unexpected injury, causes Potential safety hazard greatly.
Summary of the invention
Embodiments provide a kind of electrical leakage detecting method, device and terminal unit, high pressure electric leakage once occurs, i.e. User can be reminded by alarm signal, reduce potential safety hazard.
Embodiment of the present invention first aspect discloses a kind of electrical leakage detecting method, including:
Whether detection terminal unit is connected with charger;
If described terminal unit is connected with charger, then monitor pin electricity corresponding on described terminal unit charging inlet Pressure;
Judge whether pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold;
If exceeding, then control described terminal unit and disconnect with described charger, and control the output of described terminal unit Alarm signal.
As the optional embodiment of one, the pin voltage of correspondence on described monitoring described terminal unit charging inlet, Including:
Monitor pin voltage corresponding on VBUS, D+, D-, GND port of described terminal unit charging inlet;
Described judge on described charging inlet whether corresponding pin voltage exceedes predetermined voltage threshold, including:
Whether judge pin voltage corresponding on VBUS, D+, D-, GND either port of described terminal unit charging inlet Exceed predetermined voltage threshold.
As the optional embodiment of one, before described control described terminal unit output alarm signal, described Method also includes:
Detect whether described terminal unit damages;
Described control described terminal unit output alarm signal, including:
If described terminal unit does not damage, then control the first alarm device output alarm in described terminal unit Signal;
If described terminal unit damages, then control the Secondary Report alarm device output alarm letter in described terminal unit Number.
As the optional embodiment of one, described judge on described charging inlet whether corresponding pin voltage exceedes pre- If after voltage threshold, described method also includes:
If pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold, then send to described charger and report to the police Driving instruction, so that described charger activates the 3rd warning dress in described charger under the driving of described warning driving instruction Put output alarm signal.
As the optional embodiment of one, described method also includes:
Communication linkage is set up with the second terminal unit;
Send alarm by described communication linkage to described second terminal unit to instruct, so that described second terminal sets Standby output alarm signal.
Embodiment of the present invention second aspect discloses a kind of earth detector, including:
First detector unit, is used for detecting whether terminal unit is connected with charger;
Monitoring means, for when described terminal unit is connected with charger, monitors on described terminal unit charging inlet Corresponding pin voltage;
Judging unit, for judging whether pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold;
First control unit, when pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold, control Make described terminal unit to disconnect with described charger;
Second control unit, is used for controlling described terminal unit output alarm signal.
As the optional embodiment of one,
Described monitoring means, right specifically for monitoring on VBUS, D+, D-, GND port of described terminal unit charging inlet The pin voltage answered;
Described judging unit, specifically for judging VBUS, D+, D-, GND either port of described terminal unit charging inlet Whether the pin voltage of upper correspondence exceedes predetermined voltage threshold.
As the optional embodiment of one, described device also includes:
Second detector unit, is used for detecting whether described terminal unit damages;And when described terminal unit does not damage, Described second control unit is driven to control the first alarm device output alarm signal in described terminal unit;At described end During end device damage, described second control unit is driven to control the Secondary Report alarm device output alarm in described terminal unit Signal.
As the optional embodiment of one, described device also includes:
First transmitting element, when pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold, to Described charger send warning driving instruction so that described charger activate under the driving of described warning driving instruction described in fill The 3rd alarm device output alarm signal in electrical equipment.
As the optional embodiment of one, described device also includes:
Connection setup unit, for setting up communication linkage with the second terminal unit;
Second transmitting element, instructs for sending alarm by described communication linkage to described second terminal unit, So that described second terminal unit output alarm signal.
The embodiment of the present invention third aspect discloses a kind of terminal unit, fills including detection of electrical leakage described in above-mentioned any one Put.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that in terminal unit and charger phase Lian Shi, by pin voltage corresponding on monitoring terminal equipment charge interface, and pin electricity corresponding on above-mentioned charging inlet When pressure exceedes predetermined voltage threshold, control terminal unit and disconnect with charger, and control terminal unit output alarm Signal.Implement the embodiment of the present invention, high pressure electric leakage once occurs, user can be reminded by alarm signal, reduce peace Full hidden danger.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing briefly introduce, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for this From the point of view of the those of ordinary skill in field, on the premise of not paying creative work, it is also possible to obtain it according to these accompanying drawings His accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of electrical leakage detecting method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of electrical leakage detecting method disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of earth detector disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of earth detector disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of earth detector disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of terminal unit disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of current leakage detection system disclosed in the embodiment of the present invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing the present invention made into One step ground describes in detail, it is clear that described embodiment is only some embodiments of the present invention rather than whole enforcement Example.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise All other embodiments, broadly fall into the scope of protection of the invention.
Term " first " in description and claims of this specification and accompanying drawing and " second " etc. are for difference not With object rather than be used for describing particular order.Additionally, term " includes " and " having " and their any deformation, it is intended that In covering non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product or equipment do not have It is defined in the step or unit listed, but the most also includes step or the unit do not listed, or the most also include Other step intrinsic for these processes, method, product or equipment or unit.
In the embodiment of the present invention, terminal unit can include run Android operation system, iOS operating system, Windows operating system or the terminal unit of other operating systems, such as mobile phone, removable computer, panel computer, desktop Brain, personal digital assistant (Personal Digital Assistant, PDA), intelligent watch, intelligent glasses, Intelligent bracelet etc. Terminal unit, the embodiment of the present invention is follow-up not to be repeated.
Embodiments provide a kind of electrical leakage detecting method, device and terminal unit, high pressure electric leakage once occurs, i.e. User can be reminded by alarm signal, reduce potential safety hazard.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of electrical leakage detecting method disclosed in the embodiment of the present invention.Wherein, figure Electrical leakage detecting method shown in 1 may comprise steps of:
101: whether detection terminal unit is connected with charger;
In the embodiment of the present invention, when charger inserts terminal unit, because having voltage on the output pin of charger, when this Pin is connected with the charging inlet of terminal unit, and whether terminal unit only need to be produced by pin corresponding on charging inlet Rising along detecting that charger inserts, whether terminal unit only need to produce trailing edge by pin corresponding on charging inlet is examined Measure charger to extract.
102: if terminal unit is connected with charger, then corresponding on monitoring terminal equipment charge interface pin voltage;
In the embodiment of the present invention, when detecting that terminal unit is connected with charger by step 101, then can be with monitoring terminal Pin voltage corresponding on equipment charge interface, concrete, can be with VBUS, D+, D-, GND of monitoring terminal equipment charge interface Pin voltage corresponding on port.
In the embodiment of the present invention, terminal unit charging inlet employing USB (universal serial bus) (Universal Serial Bus, USB) interface (female mouth), comprises tetra-ports of VBUS, D+, D-, GND, and wherein two ports of VBUS Yu GND represent voltage respectively Positive pole and negative pole, be used to by external charging equipment to the power line of power terminal equipment, two port table differential digital of D+, D- According to pin.
103: judge whether pin voltage corresponding on above-mentioned charging inlet exceedes predetermined voltage threshold;
In the embodiment of the present invention, can pre-set a voltage threshold, this voltage threshold can determine according to test, protects Card terminal unit can charge normal.
104: if exceeding, then control terminal unit and disconnect with charger, and control terminal unit output alarm Signal.
In the embodiment of the present invention, judged that by step 103 pin voltage corresponding on terminal unit charging inlet exceedes During predetermined voltage threshold, then control terminal unit and disconnect with charger, and control terminal unit output alarm signal.
Alternatively, when any one port in tetra-ports of VBUS, D+, D-, the GND in terminal unit charging inlet When voltage exceedes predetermined voltage threshold, then control terminal unit and disconnect with charger, and control terminal unit output warning Cue.
It is alternatively possible to by the Power Management Unit (Power Management Unit, PMU) in terminal unit Charge control module disconnect charging connection, simultaneously by outputs such as the motor drive circuit in PMU, LCD backlight drive circuits Alarm signal, this alarm signal can be one or more groups in vibration signal, optical signal, voice signal Close.
In the method described by Fig. 1, when terminal unit is connected with charger, by monitoring terminal equipment charge interface The pin voltage of upper correspondence, and when pin voltage corresponding on above-mentioned charging inlet exceedes predetermined voltage threshold, control terminal Equipment disconnects with charger, and controls terminal unit output alarm signal.Implement the embodiment of the present invention, once occur High pressure leaks electricity, and can remind user by alarm signal, reduce potential safety hazard.
Further, referring to Fig. 2, Fig. 2 is that disclosed in the embodiment of the present invention, the flow process of another kind of electrical leakage detecting method is shown It is intended to.As in figure 2 it is shown, the method may comprise steps of:
201: whether detection terminal unit is connected with charger;
202: if terminal unit is connected with charger, then VBUS, D+, D-, GND port of monitoring terminal equipment charge interface The pin voltage of upper correspondence;
203: judge pin voltage corresponding on VBUS, D+, D-, GND either port of above-mentioned terminal unit charging inlet Whether exceed predetermined voltage threshold;
204: if exceeding, then control terminal unit and disconnect with charger;
205: send warning driving instruction to charger, so that charger activates under the driving of above-mentioned warning driving instruction Alarm device output alarm signal in charger;
As the optional embodiment of one, charger is provided with alarm device, at terminal unit charging inlet When tetra-ports of VBUS, D+, D-, GND have the voltage of a port to exceed predetermined voltage threshold, two differences of D+, D-can be passed through Divided data pin sends warning driving instruction to charger, after charger receives above-mentioned warning driving instruction, drives charging Alarm device output alarm signal in device, this alarm signal can be optical signal, the one of voice signal etc. or Multiple combination.
206: whether detection terminal unit damages;
207: if terminal unit does not damage, then control the first alarm device output alarm letter in terminal unit Number;
208: if terminal unit damages, then control the Secondary Report alarm device output alarm signal in terminal unit;
As the optional embodiment of one, when there being big electric current to enter terminal unit in charger, terminal unit may Being burned in moment, now, the alarm module (motor, LCD etc.) in terminal unit system is by cisco unity malfunction, the most permissible Secondary Report alarm device in terminal unit sends warning driving instruction, so that Secondary Report alarm device output alarm signal. This Secondary Report alarm device can be an alarm device independent of other modules of terminal unit.
209: set up communication linkage with the second terminal unit;
210: send alarm by above-mentioned communication linkage to the second terminal unit and instruct, so that the second terminal unit is defeated Go out alarm signal.
In the embodiment of the present invention, the second terminal unit can be smart mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) and mobile internet device (Mobile Internet Device, MID), the terminal unit such as Intelligent bracelet, the embodiment of the present invention is not made uniqueness and is limited.
As the optional embodiment of one, note, WIFI, NFC, bluetooth or infrared etc. with the second terminal can be passed through Equipment sets up communication linkage, and concrete which kind of mode embodiment of the present invention of employing is not done uniqueness and limited.
In the embodiment of the present invention, can be on the second terminal unit sends by setting up communication linkage with the second terminal unit State alarm instruction, it is possible to display alarm cue in the second terminal unit.
Referring to Fig. 3, Fig. 3 is the structural representation of a kind of earth detector disclosed in the embodiment of the present invention.Such as Fig. 3 institute Showing, this device may include that
First detector unit 301, is used for detecting whether terminal unit is connected with charger;
Monitoring means 302, for when above-mentioned terminal unit is connected with charger, monitors above-mentioned terminal unit charging inlet The pin voltage of upper correspondence;
Judging unit 303, for judging whether pin voltage corresponding on above-mentioned charging inlet exceedes predetermined voltage threshold;
First control unit 304, when pin voltage corresponding on above-mentioned charging inlet exceedes predetermined voltage threshold, Control above-mentioned terminal unit to disconnect with above-mentioned charger;
Second control unit 305, is used for controlling above-mentioned terminal unit output alarm signal.
Seeing also Fig. 4, Fig. 4 is the structural representation of another kind of earth detector disclosed in the embodiment of the present invention. Wherein, the device shown in Fig. 4 is that device as shown in Figure 3 is optimized and obtains, compared with the device shown in Fig. 3, in Fig. 4 institute In the device shown, above-mentioned monitoring means 302 is specifically for monitoring VBUS, D+, D-, GND end of above-mentioned terminal unit charging inlet Pin voltage corresponding on mouth;
Above-mentioned judging unit 303, arbitrary specifically for judging VBUS, D+, D-, GND of above-mentioned terminal unit charging inlet Whether pin voltage corresponding on port exceedes predetermined voltage threshold.
Alternatively, the device shown in Fig. 4 can also include:
Second detector unit 306, is used for detecting whether above-mentioned terminal unit damages;And do not damage at above-mentioned terminal unit Time, drive above-mentioned second control unit 305 to control the first alarm device output alarm signal in above-mentioned terminal unit;? When above-mentioned terminal unit damages, the Secondary Report alarm device driving above-mentioned second control unit 305 to control in above-mentioned terminal unit is defeated Go out alarm signal.
Wherein, can be controlled in terminal unit system when terminal unit does not damage by the second detector unit 306 Alarm module (motor, LCD etc.) output alarm signal, when terminal unit damages, controls to pre-set in terminal unit Alarm device output alarm signal.
Alternatively, the device shown in Fig. 4 can also include:
First transmitting element 307, when pin voltage corresponding on above-mentioned charging inlet exceedes predetermined voltage threshold, Warning driving instruction is sent to above-mentioned charger, so that this charger activating charge device under the driving of above-mentioned warning driving instruction In alarm device output alarm signal.
Wherein, while terminal unit output alarm signal can being realized by the first transmitting element 307, drive charger Also output alarm signal, reaches dual early warning.
Alternatively, the device shown in Fig. 4 can also include:
Connection setup unit 308, for setting up communication linkage with the second terminal unit;
Second transmitting element 309, refers to for sending alarm by above-mentioned communication linkage to above-mentioned second terminal unit Order, so that above-mentioned second terminal unit output alarm signal.
Wherein, can be by the second terminal unit output report by connection setup unit 308 and the second transmitting element 309 Alert cue, user the most at the scene time, user can be reminded timely.
Refer to Fig. 5, it is provided that another kind of earth detector, this earth detector has communication function, the shortest Letter, WIFI, NFC, bluetooth or the communication function such as infrared.Described device includes processor 501, memorizer 502.
Wherein, processor 501 performs to be stored in advance in the server program in memorizer 502, in order to perform following steps:
Whether detection terminal unit is connected with charger;
If terminal unit is connected with charger, then corresponding on monitoring terminal equipment charge interface pin voltage;
Judge whether pin voltage corresponding on above-mentioned charging inlet exceedes predetermined voltage threshold;
If exceeding, then control terminal unit and disconnect with this charger, and control terminal unit output alarm letter Number.
Optionally, processor 501 performs to be stored in advance in the server program in memorizer 502, monitoring terminal filling apparatus Pin voltage corresponding on electrical interface, specifically includes:
Pin voltage corresponding on VBUS, D+, D-, GND port of monitoring terminal equipment charge interface;
Above-mentioned judge on above-mentioned charging inlet whether corresponding pin voltage exceedes predetermined voltage threshold, specifically include:
Whether judge pin voltage corresponding on VBUS, D+, D-, GND either port of above-mentioned terminal unit charging inlet Exceed predetermined voltage threshold.
Optionally, processor 501 performs to be stored in advance in the server program in memorizer 502, is controlling terminal unit Before output alarm signal, it is also possible to execution following steps:
Detect whether this terminal unit damages;
If terminal unit does not damage, then control the first alarm device output alarm signal in terminal unit;
If terminal unit damages, then control the Secondary Report alarm device output alarm signal in terminal unit.
Optionally, processor 501 performs to be stored in advance in the server program in memorizer 502, is judging above-mentioned charging After whether pin voltage corresponding on interface exceedes predetermined voltage threshold, also in order to perform following steps:
If pin voltage corresponding on above-mentioned charging inlet exceedes predetermined voltage threshold, then send to above-mentioned charger and report to the police Driving instruction, so that this charger activates the alarm device output report in this charger under the driving of above-mentioned warning driving instruction Alert cue.
Optionally, processor 501 perform be stored in advance in the server program in memorizer 502, also in order to perform below Step:
Communication linkage is set up with the second terminal unit;
Send alarm by above-mentioned communication linkage to above-mentioned second terminal unit to instruct, so that above-mentioned second terminal sets Standby output alarm signal.
Referring to Fig. 6, Fig. 6 is the structural representation of a kind of terminal unit disclosed in the embodiment of the present invention, as shown in Figure 6, This terminal unit may include that the earth detector 601 that Fig. 3~Fig. 5 provides, processor unit 602, memory element 603 etc. Assembly.These assemblies are communicated by one or more bus 604.It will be understood by those skilled in the art that the end shown in Fig. 6 The structure of end equipment is not intended that limitation of the invention, and it both can be bus type structure, it is also possible to is hub-and-spoke configuration, also may be used To include parts more more or less of than the structure shown in Fig. 6, or combine some parts, or different parts are arranged.? In embodiment of the present invention, the terminal unit shown in Fig. 6 includes but not limited to mobile phone, removable computer, panel computer, individual The various terminal units such as digital assistants (Personal Digital Assistant, PDA).
Processor unit 602 is the control centre of terminal unit, utilizes various interface and the whole terminal unit of connection Various piece, be stored in the program code in memory element 603 and/or module by running or performing, and call storage Data in memory element 603, to perform the various functions of terminal unit and/or to process data.Processor unit 602 is permissible By integrated circuit (Integrated Circuit is called for short IC) composition, such as, can be made up of the IC of single encapsulation, it is also possible to Formed by connecting many identical functions or the encapsulation IC of difference in functionality.For example, during processor unit 602 can only include Central processor (Central ProcessingUnit is called for short CPU), it is also possible to be CPU, digital signal processor (digital Signal processor, is called for short DSP), graphic process unit (Graphic Processing Unit, be called for short GPU) and communication unit The combination of the control chip (such as baseband chip) in unit.In embodiments of the present invention, CPU can be single arithmetic core, also Multioperation core can be included.
Memory element 603 can be used for storing program code and module, and processor unit 602 is stored in storage by operation The program code of unit 603 and module, thus perform the various functions application of terminal unit and realize data process.Storage Unit 603 mainly includes program storage area and data storage area, wherein, program storage area can store operating system, at least one Program code needed for function;Data storage area can store data (the such as audio frequency number that the use according to terminal unit is created According to, phone directory etc.) etc..In the specific embodiment of the invention, memory element 603 can include volatile memory, the most non- Volatility DRAM (Dynamic Random Access Memory) (Nonvolatile RandomAccess Memory is called for short NVRAM), phase change are random Access memory (Phase Change RAM is called for short PRAM), magnetic-resistance random access memory (Magetoresistive RAM, letter Claim MRAM) etc., it is also possible to including nonvolatile memory, for example, at least one disk memory, electronics can be erased and can be planned Read only memory (Electrically Erasable ProgrammableRead-OnlyMemory is called for short EEPROM), flash memory Device, such as anti-or flash memory (NOR flash memory) or anti-and flash memory (NAND flash memory).Non-volatile memory Device stores the operating system performed by processor unit 602 and program code.Processor unit 602 loads from nonvolatile storage Operation program and data are stored in mass storage to internal memory and by digital content.Operating system includes for controlling and managing Reason general system tasks, such as memory management, storage device control, power management etc., and contribute between various software and hardware The various assemblies of communication and/or driver.In embodiments of the present invention, operating system can be Google company Android system, the iOS system of Apple company exploitation or the Windows operating system etc. of Microsoft Corporation exploitation, or It it is embedded OS this kind of for Vxworks.
Wherein, processor unit 602 performs to be stored in advance in the program code in memory element 603, is used for controlling electric leakage Detection device 601 performs each step in said method embodiment, and simultaneous processor unit 602 is additionally operable to receive detection of electrical leakage dress Put the signal of 601 feedbacks, export alarm signal.
It should be noted that the terminal unit shown in Fig. 6 only denotes in terminal unit for performing present invention enforcement Assembly needed for electrical leakage detecting method disclosed in example, other assembly embodiment of the present invention that can possess for terminal unit are not made Indicate, because this does not affect the realization of the embodiment of the present invention.
The embodiment of the present invention additionally provides a kind of current leakage detection system, as it is shown in fig. 7, comprises charger 701, terminal unit 702.Wherein, terminal unit 702 comprises above-mentioned earth detector 7021, alarm device 7022, Power Management Unit PMU7023, charger 701 comprises alarm device 7011.
Wherein, earth detector 7021 is for detecting VBUS, D+, D-, GND port of terminal unit 702 charging inlet The pin voltage of upper correspondence.And when on VBUS, D+, D-, GND either port, corresponding pin voltage exceedes predetermined threshold value, to Terminal unit 702 and charger 701 send warning driving instruction so that charger 701 to control above-mentioned alarm device 7011 defeated Go out alarm signal, and when terminal unit 702 does not damage, by the Power Management Unit in terminal unit 702 PMU7023 controls alarm module (motor, LCD etc.) output alarm signal, when terminal unit 702 damages, electric leakage examines Survey device 7021 controls above-mentioned alarm device 7022 and exports alarm signal.
It should be noted that in the embodiment of above-mentioned earth detector and terminal unit, included unit is only Divide according to function logic, but be not limited to above-mentioned division, as long as being capable of corresponding function;Separately Outward, the specific name of each functional unit also only to facilitate mutually distinguish, is not limited to protection scope of the present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
It addition, one of ordinary skill in the art will appreciate that all or part of step realized in above-mentioned each method embodiment The program that can be by completes to instruct relevant hardware, and corresponding program can be stored in a kind of computer-readable recording medium In, storage medium mentioned above can be read only memory, disk or CD etc..
These are only the present invention preferably detailed description of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope that the embodiment of the present invention discloses, the change that can readily occur in or replace Change, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Enclose and be as the criterion.

Claims (11)

1. an electrical leakage detecting method, it is characterised in that including:
Whether detection terminal unit is connected with charger;
If described terminal unit is connected with charger, then monitor pin voltage corresponding on described terminal unit charging inlet;
Judge whether pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold;
If exceeding, then control described terminal unit and disconnect with described charger, and control the output warning of described terminal unit Cue.
Method the most according to claim 1, it is characterised in that corresponding drawing on described monitoring described terminal unit charging inlet Foot voltage, including:
Monitor pin voltage corresponding on VBUS, D+, D-, GND port of described terminal unit charging inlet;
Described judge on described charging inlet whether corresponding pin voltage exceedes predetermined voltage threshold, including:
Judge whether pin voltage corresponding on VBUS, D+, D-, GND either port of described terminal unit charging inlet exceedes Predetermined voltage threshold.
Method the most according to claim 2, it is characterised in that described control described terminal unit output alarm signal it Before, described method also includes:
Detect whether described terminal unit damages;
Described control described terminal unit output alarm signal, including:
If described terminal unit does not damage, then control the first alarm device output alarm letter in described terminal unit Number;
If described terminal unit damages, then control the Secondary Report alarm device output alarm signal in described terminal unit.
Method the most according to claim 3, it is characterised in that pin voltage corresponding on the described charging inlet of described judgement is No exceed predetermined voltage threshold after, described method also includes:
If pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold, then send, to described charger, driving of reporting to the police Instruction so that described charger to activate the 3rd alarm device in described charger under the driving of described warning driving instruction defeated Go out alarm signal.
5. according to method described in Claims 1-4 any one, it is characterised in that described method also includes:
Communication linkage is set up with the second terminal unit;
Send alarm by described communication linkage to described second terminal unit to instruct, so that described second terminal unit is defeated Go out alarm signal.
6. an earth detector, it is characterised in that including:
First detector unit, is used for detecting whether terminal unit is connected with charger;
Monitoring means, for when described terminal unit is connected with charger, monitors on described terminal unit charging inlet corresponding Pin voltage;
Judging unit, for judging whether pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold;
First control unit, when pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold, controls institute State terminal unit to disconnect with described charger;
Second control unit, is used for controlling described terminal unit output alarm signal.
Device the most according to claim 6, it is characterised in that
Described monitoring means, specifically for monitoring correspondence on VBUS, D+, D-, GND port of described terminal unit charging inlet Pin voltage;
Described judging unit, right specifically for judging on VBUS, D+, D-, GND either port of described terminal unit charging inlet Whether the pin voltage answered exceedes predetermined voltage threshold.
Device the most according to claim 7, it is characterised in that described device also includes:
Second detector unit, is used for detecting whether described terminal unit damages;And when described terminal unit does not damage, drive Described second control unit controls the first alarm device output alarm signal in described terminal unit;Set in described terminal During standby damage, described second control unit is driven to control the Secondary Report alarm device output alarm letter in described terminal unit Number.
Device the most according to claim 8, it is characterised in that described device also includes:
First transmitting element, when pin voltage corresponding on described charging inlet exceedes predetermined voltage threshold, to described Charger sends warning driving instruction, so that described charger activates described charger under the driving of described warning driving instruction In the 3rd alarm device output alarm signal.
10. according to device described in claim 6 to 9 any one, it is characterised in that described device also includes:
Connection setup unit, for setting up communication linkage with the second terminal unit;
Second transmitting element, instructs for sending alarm by described communication linkage to described second terminal unit, so that Described second terminal unit output alarm signal.
11. 1 kinds of terminal units, it is characterised in that described terminal unit includes leaking described in any one in claim 6~10 Electric detection means.
CN201610616939.XA 2016-07-29 2016-07-29 A kind of electrical leakage detecting method, device and terminal device Expired - Fee Related CN106300252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610616939.XA CN106300252B (en) 2016-07-29 2016-07-29 A kind of electrical leakage detecting method, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610616939.XA CN106300252B (en) 2016-07-29 2016-07-29 A kind of electrical leakage detecting method, device and terminal device

Publications (2)

Publication Number Publication Date
CN106300252A true CN106300252A (en) 2017-01-04
CN106300252B CN106300252B (en) 2018-11-06

Family

ID=57663732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610616939.XA Expired - Fee Related CN106300252B (en) 2016-07-29 2016-07-29 A kind of electrical leakage detecting method, device and terminal device

Country Status (1)

Country Link
CN (1) CN106300252B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106787032A (en) * 2017-03-31 2017-05-31 维沃移动通信有限公司 A kind of control method of charging port, device and charger
CN108399138A (en) * 2017-12-12 2018-08-14 硅谷数模半导体(北京)有限公司 Signal processing method, device, storage medium and the processor of chip
CN108594057A (en) * 2018-04-28 2018-09-28 上海与德通讯技术有限公司 The electrical leakage detecting method and electronic equipment of splicing ground heat pad

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119020A (en) * 2007-09-12 2008-02-06 中兴通讯股份有限公司 Terminal equipment charging overvoltage protective device and method
CN101567556A (en) * 2009-05-26 2009-10-28 上海华勤通讯技术有限公司 Over-voltage charge protective device and method used for charging cell phone
CN202797874U (en) * 2012-07-03 2013-03-13 青岛海信移动通信技术股份有限公司 Over-voltage protection circuit and mobile terminal
CN205248766U (en) * 2015-12-26 2016-05-18 深圳市沃特玛电池有限公司 Control circuit of excessive pressure outage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119020A (en) * 2007-09-12 2008-02-06 中兴通讯股份有限公司 Terminal equipment charging overvoltage protective device and method
CN101567556A (en) * 2009-05-26 2009-10-28 上海华勤通讯技术有限公司 Over-voltage charge protective device and method used for charging cell phone
CN202797874U (en) * 2012-07-03 2013-03-13 青岛海信移动通信技术股份有限公司 Over-voltage protection circuit and mobile terminal
CN205248766U (en) * 2015-12-26 2016-05-18 深圳市沃特玛电池有限公司 Control circuit of excessive pressure outage

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106787032A (en) * 2017-03-31 2017-05-31 维沃移动通信有限公司 A kind of control method of charging port, device and charger
CN108399138A (en) * 2017-12-12 2018-08-14 硅谷数模半导体(北京)有限公司 Signal processing method, device, storage medium and the processor of chip
CN108594057A (en) * 2018-04-28 2018-09-28 上海与德通讯技术有限公司 The electrical leakage detecting method and electronic equipment of splicing ground heat pad

Also Published As

Publication number Publication date
CN106300252B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
US10666072B2 (en) Power adapter and method for handling impedance anomaly in charging loop
CN100495377C (en) Method for inspecting type of connected peripheral apparatus and terminal interface
CN102393837B (en) USB charger recognition device and method
CN103237189B (en) Electronic equipment, MHL connector, MHL system and connector detection method
EP3677925B1 (en) Adapter testing apparatus and method
CN103024195B (en) Smart mobile terminal and implementation method of charging of smart mobile terminal
CN108845655B (en) Electronic equipment control method and device, control circuit and electronic equipment
CN104978300A (en) Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment
CN104009265B (en) A kind of battery activated method and apparatus of mobile terminal
CN106300252A (en) A kind of electrical leakage detecting method, device and terminal unit
CN105048018B (en) The charging method and device of a kind of terminal with data exchanging function
US20160072319A1 (en) Electronic Device And Method Of Charging Electronic Device
CN110492563A (en) Battery management method, device, equipment and medium
CN106797414B (en) A kind of leakage current detection circuit and terminal of terminal
CN104426194A (en) Charging method and charging equipment
CN107462800A (en) Bypass diode detection method and system in photovoltaic module
CN102467630A (en) Mobile terminal charging anti-theft protection method and system, and mobile terminal
CN112378331B (en) Electronic device, battery deformation detection method, and readable storage medium
CN102087639B (en) Method for starting USB (Universal Serial Bus) state machine as well as terminal
CN106164686A (en) A kind of leakage current test system of terminal
CN105824732A (en) USB detection method and detection system
CN104573468A (en) Single-kernel security authentication device with multiple USB (universal serial bus) interfaces
CN101923521A (en) Electronic device with function of protecting universal serial bus ports thereof and method
CN105119118B (en) A kind of USB charging wires
CN106443252B (en) The test circuit and mobile device system of detection are powered to mobile device system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181106

Termination date: 20210729

CF01 Termination of patent right due to non-payment of annual fee