Test equipment and test system

By designing a test equipment including circuit board, communication interface, relay module, main control module and test module, the problems of low efficiency and poor accuracy of performance testing of audio interfaces in the existing technology are solved, and automated testing of multiple sets of audio interfaces is realized, and testing efficiency and accuracy are improved.

CN222965668UActive Publication Date: 2025-06-10LCFC HEFEI ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421712372.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2025-06-10
Estimated Expiration
2034-07-18

AI Technical Summary

Technical Problem

In the prior art, the performance testing of audio interfaces of terminals such as desktop computers requires manual plugging and unplugging of headphone cables one by one, which is inefficient and difficult to guarantee, and there is a lack of automated testing solutions.

Method used

A test equipment is designed, including circuit board, communication interface, relay module, main control module and test module. The relay module controls the connection or disconnection of the test module, forming multiple sets of test loops to realize automated testing of the terminal interface to be tested.

Benefits of technology

It realizes automated testing of multiple audio interfaces of terminals such as desktop computers, improves testing efficiency, ensures the accuracy of test results, and avoids the inefficiency and inaccuracy of manual testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222965668U_ABST
    Figure CN222965668U_ABST
Patent Text Reader

Abstract

The utility model provides a test device and a test system, the test device comprises a circuit board, a communication interface, a relay module, a master control module and a test module, the communication interface, the relay module, the master control module and the test module are all arranged on the circuit board, the communication interface is electrically connected with the master control module through the circuit board, and the test module is electrically connected with the relay module. The main control module is electrically connected with the relay module through the circuit board, the relay module is electrically connected with the test module through the circuit board, and the communication interface is in communication connection with a to-be-tested terminal; the test module is connected with a terminal to be tested through a double-end wire. The communication interface is used for transmitting a received test instruction of a to-be-tested terminal to the main control module; the main control module is used for controlling the opening and closing of the relay module based on the test instruction; the relay module is used for controlling connection or disconnection of the test module; and the test module is used for forming a test loop with the to-be-tested module of the to-be-tested terminal in the connected state. Automatic testing of the to-be-tested terminal interface can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of testing, in particular to a testing device and a testing system. Background Art

[0002] Before leaving the factory, terminals such as desktop computers usually test the performance of their audio interfaces to ensure the quality of the desktop computers when leaving the factory. However, due to the large number of audio interfaces of desktop computers, the related technology can only manually plug and unplug each group of audio interfaces one by one by using a headphone cable, and manually judge whether the audio data flowing through the audio interface is abnormal, so as to judge whether the performance of the audio interface of the desktop computer is abnormal. This solution not only has low testing efficiency, but also is difficult to ensure the accuracy of the test. Therefore, how to realize the automatic testing of the interfaces of terminals (such as desktop computers) has become a technical problem to be solved urgently. Summary of the Utility Model

[0003] The utility model provides a testing device and a testing system to at least solve the above technical problems existing in the prior art.

[0004] According to the first aspect of the utility model, a testing device is provided. The testing device includes: a circuit board, a communication interface, a relay module, a main control module and a testing module. The communication interface, the relay module, the main control module and the testing module are all arranged on the circuit board. The communication interface is electrically connected to the main control module through the circuit board. The main control module is electrically connected to the relay module through the circuit board. The relay module is electrically connected to the testing module through the circuit board. The communication interface is communicatively connected to a terminal to be tested; the testing module is connected to the terminal to be tested through a double-headed wire;

[0005] Wherein, the communication interface is used for transmitting a test instruction to the main control module when receiving a test instruction of the terminal to be tested;

[0006] The main control module is used for controlling the opening and closing of the relay module based on the received test instruction;

[0007] The relay module is used for controlling the connection or disconnection of the testing module;

[0008] The testing module is used for forming a test loop with a module to be tested of the terminal to be tested in a connected state.

[0009] In an implementable embodiment, the relay module includes a first relay, a second relay, and a third relay, and the test module includes a first test interface module, a second test interface module, and a third test interface module; the first relay is electrically connected to the first test interface module and is configured to adjust the state of the first test interface module to a connected state in a closed state, the second relay is electrically connected to the second test interface module and is configured to adjust the state of the second test interface module to a connected state in a closed state, and the third relay is electrically connected to the third test interface module and is configured to adjust the state of the third test interface module to a connected state in a closed state.

[0010] In an implementable embodiment, the first test interface module is configured to form a first test loop with a module under test of a terminal under test in a connected state, the second test interface module is configured to form a second test loop with the module under test of the terminal under test in a connected state, and the third test interface module is configured to form a third test loop with the module under test of the terminal under test in a connected state.

