CN113419911A - Compatibility testing device, compatibility testing method and system - Google Patents

Compatibility testing device, compatibility testing method and system Download PDF

Info

Publication number
CN113419911A
CN113419911A CN202110707675.XA CN202110707675A CN113419911A CN 113419911 A CN113419911 A CN 113419911A CN 202110707675 A CN202110707675 A CN 202110707675A CN 113419911 A CN113419911 A CN 113419911A
Authority
CN
China
Prior art keywords
test
compatibility
equipment
testing
slave
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.)
Pending
Application number
CN202110707675.XA
Other languages
Chinese (zh)
Inventor
刘媛媛
巩冬梅
曹磊
刘勇杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202110707675.XA priority Critical patent/CN113419911A/en
Publication of CN113419911A publication Critical patent/CN113419911A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2733Test interface between tester and unit under test

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention provides a compatibility testing device, a compatibility testing method and a system, wherein the compatibility testing device comprises: the device comprises a test board, a control interface, a first connecting interface and at least two second connecting interfaces; the control interface, the first connecting interface and the at least two second connecting interfaces are electrically connected with the test board respectively; the control interface is used for receiving control information; the first connecting port is used for connecting main test equipment; the at least two second connecting ports are used for connecting at least two slave testing devices; the test board is used for controlling the first connecting port to be communicated with a target port according to the control information so as to test the compatibility of the main test equipment and the auxiliary test equipment, and the target port is one of the at least two second connecting ports. The invention can improve the efficiency of the compatibility test.

Description

