[go: up one dir, main page]

CN100337440C - Method and system for testing intercommunity between equipments - Google Patents

Method and system for testing intercommunity between equipments Download PDF

Info

Publication number
CN100337440C
CN100337440C CNB2003101171343A CN200310117134A CN100337440C CN 100337440 C CN100337440 C CN 100337440C CN B2003101171343 A CNB2003101171343 A CN B2003101171343A CN 200310117134 A CN200310117134 A CN 200310117134A CN 100337440 C CN100337440 C CN 100337440C
Authority
CN
China
Prior art keywords
test
interoperability
testing
module
test case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2003101171343A
Other languages
Chinese (zh)
Other versions
CN1625129A (en
Inventor
李峰
廖毓功
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Dr Technology Exchange Center Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2003101171343A priority Critical patent/CN100337440C/en
Publication of CN1625129A publication Critical patent/CN1625129A/en
Application granted granted Critical
Publication of CN100337440C publication Critical patent/CN100337440C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

本发明公开了一种设备间的互通性测试方法及系统,用于通信设备实体间的互通性测试领域,该测试方法包括把每个测试用例和执行该测试用例所需的测试设备,以及针对每个测试设备的初始配置参数和测试命令建立成映射关系的步骤;执行每个测试用例时,根据所述映射关系,将与该测试用例对应的初始配置参数和测试命令分别下发到与该测试用例对应的相应测试设备中,测试设备执行相应的测试命令,以完成互通性测试的步骤。该测试系统主要包括映射模块和下发模块。本发明设备间的互通性测试方法及系统能够减小测试工程师的工作任务量,且提高了测试效率和测试结果精确度。

Figure 200310117134

The invention discloses a method and system for interoperability testing between equipment, which are used in the field of interoperability testing between communication equipment entities. The step of establishing a mapping relationship between the initial configuration parameters and test commands of each test device; when each test case is executed, according to the mapping relationship, the initial configuration parameters and test commands corresponding to the test case are sent to the corresponding test case respectively. In the corresponding test equipment corresponding to the test case, the test equipment executes the corresponding test command to complete the steps of the interoperability test. The test system mainly includes a mapping module and a delivery module. The interoperability test method and system among devices of the present invention can reduce the workload of test engineers, and improve test efficiency and test result accuracy.

Figure 200310117134

Description

设备间的互通性测试方法及系统Interoperability testing method and system between devices

技术领域technical field

本发明涉及通信系统的测试领域,特别涉及一种设备间的互通性测试方法及系统。The invention relates to the field of testing of communication systems, in particular to an interoperability testing method and system between devices.

背景技术Background technique

随着数字用户线路(DSL,Digital Subscriber Line)技术的日渐成熟,测试技术已从严格的一致性(Conformance)测试转向了互通性(Interoperability)测试。其中DSL论坛的TR-048互通性测试规范是业界一套通用的互通性测试标准,用以保证由不同生产厂家所生产的设备之间,在满足规定的基本数据吞吐量及性能要求的条件下,实现相互之间的互连互通。With the digital subscriber line (DSL, Digital Subscriber Line) technology becoming more and more mature, the test technology has shifted from strict conformance (Conformance) test to interoperability (Interoperability) test. Among them, the TR-048 interoperability test specification of the DSL Forum is a set of general interoperability test standards in the industry, which is used to ensure that devices produced by different manufacturers meet the specified basic data throughput and performance requirements. , to achieve mutual interconnection and intercommunication.

上述DSL论坛的TR-048互通性测试规范中的互通性是指:如果一个客户端设备(CPE,Custom Premises Equipment)的调制解调器(MODEM)和一个数字用户线路接入复用器(DSLAM,Digital Subscriber Line AccessMultiplexer)之间在执行相同或兼容的参数、功能和选项条件下,以实际的网络架构作为性能测试的环境,在测试环境变化过程中,它们可显示令人满意的通信,则称它们是动态互通的。The interoperability in the TR-048 interoperability test specification of the above-mentioned DSL forum refers to: if a modem (MODEM) of a client equipment (CPE, Custom Premises Equipment) and a digital subscriber line access multiplexer (DSLAM, Digital Subscriber Line AccessMultiplexer) under the same or compatible parameters, functions and options, the actual network architecture is used as the performance test environment, and they can show satisfactory communication during the test environment change process, then they are called Dynamic and interoperable.

DSL论坛的TR-048互通性测试是对DSLAM和CPE MODEM之间的通信互通进行测试。TR-048互通性测试系统一般包括线路仿真器、Smartbits测试仪。其中线路仿真器是一种噪声发生设备,用于在TR-048互通性测试系统中设置TR-048规定的噪声和模拟线路长度;Smartbits测试仪是一种集数据流量发生与分析相结合的设备,用于测试DSLAM和CPE MODEM之间数据传输的误码率和丢包率。The TR-048 interoperability test of DSL Forum is to test the communication interoperability between DSLAM and CPE MODEM. TR-048 interoperability test system generally includes circuit emulator and Smartbits tester. Among them, the line emulator is a noise generating device, which is used to set the noise and simulated line length stipulated in TR-048 in the TR-048 interoperability test system; the Smartbits tester is a device that combines data flow generation and analysis , used to test the bit error rate and packet loss rate of data transmission between DSLAM and CPE MODEM.

现有技术中,需要测试工程师通过在测试用机的操作界面上手工配置DSLAM参数、线路仿真器参数和Smartbits测试仪参数,并人为把测试过程中DSLAM、线路仿真器和Smartbits测试仪反馈回的数据和TR-048标准中的相应指标参数进行比较并生成测试报告。In the prior art, test engineers are required to manually configure DSLAM parameters, circuit emulator parameters, and Smartbits tester parameters on the operating interface of the test machine, and artificially feed back the DSLAM, line emulator, and Smartbits tester parameters during the test process. The data is compared with the corresponding index parameters in the TR-048 standard and a test report is generated.

参照图1,是TR-048互通性测试系统的结构框图。测试工程师通过在测试用机1的操作界面上打开DSLAM 2控制界面,采用手工方式输入测试过程中DSLAM 2的各项初始配置参数,并通过DSLAM 2控制界面把测试过程中DSLAM 2反馈回的数据和TR-048标准中的相应指标参数进行比较,然后把比较分析后的结果数据写入文件系统。Referring to Figure 1, it is a structural block diagram of the TR-048 interoperability testing system. The test engineer opened the DSLAM 2 control interface on the operation interface of the test machine 1, manually input the initial configuration parameters of the DSLAM 2 during the test, and fed back the data from the DSLAM 2 during the test through the DSLAM 2 control interface Compare with the corresponding index parameters in the TR-048 standard, and then write the result data after comparison and analysis into the file system.

同样,通过在测试用机1的操作界面上打开线路仿真器3的控制界面,采用手工方式输入设置的噪声值和模拟线路长度值等初始配置参数,并在线路仿真器3的控制界面上根据测试过程中线路仿真器3反馈回的数据和TR-048标准中的相应指标参数进行比较,然后把比较分析后的结果数据写入文件系统。Similarly, by opening the control interface of the line emulator 3 on the operation interface of the test machine 1, manually input the initial configuration parameters such as the noise value and the length of the analog line, and on the control interface of the line emulator 3 according to During the test process, the data fed back by the circuit emulator 3 is compared with the corresponding index parameters in the TR-048 standard, and then the result data after comparison and analysis is written into the file system.

通过在测试用机1的操作界面上打开Smartbits测试仪4的控制界面,采用手工方式配置测试属性数据值等初始配置参数,并在TR-048标准中规定的测试时间过后,在Smartbits测试仪4的控制界面根据测试过程中Smartbits测试仪4反馈回的数据和TR-048标准中的相应指标参数进行比较,然后把比较分析后的结果数据写入文件系统。Open the control interface of Smartbits tester 4 on the operation interface of test machine 1, manually configure the initial configuration parameters such as test attribute data values, and after the test time stipulated in the TR-048 standard, run Smartbits tester 4 The control interface compares the data fed back by the Smartbits tester 4 during the test with the corresponding index parameters in the TR-048 standard, and then writes the result data after comparison and analysis into the file system.

其中MODEM 5在一般情况下其参数可以采取缺省设置,所以这里不加详细叙述。Among them, the parameters of MODEM 5 can adopt the default settings under normal circumstances, so I will not describe them in detail here.

由于TR-048标准中涉及到多个测试用例,对每个测试用例进行测试时,都需要对DSLAM初始配置参数、线路仿真器初始配置参数和Smartbits测试仪初始配置参数进行重新设置;同时在测试用机的操作界面上统计并分析DSLAM、线路仿真器和Smartbits测试仪反馈回的各项数据时,可能还需要多次取平均值,特别是对Smartbits测试仪而言,经过几小时的数据传输后,其反馈回的数据值可能相当大。从而上述两个原因可使在DSL互通性测试过程中,导致测试工程师的工作任务量大且测试结果准确度低,进而还导致测试效率低,人力资源浪费的问题。Since the TR-048 standard involves multiple test cases, when testing each test case, it is necessary to reset the initial configuration parameters of the DSLAM, the initial configuration parameters of the line emulator, and the initial configuration parameters of the Smartbits tester; When counting and analyzing various data fed back by DSLAM, circuit emulator and Smartbits tester on the operation interface of the machine, it may be necessary to take the average value many times, especially for the Smartbits tester, after several hours of data transmission After that, the data value it feeds back can be quite large. Therefore, the above two reasons may lead to a large workload of test engineers and low accuracy of test results during the DSL interoperability test process, which in turn leads to problems of low test efficiency and waste of human resources.

发明内容Contents of the invention

本发明提出一种设备间的互通性测试方法及系统,为解决现有技术中测试工程师工作任务量大且测试效率低的问题。The present invention proposes an interoperability testing method and system between devices, in order to solve the problems in the prior art that test engineers have a large workload and low testing efficiency.

本发明提出一种设备间的互通性测试方法及系统,还为解决现有技术中测试结果准确度低的问题。The invention provides a method and system for interoperability testing between devices, and also aims to solve the problem of low accuracy of test results in the prior art.

为此,本发明提出了一种设备间的互通性测试方法,包括步骤:For this reason, the present invention proposes a kind of interoperability testing method between equipment, comprises steps:

(S1)把每个测试用例、执行该测试用例所需的测试设备、针对该测试设备的初始配置参数和测试命令建立成映射关系;(S1) Establishing a mapping relationship between each test case, the test equipment required to execute the test case, the initial configuration parameters and test commands for the test equipment;

(S2)执行每个测试用例时,根据所述映射关系,将与该测试用例对应的初始配置参数和测试命令分别下发到与该测试用例对应的测试设备中,测试设备执行相应的测试命令,以完成互通性测试。(S2) When each test case is executed, according to the mapping relationship, the initial configuration parameters and test commands corresponding to the test case are sent to the test equipment corresponding to the test case, and the test equipment executes the corresponding test command , to complete the interoperability test.

其中步骤(S2)之后进一步包括:Wherein step (S2) further comprises after:

(S251)及时捕获所述测试设备反馈的测试数据;(S251) Capture the test data fed back by the test equipment in time;

(S252)将所述测试数据和存储的互通性测试标准中的相应指标参数进行比对分析处理,进而得到结果数据。(S252) Comparing, analyzing and processing the test data and corresponding index parameters in the stored interoperability test standards, and then obtaining result data.

同时本发明还提出了一种设备间的互通性测试系统,该系统包括:Simultaneously, the present invention also proposes a kind of interoperability test system between equipment, and this system comprises:

映射模块,用于把每个测试用例、执行该测试用例所需的测试设备、针对该测试设备的初始配置参数和测试命令建立成映射关系;The mapping module is used to establish a mapping relationship between each test case, the test equipment required to execute the test case, the initial configuration parameters and test commands for the test equipment;

下发模块,用于在执行每个测试用例时,根据所述映射关系,将与该测试用例对应的初始配置参数和测试命令分别下发到与该测试用例对应的测试设备中。The delivery module is configured to deliver the initial configuration parameters and test commands corresponding to the test case to the test equipment corresponding to the test case according to the mapping relationship when executing each test case.

该互通性测试系统还进一步包括:The interoperability testing system further includes:

捕获模块,用于及时捕获所述测试设备反馈的测试数据;A capture module, configured to capture the test data fed back by the test equipment in time;

比对分析模块,与所述捕获模块连接,用于将测试数据和存储的互通性测试标准中的相应指标参数进行比对分析处理,进而得到结果数据。The comparison and analysis module is connected with the capture module, and is used to compare and analyze the test data and the corresponding index parameters in the stored interoperability test standard, and then obtain the result data.

本发明的有益效果:由于本发明设备间的互通性测试方法及系统自动执行对每个测试设备下发初始配置参数和测试命令,并对每个测试设备反馈的测试数据进行比对分析的过程,不需要测试工程师人为的进行配置和分析数据,所以减轻了测试工程师的工作任务量,同时采用的自动执行比对分析数据过程也提高了测试效率和测试精确度。Beneficial effects of the present invention: due to the interoperability testing method and system among the devices of the present invention, the process of sending initial configuration parameters and test commands to each test device automatically, and comparing and analyzing the test data fed back by each test device It does not require test engineers to manually configure and analyze data, so the workload of test engineers is reduced. At the same time, the process of automatically performing comparison and analysis of data also improves test efficiency and test accuracy.

附图说明Description of drawings

图1是现有技术中TR-048互通性测试系统的结构框图;Fig. 1 is the structural block diagram of TR-048 interoperability test system in the prior art;

图2是本发明设备间的互通性测试方法及系统中第一实施例的下发初始配置参数和测试命令的流程图;Fig. 2 is a flow chart of sending initial configuration parameters and test commands in the first embodiment of the interoperability testing method between devices and the system of the present invention;

图3是本发明设备间的互通性测试方法及系统中的映射关系表示意图;Fig. 3 is a schematic diagram of the mapping relation table in the interoperability testing method and system between the devices of the present invention;

图4是本发明设备间的互通性测试方法第二实施例的测试过程流程图;4 is a flow chart of the testing process of the second embodiment of the interoperability testing method between devices of the present invention;

图5是本发明设备间的互通性测试系统的第一实施例结构框图;Fig. 5 is the structural block diagram of the first embodiment of the interoperability testing system among the equipments of the present invention;

图6是本发明设备间的互通性测试系统的第二实施例结构框图;Fig. 6 is a structural block diagram of the second embodiment of the interoperability testing system between devices of the present invention;

图7是测试用机和DSLAM之间的连接关系图;Fig. 7 is a connection diagram between the testing machine and the DSLAM;

图8是测试用机和测试设备之间的连接关系图。Fig. 8 is a connection diagram between the test machine and the test equipment.

具体实施方式Detailed ways

下面以本发明设备间的互通性测试方法及系统主要应用于DSL论坛的TR-048互通性测试为例进行描述。The interoperability test method and system between devices of the present invention are mainly applied to the TR-048 interoperability test of the DSL forum as an example for description below.

首先参照图2,是本发明设备间的互通性测试方法及系统中第一实施例的下发初始配置参数和测试命令的流程图;步骤70中,根据每个测试用例,制定该测试用例的测试计划和方案,即根据每个测试用例,结合TR-048标准,指定执行该测试用例的测试设备,以及对每一测试设备的初始配置参数和需要执行的测试命令,并把这些对应实体建立成映射关系;进而还可以将多个这样的映射关系组成映射关系表。参照图3,是映射关系表示意图,映射关系表中设置有多个测试用例,例如由测试用例A1至测试用例An组成;对其中的每个测试用例都根据TR-048标准的规定,确定执行每个测试用例的测试设备,及针对每一测试设备需要的初始配置参数和测试命令,从而形成一个映射关系表。First with reference to Fig. 2, it is the flow chart of sending initial configuration parameters and test orders of the first embodiment in the interoperability testing method between the equipment of the present invention and the system; In step 70, according to each test case, formulate the test case Test plan and scheme, that is, according to each test case, combined with the TR-048 standard, designate the test equipment that executes the test case, as well as the initial configuration parameters and test commands that need to be executed for each test equipment, and establish these corresponding entities into a mapping relationship; furthermore, a plurality of such mapping relationships can be composed into a mapping relationship table. Referring to Fig. 3, it is a schematic diagram of a mapping relationship table. Multiple test cases are set in the mapping relationship table, for example, it is composed of test case A1 to test case An; each test case is determined to be executed according to the provisions of the TR-048 standard. The test equipment for each test case, and the initial configuration parameters and test commands required for each test equipment form a mapping relationship table.

步骤80中,执行一个测试用例时,根据该测试用例,在步骤70建立的多个映射关系中检索出与该测试用例对应的测试设备,以及针对每一测试设备的初始配置参数和测试命令。如图3所示,要执行测试用例A1时,在该映射关系表中检索出与该测试用例A1对应的测试设备1至测试设备m,以及测试设备1对应的初始配置参数和测试命令……测试设备m对应的初始配置参数和测试命令;In step 80, when a test case is executed, according to the test case, the test equipment corresponding to the test case, as well as the initial configuration parameters and test commands for each test equipment are retrieved from the multiple mapping relationships established in step 70. As shown in Figure 3, when the test case A1 is to be executed, the test equipment 1 to test equipment m corresponding to the test case A1, and the initial configuration parameters and test commands corresponding to the test equipment 1 are retrieved from the mapping relationship table... Initial configuration parameters and test commands corresponding to the test device m;

步骤90中,将检索出的初始配置参数和测试命令分别下发到检索出的相应测试设备中,如图3所示,将测试设备1对应的初始配置参数和测试命令下发到测试设备1中……将测试设备m对应的初始配置参数和测试命令下发到测试设备m中。In step 90, the retrieved initial configuration parameters and test commands are sent to the retrieved corresponding test equipment respectively, as shown in Figure 3, the initial configuration parameters and test commands corresponding to the test equipment 1 are sent to the test equipment 1 Middle... Send the initial configuration parameters and test commands corresponding to the test device m to the test device m.

更进一步,还可以将图3所示的映射关系表存储,以备后续查询使用。当执行某一测试用例时,首先将该测试用例对应的映射关系从存储的映射关系表中下载下来使用。Furthermore, the mapping relationship table shown in FIG. 3 may also be stored for use in subsequent queries. When a certain test case is executed, the mapping relationship corresponding to the test case is firstly downloaded from the stored mapping relationship table for use.

参照图4,是本发明设备间的互通性测试方法第二实施例的测试过程流程图。该互通性测试方法的主要过程如下:Referring to FIG. 4 , it is a flow chart of the testing process of the second embodiment of the interoperability testing method between devices of the present invention. The main process of the interoperability testing method is as follows:

步骤100中,首先从预先存储好的映射关系表中把要执行的测试用例所对应的映射关系下载下来;如图3的映射关系表,要执行测试用例A1时,在该映射关系表中将与该测试用例A1对应的映射关系下载(该映射关系包括测试用例A1,及其对应的测试设备1至测试设备m,以及测试设备1对应的初始配置参数和测试命令……测试设备m对应的初始配置参数和测试命令)。In step 100, first download the mapping relationship corresponding to the test case to be executed from the pre-stored mapping relationship table; as shown in the mapping relationship table in Figure 3, when the test case A1 is to be executed, in the mapping relationship table will Download the mapping relationship corresponding to the test case A1 (the mapping relationship includes the test case A1, its corresponding test equipment 1 to test equipment m, and the initial configuration parameters and test commands corresponding to the test equipment 1 ... the corresponding test equipment m initial configuration parameters and test commands).

步骤200中,在步骤100下载的信息中,把执行该测试用例对应的测试设备,及针对每一测试设备需要的初始配置参数和测试命令信息检索出来;如图3的映射关系表,要执行测试用例A1时,在下载的信息中检索出与该测试用例A1对应的测试设备1至测试设备m,以及测试设备1对应的初始配置参数和测试命令……测试设备m对应的初始配置参数和测试命令。In step 200, in the information downloaded in step 100, the corresponding test equipment for executing the test case, and the initial configuration parameters and test command information required for each test equipment are retrieved; as shown in the mapping table in Figure 3, to execute When testing case A1, retrieve the test equipment 1 to test equipment m corresponding to the test case A1 from the downloaded information, as well as the initial configuration parameters and test commands corresponding to test equipment 1 ... the initial configuration parameters and test commands corresponding to test equipment m Test command.

步骤300中,对步骤200检索出的针对每一测试设备需要的初始配置参数和测试命令分别下发到相应的检索出的测试设备中;如图3的映射关系表,要执行测试用例A1时,将检索出的测试设备1对应的初始配置参数和测试命令下发到测试设备1中……将检索出的测试设备m对应的初始配置参数和测试命令下发到测试设备m中。In step 300, the initial configuration parameters and test commands required for each test device retrieved in step 200 are sent to the corresponding retrieved test devices respectively; as shown in the mapping relationship table in Figure 3, when the test case A1 is to be executed , send the retrieved initial configuration parameters and test commands corresponding to test device 1 to test device 1 ... send the retrieved initial configuration parameters and test commands corresponding to test device m to test device m.

步骤400中,每个测试设备在执行相应的测试命令后,反馈回测试数据,并对各个测试设备反馈回的测试数据进行自动及时捕获;In step 400, each test device feeds back test data after executing a corresponding test command, and automatically captures the test data fed back by each test device in time;

步骤500中,将步骤400及时捕获的测试数据和TR-048中的相应指标参数进行一一比对分析(其中TR-048标准提供了标准的指标参数并且这些标准的指标参数都已经预先存储,根据测试数据和相应的指标参数的比对分析处理后,能够得到相应的测试指标是否通过的结果数据,当然本发明不局限于TR-048互通性标准的测试,也可以是其他互通性测试,相应预先存储对应的标准指标参数),进而得到结果数据,即测试指标是否通过的消息。In step 500, compare and analyze the test data captured in time in step 400 and the corresponding index parameters in TR-048 (the TR-048 standard provides standard index parameters and these standard index parameters have been stored in advance, After comparing and analyzing according to the test data and the corresponding index parameters, the result data of whether the corresponding test index is passed can be obtained. Of course, the present invention is not limited to the test of the TR-048 interoperability standard, and can also be other interoperability tests. Correspondingly store the corresponding standard index parameters in advance), and then obtain the result data, that is, the message whether the test index passes.

步骤600中,将步骤500中得到的结果数据逐一的写入到文件系统中,以形成测试报告,用于备份和后续查询。In step 600, the result data obtained in step 500 are written into the file system one by one to form a test report for backup and subsequent query.

下面假定执行某一测试用例所需的测试设备为TR-048标准系统中的线路仿真器和Smartbits测试仪,以用来测试DSL系统中的DSLAM和MODEM之间的互通性为例对本发明互通性测试系统进行详细的叙述。参照图5,是本发明设备间的互通性测试系统第一实施例的结构框图;其中该实施例提出的互通性测试系统包括映射模块9、检索模块12、下发模块13、捕获模块14、比对分析模块15和写入模块16;将上述的模块全部置于测试用机1中,其中各个模块的功能和连接关系如下:Assume below that the test equipment required to carry out a certain test case is a line emulator and a Smartbits tester in the TR-048 standard system, and the interoperability between the DSLAM and the MODEM in the DSL system is used as an example to test the interoperability of the present invention The test system is described in detail. Referring to Fig. 5, it is a structural block diagram of the first embodiment of the interoperability test system between devices of the present invention; wherein the interoperability test system proposed in this embodiment includes a mapping module 9, a retrieval module 12, a delivery module 13, a capture module 14, Compare and analyze module 15 and writing module 16; Above-mentioned module is all placed in the testing machine 1, wherein the function and connection relation of each module are as follows:

映射模块9,主要用于把每个测试用例和执行该测试用例所需的测试设备,以及针对每个测试设备的初始配置参数和测试命令建立成映射关系;The mapping module 9 is mainly used to establish a mapping relationship between each test case and the test equipment required to execute the test case, as well as the initial configuration parameters and test commands for each test equipment;

检索模块12,与映射模块9连接,主要用于根据每个测试用例,在映射模块9建立的多个映射关系中,检索出执行该测试用例所需的测试设备,以及针对每个测试设备的初始配置参数和测试命令信息;Retrieval module 12, connected with mapping module 9, is mainly used for each test case, among multiple mapping relationships established by mapping module 9, retrieves the test equipment needed to execute the test case, and the Initial configuration parameters and test command information;

下发模块13,与检索模块12连接,主要用于把检索模块12检索出的初始配置参数和测试命令分别下发到检索出的相应测试设备中;进一步用于使相应的测试设备在设置完初始配置参数后执行相应的测试命令,以对DSL系统中的DSLAM和MODEM之间的各项互通性测试任务进行测试;The sending module 13 is connected with the retrieval module 12, and is mainly used to send the initial configuration parameters and test commands retrieved by the retrieval module 12 to the corresponding test equipment retrieved respectively; Execute corresponding test commands after initial configuration parameters to test various interoperability test tasks between DSLAM and MODEM in the DSL system;

捕获模块14,主要用于对每个测试设备反馈回的测试数据进行自动及时捕获,以及时获得每个测试设备反馈回的各项测试数据;The capture module 14 is mainly used to automatically and timely capture the test data fed back by each test device, so as to obtain the various test data fed back by each test device in time;

比对分析模块15,与捕获模块14连接,主要用于将捕获模块14捕获的测试数据和TR-048中的相应指标参数进行比对分析并处理,进而得到结果数据;即把测试数据和TR-048中的相应指标参数进行一一比对处理,以得出相应的互通性测试指标是否通过的结果数据;The comparison and analysis module 15 is connected with the capture module 14, and is mainly used for comparing and analyzing the test data captured by the capture module 14 with the corresponding index parameters in TR-048 and processing them, and then obtaining the result data; that is, combining the test data and the TR-048 The corresponding index parameters in -048 are compared one by one to obtain the result data of whether the corresponding interoperability test index passes;

写入模块16,与比对分析模块15连接,主要用于将比对分析模块15得出的结果数据逐一写入文件系统,以形成测试报告,用以备份和后续的查询。The writing module 16 is connected with the comparison and analysis module 15 and is mainly used to write the result data obtained by the comparison and analysis module 15 into the file system one by one to form a test report for backup and subsequent query.

其中为以后重复使用上述已经建立好的映射关系,还可以将多个映射关系组成的映射关系表进行存储,当调用某一映射关系时,首先将该映射关系进行下载再使用。In order to reuse the established mapping relationship in the future, a mapping relationship table composed of multiple mapping relationships can also be stored, and when a certain mapping relationship is called, the mapping relationship is first downloaded and reused.

参照图6,是本发明设备间的互通性测试系统的第二实施例结构框图;其中该实施例提出的互通性测试系统包括映射模块9、存储模块10、下载模块11、检索模块12、下发模块13、捕获模块14、比对分析模块15和写入模块16;将上述的模块也全部置于测试用机1中,其中各个模块的功能和连接关系如下:Referring to Fig. 6, it is the structural block diagram of the second embodiment of the interoperability testing system between the equipment of the present invention; Wherein the interoperability testing system that this embodiment proposes comprises mapping module 9, memory module 10, download module 11, retrieval module 12, download Sending module 13, capture module 14, comparison analysis module 15 and writing module 16; Above-mentioned module is also all placed in the testing machine 1, wherein the function and connection relation of each module are as follows:

映射模块9,主要用于把每个测试用例和执行该测试用例所需的测试设备,以及针对每个测试设备的初始配置参数和测试命令建立成映射关系;The mapping module 9 is mainly used to establish a mapping relationship between each test case and the test equipment required to execute the test case, as well as the initial configuration parameters and test commands for each test equipment;

存储模块10,与映射模块9连接,主要用来存储每个测试用例和执行该测试用例所需的测试设备,以及针对每个测试设备的初始配置参数和测试命令而建立的映射关系所组成的映射关系表;即如图3所示的测试用例映射关系表就存储在该存储模块10中;The storage module 10 is connected with the mapping module 9 and is mainly used to store each test case and the test equipment required to execute the test case, as well as the mapping relationship established for the initial configuration parameters and test commands of each test equipment. Mapping relationship table; that is, the test case mapping relationship table as shown in Figure 3 is stored in the storage module 10;

下载模块11,与存储模块10连接,主要用于从存储模块10中存储的映射关系表中下载每个测试用例的对应的映射关系,即下载该测试用例及执行该测试用例所需的测试设备和针对每个测试设备的初始配置参数和测试命令信息;The download module 11 is connected with the storage module 10, and is mainly used for downloading the corresponding mapping relationship of each test case from the mapping relationship table stored in the storage module 10, that is, downloading the test case and the required test equipment for executing the test case and initial configuration parameters and test command information for each test device;

检索模块12,与下载模块11连接,主要用于根据每个测试用例,在下载模块11下载的信息中,检索出执行该测试用例所需的测试设备,以及针对每个测试设备的初始配置参数和测试命令信息;Retrieval module 12, connected with download module 11, is mainly used for each test case, among the information downloaded by download module 11, retrieves the test equipment needed to execute the test case, and the initial configuration parameters for each test equipment and test command information;

下发模块13,与检索模块12连接,主要用于把检索模块12检索出的初始配置参数和测试命令分别下发到检索出的相应测试设备中;进一步用于使相应的测试设备在设置完初始配置参数后执行相应的测试命令,以对DSL系统中的DSLAM和MODEM之间的各项互通性测试任务进行测试;The sending module 13 is connected with the retrieval module 12, and is mainly used to send the initial configuration parameters and test commands retrieved by the retrieval module 12 to the corresponding test equipment retrieved respectively; Execute corresponding test commands after initial configuration parameters to test various interoperability test tasks between DSLAM and MODEM in the DSL system;

捕获模块14,主要用于对每个测试设备反馈回的测试数据进行自动及时捕获,以及时获得每个测试设备反馈回的各项测试数据;The capture module 14 is mainly used to automatically and timely capture the test data fed back by each test device, so as to obtain the various test data fed back by each test device in time;

比对分析模块15,与捕获模块14连接,主要用于将捕获模块14捕获的测试数据和TR-048中的相应指标参数进行比对分析并处理,进而得到结果数据;即把测试数据和TR-048中的相应指标参数进行一一比对处理,以得出相应的互通性测试指标是否通过的结果数据;The comparison and analysis module 15 is connected with the capture module 14, and is mainly used for comparing and analyzing the test data captured by the capture module 14 with the corresponding index parameters in TR-048 and processing them, and then obtaining the result data; that is, combining the test data and the TR-048 The corresponding index parameters in -048 are compared one by one to obtain the result data of whether the corresponding interoperability test index passes;

写入模块16,与比对分析模块15连接,主要用于将比对分析模块15得出的结果数据逐一写入文件系统,以形成测试报告,用以备份和后续的查询。The writing module 16 is connected with the comparison and analysis module 15 and is mainly used to write the result data obtained by the comparison and analysis module 15 into the file system one by one to form a test report for backup and subsequent query.

其中在测试用机1中,上述的各个功能模块在执行测试流程的过程中,下发模块13将DSLAM初始配置参数和测试命令通过串口下发到DSLAM中,同时将线路仿真器初始配置参数和测试命令通过串口下发到线路仿真器中,并将Smartbits测试仪初始配置参数和测试命令通过网口下发到Smartbits测试仪中;DSLAM、线路仿真器和Smartbits测试仪进行相应的互通测试过程中,不断的将测试数据通过相应的串口、网口反馈回测试用机1,测试用机1中的捕获模块14对该三个测试设备反馈回的测试数据进行自动捕获,然后及时送到比对分析模块15,以和TR-048标准中的相应指标参数进行比对,以得到相应指标测试是否通过的结果数据;然后及时将得到的结果数据再送至写入模块16,逐一写入到文件系统中,以形成测试报告的形式。Wherein in the test machine 1, in the process of executing the test process for each of the above-mentioned functional modules, the sending module 13 sends the DSLAM initial configuration parameters and test commands to the DSLAM through the serial port, and simultaneously sends the circuit emulator initial configuration parameters and test commands to the DSLAM. The test command is sent to the line emulator through the serial port, and the initial configuration parameters and test commands of the Smartbits tester are sent to the Smartbits tester through the network port; the DSLAM, the line emulator and the Smartbits tester are performing corresponding interoperability tests. , continuously feed back the test data to the test machine 1 through the corresponding serial ports and network ports, and the capture module 14 in the test machine 1 automatically captures the test data fed back by the three test devices, and then sends them in time for comparison The analysis module 15 is compared with the corresponding index parameters in the TR-048 standard to obtain the result data of whether the corresponding index test is passed; then the obtained result data is sent to the writing module 16 in time, and written into the file system one by one in the form of a test report.

上述测试用机1中的下发模块13分别通过脚本语言建立与DSLAM、线路仿真器和Smartbits测试仪之间的逻辑通道,然后分别通过相应的脚本语言逻辑通道将初始配置参数和测试命令下发到相应的测试设备中;然后各个测试设备再分别通过这些相应的脚本语言逻辑通道将测试数据反馈到测试用机1中,以进行后续的捕获、比对分析处理和写入操作。其详细的处理如下:The sending module 13 in the above-mentioned test machine 1 respectively establishes logical channels with the DSLAM, the circuit emulator and the Smartbits tester through the scripting language, and then issues the initial configuration parameters and test commands through the corresponding scripting language logical channels respectively to the corresponding test equipment; then each test equipment feeds back the test data to the test machine 1 through these corresponding script language logic channels for subsequent capture, comparison analysis and writing operations. Its detailed processing is as follows:

参照图5,在测试用机1上,利用某种程序语言,如TCL(Tools CommandLanguage)、Microsoft Visual C++,编写DSLAM控制包、动态连接库(DLL,Dynamic Link Library),以形成脚本语言逻辑通道,然后下发模块13通过该逻辑通道将DSLAM的初始配置参数和测试命令下发到DSLAM;同时测试用机1使用串口或者网口,发送或接收控制DSLAM的二进制代码或字符串指令,进行通信;并且DSLAM由形成的该逻辑通道返回测试数据给测试用机1,以进行下一步操作。With reference to Fig. 5, on test machine 1, utilize certain programming language, as TCL (Tools CommandLanguage), Microsoft Visual C++, write DSLAM control package, dynamic link library (DLL, Dynamic Link Library), to form scripting language logic channel , and then the sending module 13 sends the initial configuration parameters and test commands of the DSLAM to the DSLAM through the logical channel; at the same time, the test machine 1 uses a serial port or a network port to send or receive binary codes or string instructions for controlling the DSLAM for communication ; And the DSLAM returns the test data to the testing machine 1 by the formed logic channel, so as to carry out the next step.

参照图6,在测试用机1上,利用某种程序语言,如TCL(Tools CommandLanguage)、Microsoft Visual C++,利用已经有的一些控制接口以及测试设备(包括线路仿真器和Smartbits测试仪)的底层驱动命令,编写对应的测试设备控制包、动态连接库DLL,以形成相应的脚本语言逻辑通道。在下发模块13中,通过把测试命令经串口、网口或通用接口总线GPIB卡及GPIB电缆,下发给相应的测试设备。测试设备收到测试命令后,执行相应的测试。然后测试设备把某些测试状态值作为测试数据,通过形成的脚本语言逻辑通道,反馈给测试用机1。With reference to Fig. 6, on the testing machine 1, utilize certain programming language, as TCL (Tools CommandLanguage), Microsoft Visual C++, utilize the bottom layer of some existing control interfaces and test equipment (comprising circuit emulator and Smartbits tester) Drive command, write the corresponding test equipment control package and dynamic link library DLL to form the corresponding scripting language logic channel. In the sending module 13, the test command is sent to the corresponding test equipment through the serial port, the network port or the general interface bus GPIB card and the GPIB cable. After receiving the test command, the test equipment executes the corresponding test. Then the test equipment takes certain test status values as test data, and feeds back to the test machine 1 through the formed script language logic channel.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be It is regarded as the protection scope of the present invention.

Claims (12)

1, a kind of interoperability testing method of equipment room is characterized in that, this method comprises the steps:
(S1) each test case, carry out the required testing equipment of this test case, be created as mapping relations at the initial configuration parameter and the test command of this testing equipment;
When (S2) carrying out each test case, according to described mapping relations, initial configuration parameter that will be corresponding and test command with this test case be issued to respectively with the corresponding testing equipment of this test case in, testing equipment is carried out corresponding test command, to finish Interoperability Testing.
2, interoperability testing method according to claim 1, it is characterized in that, further be included in the described step (S2) and retrieve the testing equipment corresponding in the described mapping relations, reach initial configuration parameter and test command at each testing equipment with the test case that will carry out.
3, interoperability testing method according to claim 1 is characterized in that, also comprises in the described step (S1) a plurality of described mapping relations are formed mapping relations table and storage; Simultaneously the index parameter in the Interoperability Testing standard is stored.
4, interoperability testing method according to claim 3 is characterized in that, described step (S2) further comprises:
(S241) the pairing mapping relations of the test case that will carry out are downloaded from the mapping relations table of storage;
(S242) in the mapping relations of downloading, retrieve the testing equipment corresponding, reach initial configuration parameter and test command at each testing equipment with the test case that will carry out.
5, interoperability testing method according to claim 3 is characterized in that, described step (S2) further comprises afterwards:
(S251) in time catch the test data that described testing equipment is fed back;
(S252) the corresponding index parameter in the Interoperability Testing standard of described test data and storage is compared processing, and then obtain result data.
6, interoperability testing method according to claim 5 is characterized in that, (S252) also comprises afterwards in described step: described result data is write file system one by one, to form test report.
7, a kind of Interoperability Testing system of equipment room is characterized in that, this system comprises:
Mapping block is used for each test case, carries out the required testing equipment of this test case, is created as mapping relations at the initial configuration parameter and the test command of this testing equipment;
Issue module, be used for when carrying out each test case, according to described mapping relations, initial configuration parameter that will be corresponding and test command with this test case be issued to respectively with the corresponding testing equipment of this test case in.
8, Interoperability Testing according to claim 7 system is characterized in that this system also comprises:
Retrieval module, respectively with described mapping block with issue module and be connected, be used for according to each test case, the required testing equipment of this test case is carried out in retrieval, and at the initial configuration parameter and the test command of each testing equipment.
9, Interoperability Testing according to claim 7 system is characterized in that this system also comprises:
Memory module is connected with described mapping block, is used to store the mapping relations table that each mapping relations are formed;
Download module is connected with described memory module, is used for downloading the mapping relations corresponding with the test case that will carry out from the mapping relations table of storage;
Retrieval module, respectively with described download module with issue module and be connected, be used for retrieving the required testing equipment of implementation of test cases, and at the initial configuration parameter and the test command of each testing equipment from the mapping relations of downloading.
10, Interoperability Testing according to claim 9 system is characterized in that described memory module also stores the index parameter in the Interoperability Testing standard.
11, Interoperability Testing according to claim 10 system is characterized in that this system also comprises:
Trapping module is used in time catching the test data that described testing equipment is fed back;
The compare of analysis module is connected with described trapping module, is used for the processing that compares of corresponding index parameter with the Interoperability Testing standard of test data and storage, and then obtains result data.
12, Interoperability Testing according to claim 11 system is characterized in that this system also comprises:
Writing module is connected with described compare of analysis module, is used for result data is write file system one by one, to form test report.
CNB2003101171343A 2003-12-03 2003-12-03 Method and system for testing intercommunity between equipments Expired - Fee Related CN100337440C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101171343A CN100337440C (en) 2003-12-03 2003-12-03 Method and system for testing intercommunity between equipments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101171343A CN100337440C (en) 2003-12-03 2003-12-03 Method and system for testing intercommunity between equipments

Publications (2)

Publication Number Publication Date
CN1625129A CN1625129A (en) 2005-06-08
CN100337440C true CN100337440C (en) 2007-09-12

Family

ID=34760905

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101171343A Expired - Fee Related CN100337440C (en) 2003-12-03 2003-12-03 Method and system for testing intercommunity between equipments

Country Status (1)

Country Link
CN (1) CN100337440C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388802B (en) * 2007-09-14 2011-01-19 中兴通讯股份有限公司 Apparatus for test number transmission ability between networks
CN101931571A (en) * 2009-06-24 2010-12-29 鸿富锦精密工业(深圳)有限公司 Network performance testing system and testing method
CN102111801B (en) * 2010-12-23 2013-08-21 北京宜富泰网络测试实验室有限公司 Method and system for testing network management interface of third generation mobile communication network
CN104580752B (en) * 2013-10-18 2018-12-21 深圳市共进电子股份有限公司 The test method and system of data penetration transmission
CN105635814A (en) * 2015-12-31 2016-06-01 深圳市九洲电器有限公司 Detection method and device of TS signal port

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05300234A (en) * 1992-04-08 1993-11-12 Nec Corp Service test system in service control node
JPH07147607A (en) * 1993-11-24 1995-06-06 Nippon Telegr & Teleph Corp <Ntt> Device station data automatic creation method by test program
JPH09289511A (en) * 1996-04-23 1997-11-04 Nec Shizuoka Ltd Interface testing method for router
CN1282162A (en) * 1999-07-27 2001-01-31 友讯科技股份有限公司 A distributed detection system for network devices
US20020162059A1 (en) * 2000-10-27 2002-10-31 Mcneely Tracy J. Methods and systems for testing communications network components
CN1411173A (en) * 2001-09-27 2003-04-16 华为技术有限公司 Universal testing method for broad band product interface single board

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05300234A (en) * 1992-04-08 1993-11-12 Nec Corp Service test system in service control node
JPH07147607A (en) * 1993-11-24 1995-06-06 Nippon Telegr & Teleph Corp <Ntt> Device station data automatic creation method by test program
JPH09289511A (en) * 1996-04-23 1997-11-04 Nec Shizuoka Ltd Interface testing method for router
CN1282162A (en) * 1999-07-27 2001-01-31 友讯科技股份有限公司 A distributed detection system for network devices
US20020162059A1 (en) * 2000-10-27 2002-10-31 Mcneely Tracy J. Methods and systems for testing communications network components
CN1411173A (en) * 2001-09-27 2003-04-16 华为技术有限公司 Universal testing method for broad band product interface single board

Also Published As

Publication number Publication date
CN1625129A (en) 2005-06-08

Similar Documents

Publication Publication Date Title
CN1300961C (en) Test method
CN101052020A (en) Monitor method and system for automatically measuring executing process
CN1549119A (en) Logic simulation test system and method
CN1562654A (en) Method for calibrating controller of electric automobile in mixing motive power based on CCP protocol
CN100337440C (en) Method and system for testing intercommunity between equipments
CN113028603A (en) Equipment monitoring system applied to central air-conditioning system
CN1946031A (en) Central managing system and method for multiple protocol data and transmission network device
CN101035010A (en) Network element device configuration method in the passive optical network
CN113783718A (en) Multi-core real-time IP packet capturing method and device
CN1905496A (en) System and method for testing function of communication apparatus
CN101042424A (en) Method and apparatus for detecting application-specific integrated circuits
CN1479461A (en) Communication system fault diagnosis method and system
CN1567801A (en) Radio-frequency indicator testing method
CN1625271A (en) One board testing device of digital user wire equipment
CN1780237A (en) Logical topology network for protocol testing and its method for implementing protocol testing
CN1254047C (en) Method of carrying out test against join up service instrument
CN1858719A (en) Method for realizing automatic test and its system
CN1417986A (en) Business intercommunication test method and device for asynchronous transferring mode exchange
CN114205789A (en) Method, system and storage medium for opening 5G station
CN1764131A (en) A protocol testing system and method
CN1138382C (en) Tree service distribution method for transmission products
CN103294053A (en) K-line diagnostic system for automobiles
CN100347990C (en) Method and system for monitoring performance of large scale memory system based on storage area network
CN1297096C (en) Method for selective and collective transmission of messages in TMA network
CN1430346A (en) Method of testing and locating fault of network management system software in phototiming digital transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: Guangdong Changshi Communications Engineering Co. Ltd.

Assignor: Huawei Technologies Co., Ltd.

Contract fulfillment period: 2008.2.15 to 2013.2.14 contract change

Contract record no.: 2009440001255

Denomination of invention: Method and system for testing intercommunity between equipments

Granted publication date: 20070912

License type: Exclusive license

Record date: 2009.8.14

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2008.2.15 TO 2013.2.14; CHANGE OF CONTRACT

Name of requester: GUANGDONG CHANGSHI COMMUNICATION ENGINEERING CO.,

Effective date: 20090814

ASS Succession or assignment of patent right

Owner name: GUANGZHOU BOSHI SCIENCE AND TECHNOLOGY EXCHANGE CE

Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO., LTD.

Effective date: 20100115

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20100115

Address after: No. 80, martyrs Road, Guangzhou, Yuexiu District No. 6 business building

Patentee after: Guangzhou Dr. Technology Exchange Center Co., Ltd.

Address before: Bantian HUAWEI headquarters office building, Longgang District, Shenzhen, Guangdong

Patentee before: Huawei Technologies Co., Ltd.

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070912

Termination date: 20121203