System and method for voice testing of multi-channel voice gateway equipment based on router

Through the router-based multi-channel voice gateway equipment test system, Abacus voice quality tester and test server are used to conduct automated voice link testing, which solves the problems of low test efficiency and inaccurate results in the existing technology, and achieves efficient and accurate testing. Voice gateway equipment fault location and analysis.

CN114157761BActive Publication Date: 2024-08-27SICHUAN TIANYI COMHEART TELECOM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111508344.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2024-08-27
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

The testing efficiency of voice gateway equipment in the existing technology is low, requiring two voice gateways and a voice server to cooperate for call testing, and the test results are inaccurate and cannot determine whether the streaming media is normal.

Method used

A router-based multi-channel voice gateway equipment voice test system is used, including multi-channel voice interface voice gateway equipment, Abacus voice quality tester and test server. Test instructions are sent through the test server, and the Abacus voice quality tester is used to simulate keystrokes to test the voice chain. It can detect the smoothness of the road and automatically analyze the voice messages to locate the faulty equipment.

Benefits of technology

It realizes automated testing of a single multi-channel voice gateway device, improves test efficiency and result accuracy, reduces human intervention, and can automatically generate test reports to facilitate subsequent fault analysis and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114157761B
    Figure CN114157761B
Patent Text Reader

Abstract

The present invention discloses a system and method for voice testing of a multi-channel voice gateway device based on a router, wherein the system comprises: the voice gateway device is a device to be tested, comprising a multi-channel voice interface and an Ethernet interface, wherein the multi-channel voice interface is connected to an Abacus voice quality tester, and the Ethernet interface is connected to a test server; one end of the Abacus voice quality tester is connected to the test server, and the other end is connected to the voice gateway device; the test server is connected to the Ethernet interface of the voice gateway device and the Ethernet port of the test instrument Abacus voice quality tester through a network cable, sends a test instruction to the Abacus voice quality tester, receives a voice message transmitted by the voice gateway device to analyze and judge the voice call quality, and simultaneously performs fault analysis and positioning on the faulty voice gateway device to facilitate subsequent manual testing and maintenance. The present invention can realize full-process automated testing, not only reduces human intervention, but also improves test efficiency and the accuracy of test results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of voice testing of voice gateways, and in particular to a system and method for voice testing of multi-channel voice gateway equipment based on routers. Background Art

[0002] The voice gateway is tested before it leaves the factory to ensure the normal use of the voice gateway software and hardware systems. The voice system test mainly verifies whether the SLIC and DSP in the voice system are working properly. The SLIC function mainly involves the detection of the phone's off-hook and on-hook function, and the DSP function mainly involves the encoding and decoding of voice and the playback of various signal tones.

[0003] In the invention patent application document with application number CN201110174883.4, a method for testing a voice media gateway is proposed, which is used to implement media testing of the voice media gateway. The specific method is: initiate call establishment; after the call is successfully established, send a test tone; determine whether the test tone is received, if received, determine that the test is successful, otherwise determine that the test fails. It is mentioned that: in the new start process, it is necessary to perform an acceptance test on the narrowband voice function enabled on the voice media gateway device. This test is performed on the terminal device to see whether it can make normal voice calls in and out. Voice media gateway devices are usually distributed in various places, and testers need to go to various test locations to connect telephones for testing, which is extremely inconvenient. If the voice media gateway device is already connected to the user's home telephone, it is necessary to cut off the access to the telephone before testing, which increases the difficulty of the test.

[0004] To solve this problem, the prior art simulates a call to the called user according to a request; when an abnormality occurs in any of the simulated call offices and the offices where the called user is located, the call is determined to have failed; when all of the simulated call offices and the offices where the called user is located are normal, the call is determined to have succeeded. When simulating the user's real call to locate the fault during the call process, there is no need to specifically initiate a test call to the fault reporting site for fault location, which improves the efficiency of fault location and user satisfaction, saves maintenance costs, and shortens the time to solve the problem.

[0005] The prior art determines whether a real call is successful on the service signaling layer device. However, after the call is established, when one end cannot hear the voice of the other end, the prior art cannot determine that a failure has occurred. That is, the prior art cannot test whether the streaming media is normal.

[0006] The existing technology generally requires two voice gateways plus a voice server to cooperate in call testing to determine the function of the voice system, and the calls are all made manually, which has the problems of low efficiency and inaccurate test results. Summary of the invention