Compatibility testing device, compatibility testing method and system
Technical Field
The present invention relates to the field of electronic communications technologies, and in particular, to a compatibility testing apparatus, a compatibility testing method, and a compatibility testing system.
Background
With the rapid development of technology, some terminals generally need to transmit and receive data with other types of terminals.
Compatibility testing is generally required before such terminals are shipped or used. However, in the existing compatibility test, the test terminal is often connected with a plurality of terminals of different types by manual plugging and unplugging so as to complete the compatibility test, but the method cannot realize automatic test, thereby greatly reducing the efficiency of the compatibility test.
Disclosure of Invention
In order to solve the above problems, the compatibility testing apparatus, the compatibility testing method and the compatibility testing system provided by the present invention control the communication relationship between the first connection port and the at least two second connection ports through the testing board, thereby implementing the automatic switching of the communication relationship between the master testing device and the plurality of slave testing devices, and improving the efficiency of the compatibility testing.
In a first aspect, the present invention provides a compatibility testing apparatus, including: the device comprises a test board, a control interface, a first connecting interface and at least two second connecting interfaces;
the control interface, the first connecting interface and the at least two second connecting interfaces are electrically connected with the test board respectively;
the control interface is used for receiving control information;
the first connecting port is used for connecting main test equipment;
the at least two second connecting ports are used for connecting at least two slave testing devices;
the test board is used for controlling the first connecting port to be communicated with a target port according to the control information so as to test the compatibility of the main test equipment and the auxiliary test equipment, and the target port is one of the at least two second connecting ports.
Optionally, the test plate comprises: the control module and at least one signal control switching module;
the control module is electrically connected with the at least one signal control switching module, and the first connecting port is electrically connected with the at least two second connecting ports through the at least one signal control switching module;
the control module is used for controlling the at least one signal control switching module so as to adjust the communication relation between the first connecting port and the at least two second connecting ports.
Optionally, the compatibility testing apparatus further includes: a first indicator light set;
the first indicator lamp group is electrically connected with the at least one signal control switching module;
the first indicating lamp group is used for indicating the on-off state of the at least one signal control switching module.
Optionally, the test plate further comprises: a test switching module;
the test switching module is electrically connected with the first connecting port;
the test switching module is used for switching the main test equipment between an identification mode and a standby mode through the first connecting port;
the test board is used for controlling the first connecting port to be communicated with one of the at least two second connecting ports according to the control information when the main test equipment is in the identification mode so as to test the compatibility of the main test equipment and the auxiliary test equipment;
the test board is also used for stopping the compatibility test of the master test equipment and the slave test equipment when the master test equipment is in a standby mode.
Optionally, the test plate further comprises: a power supply switching module;
the power supply switching module is electrically connected with the first connecting port and the at least two second connecting ports;
the power supply switching module is used for switching the at least two second connectors between a first power supply mode and a second power supply mode;
the test board is used for controlling the main test equipment to supply power to the auxiliary test equipment when the second connector is in a first power supply mode;
the test board is further used for supplying power to the slave test equipment or supplying power to the master test equipment and the slave test equipment when the second connection port is in a second power supply mode.
Optionally, the compatibility testing apparatus further includes: a second indicator light set;
the second indicator lamp group is electrically connected with the at least two second connecting ports;
the second indicating lamp group is used for indicating the connection state of the at least two second connecting ports and the slave testing equipment.
Optionally, the first connection port and the second connection port are both USB ports;
the test board is used for controlling the first connecting port to be communicated with one of the at least two second connecting ports according to the control information so as to test the OTG compatibility of the master test equipment and the slave test equipment.
In a second aspect, the present invention provides a compatibility testing method applied to any one of the compatibility testing apparatuses described above, the method including:
receiving the control information through the control interface;
determining the target interface according to the control information;
communicating the first connection port with the target port;
and performing compatibility test on the main test equipment through the auxiliary test equipment electrically connected with the target interface.
Optionally, before the performing the compatibility test on the master test device through the slave test device electrically connected to the target interface, the method further includes:
and judging whether the main test equipment is in the identification mode, if not, adjusting the main test equipment in the identification mode.
Optionally, before the performing the compatibility test on the master test device through the slave test device electrically connected to the target interface, the method further includes:
judging whether the target interface is connected with a slave test device or not;
the performing compatibility test on the main test device through the slave test device electrically connected with the target interface includes: and when the target interface is connected with the slave test equipment, performing compatibility test on the master test equipment through the slave test equipment electrically connected with the target interface.
Optionally, the method further comprises:
acquiring attribute information of the main test equipment;
determining a power supply mode among the test board, the master test device and the slave test device according to the attribute information of the master test device, wherein the power supply mode comprises the following steps: the first power supply mode and the second power supply mode.
In a third aspect, the present invention provides a compatibility testing system applied to any one of the compatibility testing apparatuses, the system including:
a receiving module configured to receive the control information through the control interface;
a first determination module configured to determine the target interface according to the control information;
a connectivity module configured to communicate the first connection interface with the target interface;
and the testing module is configured to perform compatibility testing on the main testing equipment through the auxiliary testing equipment electrically connected with the target interface.
Optionally, the system further comprises:
the first judging module is configured to judge whether the main testing equipment is in an identification mode or not before the compatibility test is performed on the main testing equipment through the auxiliary testing equipment electrically connected with the target interface, and if not, the main testing equipment is adjusted to be in the identification mode.
Optionally, the system further comprises:
the second judging module is configured to judge whether the target interface is connected with the slave testing equipment or not before the master testing equipment is subjected to compatibility testing through the slave testing equipment electrically connected with the target interface;
the test module is further configured to perform compatibility test on the master test device through the slave test device electrically connected with the target interface when the target interface is connected with the slave test device.
Optionally, the system further comprises:
an acquisition module configured to acquire attribute information of the main test device;
a second determining module, configured to determine a power supply manner among the test board, the master test device, and the slave test device according to the attribute information of the master test device, where the power supply manner includes: the first power supply mode and the second power supply mode.
According to the compatibility testing device, the compatibility testing method and the compatibility testing system provided by the embodiment of the invention, the communication relation between the first connecting port and the at least two second connecting ports is controlled through the testing board, so that the automatic switching of the communication relation between the main testing equipment and the plurality of auxiliary testing equipment is realized, and the efficiency of the compatibility testing is improved.
Drawings
Fig. 1 is a schematic structural diagram of a compatibility testing apparatus according to an embodiment of the present application during a testing process;
FIG. 2 is a schematic internal block diagram of a compatibility testing apparatus according to an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of a compatibility testing method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram of a compatibility testing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a compatibility testing system according to an embodiment of the present application.
Reference numerals
1. A test board; 11. USB to serial port chip; 12. a second indicator light set; 13. a test switching module; 14. a power supply switching module; 15. a control module; 16. a signal control switching module; 2. a control interface; 3. a power supply port; 4. a first connection port; 5. a second connection port; 6. a main test device; 7. a slave test device; 8. and controlling the terminal.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that, in the present invention, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
In a first aspect, this embodiment provides a compatibility testing apparatus, and with reference to fig. 1 and fig. 2, the compatibility testing apparatus includes: the test board 1, the control interface 2, the power supply port 3, the first connection port 4 and at least two second connection ports 5.
The control interface 2, the power supply port 3, the first connection port 4, and the at least two second connection ports 5 are electrically connected to the test board 1, respectively. The control interface 2 is used for receiving control information; the power supply port 3 is used for supplying electric energy to the test board 1; the first connecting port 4 is used for connecting a main test device 6; the at least two second connecting ports 5 are used for connecting at least two slave testing devices 7; the test board 1 is used for controlling the first connection port 4 to communicate with a target port according to the control information so as to test the compatibility of the master test equipment 6 and the slave test equipment 7.
The target interface is one of the at least two second connection ports 5 which needs to be communicated with the first connection port 4, and the control interface 2 is used for being electrically connected with the control terminal 8, so that the control terminal 8 sends related control information to the test board 1. The control terminal 8 includes: industrial personal computers, notebook computers, and the like.
In this embodiment, the control terminal 8 is a computer, and the number of the second connection ports 5 is ten, but the invention is not limited thereto. The first connection port 4 and the second connection port 5 are USB (Universal Serial Bus) interfaces, and the USB interfaces may be extended to type a, type b, micro b, and type c ports, which is not limited in this embodiment. The test board 1 is configured to control The first connection port 4 to communicate with one second connection port 5 of The at least two second connection ports 5 according to The control information, so as to test OTG (On-The-Go, online operation) compatibility of The master test device 6 and The slave test device 7. The main test device 6 may be a mobile phone, a tablet computer, a notebook computer, etc., and the auxiliary test device 7 may be a USB disk externally connected to a USB interface, a keyboard, a mouse, a hard disk, a sound box, a mobile handle, a camera, etc., which is not limited in this embodiment.
Further, the test board 1 includes: the device comprises a circuit board, a USB-to-serial port chip 11, a first indicator lamp set, a second indicator lamp set 12, a test switching module 13, a power supply switching module 14, a control module 15 and at least one signal control switching module 16. The test switching module 13, the power supply switching module 14, the control module 15 and the at least one signal control switching module 16 are all fixedly arranged on the circuit board.
The USB-to-serial port chip 11 is electrically connected with the control module 15 through a universal asynchronous receiver-transmitter, the control module 15 is electrically connected with the at least one signal control switching module 16 through wiring on the circuit board, and the first connecting port 4 is electrically connected with the at least two second connecting ports 5 through wiring on the circuit board and the at least one signal control switching module 16; the second indicator light group 12 is electrically connected with the at least two second connecting ports 5 and the control module 15; the first indicator lamp set is electrically connected with the at least one signal control switching module 16 and the control module 15; the test switching module 13 is electrically connected with the first connection port 4 and the control module 15 through a wire on a circuit board; the power supply switching module 14 is electrically connected to the control module 15, the first connection port 4 and the at least two second connection ports 5 through traces on a circuit board.
The control module 15 is configured to control the at least one signal control switching module 16 to adjust a communication relationship between the first connection port 4 and the at least two second connection ports 5. The first indicator light set is used for indicating the on-off state of each signal control switching module 16. The second indicator light group 12 is used for indicating the connection state of the at least two second connection ports 5 and the slave testing equipment 7. The test switching module 13 is configured to switch the main test device 6 between the recognition mode and the standby mode through the first connection port 4. The power supply switching module 14 is configured to switch the at least two second connection ports 5 between a first power supply mode and a second power supply mode. The test board 1 is configured to control, by using the control module 15 according to the control information, the first connection port 4 to communicate with one second connection port 5 of the at least two second connection ports 5 when the master test device 6 is in the identification mode, so as to test compatibility between the master test device 6 and the slave test device 7; the test board 1 is further configured to stop a compatibility test on the master test device 6 and the slave test device 7 under the control of the control module 15 when the master test device 6 is in the standby mode; the test board 1 is also used for supplying power to the slave test equipment 7 under the control of the control module 15 when the second connecting port 5 is in the first power supply mode; the test board 1 is further configured to supply power to the slave test device 7 under the control of the control module 15 or supply power to the master test device 6 and the slave test device 7 under the control of the control module 15 when the second connection port 5 is in the second power supply mode.
In this embodiment, the test board 1 is configured to supply power to the master test device 6 and the slave test device 7 under the control of the control module 15 when the second connection port 5 is in the second power supply mode. The number of the second connection ports 5 is ten, the signal control switching module 16 is a high-speed passive switch, and the number of the signal control switching modules 16 is nine, but not limited thereto.
Specifically, the nine signal control switching modules 16 are a high-speed passive switch 1, a high-speed passive switch 2, high-speed passive switches 3 and … …, a high-speed passive switch 8, and a high-speed passive switch 9, respectively. By arranging the high-speed passive switch, the automatic switching of the target interface can be realized, and the data transmission rate of the USB can be ensured.
The control module 15 is wired in a mode of GPIOx27> CTLx18+ LEDx9 to be electrically connected with all the signal control switching modules 16 and the first indicator light group; the first indicating lamp group includes a plurality of LED (light-emitting diode) lamps, each LED lamp corresponds to one signal control switching module 16, so that a user can determine the use state of the signal control switching module 16 according to the lighting state of the LED lamp, thereby facilitating the user to find the signal control switching module 16 which cannot normally work in time and maintain or replace the signal control switching module 16. The control module 15 is wired in a GPIO (general purpose input/output) x10 manner to be electrically connected to the second indicator light group 12; the second indicator light group 12 also comprises a plurality of LED lights, each LED light corresponds to one second connector 5, so that a user can conveniently and timely judge whether the second connector 5 is stably electrically connected with the corresponding slave testing device 7 through the LED lights, and the corresponding slave testing device 7 can be maintained or replaced, thereby ensuring the testing efficiency. The ten second connection ports 5 are USB1, USB2, USB3, … …, USB9, and USB10, respectively.
Each high-speed passive switch includes an input and two outputs. In this embodiment, the input terminal of the high-speed passive switch 1 is wired in a manner of DATA USB 2.0+3.0 to be electrically connected to the first connection port 4, one output terminal of the high-speed passive switch 1 is electrically connected to the input terminal of the high-speed passive switch 2, and the other output terminal of the high-speed passive switch 1 is electrically connected to the input terminal of the high-speed passive switch 4; one output end of the high-speed passive switch 2 is electrically connected with the input end of the high-speed passive switch 5, and the other output end of the high-speed passive switch 2 is electrically connected with the input end of the high-speed passive switch 3; one output end of the high-speed passive switch 3 is electrically connected with the input end of the high-speed passive switch 6, and the other output end of the high-speed passive switch 3 is electrically connected with the input end of the high-speed passive switch 7; one output end of the high-speed passive switch 4 is electrically connected with the input end of the high-speed passive switch 8, and the other output end of the high-speed passive switch 4 is electrically connected with the input end of the high-speed passive switch 9; one output end of the high-speed passive switch 5 is electrically connected with the USB9, and the other output end of the high-speed passive switch 5 is electrically connected with the USB 10; one output end of the high-speed passive switch 6 is electrically connected with the USB7, and the other output end of the high-speed passive switch 6 is electrically connected with the USB 8; one output end of the high-speed passive switch 7 is electrically connected with the USB5, and the other output end of the high-speed passive switch 7 is electrically connected with the USB 6; one output end of the high-speed passive switch 8 is electrically connected with the USB3, and the other output end of the high-speed passive switch 8 is electrically connected with the USB 4; one output end of the high-speed passive switch 9 is electrically connected with the USB1, and the other output end of the high-speed passive switch 9 is electrically connected with the USB 2.
For example, when the master test device 6 needs to perform an OTG compatibility test with the slave test device 7 on the USB6, the processor controls the high-speed passive switch 1 to communicate with the high-speed passive switch 2, controls the high-speed passive switch 2 to communicate with the high-speed passive switch 3, controls the high-speed passive switch 3 to communicate with the high-speed passive switch 7, controls another output terminal of the high-speed passive switch 7 to communicate with the USB6, and simultaneously controls other output terminals in the high-speed passive switch to be turned off, so that the master test device 6 can be communicated with the slave test device 7 on the USB6, and thus, a related OTG compatibility test can be performed.
In this embodiment, the control module 15 is a single chip microcomputer MCU (micro controller Unit) chip; the test switching module 13 is a SWITCH (dial SWITCH); the power supply switching module 14 is Relay/MOS (Relay/field effect transistor). The control module 15 is wired by means of Phone _ Vbus CC GPIOx2 to be electrically connected to the test switching module 13 and the power supply switching module 14, respectively. The power supply switching module 14 is wired through the Vbus Phone to be electrically connected to the first connection port 4. The test switching module 13 is wired in a CC (Configuration Channel) manner to be electrically connected to the first connection port 4.
In this embodiment, the power supply switching module 14 is further electrically connected to a Vbus Charge (USB power supply line charging) terminal and a Vbus Port (USB power supply line interface) terminal on the test board 1. The power supply switching module 14 is configured to control the Vbus Charge end or the Vbus Port end to communicate with the first connection Port 4, so that the at least two second connection ports 5 are switched between the first power supply mode and the second power supply mode. When the Vbus Charge end is electrically connected with the first connecting port 4, the test board 1 simultaneously supplies power to the master test equipment 6 and the slave test equipment 7; when the Vbus Port terminal is electrically connected to the first connection Port 4, the test board 1 supplies power to the slave test device 7. By arranging the power supply switching module 14, the phenomenon that compatibility testing cannot be completed due to power failure of the main test equipment 6 or/and the slave test equipment 7 under the condition that a power supply port of the main test equipment 6 is occupied because both the main test equipment 6 and the slave test equipment 7 cannot be charged can be avoided; and further, the compatibility of the compatibility testing device with the main testing equipment 6 is enlarged.
The test switching module 13 is also electrically connected to a Vbus (USB power supply line) terminal and a GND (ground terminal) terminal of the test board 1 through different resistors. The test switching module 13 switches the main test device 6 between the recognition mode and the standby mode by pulling up and pulling down the CC signal. In this embodiment, pulling up the CC signal indicates that the main test device 6 is a device (slave device), that is, the main test device 6 is in a standby mode, and pulling down the CC signal indicates that the main test device 6 is a host device, that is, the main test device 6 is in an identification mode, which indicates that the main test device 6 can perform a compatibility test. By arranging the test switching module 13, a user can flexibly control the on and off of the compatibility test, so that the compatibility test on the main test equipment 6 can be stopped in an emergency.
The compatibility testing device is simple in structure, and the communication relation between the first connecting port 4 and the at least two second connecting ports 5 is controlled through the testing board 1, so that the automatic switching of the communication relation between the main testing equipment 6 and the plurality of auxiliary testing equipment 7 is realized, and the efficiency of compatibility testing is improved.
In a second aspect, this embodiment provides a compatibility testing method, which is applied to the compatibility testing apparatus described above, and with reference to fig. 3, the method includes steps S101 to S104:
step S101: the control information is received via the control interface 2.
The control information includes: information indicating that the first connection port 4 is in communication with the target port.
Specifically, when the control interface 2 receives a command for instructing the first connection interface 4 to perform an OTG compatibility test with the slave test device 7 on the USB6, the control information includes: high-speed passive switch 1 communicates with high-speed passive switch 2, and high-speed passive switch 2 communicates with high-speed passive switch 3, and high-speed passive switch 3 communicates with high-speed passive switch 7, and another output and the USB6 intercommunication of high-speed passive switch 7 control the serial ports order that other outputs were closed in the high-speed passive switch.
Step S102: and determining the target interface according to the control information.
Step S103: and communicating the first connecting port 4 with the target port.
Step S104: the master test device 6 is subjected to a compatibility test by a slave test device 7 electrically connected to the target interface.
The method is simple and convenient to implement, the communication relation between the first connecting port 4 and the at least two second connecting ports 5 can be controlled through the test board 1, so that the automatic switching of the communication relation between the main test equipment 6 and the plurality of slave test equipment 7 is realized, and the efficiency of compatibility test is improved.
In an alternative embodiment, before the performing the compatibility test on the master test device 6 through the slave test device 7 electrically connected to the target interface, the method further includes: judging whether the main test equipment 6 is in an identification mode; if not, adjusting the main test equipment 6 to be in the identification mode; if yes, executing the step of performing compatibility test on the main test equipment 6 through the auxiliary test equipment 7 electrically connected with the target interface. Whether the main test equipment 6 is in the identification mode or not is judged, so that the main test equipment 6 can quickly enter the identification mode to perform compatibility test, the test efficiency is improved, and the problem of test failure caused by the fact that the main test equipment 6 is not ready to perform the compatibility test is solved.
In an alternative embodiment, before the performing the compatibility test on the master test device 6 through the slave test device 7 electrically connected to the target interface, the method further includes: and judging whether the target interface is connected with the slave test equipment 7.
The judging whether the target interface is connected with the slave test device 7 includes: judging whether the corresponding mount of the slave test equipment 7 can be read through the target interface; if yes, indicating that the target interface is connected with the slave test equipment 7, and normally connecting the target interface with the slave test equipment 7; if not, stopping the compatibility test and sending out an alarm signal.
The compatibility test of the main test device 6 through the slave test device 7 electrically connected with the target interface comprises the following steps: and when the target interface is connected with the slave test equipment 7, performing compatibility test on the master test equipment 6 through the slave test equipment 7 electrically connected with the target interface.
By judging the connection state of the target interface and the slave test equipment 7, the accuracy of the compatibility test can be ensured, and the situation that the test result is incompatible between the master test equipment 6 and the slave test equipment 7 due to the fact that the target interface and the slave test equipment 7 are not connected normally is avoided.
In an optional embodiment, the method further comprises: acquiring attribute information of the main test equipment 6; determining a power supply mode among the test board 1, the master test device 6 and the slave test device 7 according to the attribute information of the master test device 6, wherein the power supply mode includes: the first power supply mode and the second power supply mode. Therefore, the phenomenon that the compatibility test cannot be completed due to the power failure of the main test equipment 6 or/and the power failure of the auxiliary test equipment 7 under the condition that the power supply port of the main test equipment 6 is occupied because both the main test equipment 6 and the auxiliary test equipment 7 cannot be charged can be avoided; and further, the compatibility of the compatibility testing device with the main testing equipment 6 is enlarged.
In a third aspect, this embodiment provides a compatibility testing method, which is applied to the compatibility testing apparatus described above, and with reference to fig. 4, the method includes steps S201 to S209:
step S201: and acquiring the attribute information of the main test equipment 6.
Step S202: and determining a power supply mode among the test board 1, the main test equipment 6 and the auxiliary test equipment 7 according to the attribute information of the main test equipment 6.
Step S203: the control information is received via the control interface 2.
Step S204: and determining the target interface according to the control information.
Step S205: and judging whether the main test equipment 6 is in the identification mode, if not, executing the step S206 or the step S208, and if so, executing the step S207.
In this embodiment, if no, step S206 is executed as an example.
Step S206: adjusting the main test device 6 so that the main test device 6 is in the recognition mode, and executing step S207.
Step S207: and judging whether the target interface is connected with the slave testing equipment 7, if so, executing step S209, and if not, executing step S208.
Step S208: the test was stopped.
Step S209: the master test device 6 is subjected to a compatibility test by a slave test device 7 electrically connected to the target interface.
In a fourth aspect, the present embodiment provides a compatibility testing system 300, and with reference to fig. 5, the compatibility testing system 300 is applied to the compatibility testing apparatus described above, and is used to implement the compatibility testing method in the second aspect or the third aspect. The compatibility test system 300 includes:
a receiving module 301 configured to receive the control information through the control interface 2;
a first determining module 302 configured to determine the target interface according to the control information;
a communication module 303 configured to communicate the first connection port 4 with the target port;
a test module 304 configured to perform a compatibility test on the master test device 6 through the slave test device 7 electrically connected to the target interface.
In an optional embodiment, the compatibility testing system 300 further includes:
a first determining module, configured to determine whether the main testing device 6 is in an identification mode before the compatibility test on the main testing device 6 is performed through the slave testing device 7 electrically connected to the target interface, and if not, adjust the main testing device 6 in the identification mode.
In an optional embodiment, the compatibility testing system 300 further includes:
a second judging module, configured to judge whether the slave test device 7 is connected to the target interface before the master test device 6 is subjected to a compatibility test by the slave test device 7 electrically connected to the target interface;
the test module 304 is further configured to perform a compatibility test on the master test device 6 through the slave test device 7 electrically connected to the target interface when the slave test device 7 is connected to the target interface.
In an optional embodiment, the compatibility testing system 300 further includes:
an acquisition module configured to acquire attribute information of the main test device 6;
a second determining module, configured to determine, according to the attribute information of the master test device 6, a power supply manner among the test board 1, the master test device 6, and the slave test device 7, where the power supply manner includes: the first power supply mode and the second power supply mode.
The compatibility testing system 300 can control the communication relationship between the first connecting port 4 and the at least two second connecting ports 5 through the testing board 1, so that the automatic switching of the communication relationship between the main testing device 6 and the plurality of slave testing devices 7 is realized, and the efficiency of the compatibility testing is improved.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. A compatibility testing apparatus, comprising: the device comprises a test board, a control interface, a first connecting interface and at least two second connecting interfaces;
the control interface, the first connecting interface and the at least two second connecting interfaces are electrically connected with the test board respectively;
the control interface is used for receiving control information;
the first connecting port is used for connecting main test equipment;
the at least two second connecting ports are used for connecting at least two slave testing devices;
the test board is used for controlling the first connecting port to be communicated with a target port according to the control information so as to test the compatibility of the main test equipment and the auxiliary test equipment, and the target port is one of the at least two second connecting ports.
2. The compatibility test device of claim 1, wherein the test board comprises: the control module and at least one signal control switching module;
the control module is electrically connected with the at least one signal control switching module, and the first connecting port is electrically connected with the at least two second connecting ports through the at least one signal control switching module;
the control module is used for controlling the at least one signal control switching module so as to adjust the communication relation between the first connecting port and the at least two second connecting ports.
3. The compatibility test device of claim 2, further comprising: a first indicator light set;
the first indicator lamp group is electrically connected with the at least one signal control switching module;
the first indicating lamp group is used for indicating the on-off state of the at least one signal control switching module.
4. The compatibility testing device of claim 1, wherein said test board further comprises: a test switching module;
the test switching module is electrically connected with the first connecting port;
the test switching module is used for switching the main test equipment between an identification mode and a standby mode through the first connecting port;
the test board is used for controlling the first connecting port to be communicated with one of the at least two second connecting ports according to the control information when the main test equipment is in the identification mode so as to test the compatibility of the main test equipment and the auxiliary test equipment;
the test board is also used for stopping the compatibility test of the master test equipment and the slave test equipment when the master test equipment is in a standby mode.
5. The compatibility testing device of claim 1, wherein said test board further comprises: a power supply switching module;
the power supply switching module is electrically connected with the first connecting port and the at least two second connecting ports;
the power supply switching module is used for switching the at least two second connectors between a first power supply mode and a second power supply mode;
the test board is used for controlling the main test equipment to supply power to the auxiliary test equipment when the second connector is in a first power supply mode;
the test board is further used for supplying power to the slave test equipment or supplying power to the master test equipment and the slave test equipment when the second connection port is in a second power supply mode.
6. The compatibility test device of claim 1, further comprising: a second indicator light set;
the second indicator lamp group is electrically connected with the at least two second connecting ports;
the second indicating lamp group is used for indicating the connection state of the at least two second connecting ports and the slave testing equipment.
7. The compatibility testing device of claim 6, wherein the first connection port and the second connection port are both USB interfaces;
the test board is used for controlling the first connecting port to be communicated with one of the at least two second connecting ports according to the control information so as to test the OTG compatibility of the master test equipment and the slave test equipment.
8. A compatibility test method applied to the compatibility test apparatus of any one of claims 1 to 7, the method comprising:
receiving the control information through the control interface;
determining the target interface according to the control information;
communicating the first connection port with the target port;
and performing compatibility test on the main test equipment through the auxiliary test equipment electrically connected with the target interface.
9. The compatibility test method of claim 8, wherein prior to said compatibility testing of a master test device by a slave test device electrically connected to said target interface, said method further comprises:
and judging whether the main test equipment is in the identification mode, if not, adjusting the main test equipment in the identification mode.
10. The compatibility test method of claim 8, wherein prior to said compatibility testing of a master test device by a slave test device electrically connected to said target interface, said method further comprises:
judging whether the target interface is connected with a slave test device or not;
the performing compatibility test on the main test device through the slave test device electrically connected with the target interface includes: and when the target interface is connected with the slave test equipment, performing compatibility test on the master test equipment through the slave test equipment electrically connected with the target interface.
11. The compatibility test method of claim 8, further comprising:
acquiring attribute information of the main test equipment;
determining a power supply mode among the test board, the master test device and the slave test device according to the attribute information of the master test device, wherein the power supply mode comprises the following steps: the first power supply mode and the second power supply mode.
12. A compatibility test system applied to the compatibility test apparatus according to any one of claims 1 to 7, the system comprising:
a receiving module configured to receive the control information through the control interface;
a first determination module configured to determine the target interface according to the control information;
a connectivity module configured to communicate the first connection interface with the target interface;
and the testing module is configured to perform compatibility testing on the main testing equipment through the auxiliary testing equipment electrically connected with the target interface.
13. The compatibility testing system of claim 12, further comprising:
the first judging module is configured to judge whether the main testing equipment is in an identification mode or not before the compatibility test is performed on the main testing equipment through the auxiliary testing equipment electrically connected with the target interface, and if not, the main testing equipment is adjusted to be in the identification mode.
14. The compatibility testing system of claim 12, further comprising:
the second judging module is configured to judge whether the target interface is connected with the slave testing equipment or not before the master testing equipment is subjected to compatibility testing through the slave testing equipment electrically connected with the target interface;
the test module is further configured to perform compatibility test on the master test device through the slave test device electrically connected with the target interface when the target interface is connected with the slave test device.
15. The compatibility testing system of claim 12, further comprising:
an acquisition module configured to acquire attribute information of the main test device;
a second determining module, configured to determine a power supply manner among the test board, the master test device, and the slave test device according to the attribute information of the master test device, where the power supply manner includes: the first power supply mode and the second power supply mode.
CN202110707675.XA 2021-06-24 2021-06-24 Compatibility testing device, compatibility testing method and system Pending CN113419911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110707675.XA CN113419911A (en) 2021-06-24 2021-06-24 Compatibility testing device, compatibility testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110707675.XA CN113419911A (en) 2021-06-24 2021-06-24 Compatibility testing device, compatibility testing method and system