[0011] In an implementable embodiment, the first test interface module includes a first input interface module and a first output interface module, the first input interface module is electrically connected to the first output interface module, and the first input interface module is configured to receive first test data from the terminal under test for the first test loop and transmit the first test data to the first output interface module.

[0012] In an implementable embodiment, the first output interface module is configured to transmit the received first test data back to the terminal under test via the first test loop for the terminal under test to perform an anomaly test based on the transmitted-back first test data.

[0013] In an implementable embodiment, the second test interface module includes a first input interface module and a second output interface module, the first input interface module is electrically connected to the second output interface module, and the first input interface module is configured to receive second test data from the terminal under test for the second test loop and transmit the second test data to the second output interface module.

[0014] In an implementable embodiment, the second output interface module is configured to transmit the received second test data back to the terminal under test via the second test loop for the terminal under test to perform an anomaly test based on the transmitted-back second test data.

[0015] In an implementable embodiment, the third test interface module includes a second input interface module and a third output interface module. The second input interface module is electrically connected to the third output interface module. The second input interface module is configured to receive third test data from the terminal under test for a third test loop, and transmit the third test data to the third output interface module.

[0016] In an implementable embodiment, the third output interface module is configured to transmit the received third test data back to the terminal under test via the third test loop, so that the terminal under test can perform an anomaly test based on the transmitted-back third test data.

[0017] According to a second aspect of the present invention, there is provided a test system, which includes the above-mentioned test device and the terminal under test. The test device is connected to the terminal under test through a communication interface. The terminal under test includes a module under test and a display module. The module under test is electrically connected to the display module. The module under test includes a fourth test interface module, a fifth test interface module, and a sixth test interface module. The fourth test interface module is configured to form a first test loop with the first test interface module of the test device through a double-headed wire. The fifth test interface module is configured to form a second test loop with the second test interface module of the test device through a double-headed wire. The sixth test interface module is configured to form a third test loop with the third test interface module of the test device through a double-headed wire. The module under test is configured to perform an anomaly test on the interfaces based on the first test loop, the second test loop, and the third test loop, and transmit the anomaly test result to the display module. The display module is configured to display the anomaly test result.

[0018] The test device of the present invention includes: a circuit board, a communication interface, a relay module, a main control module, and a test module. The communication interface, the relay module, the main control module, and the test module are all disposed on the circuit board. The communication interface is electrically connected to the main control module through the circuit board. The main control module is electrically connected to the relay module through the circuit board. The relay module is electrically connected to the test module through the circuit board. The communication interface is communicatively connected to the terminal under test. The test module is connected to the terminal under test through a double-headed wire. The communication interface is configured to transmit the received test instruction of the terminal under test to the main control module. The main control module is configured to control the opening and closing of the relay module based on the test instruction. The relay module is configured to control the connection or disconnection of the test module. The test module is configured to form a test loop with the module under test of the terminal under test in a connected state. Compared with the related art, the present invention does not require manual participation in the anomaly test of the interfaces of the terminal under test, avoids the problems of low test efficiency and inaccurate testing, and can achieve automated testing for the interfaces of the terminal under test.

[0019] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present utility model, nor is it used to limit the scope of the present utility model. Other features of the present utility model will become easily understandable through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] By referring to the accompanying drawings and reading the following detailed description, the above and other objects, features, and advantages of the exemplary embodiments of the present utility model will become easily understandable. In the drawings, several embodiments of the present utility model are shown in an exemplary rather than restrictive manner, wherein:

[0021] In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.

[0022] Figure 1 FIG. shows the overall composition structure diagram of the test device according to an embodiment of the present utility model;

[0023] Figure 2 FIG. shows the specific composition structure diagram of the test device according to an embodiment of the present utility model;

[0024] Figure 3 FIG. shows the current supply direction diagram of the test device according to an embodiment of the present utility model;

[0025] Figure 4 FIG. shows the working process diagram of a part of the composition of the test device according to an embodiment of the present utility model;

[0026] Figure 5 FIG. shows the specific composition structure diagram of the test system according to an embodiment of the present utility model. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0027] In order to make the objects, features, and advantages of the present utility model more obvious and understandable, the technical solutions in the embodiments of the present utility model will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present utility model.

[0028] Figure 1 FIG. is the overall composition structure diagram of the test device provided for the embodiment of the present utility model, as Figure 1As shown in the figure, the test device includes: a circuit board 10, a communication interface 11, a relay module 12, a main control module 13, and a test module 14. The communication interface 11, the relay module 12, the main control module 13, and the test module 14 are all arranged on the circuit board 10. The communication interface 11 is electrically connected to the main control module 13 through the circuit board 10. The main control module 13 is electrically connected to the relay module 12 through the circuit board 10. The relay module 12 is electrically connected to the test module 14 through the circuit board 10. The communication interface 11 is communicatively connected to the terminal under test; the test module 14 is connected to the terminal under test through a double-headed wire;

