Testing device and system

By designing an automated testing device, including a test host, control board, and on/off handset components, efficient and accurate testing of the gateway call function was achieved, solving the problems of low efficiency and insufficient accuracy in traditional testing.

CN223625912UActive Publication Date: 2025-12-02ANYSMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423269031.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-12-02
Estimated Expiration
2034-12-27

AI Technical Summary

Technical Problem

Traditional gateway call function testing is inefficient and inaccurate. Manual testing is time-consuming and cannot detect details such as tone audio rate composition and duty cycle.

Method used

Design a testing device including a test host, a control board, a telephone, and a handset assembly. The device automatically connects and disconnects telephone calls via mechanical means and achieves automated testing by combining a serial communication interface and a voice chip.

Benefits of technology

It improves testing efficiency, reduces labor costs, and enhances testing accuracy, enabling precise detection of details such as tone frequency composition and duty cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223625912U_ABST
    Figure CN223625912U_ABST
Patent Text Reader

Abstract

The utility model provides a testing device and system. The testing device comprises a testing host, a control panel, a telephone set and an off-hook and on-hook assembly, a first communication interface of the test host is in wired connection with a communication interface of the control panel, an input / output interface of the control panel is in wired connection with a control end of the off-hook and on-hook assembly, and an operation end of the off-hook and on-hook assembly is arranged opposite to an insertion spring of the telephone so as to press or release the insertion spring of the telephone under the driving of the off-hook and on-hook assembly; the telephone connection interface of the telephone is connected with the voice interface of the to-be-tested call gateway module through a telephone line, and the second communication interface of the test host is in wired connection with the communication interface of the to-be-tested call gateway module. Therefore, a tester does not need to carry out operations such as connection and hanging up, the test efficiency and the test precision are improved, and the test labor cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of testing technology, and more specifically, to a testing device and system. Background Technology

[0002] With the development of technology, people have increasingly higher requirements for product testing efficiency.

[0003] Traditional gateway call function testing is done manually, and the testing process involves several steps: picking up the phone, dialing, making a call (the other party answers), and hanging up. Manual testing of voice call functions has two problems: one is that the testing efficiency is very low, especially since a set of stress tests often requires thousands of repetitions, which takes a long time for manual testing; the other problem is that humans are not sensitive to information such as the frequency composition and duty cycle of the tone, so some problems cannot be found during testing, resulting in inaccurate testing. Utility Model Content

[0004] The purpose of this utility model is to address the shortcomings of the prior art by providing a testing device and system to solve problems such as low testing efficiency in the prior art.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0006] In a first aspect, embodiments of this application provide a testing device, the device comprising: a testing host, a control board, a telephone, and an on / off switch assembly;

[0007] The first communication interface of the test host is wired to the communication interface of the control board. The input / output interface of the control board is wired to the control terminal of the on / off phone assembly. The operating terminal of the on / off phone assembly is positioned opposite to the spring of the telephone, so as to press or release the spring of the telephone under the action of the on / off phone assembly. The telephone connection interface of the telephone is connected to the voice interface of the call gateway module under test through a telephone line. The second communication interface of the test host is wired to the communication interface of the call gateway module under test.

[0008] Optionally, the detachment / hook assembly includes a servo motor and a swing arm; the control terminal of the detachment / hook assembly is the control terminal of the servo motor, the drive terminal of the servo motor drives and connects to one end of the swing arm, and the other end of the swing arm is the operating terminal of the detachment / hook assembly.

[0009] Optionally, the handset interface of the telephone is also wired to the headphone interface of the test host via a telephone handset cable.

[0010] Optionally, the first serial communication interface of the test host is wired to the communication interface of the control board.

[0011] Optionally, the second serial communication interface of the test host is wired to the communication interface of the call gateway module under test.

[0012] Optionally, the general-purpose input / output interface of the control board is wired to the control terminal of the hook-and-loop assembly.

[0013] Optionally, the call gateway module under test is a communication development board, which is equipped with a communication module and a voice chip; the telephone connection interface of the telephone is connected to the voice interface of the voice chip through a telephone line, and the second communication interface of the test host is wired to the communication interface of the communication module.

[0014] Optionally, the digital audio interface of the communication module is connected to the digital audio interface of the voice chip.

[0015] Optionally, the call gateway module under test is a voice gateway device, the telephone connection interface of the telephone is connected to the voice interface of the voice gateway device via a telephone line, and the second communication interface of the test host is wired to the communication interface of the voice gateway device.

[0016] Secondly, embodiments of this application provide a call testing system, the system comprising at least: a testing device as described in any of the first aspects above, and a call gateway module under test, wherein the telephone connection interface of a telephone in the system is connected to the voice interface of the call gateway module under test via a telephone line, and the second communication interface of a test host in the system is wiredly connected to the communication interface of the call gateway module under test.

[0017] Compared with the prior art, this application has the following beneficial effects:

[0018] This application provides a testing apparatus and system. The apparatus includes: a test host, a control board, a telephone, and an on / off switch assembly. A first communication interface of the test host is wired to the communication interface of the control board. The input / output interfaces of the control board are wired to the control terminal of the on / off switch assembly. The operating terminal of the on / off switch assembly is positioned opposite to the telephone's spring, allowing the on / off switch assembly to press or release the spring. The telephone's telephone connection interface is connected to the voice interface of the call gateway module under test via a telephone line. A second communication interface of the test host is wired to the communication interface of the call gateway module under test. Therefore, no operator is required to connect or disconnect the telephone, improving testing efficiency and accuracy, and reducing labor costs. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this utility model, the drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this utility model and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of the structure of a testing device provided in an embodiment of this application;

[0021] Figure 2 A schematic diagram of a hook-and-loop device assembly provided in an embodiment of this application;

[0022] Figure 3 This is a schematic diagram of another testing device provided in an embodiment of this application.

[0023] Icons: 1-Test host, 2-Control board, 3-Telephone, 4-Hook-on / off phone assembly, 5-Under-test communication gateway module, 41-Servo motor, 42-Swing arm. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0025] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0026] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0027] Furthermore, the terms "first" and "second" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0028] It should be noted that, where there is no conflict, the features in the embodiments of this utility model can be combined with each other.

[0029] The following is an explanation of a testing device provided in the embodiments of this application through specific examples. Figure 1 This is a schematic diagram of a testing device provided in an embodiment of this application.

[0030] like Figure 1 As shown, the device includes: a test host 1, a control board 2, a telephone 3, and an on / off switch assembly 4.

[0031] The first communication interface of the test host 1 is wired to the communication interface of the control board 2. The input / output interface of the control board 2 is wired to the control terminal of the on / off phone assembly 4. The operation terminal of the on / off phone assembly 4 is positioned opposite to the spring of the telephone 3, so that the spring of the telephone 3 can be pressed or released under the action of the on / off phone assembly 4. The telephone connection interface of the telephone 3 is connected to the voice interface of the call gateway module 5 under test through a telephone line. The second communication interface of the test host 1 is wired to the communication interface of the call gateway module 5 under test.

[0032] During testing, the test host 1 sends test control commands to the control board 2 via the first communication interface. The control board 2 parses the test control commands and, based on their content, sends control commands to the control terminal of the on / off phone assembly 4 via the input / output interface. The operating terminal of the on / off phone assembly 4 follows the control commands, pressing / releasing the spring of the telephone 3 to connect / hang up the phone. In other words, the test host 1 connects / hangs up the phone via the control board 2 and the on / off phone assembly 4, eliminating the need for test personnel to manually connect or hang up the phone, thus improving testing efficiency and reducing labor costs.

[0033] The call gateway module 5 under test is used to implement network connectivity and call functions. Telephone 3 is connected to the call gateway module 5 under test and can make calls. Test host 1 is connected to the call gateway module 5 under test and can monitor its call status, thus enabling testing of the call gateway module 5 under test.

[0034] For example, telephone 3 is a Gigaset DA260 model telephone, and the telephone line is an RJ11 telephone line. The testing device provided in this embodiment can also be used to test telephone 3.

[0035] In summary, in this embodiment, the device includes: a test host, a control board, a telephone, and an on / off switch assembly. The first communication interface of the test host is wired to the communication interface of the control board. The input / output interfaces of the control board are wired to the control terminal of the on / off switch assembly. The operating terminal of the on / off switch assembly is positioned opposite to the telephone's spring, allowing the on / off switch assembly to press or release the spring. The telephone's telephone connection interface is connected to the voice interface of the call gateway module under test via a telephone line. The second communication interface of the test host is wired to the communication interface of the call gateway module under test. Therefore, no operator is required to connect or disconnect the telephone, improving testing efficiency and accuracy, and reducing labor costs.

[0036] In the above Figure 1 Based on the corresponding embodiments, this application also provides a hook-and-loop assembly. Figure 2 This is a schematic diagram of a hook-and-loop assembly provided in an embodiment of this application.

[0037] like Figure 2 As shown, the hook-and-go assembly 4 includes a servo motor 41 and a swing arm 42. The control end of the hook-and-go assembly 4 is the control end of the servo motor 41, the drive end of the servo motor 41 drives and connects to one end of the swing arm 42, and the other end of the swing arm 42 is the operation end of the hook-and-go assembly 4.

[0038] By controlling the rotation of the servo motor, the rotation of the swing arm is achieved. Through changes in the angle and displacement of the swing arm, the spring of telephone 3 is pressed / released.

[0039] In summary, in this embodiment, the hook-and-go assembly includes a servo motor and a swing arm; the control end of the hook-and-go assembly is the control end of the servo motor, the drive end of the servo motor drives and connects to one end of the swing arm, and the other end of the swing arm is the operating end of the hook-and-go assembly. Thus, precise hook-and-go operation is achieved.

[0040] In the above Figure 1 Based on the corresponding embodiments, this application also provides another testing device. Figure 3 This is a schematic diagram of another testing device provided in an embodiment of this application.

[0041] like Figure 3 As shown, the handset interface of telephone 3 is also wired to the headphone interface of test host 1 via telephone handset cable.

[0042] Test host 1 acquires the voice data of telephone 3 through the telephone handset cable.

[0043] For example, the test host 1 can also play / record test audio sources through the sound card and play DTMF (Dual Tone Multi Frequency) to the telephone 3, thereby realizing the automatic dialing function.

[0044] In the above Figure 1 Based on the corresponding embodiments, in another embodiment of this application, the first serial communication interface of the test host 1 is wired to the communication interface of the control board 2.

[0045] For example, the first serial communication interface of the test host 1 is connected to the communication interface of the control board 2 via a USB (Universal Serial Bus) data cable.

[0046] Continue to refer to Figure 3 In another embodiment of this application, the second serial communication interface of the test host 1 is wired to the communication interface of the call gateway module under test.

[0047] The second serial communication interface of the test host 1 is connected to the communication interface of the call gateway module under test via a USB (Universal Serial Bus) data cable.

[0048] Continue to refer to Figure 3 In another embodiment of this application, the general-purpose input / output interface of the control board 2 is wired to the control terminal of the hook-and-go component 4.

[0049] For example, control board 2 can be an MCU (Microcontroller Unit) with a GPIO (General-purpose input / output) interface. Test host 1 controls the MCU's GPIO interface to output a PWM (Pulse-width modulation) waveform. The duty cycle of the PWM waveform controls the rotation angle of the servo motor of the on / off phone assembly 4, thus controlling the on / off phone assembly 4 to connect / disconnect the phone.

[0050] Continue to refer to Figure 3 The call gateway module 5 under test is a communication development board, which is equipped with a communication module and a voice chip. The telephone connection interface of the telephone is connected to the voice interface of the voice chip through a telephone line, and the second communication interface of the test host 1 is wired to the communication interface of the communication module.

[0051] For example, the voice chip is an SLIC chip.

[0052] For example, the communication development board in this instance is a call gateway module under test during the product development phase, representing the implementation method during the product development phase.

[0053] Continue to refer to Figure 3 In another embodiment of this application, the digital audio interface of the communication module is connected to the digital audio interface of the voice chip.