[0007] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a system and method for voice testing of multi-channel voice gateway devices based on routers, which is used to solve the technical problems that in the prior art, two voice gateways plus a voice server are generally used to cooperate in call testing to determine the function of the voice system, and the calls are all made manually, which is inefficient and the test results are inaccurate.

[0008] The objective of the present invention is achieved through the following technical solutions:

[0009] A system for voice testing of a multi-channel voice gateway device based on a router includes a voice gateway device with a multi-channel voice interface, a test instrument Abacus voice quality tester and a test server; wherein:

[0010] The voice gateway device is a device to be tested, including a multi-channel voice interface and an Ethernet interface, the multi-channel voice interface is connected to an Abacus voice quality tester, and the Ethernet interface is connected to a test server;

[0011] The Abacus voice quality tester is connected to the test server at one end and to the voice gateway device at the other end, and is used to receive the test instructions issued by the test server, make voice calls, and test whether the voice link is smooth by simulating keystrokes;

[0012] The test server is connected to the Ethernet interface of the voice gateway device through a network cable, and is connected to the Ethernet port of the test instrument Abacus voice quality tester through the network cable, sends test instructions to the Abacus voice quality tester, receives voice messages transmitted by the voice gateway device to analyze and judge the voice call quality, and at the same time performs fault analysis and positioning on the faulty voice gateway device to facilitate subsequent manual testing and maintenance.

[0013] Preferably, the Abacus voice quality tester is a test instrument from Spirent, which is installed with a voice test script and a test program.

[0014] Preferably, the test server is installed with test system software and voice message receiving server software, wherein:

[0015] The test system software logs in to the voice gateway device through telnet to execute the test command and control the start and stop of the test script on the Abacus voice quality tester;

[0016] The voice message receiving server software receives the voice message transmitted from the voice gateway device through the Ethernet port.

[0017] Preferably, the voice gateway device uses an RJ11 telephone line to connect the voice interface to the voice port of the Abacus voice quality tester.

[0018] The method for voice testing of a multi-channel voice gateway device based on a router comprises the following steps:

[0019] S1: The test system software in the test server starts the voice system test;

[0020] S2: Abacus voice quality tester performs call test on voice gateway device according to test script, and voice message receiving server software in the test server receives messages from voice gateway device;

[0021] S3: The test ends automatically. The Abacus voice quality tester and the voice message receiving server software automatically analyze the test results and summarize the test results to the test system software to finally generate the test results.

[0022] Preferably, the S1 specifically includes the following sub-steps:

[0023] S11: The test system software in the test server logs in to the voice gateway device through telnet and executes the start test command;

[0024] S12: After receiving the start test command, the voice gateway device automatically pairs the adjacent voice interfaces;

[0025] S13: The voice message receiving server software in the test server starts the voice message listening program and prepares to receive the voice message from the voice gateway device;

[0026] S14: The test system software in the test server calls the test script of the Abacus voice quality tester to start the voice system test.

[0027] Preferably, S2 specifically includes the following sub-steps:

[0028] S21: Set the two adjacent voice ports to be voice port 1 and voice port 2. Set the two adjacent voice ports to be voice port 1 and voice port 2. The Abacus voice quality tester simulates the telephone connected to voice port 1 to send an off-hook signal to the voice port 1 of the voice gateway device through RJ11.

[0029] S22: After the voice port 1 of the voice gateway device detects the off-hook signal, it sends a ringback tone to the voice port 1 of the Abacus voice quality tester, and at the same time sends a ringing tone to the voice port 2 of the Abacus voice quality tester;

[0030] S23: After the Abacus voice quality tester detects the ringing tone at voice port 2, it sends an off-hook signal to the voice port 2 of the voice gateway device after the ringing sound is over.

[0031] S24: After the voice port 2 of the voice gateway device detects the off-hook signal, it stops sending the ringback tone to the voice port 1 of the Abacus voice quality tester and stops sending the ringing tone to the voice port 2 of the Abacus voice quality tester;

[0032] S25: The voice gateway device establishes an internal channel for voice messages between voice port 1 and voice port 2, and subsequently forwards messages from voice port 1 to voice port 2, and forwards messages from voice port 2 to voice port 1;