[0029] Among them, the communication interface 11 is used to transmit the test instruction to the main control module 13 when receiving the test instruction from the terminal under test;

[0030] The main control module 13 is used to control the opening and closing of the relay module 12 based on the received test instruction;

[0031] The relay module 12 is used to control the connection or disconnection of the test module 14;

[0032] The test module 14 is used to form a test loop with the module under test of the terminal under test in the connected state.

[0033] In this embodiment, the circuit board 10 is a substrate for supporting and connecting various electronic components to perform electrical connection and signal transmission. The circuit board 10 can be a PCB (Printed Circuit Board), an FPC (Flexible Printed Circuit), or other circuit boards, and this embodiment does not make specific limitations thereto. The communication interface 11, the relay module 12, the main control module 13, and the test module 14 are all disposed on the circuit board 10. The communication interface 11 is electrically connected to the main control module 13 through the circuit board 10, the main control module 13 is electrically connected to the relay module 12 through the circuit board 10, and the relay module 12 is electrically connected to the test module 14 through the circuit board 10. The communication interface 11 is communicatively connected to the terminal under test; the test module 14 is connected to the terminal under test through a double-headed wire; wherein, the communication interface 11 can be an RS (recommended standard) 232 interface, and the terminal under test is a desktop terminal to be subjected to audio interface performance testing, such as a desktop computer. The communication interface 11 can be connected to the USB (Universal Serial Bus) interface of the terminal under test through an RS232 line to achieve communication between the test device and the terminal under test. The communication interface 11 is configured to transmit the test instruction to the main control module 13 when receiving the test instruction of the terminal under test through the RS232 line. The main control module 13 can specifically be an AT89S main control, and is configured to control the opening and closing of the relay module 12 based on the received test instruction. The relay module 12 includes a plurality of relays, specifically 3 relays. Each relay in the relay module 12 has a predefined corresponding protocol, and the main control module 13 can control the opening or closing of each relay in the relay module 12 according to the received test instruction (or protocol). Exemplarily, when the test instruction (or protocol) received by the main control module 13 is the corresponding protocol for the first relay in the relay module 12, the main control module 12 controls the first relay in the relay module 12 to close, and the other relays to open. In this embodiment, the test module 14 includes 5 audio interfaces, and the 5 audio interfaces can form three groups of interface combinations. The terminal under test (such as a desktop computer) also includes 5 audio interfaces, and the 5 audio interfaces can also form three groups of interface combinations. It can be understood that a terminal under test such as a desktop computer usually includes 5 audio interfaces A to E. Among them, A to C are arranged in one position, and D and E are arranged in one position. The 5 audio interfaces usually include 2 input interfaces C and D. A, B, and E are all output interfaces. The 5 audio interfaces can form three interface combinations: A and C, B and C, and D and E. Each of the three combinations includes an input interface and an output interface to form a loop. In the related art, usually, manual headphone plugging and unplugging are used to perform audio tests on the three groups of combined loops one by one, so as to determine whether the audio interface of the terminal under test is normal.However, this solution not only has low efficiency, but also it is difficult to guarantee the accuracy. In the embodiments of the present utility model, the test module 14 of the test device is connected to the terminal to be tested through a double-headed wire. Specifically, the 5 audio interfaces in the test module 14 are connected to the 5 audio interfaces of the terminal to be tested one by one, forming three groups of test circuits. The connection or disconnection of the test module 14 is controlled by the relay module 12. The three groups of interface combinations in the test module 14 respectively correspond to different relays. Exemplarily, when the first relay in the relay module 12 is closed, the first interface combination in the test module 14 is controlled to be connected. Then, in the connected state, the first interface combination in the test module 14 can form a test circuit with the module to be tested of the terminal to be tested. For the module to be tested of the terminal to be tested, please refer to the detailed description in the relevant parts below and will not be elaborated.

[0034] Compared with the related art, the test device of the present utility model does not require manual participation in the abnormal test of the interfaces of the terminal to be tested. It only needs to connect the test device to the terminal to be tested and control the connection of the test module (specifically, the test circuit) through the switching of the relay, so as to realize the test of the three groups of interface combinations of the terminal to be tested, avoiding the problems of low efficiency and inaccurate test in manual testing, and being able to realize the automated test for the interfaces of the terminal to be tested.

