Test system and method for efficiently testing coaxial voice gateway

文档序号:1965893 发布日期:2021-12-14 浏览:26次 中文

阅读说明:本技术 一种高效测试同轴语音网关的测试系统及方法 (Test system and method for efficiently testing coaxial voice gateway ) 是由 谈培 郑铁 盛科礼 陈士英 牛凤文 于 2021-09-17 设计创作,主要内容包括:本发明提供了一种高效测试同轴语音网关的测试系统及方法,所述系统包括有:变频器,用于变频出使待测网关上线的射频信号;CCMTS,用于驱动射频信号发送到待测网关;数据库,用于存储待测网关测试项目的相关测试规则;测试服务器主机,用于根据待测网关上线的IP信息,获取待测网关的软件版本信息,创建测试线程,并根据相关测试规则对待测网关测试项目进行测试。本发明有效的提高了同轴语音网关的测试效率。(The invention provides a test system and a method for efficiently testing a coaxial voice gateway, wherein the system comprises: the frequency converter is used for converting the radio frequency signal for enabling the gateway to be tested to be on line; the CCMTS is used for driving the radio frequency signal to be sent to the gateway to be tested; the database is used for storing relevant test rules of the gateway test items to be tested; and the test server host is used for acquiring the software version information of the gateway to be tested according to the IP information on the line of the gateway to be tested, creating a test thread and testing the test items of the gateway to be tested according to the relevant test rules. The invention effectively improves the testing efficiency of the coaxial voice gateway.)

1. A test system for efficiently testing a coaxial voice gateway, the system comprising:

the frequency converter is used for converting the radio frequency signal for enabling the gateway to be tested to be on line;

the CCMTS is used for driving the radio frequency signal to be sent to the gateway to be tested;

the database is used for storing relevant test rules of the gateway test items to be tested;

and the test server host is used for acquiring the software version information of the gateway to be tested according to the IP information on the line of the gateway to be tested, creating a test thread and testing the test items of the gateway to be tested according to the relevant test rules.

2. The system as claimed in claim 1, wherein the test server host is installed with a voice server for testing the telephone function of the gateway to be tested after the gateway to be tested receives the related telnet/SNMP command.

3. The system of claim 1, wherein the relevant test rules comprise test procedures and test configurations, test targets and test result decisions associated with the test procedures.

4. The method of claim 1, wherein the system further comprises:

the authorization server is used for writing an authorization file to the gateway to be tested according to the related telnet command received by the gateway to be tested, wherein,

the authorization server is installed on the test server host.

5. The system of claim 1, further comprising:

the printing host is used for receiving the instruction of the testing server host and sending the label information according to the relevant information written into the gateway to be tested;

and the printer is used for printing out the label according to the label information.

6. The system of claim 1, wherein the host printer is further configured to send information recorded by the host printer to the database after the printer prints the label.

7. The system of claim, wherein the test server host is further configured to control CCMTS.

8. The system according to any of claims 1-5, wherein the database is a MySQL database.

9. A testing method for efficiently testing a coaxial voice gateway is characterized by comprising the following steps:

a signal transmitting step, which is used for transmitting a radio frequency signal for enabling the gateway to be tested to be on line;

a driving step, which is used for frequency conversion of the radio frequency signal for enabling the gateway to be tested to be on line;

a storage step, which is used for storing the relevant test rules of the gateway test items to be tested;

and a testing step, namely acquiring the software version information of the gateway to be tested according to the IP information of the online gateway to be tested, creating a testing thread, and testing the testing item of the gateway to be tested according to the relevant testing rule.

10. The method as claimed in claim 9, wherein the relevant test rule includes a test procedure and a test configuration, a test target and a test result determination related to the test procedure.

Technical Field

The invention belongs to the technical field of gateway testing, and particularly relates to a testing system and a testing method for efficiently testing a coaxial voice gateway.

Background

At present, in the production process of the gateway, a tester needs to operate a local computer and test software to test the gateway, and because the model of the gateway is various, when the gateway products of different models are produced, different test software needs to be switched to test the gateways of different models, so that the production efficiency of the gateway can be influenced, and the operation difficulty of the operator is improved.