Publications (1)

Publication Number Publication Date
CN113419911A true CN113419911A (en) 2021-09-21

Family

ID=77716614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110707675.XA Pending CN113419911A (en) 2021-06-24 2021-06-24 Compatibility testing device, compatibility testing method and system

Country Status (1)

Country Link
CN (1) CN113419911A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792239A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 SIM (Subscriber Identity Module) card compatibility test system and control method thereof
CN106407068A (en) * 2015-07-30 2017-02-15 华为终端(东莞)有限公司 A device automatically controlling connection and disconnection of USB cables and a testing method
CN109324246A (en) * 2018-09-28 2019-02-12 惠州市德赛西威汽车电子股份有限公司 A kind of Auto-Test System and method of testing mobile phone charging compatibility
US20190114242A1 (en) * 2017-10-12 2019-04-18 Getac Technology Corporation Usb-testing method and testing fixture board for usb device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792239A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 SIM (Subscriber Identity Module) card compatibility test system and control method thereof
CN106407068A (en) * 2015-07-30 2017-02-15 华为终端(东莞)有限公司 A device automatically controlling connection and disconnection of USB cables and a testing method
US20190114242A1 (en) * 2017-10-12 2019-04-18 Getac Technology Corporation Usb-testing method and testing fixture board for usb device
CN109324246A (en) * 2018-09-28 2019-02-12 惠州市德赛西威汽车电子股份有限公司 A kind of Auto-Test System and method of testing mobile phone charging compatibility