[0035] In an implementable embodiment, the relay module 12 includes a first relay 121, a second relay 122 and a third relay 123, and the test module 14 includes a first test interface module 141, a second test interface module 142 and a third test interface module 143. The first relay 121 is electrically connected to the first test interface module 141 and is used to adjust the state of the first test interface module 141 to the connected state in the closed state. The second relay 122 is electrically connected to the second test interface module 142 and is used to adjust the state of the second test interface module 142 to the connected state in the closed state. The third relay 123 is electrically connected to the third test interface module 143 and is used to adjust the state of the third test interface module 143 to the connected state in the closed state.

[0036] Reference Figure 2As shown, the relay module 12 includes three relays as described above, namely the first relay 121, the second relay 122, and the third relay 123. The test module 14 includes three groups of interface combinations as described above, namely the first test interface module 141, the second test interface module 142, and the third test interface module 143. The first relay 121 is electrically connected to the first test interface module 141. When the first relay 121 is in the closed state, the state of the first test interface module 141 is controlled to be the connected state. The second relay 122 is electrically connected to the second test interface module 142. When the second relay 122 is in the closed state, the state of the second test interface module 142 is controlled to be the connected state. The third relay 123 is electrically connected to the third test interface module 143. When the third relay 123 is in the closed state, the state of the third test interface module 143 is controlled to be the connected state. It can be understood that in combination with Figure 3 and Figure 4 As shown, the test device realizes 5V (volt) voltage power supply through the communication interface 11 connected to the terminal under test. Then, the voltage is respectively input in parallel to the first relay 121, the second relay 122, the third relay 123, and the main control module 13. The terminal under test sends a test instruction (or protocol) to the main control module 13 through the communication interface 11. The sent test instruction can be a connection protocol for the first test interface module 141, or a connection protocol for the second test interface module 142, or a connection protocol for the third test interface module 143. When the test instruction is a connection protocol for the first test interface module 141, the main control module 13 sends the protocol to the first relay 121. After receiving the protocol, the first relay 121 conducts with a high level to close and sends a signal to the first test interface module 141 to control the state of the first test interface module 141 to be the connected state. When the test instruction is a connection protocol for the second test interface module 142, the main control module 13 sends the protocol to the second relay 122. After receiving the protocol, the second relay 122 conducts with a high level to close and sends a signal to the second test interface module 142 to control the state of the second test interface module 142 to be the connected state. When the test instruction is a connection protocol for the third test interface module 143, the main control module 13 sends the protocol to the third relay 123. After receiving the protocol, the third relay 123 conducts with a high level to close and sends a signal to the third test interface module 143 to control the state of the third test interface module 143 to be the connected state.

[0037] In an implementable embodiment, the first test interface module 141 is configured to form a first test loop with a to-be-tested module of a to-be-tested terminal in a connected state, the second test interface module 142 is configured to form a second test loop with the to-be-tested module of the to-be-tested terminal in a connected state, and the third test interface module 143 is configured to form a third test loop with the to-be-tested module of the to-be-tested terminal in a connected state.

[0038] In this embodiment, the first test interface module 141 can form a first test loop with the to-be-tested module of the to-be-tested terminal in a connected state. The first test loop is used to perform a performance anomaly test on the first group of interfaces in the three groups of interface combinations of the to-be-tested terminal as described above. The second test interface module 142 can form a second test loop with the to-be-tested module of the to-be-tested terminal in a connected state. The second test loop is used to perform a performance anomaly test on the second group of interfaces in the three groups of interface combinations of the to-be-tested terminal as described above. The third test interface module 143 can form a third test loop with the to-be-tested module of the to-be-tested terminal in a connected state. The third test loop is used to perform a performance anomaly test on the third group of interfaces in the three groups of interface combinations of the to-be-tested terminal as described above.

[0039] In an implementable embodiment, the first test interface module 141 includes a first input interface module 1411 and a first output interface module 1412. The first input interface module 1411 is electrically connected to the first output interface module 1412. The first input interface module 1411 is configured to receive first test data from the to-be-tested terminal for the first test loop and transmit the first test data to the first output interface module 1412.

