CN106597143A - Test device and test method - Google Patents
Test device and test method Download PDFInfo
- Publication number
- CN106597143A CN106597143A CN201610993522.5A CN201610993522A CN106597143A CN 106597143 A CN106597143 A CN 106597143A CN 201610993522 A CN201610993522 A CN 201610993522A CN 106597143 A CN106597143 A CN 106597143A
- Authority
- CN
- China
- Prior art keywords
- interface
- mobile terminal
- connecting element
- switch element
- otg
- 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
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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a test device which comprises a first connecting element, a second connecting element, a first switch element and a second switch element, wherein the first connecting element is used for connecting with a charging device; the second connecting element is used for connecting with a mobile terminal; the first switch element is respectively connected with the first connecting element and the second connecting element and is used for charging the mobile terminal by the charging device when the first switch element is switched on, so that the test device can acquire a charging function data of the mobile terminal; the second switch element and the second connecting element are connected and grounded and are used for grounding an OTG control port of the mobile terminal when the second switch element and the second connecting element are switched on, so that the test device can acquire the OTG function data of the mobile terminal. Thus, the test for the charging function and the OTG function can be completed by only connecting the mobile terminal with the test device, so that the repeated processes of plugging and pulling the connecting wire can be avoided, the test efficiency is increased and the risk of scratching the mobile phone shell can be reduced.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of test equipment, while the application relates particularly to one kind
Method of testing.
Background technology
USB charge functions and OTG (On-The-Go) function are the two big functions of being widely used in mobile terminal, this two
Function is all to interact realization by USB port and mobile terminal.But when this two functions are realized, mobile terminal is played the part of
Role but differ.When the insertion of OTG equipment has been recognized, mobile terminal oneself can will be set to main equipment and pass through
USB port is powered to the external equipment for inserting.Now mobile terminal is externally powered as a power supply unit.And
During charging, mobile terminal be one from equipment, be charged to itself by externally fed equipment.
It is mobile whole when USB charge functions and OTG functions is realized due to USB charge functions and the diversity of OTG functions
The interface line that end adopts is differed.Therefore, when termination function inspection is moved, this two functions are divided into two steps
Suddenly tested.
OTG functional tests:USB port generally in mobile terminal inserts an OTG equipment, and handset identity to OTG sets
After standby insertion, OTG equipment is powered, judges whether OTG functions are qualified thereafter through the supply voltage of detection mobile phone.
USB charge functions are tested:OTG equipment is pulled out, a charger is inserted, handset identity to charger is inserted
After will determine charging current and charging voltage with charger, judge thereafter through the actual charging current of detection and charging voltage
Whether mobile phone charging function is qualified.
Inventor has found that prior art is realizing USB charge functions and OTG to mobile phone during the application is realized
In the detection process of function, at least there is problems with:
Because when USB charge functions and OTG functions is realized, mobile terminal connection charger and OTG equipment are adopted
Interface line differ so that when the USB charge functions and OTG functions to mobile terminal is detected, need multiple
Connecting-disconnecting interface line accessing charger or OTG equipment.On the one hand, frequently connecting-disconnecting interface line is wasted time and energy, and reduces handss
The efficiency of machine functional test;On the other hand, due to needing repeatedly plug USB (more than twice), scuffing mobile phone machine is also substantially increased
The risk of shell, increased the maintenance cost of mobile phone.
Therefore, how to solve in the test process of the USB charge functions to mobile terminal and OTG functions, to need to carry out
The problem of multiple connection OIR, and then increase the efficiency of mobile terminal test, reduce scratching mobile terminal in test process
Probability, become those skilled in the art's technical problem urgently to be resolved hurrily.
The content of the invention
The invention provides a kind of test equipment of mobile terminal, to solve prior art in, to mobile terminal
In the test process of USB charge functions and OTG functions, the problem of repeatedly plug connecting line is needed.The test that the application is proposed sets
Standby, in being applied to the system comprising mobile terminal, the test equipment and charger, the test equipment connects comprising first
Element, the second connecting element, first switch element and second switch element are connect, wherein:
First connecting element is used to be connected with the charger;
Second connecting element is used to be connected with the mobile terminal;
The first switch element is connected respectively with first connecting element and second connecting element, for
Turn on when itself receiving the first control signal, and make the charger charge the mobile terminal when itself is turned on,
So that the test equipment obtains the charge function data of the mobile terminal;
The second switch element is connected and is grounded with second connecting element, for itself receiving the second control
Turn on during signal, and when itself is turned on be grounded the OTG control interfaces of the mobile terminal, so that the test equipment is obtained
The OTG performance datas of the mobile terminal.
Accordingly, the application also proposes a kind of method of testing, is applied to comprising mobile terminal, charger and as above institute
In the system of the test equipment stated, methods described includes:
When the configured information of the charge function for detecting the mobile terminal is received, the test equipment is to described first
Switch element sends the first control signal, and obtains the charge function data of the mobile terminal;
When the configured information of the OTG functions of detecting the mobile terminal is received, the test equipment is to described second
Switch element sends the second control signal, and obtains the OTG performance datas of the mobile terminal;
Wherein, first control signal is used to indicate that the first switch element turns on itself, and described first
The charger is set to charge the mobile terminal during switching elements conductive;
Second control signal is for indicating that the second switch element turns on itself and first in the second switch
Part is grounded the OTG control interfaces of the mobile terminal when turning on.
Compared with prior art, the Advantageous Effects of the technical scheme that the embodiment of the present application is proposed at least include:
The application proposes a kind of test equipment, comprising the first connecting element, the second connecting element, first switch element and
Second switch element, wherein:First connecting element is used to be connected with charger;Second connecting element is used for and mobile terminal phase
Even;First switch element is connected respectively with the first connecting element and the second connecting element, for making charging when itself is turned on
Equipment charges to mobile terminal, so that test equipment obtains the charge function data of mobile terminal;Second switch element and second
Connecting element is connected and is grounded, and the OTG control interfaces for making mobile terminal when itself is turned on are grounded, so that test equipment is obtained
Take the OTG performance datas of mobile terminal.Due to being completed to movement by first switch element and second switch element
Terminal charge function and the switching of OTG functional tests.It can be seen that, mobile terminal only need to be connected with test equipment, it becomes possible to complete to fill
The test of Electricity Functional and OTG functions, so as to avoid the connecting line swapping process of repetition, improves testing efficiency, reduces handss
The risk that machine shell is scratched.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the application, embodiment will be described below needed for the accompanying drawing to be used
It is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, general for this area
For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of structural representation of test equipment that the embodiment of the present application one is proposed;
Fig. 2 is a kind of schematic flow sheet of method of testing that the embodiment of the present application two is proposed;
Fig. 3 is a kind of structural representation of test equipment that the application specific embodiment is proposed;
Fig. 4 is a kind of schematic flow sheet of method of testing that the application specific embodiment is proposed.
Specific embodiment
As stated in the Background Art, in the existing test process to mobile terminal USB charge function and OTG functions, need
It is respectively connected to power supply unit and OTG equipment.Because the interface line that mobile terminal connection charger and OTG equipment are adopted is not
Identical, causes to need multiple connecting-disconnecting interface line to access charger or OTG equipment in test process.On the one hand, frequently
Connecting-disconnecting interface line waste time and energy, reduce cell-phone function test efficiency;On the other hand, due to needing repeatedly (more than twice)
Plug USB, also substantially increases the risk for scratching hand set machine shell.
Therefore, the application proposes a kind of test equipment of mobile terminal, to solve prior art in, to mobile terminal
USB charge functions and OTG functions test process in, need the problem of repeatedly plug connecting line.
The test equipment that the application is proposed includes the first connecting element, the second connecting element, first switch element and the
Two switch elements, wherein:First connecting element is used to be connected with charger;Second connecting element is used for and mobile terminal phase
Even;First switch element is connected respectively with the first connecting element and the second connecting element, for making charging when itself is turned on
Equipment charges to mobile terminal, so that test equipment obtains the charge function data of mobile terminal;Second switch element and second
Connecting element is connected and is grounded, and the OTG control interfaces for making mobile terminal when itself is turned on are grounded, so that test equipment is obtained
Take the OTG performance datas of mobile terminal.Due to being completed to movement by first switch element and second switch element
Terminal charge function and the switching of OTG functional tests.It can be seen that, mobile terminal only need to be connected with test equipment, it becomes possible to complete to fill
The test of Electricity Functional and OTG functions, so as to avoid the connecting line swapping process of repetition, improves testing efficiency, reduces handss
The risk that machine shell is scratched.
Embodiment one
Based on discussed above, a kind of structural representation of mobile terminal that the application is proposed is as shown in figure 1, comprising the first company
Connect element 101, the second connecting element 102, first switch element 103 and second switch element 104.Jie of each vitals
Continue as follows:
(1) first connecting element
In embodiments herein, test equipment is connected by the first connecting element with charger.With prior art
Differed, when the charge function of mobile terminal is tested, charger is joined directly together prior art with mobile terminal.And
In embodiments herein, charger is joined directly together with test equipment, then connects mobile terminal by test equipment.
In the preferred embodiment of the application, the first connecting element includes power supply interface, the first signaling interface and second
Signaling interface, and in test process, each interface is as follows with the connected mode of charger:
The power supply interface of the first connecting element is connected with the power supply interface of charger, the first signal of the first connecting element
Interface is connected respectively with the first signaling interface of charger, and the first signaling interface of the second connecting element, the first connection
The secondary signal interface of element respectively with the secondary signal interface of charger, and the secondary signal interface of the second connecting element
It is connected.From above annexation, in test process, each interface of the first connecting element respectively with test equipment and
Each interface correspondence of two adapters connects.
(2) second connecting elements
In embodiments herein, test equipment is connected by the second connecting element with mobile terminal.With prior art
Differed, when the charge function of mobile terminal is tested, charger is joined directly together prior art with mobile terminal.And
In embodiments herein, mobile terminal is joined directly together with test equipment, then connects charger by test equipment.
In the preferred embodiment of the application, the second connecting element includes charging inlet, the first signaling interface, secondary signal
Interface and OTG control interfaces, and in test process, each interface is as follows with the connected mode of charger:
The charging inlet of the second connecting element is connected with the charging inlet of mobile terminal, the first signal of the second connecting element
Interface is connected with the first signaling interface of mobile terminal, and the secondary signal interface of the second connecting element is believed with the second of mobile terminal
Number interface is connected, and the OTG control interfaces of the second connecting element are connected with the OTG control interfaces of mobile terminal.The connection by more than is closed
System understands, in test process, each interface of the second connecting element respectively with mobile terminal and each interface of the first adapter
Correspondence connection.
It should be noted that in embodiments herein, test equipment is connected by the first adapter with charger,
And be connected with mobile terminal by the second adapter.And in test process, mobile terminal only need to be connected just with test equipment
The process tested can be completed.So as to avoid the need for repeatedly plugging the problem of connecting line.
(3) first switch element
In the preferred embodiment of the application, first switch element respectively with the first connecting element and the second connecting element
It is connected, for turning on when itself receives the first control signal, and makes charger fill mobile terminal when itself is turned on
Electricity, so that test equipment obtains the charge function data of mobile terminal.
In the test process of the embodiment of the present application, will lead when first switch element receives the first control signal
It is logical.And in first switch element conductive, charger will charge to mobile terminal, and now test equipment just can be obtained
The charge function data of mobile terminal, so as to complete the charge function test process of mobile terminal.
In the preferred embodiment of the application, first switch element includes input interface and output interface, and its interface
Connected mode it is as follows:
The input interface of first switch element is connected with the power supply interface of the first connecting element, the output of first switch element
Interface is connected with the charging inlet of the second connecting element.
Based on above connected mode, when first switch element conductive, it will so that the power supply interface of the first connecting element
And the state that the passage between the power supply interface of the second connecting element is on, now, charger will be to mobile terminal
Charge so that test equipment can obtain the charge function data of mobile terminal, and completing the charge function to mobile terminal is carried out
Test.
(4) second switch element
In the preferred embodiment of the application, second switch element is connected and is grounded with the second connecting element, for certainly
Body is turned on when receiving the second control signal, and when itself is turned on is grounded the OTG control interfaces of mobile terminal, so that test
Equipment obtains the OTG performance datas of mobile terminal.
In the test process of the embodiment of the present application, will lead when second switch element receives the second control signal
It is logical.And in second switch element conductive, the OTG control interfaces of mobile terminal can be grounded, now mobile terminal will be considered that
There is OTG equipment to insert and open OTG functions.Therefore test equipment just can obtain the OTG performance datas of mobile terminal, so as to complete
Into the OTG functional test procedures of mobile terminal.
In the preferred embodiment of the application, second switch element includes input interface and output interface, and its interface
Connected mode it is as follows:
The input interface of second switch element is connected with the OTG control interfaces of the second connecting element, second switch element
Output interface is grounded.
Based on above connected mode, when second switch element conductive, it will so that the OTG controls of the second connecting element connect
Mouth ground connection.Because the OTG control interfaces of the second connecting element are connected with the OTG control interfaces of mobile terminal so that mobile terminal
OTG control interfaces equally can be grounded.When the OTG control interfaces of mobile terminal are grounded, mobile terminal will open OTG work(
Can, so that test equipment can obtain the OTG performance datas of mobile terminal, complete to carry out the OTG functions of mobile terminal
Test.
Understand from the above mentioned, by the test equipment proposed using the application, survey in the OTG functions to mobile terminal
During examination, mobile terminal need not extraly connect OTG equipment.Mobile terminal only need to be connected the charging that just can complete with test equipment
The test of function and OTG functions, so as to avoid the need for repeatedly plugging the problem of connecting line.
In the preferred embodiment of the application, test equipment also includes single-chip microcomputer, and single-chip microcomputer connects comprising first voltage detection
Mouth, second voltage detection interface, the first control interface, the second control interface and access sensing interface.Also, first switch unit
Part also includes control interface, and second switch element also includes control interface, and the second adapter also comprising access sensing interface.
The annexation of above-mentioned each interface is specific as follows:
The first voltage detection interface of single-chip microcomputer is connected with the power supply interface of the first connecting element, the second voltage of single-chip microcomputer
Detection interface is connected with the charging inlet of the second connecting element, the first control interface of single-chip microcomputer and the control of first switch element
Interface is connected, and the second control interface of single-chip microcomputer is connected with the control interface of second switch element, and the access sensing of single-chip microcomputer connects
Mouth is connected with the access sensing interface of the second adapter.
The application propose test equipment in, single-chip microcomputer primarily serve voltage tester and control first switch element and
The effect of second switch element.Specifically, the effect of single-chip microcomputer is as follows:
Single-chip microcomputer is used for when detecting the mobile terminal and the adapter and being in connection status, to first switch unit
Part sends the first control signal, and obtains the charging voltage of mobile terminal.
In first switch element conductive, when charger is charged to mobile terminal, single-chip microcomputer passes through its first voltage
Detection interface obtains the voltage of the power supply interface of the first connecting element, and this voltage is considered into the charging voltage of mobile terminal
(charge function data).
Single-chip microcomputer is additionally operable to send the second control signal to second switch element, and obtains the supply voltage of mobile terminal.
In second switch element conductive, when mobile terminal opens OTG functions, single-chip microcomputer detects interface by its second voltage
The voltage of the charging inlet of the second connecting element is obtained, and this voltage is considered into supply voltage (the OTG functions of mobile terminal
Data).
In the preferred embodiment of the application, test equipment also includes current detecting unit, and current detecting unit includes electricity
Stream detection chip and testing current resistance, current detecting chip includes the first detection interface, the second detection interface and data
Output interface.And single-chip microcomputer also includes Data Input Interface.The annexation of above-mentioned each interface is specific as follows:
Testing current resistance respectively with the power supply interface of the first connecting element, and the input interface phase of the first controlling switch
Even.
First detection interface of current detecting chip is connected with the power supply interface of the first connecting element, current detecting chip
Second detection interface is connected with the input interface of the first controlling switch, data output interface and the single-chip microcomputer of current detecting chip
Data Input Interface is connected.
Current detecting unit is used to obtain the charging current of the mobile terminal.Specifically, in first switch element conductive,
When charger is charged to mobile terminal, current detecting chip obtains the ohmically electric current of testing current, and this is electric
Stream is considered the charging current (charge function data) of mobile terminal.
Meanwhile, the current data of acquisition can be also sent to single-chip microcomputer by current detecting chip.
In the preferred embodiment of the application, test equipment also includes the 3rd connecting element, and the 3rd adapter includes first
Data output interface and the second data output interface.Meanwhile, single-chip microcomputer is also comprising the first data output interface and the second number
According to output interface.Above the connected mode of each interface is specific as follows:
First data output interface of the 3rd connecting element is connected with the first data output interface of single-chip microcomputer, the 3rd connection
Second data output interface of element is connected with the second data output interface of single-chip microcomputer.
3rd connecting element is used to be connected with data output apparatus, and general data outut device is PC.
Now, single-chip microcomputer is additionally operable to output test result to data output apparatus.
The description to test equipment from more than, can be reached following beneficial by the test equipment using the application
Effect.
The application proposes a kind of test equipment, comprising the first connecting element, the second connecting element, first switch element and
Second switch element, wherein:First connecting element is used to be connected with charger;Second connecting element is used for and mobile terminal phase
Even;First switch element is connected respectively with the first connecting element and the second connecting element, for making charging when itself is turned on
Equipment charges to mobile terminal, so that test equipment obtains the charge function data of mobile terminal;Second switch element and second
Connecting element is connected and is grounded, and the OTG control interfaces for making mobile terminal when itself is turned on are grounded, so that test equipment is obtained
Take the OTG performance datas of mobile terminal.Due to being completed to movement by first switch element and second switch element
Terminal charge function and the switching of OTG functional tests.It can be seen that, mobile terminal only need to be connected with test equipment, it becomes possible to complete to fill
The test of Electricity Functional and OTG functions, so as to avoid the connecting line swapping process of repetition, improves testing efficiency, reduces handss
The risk that machine shell is scratched.
Embodiment two
Based on the test equipment that embodiment one is proposed, the application proposes a kind of method of testing, to solve prior art in,
In the test process of the USB charge functions to mobile terminal and OTG functions, the problem of repeatedly plug connecting line is needed.
The method is applied to the system comprising mobile terminal, charger and the test equipment as described in embodiment one
In.A kind of schematic flow sheet of method of testing of the application proposition is illustrated in figure 2, the method is at least comprised the following steps:
S201, when the configured information of charge function of detection mobile terminal is received, test equipment is to first switch unit
Part sends the first control signal, and obtains the charge function data of mobile terminal.
Wherein, the first control signal is used to indicate that first switch element turns on itself, and in first switch element conductive
When make charger to mobile terminal charge.
S202, when the configured information of OTG functions of detection mobile terminal is received, test equipment is to second switch element
The second control signal is sent, and obtains the OTG performance datas of mobile terminal.
Wherein, the second control signal is used to indicate that second switch element turns on itself, and in second switch element conductive
When be grounded the OTG control interfaces of mobile terminal.
From the description of above method of testing, the application proposes a kind of test equipment, comprising the first connecting element, second
Connecting element, first switch element and second switch element, wherein:First connecting element is used to be connected with charger;The
Two connecting elements are used to be connected with mobile terminal;First switch element respectively with the first connecting element and the second connecting element phase
Even, for making charger charge mobile terminal when itself is turned on, so that test equipment obtains the charging work(of mobile terminal
Can data;Second switch element is connected and is grounded with the second connecting element, and the OTG for making mobile terminal when itself is turned on is controlled
Interfacing ground processed, so that test equipment obtains the OTG performance datas of mobile terminal.Due to can by first switch element and
Second switch element is completing the switching to mobile terminal charge function and OTG functional tests.It can be seen that, mobile terminal only need to be with
Test equipment is connected, it becomes possible to the test of charge function and OTG functions is completed, so as to avoid the connection OIR mistake of repetition
Journey, improves testing efficiency, reduces the risk of phone housing scuffing.
In order to the technological thought of the present invention is expanded on further, in conjunction with specific example, technical scheme is entered
Row explanation.
It is illustrated in figure 3 a kind of structural representation of test equipment of the application proposition.Below to the master in test equipment
Device and function is wanted to be introduced.
1st, H1 adapters are used to connect intelligent charge equipment, mainly there is the several circuit pins of VBUS, GND, D+, D-, realize
The function of charging with mobile communication and to mobile phone.
2nd, H2 adapters are used to connect mobile phone USB port, circuit pin include VBUS, D+, D-, OTG_ID, SHIELD,
GND, for docking with mobile phone USB port, realizes to mobile phone charging and the test of OTG functions.
3rd, H3 adapters are used to connect PC, are exported test result by TX, RX, GND.
4th, U1 is current detecting chip, coordinates precision resistance R7 to realize the test to charging current.
5th, single-chip microcomputer U3 is used to realize the control and test to whole system.
6th, K1, K2 are on-off circuit, for charging circuit and OTG_ID circuit turn-ons and the control for turning off.
7th, U2 is power supply unit, and for whole system stable power supply is provided.
Based on test equipment set forth above, specific test flow chart is illustrated in figure 4.Specifically, the flow process is at least
Comprise the following steps:
S401, detects the insertion of mobile phone USB.
Mobile phone insertion detection:The SHIELD pin status of GPIO2 pin real-time detections H1 of single-chip microcomputer, when mobile phone insertion
When, the SHIELD pins of H1 will be pulled low, and single-chip microcomputer recognizes mobile phone and inserts, start test program, and test starts.
S402, charging circuit is opened and is charged test.
Cell phone charging circuit is detected:Single-chip microcomputer controls first GPIO1 pins output high level, K1 is enabled into pin EN and is drawn
Height, now on-off circuit K1 conductings, intelligent charger is completed charger charging voltage and is set by D+, D- pin and mobile communication
Put.Mobile phone is charged simultaneously, current detecting chip U1 realizes the test to charging current by the electric current that R7 is flow through in measurement.
Pass through OUT feet after the completion of test by the AD1 feet of the data feedback measured to single-chip microcomputer.The detection of charging voltage passes through AD2 feet
Read what the partial pressure on R4 was realized.
S403, charging circuit is closed, and opens TOG paths, carries out OTG tests.
The detection of mobile phone OTG functions:After the completion of mobile phone charging function test, Single-chip Controlling GPIO1 output low level will
On-off circuit K1 disconnects, and disconnects mobile phone charging path.Afterwards GPIO3 is set to into high level, controlling switch circuit 2 is turned on, this
When OTG_ID feet short circuit over the ground, mobile phone will be considered to an OTG equipment and inserts, and now mobile phone VBUS ends can export 5V voltages, single
Piece machine detects that the partial pressure on R6 realizes the test to mobile phone output voltage by AD3 feet, so as to indirectly complete to mobile phone OTG work(
The test of energy.
S404, test terminates, and outputs test result.
Test terminates:After the completion of test, single-chip microcomputer can be exported test result by TX, RX foot.
S405, system reset.
Whether detection mobile phone is extracted, and after detecting that mobile phone is extracted, initialization system continues real-time monitoring mobile phone insertion shape
State, wait is tested next time.
From the description of above specific embodiment, the test equipment that the application is proposed comprising the first connecting element, the
Two connecting elements, first switch element and second switch element, wherein:First connecting element is used to be connected with charger;
Second connecting element is used to be connected with mobile terminal;First switch element respectively with the first connecting element and the second connecting element
It is connected, for making charger charge mobile terminal when itself is turned on, so that test equipment obtains the charging of mobile terminal
Performance data;Second switch element is connected and is grounded with the second connecting element, for making the OTG of mobile terminal when itself is turned on
Control interface is grounded, so that test equipment obtains the OTG performance datas of mobile terminal.Due to can by first switch element with
And second switch element is completing the switching to mobile terminal charge function and OTG functional tests.It can be seen that, mobile terminal is only needed
It is connected with test equipment, it becomes possible to complete the test of charge function and OTG functions, so as to avoid the connection OIR mistake of repetition
Journey, improves testing efficiency, reduces the risk of phone housing scuffing.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Cross hardware realization, it is also possible to realize by the mode of software plus necessary general hardware platform.Based on such understanding, this
Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, portable hard drive etc.), including some instructions are used so that a computer equipment (can be
Personal computer, server, or network equipment etc.) perform method described in each implement scene of the invention.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or
Flow process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in implement scene can according to implement scene describe into
Row is distributed in the device of implement scene, it is also possible to carry out one or more dresses that respective change is disposed other than this implement scene
In putting.The module of above-mentioned implement scene can merge into a module, it is also possible to be further split into multiple submodule.
The invention described above sequence number is for illustration only, does not represent the quality of implement scene.
Disclosed above is only that the several of the present invention are embodied as scene, but, the present invention is not limited to this, Ren Heben
What the technical staff in field can think change should all fall into protection scope of the present invention.
Claims (8)
1. a kind of test equipment, in being applied to the system comprising mobile terminal, the test equipment and charger, its feature
It is that the test equipment includes the first connecting element, the second connecting element, first switch element and second switch element,
Wherein:
First connecting element is used to be connected with the charger;
Second connecting element is used to be connected with the mobile terminal;
The first switch element is connected respectively with first connecting element and second connecting element, at itself
Turn on when receiving the first control signal, and make the charger charge the mobile terminal when itself is turned on, so that
The test equipment obtains the charge function data of the mobile terminal;
The second switch element is connected and is grounded with second connecting element, for itself receiving the second control signal
When turn on, and the OTG control interfaces of the mobile terminal be grounded when itself turn on, so that described in test equipment acquisition
The OTG performance datas of mobile terminal.
2. equipment as claimed in claim 1, it is characterised in that first connecting element includes power supply interface, the first signal
Interface and secondary signal interface, second connecting element comprising charging inlet, the first signaling interface, secondary signal interface with
And OTG control interfaces, wherein:
The power supply interface of first connecting element is connected with the power supply interface of the charger, first connecting element
First signaling interface connects respectively with the first signaling interface of the charger, and the first signal of second connecting element
Mouthful be connected, the secondary signal interface of first connecting element respectively with the secondary signal interface of the charger, Yi Jisuo
The secondary signal interface for stating the second connecting element is connected;
The charging inlet of second connecting element is connected with the charging inlet of the mobile terminal, second connecting element
First signaling interface is connected with the first signaling interface of the mobile terminal, the secondary signal interface of second connecting element with
The secondary signal interface of the mobile terminal is connected, OTG control interfaces and the mobile terminal of second connecting element
OTG control interfaces are connected.
3. equipment as claimed in claim 2, it is characterised in that the first switch element connects comprising input interface and output
Mouthful, the second switch element includes input interface and output interface, wherein:
The input interface of the first switch element is connected with the power supply interface of first connecting element, the first switch unit
The output interface of part is connected with the charging inlet of second connecting element;
The input interface of the second switch element is connected with the OTG control interfaces of second connecting element, and described second opens
Close the output interface ground connection of element.
4. equipment as claimed in claim 3, it is characterised in that the test equipment also includes single-chip microcomputer, the single-chip microcomputer bag
Connect containing first voltage detection interface, second voltage detection interface, the first control interface, the second control interface and access sensing
Mouthful, the first switch element also includes control interface, and the second switch element also includes control interface, second connection
Device also senses interface comprising access, wherein:
The first voltage detection interface of the single-chip microcomputer is connected with the power supply interface of first connecting element, the single-chip microcomputer
Second voltage detection interface is connected with the charging inlet of second connecting element, the first control interface of the single-chip microcomputer and institute
The control interface for stating first switch element is connected, the control of the second control interface of the single-chip microcomputer and the second switch element
Interface is connected, and the access sensing interface of the single-chip microcomputer is connected with the access sensing interface of second adapter.
5. equipment as claimed in claim 4, it is characterised in that:
The single-chip microcomputer is used for when detecting the mobile terminal and the adapter and being in connection status, opens to described first
Pass element transmission first control signal, and the charging voltage of the mobile terminal is obtained, and to second switch unit
Part sends second control signal, and obtains the supply voltage of the mobile terminal.
6. equipment as claimed in claim 5, it is characterised in that the test equipment also includes current detecting unit, the electricity
Stream detector unit includes current detecting chip and testing current resistance, the current detecting chip comprising the first detection interface,
Second detection interface and data output interface, the single-chip microcomputer also includes Data Input Interface, wherein:
The testing current resistance respectively with the power supply interface of first connecting element, and first controlling switch is defeated
Incoming interface is connected;
First detection interface of the current detecting chip is connected with the power supply interface of first connecting element, the electric current inspection
The the second detection interface for surveying chip is connected with the input interface of first controlling switch, and the data of the current detecting chip are defeated
Outgoing interface is connected with the Data Input Interface of the single-chip microcomputer;
The current detecting unit is used to obtain the charging current of the mobile terminal.
7. equipment as claimed in claim 5, it is characterised in that the test equipment also includes the 3rd connecting element, described the
Three adapters include the first data output interface and the second data output interface, and the single-chip microcomputer also includes the first data output
Interface and the second data output interface, wherein:
First data output interface of the 3rd connecting element is connected with the first data output interface of the single-chip microcomputer, described
Second data output interface of the 3rd connecting element is connected with the second data output interface of the single-chip microcomputer;
3rd connecting element is used to be connected with data output apparatus;
The single-chip microcomputer is additionally operable to output test result to the data output apparatus.
8. a kind of method of testing, it is characterised in that be applied to comprising mobile terminal, charger and as claim 1-7 is appointed
In the system of the test equipment described in, methods described includes:
When the configured information of the charge function for detecting the mobile terminal is received, the test equipment is to the first switch
Element sends the first control signal, and obtains the charge function data of the mobile terminal;
When the configured information of the OTG functions of detecting the mobile terminal is received, the test equipment is to the second switch
Element sends the second control signal, and obtains the OTG performance datas of the mobile terminal;
Wherein, first control signal is used to indicate that the first switch element turns on itself, and in the first switch
The charger is set to charge the mobile terminal during element conductive;
Second control signal is used to indicate that the second switch element turns on itself, and leads in the second switch element
The OTG control interfaces that the mobile terminal is made when logical are grounded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610993522.5A CN106597143B (en) | 2016-11-10 | 2016-11-10 | Test equipment and test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610993522.5A CN106597143B (en) | 2016-11-10 | 2016-11-10 | Test equipment and test method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106597143A true CN106597143A (en) | 2017-04-26 |
CN106597143B CN106597143B (en) | 2022-01-14 |
Family
ID=58591330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610993522.5A Active CN106597143B (en) | 2016-11-10 | 2016-11-10 | Test equipment and test method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106597143B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108008285A (en) * | 2017-12-04 | 2018-05-08 | 丰顺县培英电声有限公司 | A kind of vehicle multimedia system test device and its method |
CN108072775A (en) * | 2017-11-06 | 2018-05-25 | 广东欧珀移动通信有限公司 | The test device of mobile terminal |
CN109298266A (en) * | 2018-10-29 | 2019-02-01 | Oppo广东移动通信有限公司 | Test macro, test method, test device and storage medium |
CN111030226A (en) * | 2019-12-20 | 2020-04-17 | 维沃移动通信有限公司 | Equipment detection method and electronic equipment |
CN113312227A (en) * | 2021-06-25 | 2021-08-27 | 展讯通信(上海)有限公司 | OTG function detection method, system, device and equipment |
CN113820583A (en) * | 2020-06-19 | 2021-12-21 | 北京君正集成电路股份有限公司 | USB OTG test method |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2927353Y (en) * | 2006-04-04 | 2007-07-25 | 陈建青 | USB wire device with data-transmission and charging functions |
CN101949966A (en) * | 2010-08-17 | 2011-01-19 | 惠州Tcl移动通信有限公司 | Mobile terminal capable of accurately detecting charging current |
CN102629772A (en) * | 2012-04-05 | 2012-08-08 | 福兴达科技实业(深圳)有限公司 | Mobile terminal and charging method of mobile terminal |
CN202872406U (en) * | 2012-09-19 | 2013-04-10 | 青岛海信移动通信技术股份有限公司 | Interface multiplexing circuit and mobile terminal |
CN203368103U (en) * | 2013-08-08 | 2013-12-25 | 方洪福 | Multifunctional mobile power supply |
CN103698640A (en) * | 2013-12-31 | 2014-04-02 | 青岛歌尔声学科技有限公司 | Intelligent charging detection circuit and movable power supply |
CN103744821A (en) * | 2014-01-10 | 2014-04-23 | 广东欧珀移动通信有限公司 | Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal |
CN204243832U (en) * | 2014-12-05 | 2015-04-01 | 重庆蓝岸通讯技术有限公司 | A kind of charging and output compatible multiplex roles charging circuit |
CN104678197A (en) * | 2013-11-29 | 2015-06-03 | 深圳富泰宏精密工业有限公司 | Test circuit |
CN204392072U (en) * | 2015-02-06 | 2015-06-10 | 深圳市利民盛新材料科技有限公司 | A kind of Multifunction transducer |
CN104978300A (en) * | 2015-07-16 | 2015-10-14 | 广东欧珀移动通信有限公司 | Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment |
CN105701049A (en) * | 2016-03-23 | 2016-06-22 | 广东欧珀移动通信有限公司 | System, method and device for writing in charging zone bit and mobile terminal |
CN105786664A (en) * | 2014-12-25 | 2016-07-20 | 展讯通信(上海)有限公司 | Automatic test system for simulating user operation |
KR101657940B1 (en) * | 2015-08-12 | 2016-09-22 | 주식회사 네오텍 | Portable voltage measurement device and voltage measurement method using the same based on USB OTG |
CN106066438A (en) * | 2016-07-26 | 2016-11-02 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal is based on the method and system of OTG detection equipment charge state |
CN107480086A (en) * | 2017-08-04 | 2017-12-15 | 青岛海信移动通信技术股份有限公司 | Support circuit, terminal and its control method of OTG functions |
US20200132734A1 (en) * | 2016-11-23 | 2020-04-30 | Huawei Technologies Co., Ltd. | Detection circuit and detection method for on-the-go device, and terminal |
-
2016
- 2016-11-10 CN CN201610993522.5A patent/CN106597143B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2927353Y (en) * | 2006-04-04 | 2007-07-25 | 陈建青 | USB wire device with data-transmission and charging functions |
CN101949966A (en) * | 2010-08-17 | 2011-01-19 | 惠州Tcl移动通信有限公司 | Mobile terminal capable of accurately detecting charging current |
CN102629772A (en) * | 2012-04-05 | 2012-08-08 | 福兴达科技实业(深圳)有限公司 | Mobile terminal and charging method of mobile terminal |
CN202872406U (en) * | 2012-09-19 | 2013-04-10 | 青岛海信移动通信技术股份有限公司 | Interface multiplexing circuit and mobile terminal |
CN203368103U (en) * | 2013-08-08 | 2013-12-25 | 方洪福 | Multifunctional mobile power supply |
CN104678197A (en) * | 2013-11-29 | 2015-06-03 | 深圳富泰宏精密工业有限公司 | Test circuit |
CN103698640A (en) * | 2013-12-31 | 2014-04-02 | 青岛歌尔声学科技有限公司 | Intelligent charging detection circuit and movable power supply |
CN103744821A (en) * | 2014-01-10 | 2014-04-23 | 广东欧珀移动通信有限公司 | Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal |
CN204243832U (en) * | 2014-12-05 | 2015-04-01 | 重庆蓝岸通讯技术有限公司 | A kind of charging and output compatible multiplex roles charging circuit |
CN105786664A (en) * | 2014-12-25 | 2016-07-20 | 展讯通信(上海)有限公司 | Automatic test system for simulating user operation |
CN204392072U (en) * | 2015-02-06 | 2015-06-10 | 深圳市利民盛新材料科技有限公司 | A kind of Multifunction transducer |
CN104978300A (en) * | 2015-07-16 | 2015-10-14 | 广东欧珀移动通信有限公司 | Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment |
KR101657940B1 (en) * | 2015-08-12 | 2016-09-22 | 주식회사 네오텍 | Portable voltage measurement device and voltage measurement method using the same based on USB OTG |
CN105701049A (en) * | 2016-03-23 | 2016-06-22 | 广东欧珀移动通信有限公司 | System, method and device for writing in charging zone bit and mobile terminal |
CN106066438A (en) * | 2016-07-26 | 2016-11-02 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal is based on the method and system of OTG detection equipment charge state |
US20200132734A1 (en) * | 2016-11-23 | 2020-04-30 | Huawei Technologies Co., Ltd. | Detection circuit and detection method for on-the-go device, and terminal |
CN107480086A (en) * | 2017-08-04 | 2017-12-15 | 青岛海信移动通信技术股份有限公司 | Support circuit, terminal and its control method of OTG functions |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108072775A (en) * | 2017-11-06 | 2018-05-25 | 广东欧珀移动通信有限公司 | The test device of mobile terminal |
CN108008285A (en) * | 2017-12-04 | 2018-05-08 | 丰顺县培英电声有限公司 | A kind of vehicle multimedia system test device and its method |
CN109298266A (en) * | 2018-10-29 | 2019-02-01 | Oppo广东移动通信有限公司 | Test macro, test method, test device and storage medium |
CN109298266B (en) * | 2018-10-29 | 2021-06-29 | Oppo广东移动通信有限公司 | Test system, test method, test apparatus, and storage medium |
CN111030226A (en) * | 2019-12-20 | 2020-04-17 | 维沃移动通信有限公司 | Equipment detection method and electronic equipment |
CN113820583A (en) * | 2020-06-19 | 2021-12-21 | 北京君正集成电路股份有限公司 | USB OTG test method |
CN113820583B (en) * | 2020-06-19 | 2024-02-27 | 北京君正集成电路股份有限公司 | USB OTG test method |
CN113312227A (en) * | 2021-06-25 | 2021-08-27 | 展讯通信(上海)有限公司 | OTG function detection method, system, device and equipment |
CN113312227B (en) * | 2021-06-25 | 2023-01-17 | 展讯通信(上海)有限公司 | OTG function detection method, system, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106597143B (en) | 2022-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106597143A (en) | Test device and test method | |
CN105182154B (en) | A kind of USB detection circuit and method | |
CN103124134B (en) | Determining circuit | |
CN101102119B (en) | A charging detection circuit of appliance device and charging detection method | |
CN106300501B (en) | A kind of adapter recognition methods and intelligent mobile terminal | |
CN103905955B (en) | The method of test earphone insertion, the device and interface circuit of test earphone insertion | |
CN104272216A (en) | Electronic device and control method therefor | |
CN106571657A (en) | Terminal, converter and connection conversion system and method | |
CN107658920B (en) | OTG is realized based on external charging and the difunctional system that charges | |
CN203242716U (en) | Battery, battery type detection circuit and mobile terminal | |
CN110221163A (en) | A kind of the connecting detection method and detection circuit of USB Type-C interface | |
CN107707000A (en) | A kind of OTG power supplies and wireless charging compatible circuit and correlation technique and terminal device | |
CN106329654A (en) | Electronic device and charging method thereof | |
CN105048018B (en) | The charging method and device of a kind of terminal with data exchanging function | |
CN109254210A (en) | Electronic device port type detection method, apparatus, detection circuit and electronic equipment | |
CN108054794A (en) | Charging and discharging method and device for intelligent terminal, terminal and storage medium | |
CN202798035U (en) | Charging mode detection circuit and mobile terminal | |
CN108768379A (en) | Polymorphic recognition methods, system and terminal | |
CN107681730A (en) | A kind of battery, terminal device, charging system, the recognition methods of battery and device | |
CN107134819A (en) | The charging/discharging thereof of portable power source, charge-discharge system and charge-discharge system | |
CN106300549A (en) | Electronic installation and charging method thereof | |
CN208226139U (en) | Electrical vehicle charging connection device | |
CN107885688A (en) | A kind of signal switching method and device | |
CN208537685U (en) | Computer main board Type-C tests mould group | |
CN106856289A (en) | Electronic equipment and its circuit, interconnecting device and its circuit and signal processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |