CN106646085B - Leakage tests method, apparatus and equipment - Google Patents
Leakage tests method, apparatus and equipment Download PDFInfo
- Publication number
- CN106646085B CN106646085B CN201710026298.7A CN201710026298A CN106646085B CN 106646085 B CN106646085 B CN 106646085B CN 201710026298 A CN201710026298 A CN 201710026298A CN 106646085 B CN106646085 B CN 106646085B
- Authority
- CN
- China
- Prior art keywords
- terminal
- current value
- power supply
- leakage
- command
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
Abstract
The embodiment of the invention discloses a kind of leakage tests method, apparatus and equipment;The embodiment of the present invention uses to terminal and sends the first sleep command, so that the terminal enters dormant state according to the first sleep command, then, it is retrieved as the first current value of the external power supply of terminal power supply, it controls the terminal and exits dormant state, and the second sleep command is sent to terminal, so that the terminal opens the power supply of corresponding device in the terminal according to second sleep command, and enter dormant state, it is retrieved as the second current value of the external power supply of terminal power supply, according to the current differential between first current value and second current value, determine whether the device leaks electricity.The accuracy of leakage tests can be improved in the program.
Description
Technical field
The present invention relates to terminal test technical field more particularly to a kind of leakage tests method, apparatus and equipment.
Background technique
Mobile phone can all carry out leakage tests before factory in producing line, to detect whether the device of mobile phone has damage.Mesh
The leakage tests mode of preceding mobile phone is main are as follows: whether the supply current by detecting mobile phone, which is greater than some threshold value to determine mobile phone, is
No electric leakage.
However, in some cases, the supply current of mobile phone is smaller, the leakage tests mode of mobile phone, which is examined, at present is not measured
Whether mobile phone leaks electricity, and therefore, the accuracy of leakage tests is lower.
Summary of the invention
The embodiment of the present invention provides a kind of leakage tests method, apparatus and equipment, and the accuracy of leakage tests can be improved.
The embodiment of the present invention provides a kind of leakage tests method, comprising:
The first sleep command is sent to terminal, so that the terminal enters dormant state according to the first sleep command;
It is retrieved as the first current value of the external power supply of the terminal power supply;
Control the terminal and exit dormant state, and send the second sleep command to terminal so that the terminal according to
Second sleep command opens the power supply of corresponding device in the terminal, and enters dormant state;
It is retrieved as the second current value of the external power supply of the terminal power supply;
According to the current differential between first current value and second current value, determine whether the device leaks
Electricity.
Correspondingly, the embodiment of the invention provides a kind of earth leakage testers, comprising:
Command sending module, for sending the first sleep command to terminal, so that the terminal is ordered according to the first suspend mode
It enables and enters dormant state;
First electric current obtains module, the first current value of the external power supply for being retrieved as the terminal power supply;
Control module exits dormant state for controlling the terminal, and sends the second sleep command to terminal, so that
The terminal opens the power supply of corresponding device in the terminal according to second sleep command, and enters dormant state;
Second electric current obtains module, the second current value of the external power supply for being retrieved as the terminal power supply;
It leaks electricity determining module, for according to the current differential between first current value and second current value, really
Whether the fixed device leaks electricity.
Correspondingly, it the embodiment of the invention provides a kind of leakage tests equipment, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, the processor are realized as described above when executing the computer program
Method.
The embodiment of the present invention use to terminal send the first sleep command so that the terminal according to the first sleep command into
Enter dormant state, then, is retrieved as the first current value of the external power supply of terminal power supply, controls the terminal and exit suspend mode shape
State, and the second sleep command is sent to terminal, so that the terminal opens corresponding device in the terminal according to second sleep command
The power supply of part, and enter dormant state, be retrieved as the terminal power supply external power supply the second current value, according to this first
Current differential between current value and second current value, determines whether the device leaks electricity.The program can be tested dynamically
The electric current of terminal part under dormant state, and terminal part is determined based on the current differential in the case of power supply open and close
Whether electric leakage is had, and the accuracy of leakage tests can be improved in the program.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of leakage tests method provided in an embodiment of the present invention.
Fig. 2 is the schematic diagram of leakage tests system provided in an embodiment of the present invention.
Fig. 3 is the flow diagram of another leakage tests method provided in an embodiment of the present invention.
Fig. 4 is a kind of structural schematic diagram of earth leakage tester provided in an embodiment of the present invention.
Fig. 5 is the structural schematic diagram of another earth leakage tester provided in an embodiment of the present invention.
Fig. 6 is the structural schematic diagram of another earth leakage tester provided in an embodiment of the present invention.
Fig. 7 is the structural schematic diagram of leakage tests equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Term " first ", " second ", " third " and " the 4th " in the present invention etc. be for distinguishing different objects, rather than
It is used to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that cover non-exclusive
Include.Such as contain a series of steps or units process, method, system, product or equipment be not limited to it is listed
Step or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these processes, side
The intrinsic other step or units of method, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
The executing subject of leakage tests method provided in an embodiment of the present invention can be electric leakage provided in an embodiment of the present invention
Test device, or be integrated with the test terminal of the earth leakage tester, the earth leakage tester can using hardware or
The mode of person's software is realized;The described test terminal of the embodiment of the present invention can be smart phone (such as Android phone,
Windows Phone mobile phone etc.), tablet computer, palm PC, laptop or mobile internet device (MID, Mobile
Internet Devices), above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
The embodiment of the present invention provides a kind of leakage tests method, apparatus and equipment.It will be described in detail respectively below.
In a preferred embodiment, a kind of leakage tests test method is provided, as shown in Figure 1, process can be such that
101, the first sleep command is sent to terminal, so that the terminal enters dormant state according to the first sleep command.
Wherein, which is the terminal in producing line, i.e. the terminal is to be fitted without the terminal of battery, forms final products
Terminal.In the present embodiment in leakage tests, need through external power supply to be terminal power supply.
Specifically, the first sleep command can be sent to terminal based on the communication connection between terminal.For example, to terminal
Before sending sleep command, it can establish and communicate to connect with terminal.
Wherein, communication connection can connect (such as bluetooth connection), wifi connection etc. for USB connection, Near Field Communication.
For example, test equipment is established USB with terminal and is connect, and then, is connected by the USB when communication connection is USB connection
It connects to terminal and sends the first sleep command.
102, it is retrieved as the first current value of the external power supply of terminal power supply.
By terminal in this present embodiment be producing line on terminal, therefore, needed in leakage tests by external power supply to
Terminal power supply, to be tested.The external power supply can be programmable power supply, which can obtain source current automatically
Size.
For example, the current value of external power supply can be obtained based on the communication connection between external power supply.External power supply is read
It is derived from the power supply current value of body, and the power supply current value is sent to by test equipment by the connection.
In practical application, if general terminal is difficult in the presence of communication connection between test equipment and terminal
Or cannot be introduced into real suspend mode, the accuracy of leakage tests can be reduced in this way.The present embodiment is stopped in lower transmission first
It sleeps after instructing, it is also necessary to the communication connection between terminal is disconnected, then, in the current value for obtaining external power supply.Namely step
Suddenly " the first current value for being retrieved as the external power supply of terminal power supply " may include:
The communication connection between terminal is disconnected, and is retrieved as the first current value of the external power supply of terminal power supply.
The first sleep command is sent for example, connecting by USB to terminal, and disconnects the USB connection, then obtains external electrical
The current value I1 in source.
103, control the terminal and exit dormant state, and send the second sleep command to terminal so that the terminal according to
Second sleep command opens the power supply of corresponding device in the terminal, and enters dormant state.
In the present embodiment, controlling terminal exit dormant state mode can there are many, for example, due between the terminal
Communication connection in the presence of, general terminal will exit dormant state, and therefore, the present embodiment can be by between recovery and terminal
Communication connection so that the terminal exits dormant state, it is then possible to send the second suspend mode to terminal by the communication connection
Order.Namely step " control the terminal and exit dormant state, and this sends the second sleep command to terminal " may include:
Restore the communication connection between the terminal, so that the terminal exits dormant state;
The second sleep command is sent to terminal based on the communication connection.
For example, terminal exits dormant state at this time when restoring the USB connection between terminal, then, it is based on USB connection
The second sleep command is sent to terminal.
Each device has a corresponding power supply in the terminal, which is used to power to the device, and one
As be known as Ido power supply (linear direct current regulated power supply).For example, the microphone of mobile phone, receiver, bluetooth module, radio frequency chip are equal
It is each to have an Ido power supply by oneself.In leakage tests, which element leakage is tested if necessary, then just needing which device opened
The power supply of part.For example, when whether leaking electricity if necessary to test radio frequency chip, then just needing to open the confession of the radio frequency chip
Power supply such as Ido power supply can send the second sleep command to terminal at this time, so that terminal opens the power supply of the radio frequency chip
Power supply, and enter dormant state.
104, it is retrieved as the second current value of the external power supply of terminal power supply.
In some cases, if being also to maintain due to the communication connection between terminal, then terminal is receiving not
It sleeps after ordering or does not enter dormant state, lead to the current value obtained inaccuracy, thereby reduce the accurate of leakage tests
Property.In order to overcome the problem, the present embodiment can obtain the electric current of external power supply after the communication connection between disconnected end
Value.Namely step " the second current value for being retrieved as the external power supply of terminal power supply " may include:
The communication connection between terminal is disconnected, and is retrieved as the second current value I2 of the external power supply of terminal power supply.
For example, when communication connection is USB connection the communication connection between terminal can be disconnected, and be retrieved as terminal
The power values of the programmable power supply of power supply.
105, according to the current differential between first current value and second current value, determine whether the device leaks electricity.
When the current differential between first current value and second current value is greater than preset threshold, determine that the device leaks
Electricity;
When the current differential is not more than preset threshold, determine the device it is normal for example,
For example, the current differential Δ I=I2-I1 between the first current value and second current value is obtained, as Δ I > i,
The element leakage is then determined, conversely, then determining that device is normal.Wherein, preset threshold i can set according to actual needs such as 1~
2ma etc..
Optionally, in order to improve the accuracys of leakage tests, which can also be the minimum leakage electric current of device
Value imin.As Δ I > iminWhen determine the element leakage.In the present embodiment, minimum leakage electric current can be estimated based on the parameter of device
It calculates, namely before step 101, the present embodiment leakage tests method can also include:
Determine the device for needing to carry out leakage tests;
Go out the minimum leakage current value of the device according to the parameter estimation of the device, and using the minimum leakage current value as
The preset threshold.
Wherein, the parameter of device may include: rated current, voltage rating, device type, power etc..For example, can be with base
In the rated current of the device come the minimum leakage current value etc. that estimates device.
Optionally, in the present embodiment when determining the element leakage, user can also be prompted, and marks the device
For electric leakage device etc..
From the foregoing, it will be observed that the embodiment of the present invention, which is used to terminal, sends the first sleep command, so that the terminal is according to first
Sleep command enters dormant state, then, is retrieved as the first current value of the external power supply of terminal power supply, controls the terminal and move back
Dormant state out, and the second sleep command is sent to terminal, so that the terminal opens the terminal according to second sleep command
The power supply of interior corresponding device, and enter dormant state, it is retrieved as the second current value of the external power supply of terminal power supply, root
According to the current differential between first current value and second current value, determine whether the device leaks electricity.The program can dynamic
The electric current of terminal part in the dormant state is tested on ground, and is determined based on the current differential in the case of power supply open and close
Whether terminal part has electric leakage, and the accuracy of leakage tests can be improved in the program.
In a preferred embodiment, will be with earth leakage tester integration testing equipment, and terminal to be measured is next for mobile phone
Introduce leakage tests method of the invention.Wherein, which can be mobile phone, apparatus such as computer.
With reference to Fig. 2, is connected between test equipment and mobile phone by USB data line, USB is established between test equipment and mobile phone
Connection.For example, the both ends USB are inserted into the USB interface of test equipment, mobile phone respectively in test, and then, test equipment and hand
Machine establishes USB connection.With reference to Fig. 2, wherein programmable power supply and mobile phone are connected as mobile phone power supply, and test equipment also with it is program-controlled
Power supply connection, to obtain the power supply current value of programmable power supply.
With reference to Fig. 3, the process for carrying out leakage tests using leakage tests system shown in Fig. 2 is as follows:
201, test equipment is connected to mobile phone by USB and sends the first sleep command, then, is disconnected between mobile phone
USB connection.
202, the terminal enters dormant state according to the first sleep command.
203, test equipment obtains the current current value I1 of programmable power supply.
204, test equipment restores the USB connection between mobile phone.
205, test equipment is connected to mobile phone by the USB and sends the second sleep command, then, is disconnected between mobile phone
USB connection.
206, mobile phone opens the Ido power supply of target devices according to the second sleep command, and enters dormant state.
207, test equipment obtains the current current value I2 of programmable power supply.
208, test equipment obtains the current differential Δ I between I1 and I2.
209, test equipment judges whether Δ I is greater than predetermined current threshold i, if more than, 210 are thened follow the steps, otherwise,
Execute step 211.
210, test equipment determines that the target devices leak electricity, and is prompted.
211, test equipment determines that target devices are normal.
From the foregoing, it will be observed that the embodiment of the present invention, which is used to terminal, sends the first sleep command, so that the terminal is according to first
Sleep command enters dormant state, then, is retrieved as the first current value of the external power supply of terminal power supply, controls the terminal and move back
Dormant state out, and the second sleep command is sent to terminal, so that the terminal opens the terminal according to second sleep command
The power supply of interior corresponding device, and enter dormant state, it is retrieved as the second current value of the external power supply of terminal power supply, root
According to the current differential between first current value and second current value, determine whether the device leaks electricity.The program can dynamic
The electric current of terminal part in the dormant state is tested on ground, and is determined based on the current differential in the case of power supply open and close
Whether terminal part has electric leakage, and the accuracy of leakage tests can be improved in the program.
In a preferred embodiment, a kind of earth leakage tester is also provided.The earth leakage tester specifically can integrate
In terminal device, which can be the equipment such as PC, laptop, smart phone.
As shown in figure 4, the earth leakage tester 300 may include command sending module 301, the first electric current acquisition module
302, control module 303, the second electric current obtain module 304 and electric leakage determining module 305, as follows:
Command sending module 301, for sending the first sleep command to terminal, so that the terminal is ordered according to the first suspend mode
It enables and enters dormant state;
First electric current obtains module 302, the first current value of the external power supply for being retrieved as terminal power supply;
Control module 303 exits dormant state for controlling the terminal, and sends the second sleep command to terminal, so that
The power supply that the terminal opens corresponding device in the terminal according to second sleep command is obtained, and enters dormant state;
Second electric current obtains module 304, the second current value of the external power supply for being retrieved as terminal power supply;
Electric leakage determining module 305, for determining according to the current differential between first current value and second current value
Whether the device leaks electricity.
Wherein, command sending module 301, for sending the first suspend mode life to terminal based on the communication connection between terminal
It enables.The communication connection can be USB connection etc..
Optionally, with reference to Fig. 5, the control module 303, comprising:
Restore submodule 3031, for restoring the communication connection between the terminal, so that the terminal exits suspend mode shape
State;
Order sending submodule 3032, for sending the second sleep command to terminal based on the communication connection.
At this point, the second electric current obtains module 304, for the communication connection between disconnection and terminal, and it is retrieved as the terminal
Second current value of the external power supply of power supply.
Optionally, the electric leakage determining module 305, is specifically used for:
When the current differential between first current value and second current value is greater than preset threshold, determine that the device leaks
Electricity;
When the current differential is not more than preset threshold, determine that the device is normal.
Optionally, in order to improve the accuracys of leakage tests, with reference to Fig. 6, the present embodiment earth leakage tester 300 can be with
Module 307 is obtained including device determining module 306 and threshold value;
The device determining module 306, for determining and needing before command sending module 301 sends the first sleep command
Carry out the device of leakage tests;
The threshold value obtains module 307, and the minimum leakage current value of the device is gone out for the parameter estimation according to the device, and
Using the minimum leakage current value as the preset threshold.
When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not
It repeats again.
From the foregoing, it will be observed that the embodiment of the present invention sends the first sleep command to terminal using command sending module 301, so that
The terminal enters dormant state according to the first sleep command, then, obtains module 302 by the first electric current and is retrieved as terminal power supply
External power supply the first current value, which is controlled by control module 303 and exits dormant state, and sends second to terminal and stops
It sleeps and orders, so that the terminal opens the power supply of corresponding device in the terminal according to second sleep command, and enter and stop
Dormancy state obtains the second current value that module 304 is retrieved as the external power supply of terminal power supply by the second electric current, is determined by electric leakage
Module 305 determines whether the device leaks electricity according to the current differential between first current value and second current value.The program
The electric current of terminal part in the dormant state can be dynamically tested, and based on the electric current in the case of power supply open and close
Difference determines whether terminal part has electric leakage, and the accuracy of leakage tests can be improved in the program.
In a preferred embodiment, additionally provide a kind of leakage tests equipment, the leakage tests equipment include: memory,
Processor and storage are on a memory and the computer program that can run on a processor, the processor execute the computer program
Shi Shixian leakage tests method as described above.
For example, the leakage tests equipment can be terminal device, such as computer, mobile phone.
For example, referring to FIG. 7, the leakage tests equipment 400 may include having one or more computer-readable to deposit
The memory 401 of storage media, input unit 402, display unit 403, voicefrequency circuit 404, include one or more than one
The components such as the processor 405 and power supply 406 of processing core.It will be understood by those skilled in the art that equipment knot shown in Fig. 7
Structure does not constitute the restriction to equipment, may include perhaps combining certain components or not than illustrating more or fewer components
Same component layout.
Input unit 402 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in a specific embodiment
In, input unit 402 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touching
Control plate, collect user on it or nearby touch operation (such as user using any suitable object such as finger, stylus or
Operation of the attachment on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 405, and can reception processing
Order that device 405 is sent simultaneously is executed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.In addition to touch sensitive surface, input unit 402 can also include other input equipments.Specifically, other are defeated
Entering equipment can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One of mark, operating stick, fingerprint recognition mould group etc. are a variety of.
Display unit 403 can be used for showing information input by user or be supplied to user information and equipment it is various
Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display
Unit 403 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to
Device 408 is followed by subsequent processing device 405 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event
Visual output.Although touch sensitive surface and display panel are to realize input and input as two independent components in Fig. 7
Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Voicefrequency circuit 404 can provide the audio interface between user and equipment by loudspeaker, microphone.Voicefrequency circuit
The audio data received can be converted into electric signal by 404, be transferred to loudspeaker, be converted to voice signal output by loudspeaker;
On the other hand, the voice signal of collection is converted to electric signal by microphone, is converted to audio number after being received by voicefrequency circuit 404
According to, then by after the processing of audio data output processor 405, audio data is exported to memory 401 to be further processed.Sound
Frequency circuit 404 is also possible that earphone jack, to provide the communication of peripheral hardware earphone and equipment.
Processor 405 is the control centre of equipment, using the various pieces of various interfaces and connection whole equipment, is led to
It crosses operation or executes the software program and/or module being stored in memory 401, and call and be stored in memory 401
Data execute the various functions and processing data of equipment, to carry out integral monitoring to equipment.Optionally, processor 405 can wrap
Include one or more processing cores;Preferably, processor 405 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 405.
Equipment further includes the power supply 406 (such as battery) powered to all parts.Preferably, power supply can pass through power supply pipe
Reason system and processor 406 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.Power supply 406 can also include one or more direct current or AC power source, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
Although being not shown, equipment can also packet usb interface module, bluetooth module, camera etc., details are not described herein.
Specifically in the present embodiment, the processor 405 in equipment can be according to following instruction, will be one or more
The corresponding executable file of the process of application program is loaded into memory 401, and is run by processor 405 and be stored in storage
Application program in device 401, to realize various functions:
The first sleep command is sent to terminal, so that the terminal enters dormant state according to the first sleep command, then,
It is retrieved as the first current value of the external power supply of terminal power supply, the terminal is controlled and exits dormant state, and sends the to terminal
Two sleep commands are gone forward side by side so that the terminal opens the power supply of corresponding device in the terminal according to second sleep command
Enter dormant state, be retrieved as the second current value of the external power supply of terminal power supply, according to first current value and second electricity
Current differential between flow valuve, determines whether the device leaks electricity.
Wherein, the first sleep command is sent to terminal, comprising: send the to terminal based on the communication connection between terminal
One sleep command;It is retrieved as the first current value of the external power supply of terminal power supply, comprising:
The communication connection between terminal is disconnected, and is retrieved as the first current value of the external power supply of terminal power supply.
Control the terminal and exit dormant state, and this sends the second sleep command to terminal, including restore with the terminal it
Between communication connection so that the terminal exits dormant state;The second sleep command is sent to terminal based on the communication connection;
It is retrieved as the second current value of the external power supply of terminal power supply, including the communication connection between disconnection and terminal,
And it is retrieved as the second current value of the external power supply of terminal power supply.
From the foregoing, it will be observed that the leakage tests equipment is used to terminal the embodiment of the invention provides a kind of leakage tests equipment
The first sleep command is sent, so that the terminal enters dormant state according to the first sleep command, then, is retrieved as terminal confession
First current value of the external power supply of electricity controls the terminal and exits dormant state, and sends the second sleep command to terminal, so that
The power supply that the terminal opens corresponding device in the terminal according to second sleep command is obtained, and enters dormant state, is obtained
For the terminal power supply external power supply the second current value, according to the current difference between first current value and second current value
Value, determines whether the device leaks electricity.The program can dynamically test the electric current of terminal part in the dormant state, and based on confession
Current differential in the case of electric electric power starting and closing determines whether terminal part has electric leakage, and leakage tests can be improved in the program
Accuracy.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
It is provided for the embodiments of the invention a kind of leakage tests method, apparatus above and equipment is described in detail,
A specific example illustrates the principle and implementation of the invention for program used herein, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to the present invention
Thought, there will be changes in specific embodiment and range of applications, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710026298.7A CN106646085B (en) | 2017-01-13 | 2017-01-13 | Leakage tests method, apparatus and equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710026298.7A CN106646085B (en) | 2017-01-13 | 2017-01-13 | Leakage tests method, apparatus and equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106646085A CN106646085A (en) | 2017-05-10 |
| CN106646085B true CN106646085B (en) | 2019-04-16 |
Family
ID=58844358
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710026298.7A Expired - Fee Related CN106646085B (en) | 2017-01-13 | 2017-01-13 | Leakage tests method, apparatus and equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106646085B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107608854A (en) * | 2017-09-07 | 2018-01-19 | 维沃移动通信有限公司 | A kind of detection method and electronic equipment of quiescent current value |
| CN108761187B (en) * | 2018-06-06 | 2021-06-25 | Oppo(重庆)智能科技有限公司 | A substrate current testing method, system and terminal equipment |
| CN111970164A (en) * | 2020-07-29 | 2020-11-20 | 深圳市广和通无线股份有限公司 | System, method, device, terminal and storage medium for detecting state of communication module |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100506969B1 (en) * | 1997-12-12 | 2005-11-01 | 삼성전자주식회사 | How to test the leakage of semiconductor devices |
| CN201789266U (en) * | 2010-08-19 | 2011-04-06 | 福瑞特国际电气(中山)有限公司 | Electric leakage monitoring circuit for electrical appliance device |
| CN103176091A (en) * | 2011-12-21 | 2013-06-26 | 深圳富泰宏精密工业有限公司 | System and method for electric leakage detection of electronic device |
| CN105514924A (en) * | 2015-12-14 | 2016-04-20 | 广东欧珀移动通信有限公司 | Terminal equipment electric leakage protection method and device |
| WO2016101224A1 (en) * | 2014-12-25 | 2016-06-30 | 华为技术有限公司 | Terminal leaked current detection system |
| CN106291060A (en) * | 2016-08-29 | 2017-01-04 | 深圳天珑无线科技有限公司 | A kind of current test of mobile telephone system and current test of mobile telephone method |
-
2017
- 2017-01-13 CN CN201710026298.7A patent/CN106646085B/en not_active Expired - Fee Related
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100506969B1 (en) * | 1997-12-12 | 2005-11-01 | 삼성전자주식회사 | How to test the leakage of semiconductor devices |
| CN201789266U (en) * | 2010-08-19 | 2011-04-06 | 福瑞特国际电气(中山)有限公司 | Electric leakage monitoring circuit for electrical appliance device |
| CN103176091A (en) * | 2011-12-21 | 2013-06-26 | 深圳富泰宏精密工业有限公司 | System and method for electric leakage detection of electronic device |
| WO2016101224A1 (en) * | 2014-12-25 | 2016-06-30 | 华为技术有限公司 | Terminal leaked current detection system |
| CN106164686A (en) * | 2014-12-25 | 2016-11-23 | 华为技术有限公司 | A kind of leakage current test system of terminal |
| CN105514924A (en) * | 2015-12-14 | 2016-04-20 | 广东欧珀移动通信有限公司 | Terminal equipment electric leakage protection method and device |
| CN106291060A (en) * | 2016-08-29 | 2017-01-04 | 深圳天珑无线科技有限公司 | A kind of current test of mobile telephone system and current test of mobile telephone method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106646085A (en) | 2017-05-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106340925B (en) | A charging control method, device and terminal | |
| CN105320598B (en) | Method for testing software and device | |
| CN111239617B (en) | Control method and device for charge and discharge test, storage medium and system | |
| KR102229006B1 (en) | Method and apparatus for processing input using touch screen | |
| CN106786961B (en) | Charging method, device and terminal | |
| CN106484555B (en) | Abnormity detection and recovery method and mobile terminal | |
| CN106549464A (en) | A charging control method, device and computer equipment | |
| CN106951850B (en) | A kind of method and mobile terminal controlling fingerprint recognition mould group | |
| CN106646440B (en) | Method and device for detecting drop height | |
| CN106646085B (en) | Leakage tests method, apparatus and equipment | |
| CN109565171A (en) | Charging protection method, terminal and charger | |
| CN105807908B (en) | A kind of method and apparatus of switching working mode | |
| CN107066090B (en) | Method for controlling fingerprint identification module and mobile terminal | |
| WO2018218686A1 (en) | Method for detecting swelling of rechargeable battery, and portable electronic device | |
| CN108810284B (en) | Mode switching method of camera and electronic equipment | |
| CN105700620B (en) | A kind of method and apparatus executing control instruction | |
| CN108139899A (en) | Terminal device and the method for control charging | |
| CN109413256A (en) | Contact person information processing method, device, storage medium and electronic equipment | |
| CN106500751B (en) | Calibration method of proximity sensor and mobile terminal | |
| CN106254673B (en) | Terminal falls detection method and device | |
| CN109860743B (en) | A charging method and terminal device | |
| CN106484141B (en) | Threshold setting method and mobile terminal | |
| CN104751333B (en) | A kind of method, apparatus and system of information exchange | |
| CN109639370A (en) | Near-field communication aerial detection method, device, mobile terminal and storage medium | |
| CN109687922A (en) | Signal monitoring method, device, storage medium and the mobile terminal of wireless network |
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 | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190416 |