[0040] After the to-be-tested terminal sends a test instruction to the main control module 13 through the communication interface 11, the main control module 13 controls the first relay 121 to close based on the test instruction. The first relay 121 adjusts the first test interface module 141 to a connected state. After the first test interface module 141 forms a first test loop with the to-be-tested module of the to-be-tested terminal in the connected state, the first test interface module 141 feeds back the current state, that is, the first test interface module 141 feeds back the status information to the first relay 121. The first relay 121 feeds back the status information to the main control module 13, and the main control module 13 feeds back the status information to the to-be-tested terminal. At this time, the to-be-tested terminal determines that the first test loop has been connected, and sends the first test data for testing for the first test loop. Combine Figure 2As shown, in this embodiment, the first test interface module 141 includes a first input interface module 1411 and a first output interface module 1412. It can be understood that when the first test interface module 141 forms a first test loop with the module under test of the terminal under test in the connected state, from the foregoing content, the 5 audio interfaces of the terminal under test are connected to the 5 audio data interfaces of the test device one-to-one through double-headed wires. Assume that the first input interface module 1411 included in the first test interface module 141 is C1, and the first output interface module 1412 included is A1. For the first group of interface combinations A and C of the terminal under test as described above, interface A is connected to interface A1 of the test device, and interface C is connected to interface C1 of the test device. Since both interface A and interface C and interface A1 and interface C1 include an input interface and an output interface, the first test loop can be C→C1→A1→A. The terminal under test sends the first test data (specifically audio data) for the first test loop to interface C. Interface C transmits the first test data to the first input interface module 1411 (C1) through the double-headed wire. The first input interface module 1411 receives the first test data from the terminal under test for the first test loop and transmits the first test data to the first output interface module 1412 (A1).

[0041] In an implementable manner, the first output interface module 1412 is configured to return the received first test data to the terminal under test through the first test loop for the terminal under test to perform an anomaly test based on the returned first test data.

[0042] In this embodiment, as described above, in the first test loop C→C1→A1→A, after the first input interface module 1411 (C1) transmits the first test data to the first output interface module 1412 (A1), the first output interface module 1412 returns the received first test data to the terminal under test (the output interface A of the first group of interface combinations) through the first test loop for the terminal under test to perform an anomaly test based on the returned first test data. It can be understood that in this embodiment, the first test loop is used to return the first test data from the input interface of the terminal under test to the output interface of the terminal under test. In this way, the terminal under test can compare the input data and the output data through a software program to determine whether the first group of audio interfaces of the terminal under test is abnormally performing. This embodiment uses the first test loop to replace the related technology of manually plugging and unplugging the audio interfaces by hand and using the human ear to judge whether there is a difference between the input and output audio data, and then determine whether the first group of audio interfaces of the terminal under test is performing normally, realizing the automated test of the performance of the audio interfaces of the terminal under test.

[0043] In an implementable embodiment, the second test interface module 142 includes a first input interface module 1411 and a second output interface module 1421. The first input interface module 1411 is electrically connected to the second output interface module 1421. The first input interface module 1411 is configured to receive second test data from the terminal under test for the second test loop and transmit the second test data to the second output interface module 1421.

[0044] In this embodiment, as shown in combination with Figure 2 Similar to the foregoing first test loop, for the second set of interface combinations B and C of the terminal under test as described above, assume that the first input interface module 1411 included in the second test interface module 142 is C1 and the second output interface module 1421 is B1. Interface B is connected to interface B1 of the test device, and interface C is connected to interface C1 of the test device. Since both interface B and interface C and interface B1 and interface C1 each include an input interface and an output interface, the second test loop can be C→C1→B1→B. The terminal under test sends second test data (specifically, audio data) for the second test loop to interface C. Interface C transmits the second test data to the first input interface module 1411 (C1) through a double-headed wire. The first input interface module 1411 receives the first test data from the terminal under test for the first test loop and transmits the first test data to the second output interface module 1421 (B1). Since the working process of the second test loop is similar to that of the first test loop, for the specific content of the second test loop, please refer to the detailed description of the first test loop and will not be elaborated here.

[0045] In an implementable embodiment, the second output interface module 1421 is configured to return the received second test data to the terminal under test via the second test loop for the terminal under test to perform an anomaly test based on the returned second test data.

[0046] As described above, in the second test loop C→C1→B1→B, after the first input interface module 1411 (C1) transmits the first test data to the second output interface module 1421 (B1), the second output interface module 1421 transmits the received second test data back to the DUT (the output interface B of the second set of interface combinations) via the second test loop, so that the DUT can perform an anomaly test based on the transmitted second test data. It can be understood that in this embodiment, the second test loop is used to transmit the second test data from the input interface of the DUT back to the output interface of the DUT. In this way, the DUT can compare the input data and the output data through a software program to determine whether the second set of audio interfaces of the DUT is abnormal in performance. This embodiment uses the second test loop to replace the related technology of manually plugging and unplugging the audio interface by hand and using the human ear to judge whether there is a difference between the input and output audio data, and then determine whether the second set of audio interfaces of the DUT is normal in performance, realizing an automated test of the audio interface performance of the DUT.