Therefore, it is necessary to design a testing system and method for testing a coaxial voice gateway efficiently from the beginning to solve the above existing technical problems.

Disclosure of Invention

In view of the above problems, the present invention provides a testing system for efficiently testing a coaxial voice gateway, the system comprising:

the frequency converter is used for converting the radio frequency signal for enabling the gateway to be tested to be on line;

the CCMTS is used for driving the radio frequency signal to be sent to the gateway to be tested;

the database is used for storing relevant test rules of the gateway test items to be tested;

and the test server host is used for acquiring the software version information of the gateway to be tested according to the IP information on the line of the gateway to be tested, creating a test thread and testing the test items of the gateway to be tested according to the relevant test rules.

Further, the test server host is provided with a voice server for testing the telephone function of the gateway to be tested after the gateway to be tested receives the relevant telnet/SNMP command.

Further, the related test rule includes a test step, and a test configuration, a test target, and a test result determination related to the test step.

Further, the system also comprises:

the authorization server is used for writing an authorization file to the gateway to be tested according to the related telnet command received by the gateway to be tested, wherein,

the authorization server is installed on the test server host.

Further, the system also comprises:

the printing host is used for receiving the instruction of the testing server host and sending the label information according to the relevant information written into the gateway to be tested;

and the printer is used for printing out the label according to the label information.

Further, the printing host is further configured to send information recorded by the printing host to the database after the printer prints the label.

Further, the test server host is also used for controlling the CCMTS.

Further, the database is a MySQL database.

On the other hand, the invention also provides a testing method for efficiently testing the coaxial voice gateway, which comprises the following steps:

a signal transmitting step, which is used for transmitting a radio frequency signal for enabling the gateway to be tested to be on line;

a driving step, which is used for frequency conversion of the radio frequency signal for enabling the gateway to be tested to be on line;

a storage step, which is used for storing the relevant test rules of the gateway test items to be tested;

and a testing step, namely acquiring the software version information of the gateway to be tested according to the IP information of the online gateway to be tested, creating a testing thread, and testing the testing item of the gateway to be tested according to the relevant testing rule.

Further, the related test rule includes a test step, and a test configuration, a test target, and a test result determination related to the test step.

The invention has the beneficial effects that:

according to the system and the method for testing the coaxial voice gateway efficiently, the testing process of the gateway to be tested is automatically carried out, each station can test a plurality of gateways at the same time, all links in the testing are connected seamlessly, the requirement on the proficiency of personnel and the testing waiting time are reduced, the production efficiency is improved, and the labor cost is reduced; the gateway products of the same type or different types can be tested simultaneously; the tag status may be stored in the MySql database for backtracking checks.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

Fig. 1 shows a block diagram of an embodiment of the system according to the invention.

Fig. 2 shows a schematic block diagram of an embodiment of the method according to the invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The invention provides a test system for efficiently testing a coaxial voice gateway, which comprises:

the frequency converter is used for converting the radio frequency signal for enabling the gateway to be tested to be on line;

the CCMTS is used for driving the radio frequency signals to be sent to the gateways to be tested, wherein the number of the gateways to be tested can be n;

the system comprises a database, a database and a database server, wherein the database is used for storing relevant test rules of a gateway test project to be tested, and is a MySQL database;

the test server host is used for acquiring software version information of the gateway to be tested according to the IP information of the gateway to be tested, creating a test thread, testing a test item of the gateway to be tested according to a relevant test rule, and writing relevant information such as a serial number, an MAC address, a calibration table and the like into the gateway to be tested, wherein the relevant test rule comprises a test step and test configuration relevant to the test step.

Wherein, the system also includes:

the authorization server is used for writing an authorization file to the gateway to be tested (the authorization file is some encrypted files which are associated with the MAC address of the gateway to be tested) according to the related telnet/SNMP commands (which are given by the control host) received by the gateway to be tested, and the authorization server is connected with the gateway to be tested through the coaxial cable, the frequency converter and the CCMTS and is installed on the test server host;

and the number of the first and second groups,

the printing host is used for receiving a command of the testing server host (the command sent by the testing server host is sent to the printing host after sequentially passing through the CCMTS, the frequency divider and the gateway to be tested), sending label information according to relevant information written in the gateway to be tested, such as a serial number, an MAC address, a label format and the like, and connecting the printing host with the MySQL database through the Ethernet;

a printer for printing out labels according to the label information, the printer is connected with the printing host machine through a USB interface, wherein,

and the printing host is also used for sending the information recorded by the printing host to the database after the label is printed by the printer.

In addition, in this embodiment, the test server host is further configured to control the CCMTS, that is, to control an operating mode of the CCMTS and radio frequency parameters (frequency and power) of the CCMTS; in addition, the test server host is provided with a DHCP, a TFTP and a time server which are matched with the CCMTS for use, so that the equipment to be tested can normally work online, and the test server host is connected with the CCMTS through the Ethernet.

In this embodiment, the test server host is installed with a voice server, and is configured to test a telephone function of the gateway to be tested after the gateway to be tested receives the related telnet/SNMP command, that is, after waiting for the gateway to be tested to be connected to the voice server of the test server host, the test server host sends the related telnet/SNMP command to the gateway to be tested, so that the gateway to be tested can drive the telephone to perform ringing, dialing, and off-hook operations, so as to test whether a telephone interface of the gateway to be tested is normal, where the telephone is connected to the gateway to be tested through a telephone line.

The relevant test rules are formed according to the product model of the gateway to be tested and the test items of the gateway to be tested, and are recorded in the MySQL database in advance, the related test rule comprises a test step, a test configuration related to the test step, a test target and judgment of a test result, wherein, the gateway test items to be tested comprise CM MAC writing, CM SN writing, WIFI MAC writing, key file writing, CM MAC checking, CM SN checking, key file checking, WIFI MAC checking, network port rate checking, hardware version checking, signal quality checking, uplink power and downlink power and other parameters which can test the gateway to be tested through SNMP, TELNET and TFTP protocols, namely, the test server host tests the gateway test items to be tested based on SNMP, TELNET and TFTP protocols and according to related test rules.

In this embodiment, the working process of testing the gateway test item to be tested is as follows:

the CCMTS sends the radio frequency signals subjected to frequency conversion of the frequency converter to n gateways to be tested through a Cable network, so that each gateway to be tested is on line, and after the gateway to be tested is on line, IP information and software version information of the gateway to be tested are pushed to the test server host (the IP information and the software version information are sent to the test server host through the coaxial line and the frequency converter and the CCMTS). And the test server host creates a test thread according to the software version information pushed by the gateway to be tested, acquires the corresponding test steps and the corresponding test configuration from the MySql database and starts the test.

After the test is finished, the printing host receives an instruction of the testing server host, and according to the relevant information written into the gateway to be tested in advance, the printing host sends label information to the printer to print a label; after the printer prints the label, the printing host sends the label state (whether the label is printed or not) information to the MySql database for recording.

On the other hand, the embodiment further provides a testing method for efficiently testing a coaxial voice gateway, where the method includes:

a signal transmitting step, which is used for transmitting a radio frequency signal for enabling the gateway to be tested to be on line;

a driving step, which is used for frequency conversion of the radio frequency signal for enabling the gateway to be tested to be on line;

a storage step, which is used for storing the relevant test rules of the gateway test items to be tested;

and a testing step, namely acquiring the software version information of the gateway to be tested according to the IP information of the online gateway to be tested, creating a testing thread, and testing the testing item of the gateway to be tested according to the relevant testing rule.

The related test rule comprises a test step, test configuration related to the test step, a test target and judgment of a test result.

The functions and implementation manners realized by the steps in the testing method for efficiently testing the coaxial voice gateway are consistent with the functions and implementation manners realized by the components in the testing system for efficiently testing the coaxial voice gateway, and therefore, the detailed description is omitted here.

Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电路主板的网卡自动测试方法和计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!