[0033] S26: The voice gateway device forwards the voice messages of voice port 1 and voice port 2 to the voice message receiving server software in the test server at the same time;

[0034] S27: Abacus Voice Quality Tester will send simulated key tone at voice port 1 and voice port 2 to detect the working condition of the voice system;

[0035] S28: Abacus voice quality tester voice will send hang-up signal at voice port 1 and voice port 2 respectively;

[0036] S29: Follow the steps from S21 to S28 to exchange voice port 1 and voice port 2 and perform the same test.

[0037] Preferably, S3 specifically includes the following sub-steps:

[0038] S31: After the test is finished, the test system software in the test server automatically analyzes the test results of the Abacus voice quality tester;

[0039] S32: the test system software in the test server automatically analyzes the message received by the voice message receiving server software in the test server to analyze whether there is a problem with the voice message;

[0040] S33: The test system software in the test server automatically generates an analysis message for the voice test and performs fault analysis and location on the faulty voice gateway device.

[0041] Beneficial effects of the present invention:

[0042] (1) Only a single multi-channel voice gateway device is required for testing, and there is no need to use multiple multi-channel voice gateway devices and voice servers at the same time;

[0043] (2) The test system software on the test server controls the start of the test and monitors the end of the test. The test is automatically carried out and can automatically analyze the test results of the Abacus voice quality tester and the voice messages received by the voice message receiving server software. Finally, the test report is automatically generated.

[0044] (3) It can collect error information during testing and perform fault analysis and location on faulty voice gateway devices to facilitate subsequent manual testing and maintenance;

[0045] (4) Fully automated testing not only reduces human intervention, but also improves testing efficiency and the accuracy of test results. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0047] Figure 1 It is a schematic diagram of the system structure of the present invention.

[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0049] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] In this embodiment, if Figure 1 As shown, a system for voice testing of a multi-channel voice gateway device based on a router includes a voice gateway device with a multi-channel voice interface, a test instrument Abacus voice quality tester and a test server; wherein:

[0051] The voice gateway device is a device to be tested, including a multi-channel voice interface and an Ethernet interface, the multi-channel voice interface is connected to an Abacus voice quality tester, and the Ethernet interface is connected to a test server;

[0052] The Abacus voice quality tester is connected to the test server at one end and to the voice gateway device at the other end, and is used to receive the test instructions issued by the test server, make voice calls, and test whether the voice link is smooth by simulating keystrokes;

[0053] The test server is connected to the Ethernet interface of the voice gateway device through a network cable, and is connected to the Ethernet port of the test instrument Abacus voice quality tester through the network cable, sends test instructions to the Abacus voice quality tester, receives voice messages transmitted by the voice gateway device to analyze and judge the voice call quality, and at the same time performs fault analysis and positioning on the faulty voice gateway device to facilitate subsequent manual testing and maintenance.

[0054] In this embodiment, the Abacus voice quality tester is a test instrument produced by Spirent Corporation, which is installed with a voice test script and a test program.

[0055] In this embodiment, the test server is installed with test system software and voice message receiving server software, wherein:

[0056] The test system software logs in to the voice gateway device through telnet to execute the test command and control the start and stop of the test script on the Abacus voice quality tester;

[0057] The voice message receiving server software receives the voice message transmitted from the voice gateway device through the Ethernet port.

[0058] In this embodiment, the voice gateway device uses an RJ11 telephone line to connect the voice interface to the voice port of the Abacus voice quality tester.

[0059] The method for voice testing of a multi-channel voice gateway device based on a router comprises the following steps:

[0060] S1: The test system software in the test server starts the voice system test;

[0061] S2: Abacus voice quality tester performs call test on voice gateway device according to test script, and voice message receiving server software in the test server receives messages from voice gateway device;

[0062] S3: The test ends automatically. The Abacus voice quality tester and the voice message receiving server software automatically analyze the test results and summarize the test results to the test system software to finally generate the test results.

[0063] In this embodiment, S1 specifically includes the following sub-steps:

[0064] S11. Use the test system software in the test server to telnet to the multi-channel voice gateway device and execute the start test command "echo 1> / tmp / local_test";

[0065] S12. After receiving the start test command, the multi-channel voice gateway device will automatically pair the adjacent voice interfaces and determine the port number for each voice port to transmit the RTP message, which is generally 40000 plus twice the voice port number.

[0066] S13. The voice message receiving server software in the test server starts the voice message listening program and prepares to receive the voice messages of the multi-channel voice gateway device. The specific port to be listened is the port number of the voice port determined on the multi-channel voice gateway device to transmit the RTP message. The port number can be used to determine that the captured voice message corresponds to the voice port on the multi-channel voice gateway device.

[0067] In this embodiment, S2 specifically includes the following sub-steps:

[0068] S21, Abacus voice quality tester simulates the telephone connected to voice port 1 to send an off-hook signal to the voice port 1 of the multi-channel voice gateway device through RJ11;

[0069] S22, after the voice port 1 of the multi-channel voice gateway device detects the off-hook signal, it sends a ringback tone to the voice port 1 of the Abacus voice quality tester, and simultaneously sends a ringing tone to the voice port 2 of the Abacus voice quality tester; if the Abacus voice quality tester does not detect the ringback tone on the voice port 1, it records the error of no ringback tone on the voice port 1, and ends the test of the voice ports 1 and 2;

[0070] S23, after the Abacus voice quality tester detects the ringing tone at voice port 2, after the ringing is completed, it sends an off-hook signal to the voice port 2 of the voice gateway device; if the Abacus voice quality tester does not detect the ringing tone at voice port 2, it records the error of no ringing tone at voice port 2, and ends the test of voice ports 1 and 2;

[0071] S24, after the voice port 2 of the multi-channel voice gateway device detects the off-hook signal, it stops sending the ringback tone to the voice port 1 of the Abacus voice quality tester, and stops sending the ringing tone to the voice port 2 of the Abacus voice quality tester;

[0072] S25, the multi-channel voice gateway device establishes an internal channel for voice messages of voice port 1 and voice port 2, and subsequently forwards the message of voice port 1 to voice port 2, and forwards the message of voice port 2 to voice port 1;

[0073] S26, the multi-channel voice gateway device forwards the voice messages of voice port 1 and voice port 2 to the voice message receiving server software in the test server at the same time;

[0074] S27, Abacus voice quality tester will send simulated key tone at voice port 1 and voice port 2 respectively to detect the working condition of the voice system; if Abacus voice quality tester does not detect the key tone sent by the other end at voice port 1, it will record the failure of voice port 1 key tone detection; if Abacus voice quality tester does not detect the key tone sent by the other end at voice port 2, it will record the failure of voice port 2 key tone detection;

[0075] S28 and Abacus voice quality tester voice will send hang-up signal at voice port 1 and voice port 2 respectively;

[0076] S29. Follow the steps from S21 to S28 to exchange voice port 1 and voice port 2 and perform the same test.

[0077] The test in step S3 ends automatically, and the Abacus voice quality tester and the voice message receiving server software automatically analyze the test results and summarize the test results to the test system software. The specific contents of the test results are finally generated as follows:

[0078] S31. After the test is completed, the test system software in the test server will automatically analyze the test results of the Abacus voice quality tester; if the Abacus voice quality tester records error information of the voice port test, the test error information will be recorded;

[0079] S32. The test system software in the test server will automatically analyze the message received by the voice message receiving server software in the test server to analyze whether there is a problem with the voice message; if the test system software finds that there is only a voice message from voice port 1 or only voice port 2 during analysis, the error message of a single voice message will be recorded.

[0080] S33. The test system software in the test server automatically generates an analysis report of the voice test and performs fault analysis and location on the faulty voice gateway device.

[0081] Description: This Figure 1 Only two voice channels are shown. In an actual system, there may be multiple voice interfaces.

[0082] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of the present invention to be protected is defined by the attached claims and their equivalents.

Claims

1. A system for voice testing of multi-channel voice gateway equipment based on routers, characterized in that: It includes a voice gateway device with multiple voice interfaces, a test instrument Abacus voice quality tester and a test server; wherein: The voice gateway device is a device to be tested, including a multi-channel voice interface and an Ethernet interface, the multi-channel voice interface is connected to an Abacus voice quality tester, and the Ethernet interface is connected to a test server; The Abacus voice quality tester is also connected to the test server to receive the test instructions issued by the test server, make voice calls, and test whether the voice link is smooth by simulating keystrokes; The test server sends a test command to the Abacus voice quality tester, receives the voice message transmitted by the voice gateway device to analyze and judge the voice call quality, and simultaneously analyzes and locates the fault of the faulty voice gateway device to facilitate subsequent manual testing and maintenance; The voice gateway device uses an RJ11 telephone line to connect the voice interface to the voice port of the Abacus voice quality tester; The test server is installed with test system software and voice message receiving server software, wherein: the test system software logs into the voice gateway device through telnet to execute test commands and control the start and stop of the test script on the Abacus voice quality tester; the voice message receiving server software receives voice messages transmitted from the voice gateway device through the Ethernet port.