[0047] In an implementable manner, the third test interface module 143 includes a second input interface module 1431 and a third output interface module 1432. The second input interface module 1431 is electrically connected to the third output interface module 1432. The second input interface module 1431 is configured to receive third test data from the DUT for the third test loop and transmit the third test data to the third output interface module 1432.

[0048] In this embodiment, in combination with Figure 2 As shown, similar to the foregoing first test loop, for the third set of interface combinations D and E of the DUT as described above, assume that the second input interface module 1431 included in the third test interface module 143 is D1, and the third output interface module 1432 is E1. Interface D is connected to interface D1 of the test device, and interface E is connected to interface E1 of the test device. Since both interface D and interface E and interface D1 and interface E1 include an input interface and an output interface, the third test loop can be D→D1→E1→E. The DUT sends third test data (specifically audio data) for the third test loop to interface D. Interface D transmits the third test data to the second input interface module 1431 (D1) via a double-headed wire. The second input interface module 1431 receives the third test data from the DUT for the third test loop and transmits the third test data to the third output interface module 1432 (E1). Since the working process of the third test loop is similar to that of the first test loop, for the relevant content of the third test loop, please refer to the detailed description of the first test loop and will not be elaborated here.

[0049] In an implementable embodiment, the third output interface module 1432 is configured to transmit the received third test data back to the terminal under test via the third test loop, so that the terminal under test can perform an anomaly test based on the transmitted third test data.

[0050] As described above, in the third test loop D→D1→E1→E, after the second input interface module 1431 (D1) transmits the third test data to the third output interface module 1432 (E1), the third output interface module 1432 transmits the received third test data back to the terminal under test (the output interface E of the third set of interface combinations) via the third test loop, so that the terminal under test can perform an anomaly test based on the transmitted third test data. It can be understood that in this embodiment, the third test data from the input interface of the terminal under test is transmitted back to the output interface of the terminal under test via the third test loop. In this way, the terminal under test can compare the input data and the output data through a software program, so as to determine whether the third set of audio interfaces of the terminal under test is abnormal in performance. This embodiment uses the third test loop to replace the related technology of manually plugging and unplugging the audio interface by hand and using the human ear to judge whether there is a difference between the input and output audio data, and then determine whether the third set of audio interfaces of the terminal under test is normal in performance, realizing the automatic test of the performance of the audio interfaces of the terminal under test.

[0051] Figure 5 This is a schematic structural diagram of a test system provided by an embodiment of the present invention. As Figure 5 shown, the test system includes a test device 51 and a terminal under test 52. The test device 51 is connected to the terminal under test 52 through a communication interface 11. The terminal under test 52 includes a module under test 521 and a display module 522. The module under test 521 is electrically connected to the display module 522. The module under test 521 includes a fourth test interface module 5211, a fifth test interface module 5212, and a sixth test interface module 5213. The fourth test interface module 5211 is configured to form a first test loop with the first test interface module 141 of the test device 51 through a double-headed wire. The fifth test interface module 5212 is configured to form a second test loop with the second test interface module 142 of the test device 51 through a double-headed wire. The sixth test interface module 5213 is configured to form a third test loop with the third test interface module 143 of the test device 51 through a double-headed wire. The module under test 521 is configured to perform an anomaly test on the interfaces based on the first test loop, the second test loop, and the third test loop, and transmit the anomaly test result to the display module 522. The display module 522 is configured to display the anomaly test result.

[0052] In the embodiment of the present utility model, the test device 51 and the terminal under test 52 are connected by wires through the communication interface 11. The terminal under test 52 includes a module under test 521 and a display module 522. The module under test 521 includes a fourth test interface module 5211, a fifth test interface module 5212, and a sixth test interface module 5213. Among them, the fourth test interface module 5211 includes a fourth output interface module 52112 and a third input interface module 52111. The fifth test interface module 5212 includes a third input interface module 52111 and a fifth output interface module 52121. The sixth test interface module 5213 includes a fourth input interface module 52131 and a sixth output interface module 52132.

[0053] The fourth test interface module 5211 is used to form a first test loop with the first test interface module 141 of the test device 51 through a double-headed wire. Specifically, the fourth output interface module 52112 in the fourth test interface module 5211 is connected to the first output interface module 1412 in the first test interface module 141 through a double-headed wire, and the third input interface module 52111 in the fourth test interface module 5211 is connected to the first input interface module 1411 in the first test interface module 141 through a double-headed wire. The four interface modules form a first test loop.