[0054] For example, the digital audio interface is a PCM (Pulse Code Modulation) interface. The communication module and the voice chip transmit digital audio signals via the PCM interface. The voice chip's PCM interface receives the analog audio signal sent by the communication module's digital audio interface and samples it at equal time intervals (i.e., sampling rate clock cycles) to convert the analog audio signal into a digital audio signal. The voice chip receives the digital audio signal, converts it back into an analog audio signal, and transmits it to the telephone's telephone connection interface to drive the telephone, thus enabling the call function.

[0055] Continue to refer to Figure 3 In another embodiment of this application, the call gateway module 5 under test is a voice gateway device. The telephone connection interface of the telephone is connected to the voice interface of the voice gateway device through a telephone line, and the second communication interface of the test host 1 is wired to the communication interface of the voice gateway device.

[0056] For example, the voice gateway device in this instance is a call gateway module under test during the product application phase. That is, the voice gateway device can also be tested after the product development is completed.

[0057] The following is an explanation of a call testing system provided in the embodiments of this application through specific examples.

[0058] The system includes at least one of the testing devices described in the above examples, and a call gateway module under test. The telephone connection interface of the telephone in the system is connected to the voice interface of the call gateway module under test via a telephone line. The second communication interface of the test host in the system is wired to the communication interface of the call gateway module under test. The specific testing implementation is similar to the above embodiments, and the structural diagram of the call test system is as described above. Figure 1 , Figure 3 Similarly, this will not be elaborated upon here.

[0059] It should be noted that each element and the connection method between elements in this application are existing technologies and are not described in detail, so there will be no ambiguity.

[0060] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need further definition and explanation in subsequent figures. The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A testing device, characterized in that, The device includes: a test host, a control board, a telephone, and an on / off handset assembly; The first communication interface of the test host is wired to the communication interface of the control board. The input / output interface of the control board is wired to the control terminal of the on / off phone assembly. The operating terminal of the on / off phone assembly is positioned opposite to the spring of the telephone, so as to press or release the spring of the telephone under the action of the on / off phone assembly. The telephone connection interface of the telephone is connected to the voice interface of the call gateway module under test through a telephone line. The second communication interface of the test host is wired to the communication interface of the call gateway module under test.

2. The apparatus according to claim 1, characterized in that, The detachment / hook assembly includes a servo motor and a swing arm; the control terminal of the detachment / hook assembly is the control terminal of the servo motor, the drive terminal of the servo motor drives and connects to one end of the swing arm, and the other end of the swing arm is the operating terminal of the detachment / hook assembly.

3. The apparatus according to claim 1, characterized in that, The handset interface of the telephone is also wired to the headphone interface of the test host via a telephone handset cable.

4. The apparatus according to claim 1, characterized in that, The first serial communication interface of the test host is wired to the communication interface of the control board.

5. The apparatus according to claim 1, characterized in that, The second serial communication interface of the test host is wired to the communication interface of the call gateway module under test.

6. The apparatus according to claim 1, characterized in that, The general-purpose input / output interface of the control board is wired to the control terminal of the hook-and-loop assembly.

7. The apparatus according to claim 1, characterized in that, The call gateway module under test is a communication development board, which is equipped with a communication module and a voice chip. The telephone connection interface of the telephone is connected to the voice interface of the voice chip through a telephone line, and the second communication interface of the test host is wired to the communication interface of the communication module.

8. The apparatus according to claim 7, characterized in that, The digital audio interface of the communication module is connected to the digital audio interface of the voice chip.

9. The apparatus according to claim 1, characterized in that, The call gateway module under test is a voice gateway device. The telephone connection interface of the telephone is connected to the voice interface of the voice gateway device via a telephone line. The second communication interface of the test host is wired to the communication interface of the voice gateway device.

10. A call testing system, characterized in that, The system includes at least: the testing device according to any one of claims 1-9, and a call gateway module under test, wherein the telephone connection interface of the telephone in the system is connected to the voice interface of the call gateway module under test via a telephone line, and the second communication interface of the test host in the system is wired to the communication interface of the call gateway module under test.