Similar Documents

Publication Publication Date Title
KR101374638B1 (en) Mobile device auto detection apparatus and method
CN102692987B (en) Electronic apparatus and electronic apparatus system
CN104917016B (en) Rechargeable hub
CN102437623B (en) Adapter, terminal device, USB (universal serial bus) connection device and charging base station
CN202134745U (en) Multifunctional USB OTG data line
CN102929821B (en) Electronic equipment and electronic apparatus system
CN103530250A (en) Portable electronic device and accessory device thereof, and operating method for the portable electronic device
CN108599530A (en) A kind of powering mode converter and powering mode conversion method
CN202872142U (en) Multifunctional USB (Universal Serial Bus) data line
CN112763893A (en) Mainboard test system and method of intelligent terminal
CN102779109A (en) I/O module with power-uninterruptible USB port
US10481576B2 (en) Method and device for implementing connection control
CN102544919B (en) Cable
CN113419911A (en) Compatibility testing device, compatibility testing method and system
CN217213685U (en) Debugging device and debugging system of data storage equipment
CN101359836B (en) Self-switching charging circuit
US11449121B2 (en) Product detection device, product detection system and product detection method applied thereto
CN114355815A (en) Controller, control system and communication method of controller
CN111400220A (en) Cable and method of use thereof
CN207098196U (en) Socket
CN217467658U (en) PCIE keysets
CN114372013B (en) USB interface expansion circuit and terminal
TWI780394B (en) Data cable for fast charging
CN219960177U (en) Charging device
CN114895968B (en) Server maintenance method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210921

RJ01 Rejection of invention patent application after publication