[0054] The fifth test interface module 5212 is used to form a second test loop with the second test interface module 142 of the test device 51 through a double-headed wire. Specifically, the third input interface module 52111 in the fifth test interface module 5212 is connected to the first input interface module 1411 in the second test interface module 142 through a double-headed wire, and the fifth output interface module 52121 in the fifth test interface module 5212 is connected to the second output interface module 1421 in the second test interface module 142 through a double-headed wire. The four interface modules form a second test loop.

[0055] The sixth test interface module 5213 is used to form a third test loop with the third test interface module 143 of the test device 51 through a double-headed wire. Specifically, the fourth input interface module 52131 in the sixth test interface module 5213 is connected to the second input interface module 1431 in the third test interface module 143 through a double-headed wire, and the sixth output interface module 52132 in the sixth test interface module 5213 is connected to the third output interface module 1432 in the third test interface module 143 through a double-headed wire. The four interface modules form a third test loop.

[0056] The module under test 521 is used to perform abnormal testing on the interfaces based on the first test loop, the second test loop, and the third test loop, and transmit the abnormal test results to the display module 522. It can be understood that after the terminal under test 52 and the test device 51 are communicatively connected through the communication interface 11, the terminal under test 52 sends a handshake protocol to the test device 51. After receiving the handshake protocol, the test device 51 sends an acknowledgment receipt instruction to the terminal under test 52, and the handshake between the terminal under test 52 and the test device 51 is successful. Then, the module under test 521 in the terminal under test 52 performs abnormal testing on the performance of the audio interface. Specifically, when performing performance testing on the first group of audio interfaces, the module under test 521 obtains the first test data for the first test loop and obtains the relevant parameters of the first test data (audio data), such as sampling frequency, number of channels, noise number, etc. After performing a fast Fourier transform on the first test data and then converting it into a sine wave form through Euler's formula, it is input to the third input interface module 52111 in the first test loop, and the waveform data of the fourth output interface module 52112 that is looped back to the terminal under test 52 through the first test loop is obtained for its relevant parameters, such as sampling frequency, number of channels, noise number, etc. Comparing it with the relevant parameters of the first test data obtained before input, if the similarity reaches 80% or more, it can be determined that the performance of the first group of audio interfaces (the third input interface module 52111 and the fourth output interface module 52112) of the terminal under test 52 is normal.

[0057] When performing performance testing on the second group of audio interfaces, the module under test 521 obtains the second test data for the second test loop and obtains the relevant parameters of the second test data (audio data), such as sampling frequency, number of channels, noise number, etc. After performing a fast Fourier transform on the second test data and then converting it into a sine wave form through Euler's formula, it is input to the third input interface module 52111 in the second test loop, and the waveform data of the fifth output interface module 52121 that is looped back to the terminal under test 52 through the second test loop is obtained for its relevant parameters, such as sampling frequency, number of channels, noise number, etc. Comparing it with the relevant parameters of the second test data obtained before input, if the similarity reaches 80% or more, it can be determined that the performance of the second group of audio interfaces (the third input interface module 52111 and the fifth output interface module 52121) of the terminal under test 52 is normal.

[0058] When performing a performance test on the third group of audio interfaces, the module under test 521 acquires the third test data for the third test loop and obtains the relevant parameters of the third test data (audio data), such as sampling frequency, number of channels, noise level, etc. After performing a fast Fourier transform on the third test data, it is then converted into a sine waveform through Euler's formula and input into the fourth input interface module 52131 in the third test loop. For the waveform data that is looped back to the sixth output interface module 52132 of the terminal under test 52 through the third test loop, relevant parameters such as sampling frequency, number of channels, noise level, etc. are obtained. Comparing these with the relevant parameters of the third test data obtained before input, if the similarity reaches 80% or more, it can be determined that there is no abnormality in the performance of the third group of audio interfaces (the fourth input interface module 52131 and the sixth output interface module 52132) of the terminal under test 52.

[0059] When there is no abnormality in the performance of the three groups of audio interfaces of the terminal under test 52, the abnormality test result of the interfaces of the terminal under test 52 is that the interfaces are normal, and this abnormality test result is transmitted to the display module 522, which displays it. When there is at least one group of abnormal performance among the three groups of audio interfaces of the terminal under test 52, the abnormality test result of the interfaces of the terminal under test 52 is that the interfaces are abnormal, and this abnormality test result and the number of the abnormal audio interface are transmitted to the display module 522, which displays them for quality inspection or replacement of the abnormal audio interface.