2. The system for voice testing of multi-channel voice gateway equipment based on router according to claim 1, characterized in that: The Abacus voice quality tester is a test instrument from Spirent Corporation, which is installed with voice test scripts and test programs.

3. A method for voice testing of a multi-channel voice gateway device based on a router, based on a system implementation of the voice testing of a multi-channel voice gateway device based on a router as described in any one of claims 1 to 2, characterized in that: The following steps are involved: S1: The test system software in the test server starts the voice system test, including the following sub-steps: S11: The test system software in the test server logs in to the voice gateway device through telnet and executes the start test command; S12: After receiving the start test command, the voice gateway device automatically pairs the adjacent voice interfaces; S13: The voice message receiving server software in the test server starts the voice message listening program and prepares to receive the voice message from the voice gateway device; S14: the test system software in the test server calls the test script of the Abacus voice quality tester to start the voice system test; S2: The Abacus voice quality tester performs a call test on the voice gateway device according to the test script. The voice message receiving server software in the test server receives the message from the voice gateway device, which specifically includes the following sub-steps: S21: Abacus voice quality tester simulates the telephone connected to voice port 1 to send an off-hook signal to voice port 1 of the voice gateway device through RJ11; S22: After the voice port 1 of the voice gateway device detects the off-hook signal, it sends a ringback tone to the voice port 1 of the Abacus voice quality tester, and sends a ringing tone to the voice port 2 of the Abacus voice quality tester at the same time; if the Abacus voice quality tester does not detect the ringback tone on the voice port 1, it records the error of no ringback tone on the voice port 1, and ends the test of the voice ports 1 and 2; S23: After the Abacus voice quality tester detects the ringing tone at voice port 2, it sends an off-hook signal to the voice port 2 of the voice gateway device after the ringing sound is completed. If the Abacus voice quality tester does not detect the ringing tone at voice port 2, it records a no ringing tone error at voice port 2 and ends the test of voice ports 1 and 2. S24: After the voice port 2 of the voice gateway device detects the off-hook signal, it stops sending the ringback tone to the voice port 1 of the Abacus voice quality tester and stops sending the ringing tone to the voice port 2 of the Abacus voice quality tester; S25: The voice gateway device establishes an internal channel for voice messages between voice port 1 and voice port 2, and subsequently forwards messages from voice port 1 to voice port 2, and forwards messages from voice port 2 to voice port 1; S26: The voice gateway device forwards the voice messages of voice port 1 and voice port 2 to the voice message receiving server software in the test server at the same time; S27: The Abacus voice quality tester will send simulated keystroke tones at voice port 1 and voice port 2 respectively to detect the working condition of the voice system; if the Abacus voice quality tester does not detect the keystroke tones sent by the peer end at voice port 1, it will record the failure of keystroke tones detection at voice port 1; if the Abacus voice quality tester does not detect the keystroke tones sent by the peer end at voice port 2, it will record the failure of keystroke tones detection at voice port 2; S28: Abacus voice quality tester voice will send hang-up signal at voice port 1 and voice port 2 respectively; S29: follow the steps from S21 to S28 to exchange voice port 1 and voice port 2 and perform the same test; S3: The test ends automatically. The Abacus voice quality tester and the voice message receiving server software automatically analyze the test results and summarize the test results to the test system software to finally generate the test results.

4. The method for voice testing of a multi-channel voice gateway device based on a router according to claim 3, characterized in that: The S3 specifically includes the following sub-steps: S31: After the test is finished, the test system software in the test server automatically analyzes the test results of the Abacus voice quality tester; S32: the test system software in the test server automatically analyzes the message received by the voice message receiving server software in the test server to analyze whether there is a problem with the voice message; S33: The test system software in the test server automatically generates an analysis message for the voice test and performs fault analysis and location on the faulty voice gateway device.