[0060] The test system provided by the present utility model only needs to communicatively connect the test equipment with the terminal under test. Through the collaborative work of the test equipment and the terminal under test, it can complete the automated test process of five audio interfaces in three groups of the terminal under test, avoiding the problems of high complexity, low efficiency, and quality risks of missed inspection / misjudgment in the related technology tests, and realizing the automated test of the interfaces.

[0061] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in the present utility model can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in the present utility model can be achieved. No limitations are imposed herein.

[0062] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of the present utility model, "a plurality" means two or more, unless otherwise specifically defined.

[0063] The above are only specific embodiments of the present utility model, but the protection scope of the present utility model is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present utility model can easily think of changes or substitutions, which should all be covered within the protection scope of the present utility model. Therefore, the protection scope of the present utility model shall be subject to the protection scope of the claims described above.

Claims

1. A testing device, characterized in that: The test equipment comprises: a circuit board, a communication interface, a relay module, a main control module and a test module, wherein the communication interface, the relay module, the main control module and the test module are all arranged on the circuit board, the communication interface is electrically connected to the main control module through the circuit board, the main control module is electrically connected to the relay module through the circuit board, the relay module is electrically connected to the test module through the circuit board, the communication interface is communicatively connected to the terminal to be tested; the test module is connected to the terminal to be tested through a double-headed wire; Wherein, the communication interface is used to transmit the test instruction to the main control module when receiving the test instruction of the terminal to be tested; The main control module is used to control the opening and closing of the relay module based on the received test instruction; The relay module is used to control the connection or disconnection of the test module; The test module is used to form a test loop with the test module of the terminal to be tested in a connected state.

2. The test device according to claim 1, characterized in that The relay module includes a first relay, a second relay and a third relay, and the test module includes a first test interface module, a second test interface module and a third test interface module; the first relay is electrically connected to the first test interface module, and is used to adjust the state of the first test interface module to a connected state in a closed state, the second relay is electrically connected to the second test interface module, and is used to adjust the state of the second test interface module to a connected state in a closed state, and the third relay is electrically connected to the third test interface module, and is used to adjust the state of the third test interface module to a connected state in a closed state.

3. The testing device according to claim 2, characterized in that The first test interface module is used to form a first test loop with the module to be tested of the terminal to be tested in a connected state, the second test interface module is used to form a second test loop with the module to be tested of the terminal to be tested in a connected state, and the third test interface module is used to form a third test loop with the module to be tested of the terminal to be tested in a connected state.

4. The testing device according to claim 3, characterized in that The first test interface module includes a first input interface module and a first output interface module. The first input interface module is electrically connected to the first output interface module. The first input interface module is used to receive first test data for a first test loop from the terminal to be tested and transmit the first test data to the first output interface module.

5. The testing device according to claim 4, characterized in that The first output interface module is used to transmit the received first test data back to the terminal to be tested via the first test loop, so that the terminal to be tested can perform an abnormality test based on the transmitted first test data.

6. The testing device according to claim 4, characterized in that The second test interface module includes a first input interface module and a second output interface module. The first input interface module is electrically connected to the second output interface module. The first input interface module is used to receive second test data for the second test loop from the terminal to be tested and transmit the second test data to the second output interface module.

7. The testing device according to claim 6, characterized in that The second output interface module is used to transmit the received second test data back to the terminal under test via the second test loop, so that the terminal under test can perform an abnormality test based on the transmitted second test data.

8. The testing device according to claim 3 or 4, characterized in that: The third test interface module includes a second input interface module and a third output interface module, the second input interface module is electrically connected to the third output interface module, the second input interface module is used to receive the third test data for the third test loop from the terminal to be tested, and transmit the third test data to the third output interface module.

9. The testing device according to claim 8, characterized in that The third output interface module is used to transmit the received third test data back to the terminal to be tested via the third test loop, so that the terminal to be tested can perform an abnormality test based on the transmitted third test data.

10. A testing system, characterized in that: The test system includes a test device as described in any one of claims 1 to 9 and a terminal to be tested, wherein the test device and the terminal to be tested are connected via a communication interface; the terminal to be tested includes a module to be tested and a display module, wherein the module to be tested is electrically connected to the display module; the module to be tested includes a fourth test interface module, a fifth test interface module and a sixth test interface module, wherein the fourth test interface module is used to form a first test loop with a first test interface module of the test device via a double-ended wire; the fifth test interface module is used to form a second test loop with a second test interface module of the test device via a double-ended wire; the sixth test interface module is used to form a third test loop with a third test interface module of the test device via a double-ended wire; the module to be tested is used to perform an abnormality test on the interface based on the first test loop, the second test loop and the third test loop, and transmit the abnormality test result to the display module; the display module is used to display the abnormality test result.