CN103546345A - A method and device for testing the performance of communication equipment - Google Patents
A method and device for testing the performance of communication equipment Download PDFInfo
- Publication number
- CN103546345A CN103546345A CN201310508644.7A CN201310508644A CN103546345A CN 103546345 A CN103546345 A CN 103546345A CN 201310508644 A CN201310508644 A CN 201310508644A CN 103546345 A CN103546345 A CN 103546345A
- Authority
- CN
- China
- Prior art keywords
- test
- module
- testing
- instrument
- communication device
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 345
- 238000004891 communication Methods 0.000 title claims abstract description 104
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000008569 process Effects 0.000 claims abstract description 15
- 238000004458 analytical method Methods 0.000 claims description 35
- 238000012545 processing Methods 0.000 claims description 14
- 238000005516 engineering process Methods 0.000 description 5
- 230000011664 signaling Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种测试通信设备性能的方法及装置。The invention relates to the technical field of communication, in particular to a method and device for testing the performance of communication equipment.
背景技术Background technique
WIFI(Wireless Fidelity,无线保真)是一种可以将个人电脑、手持设备(如PAD、手机)等终端以无线方式互相连接的技术,是目前应用最为普遍的一种短程无线传输技术。WIFI (Wireless Fidelity) is a technology that can wirelessly connect terminals such as personal computers and handheld devices (such as PADs and mobile phones) to each other. It is the most commonly used short-range wireless transmission technology at present.
随着WIFI技术的不断发展,含有WIFI功能的无线通信设备的需求量也在日益增大,因此对WIFI的性能也提出了越来越高的要求。目前业界对WIFI性能的测试主要是在非信令连接的模式下,对WIFI射频性能指标的测试,对于WIFI数据应用的测试,现阶段主要依赖于测试员的手动测试。With the continuous development of WIFI technology, the demand for wireless communication equipment with WIFI function is also increasing, so the performance of WIFI is also put forward higher and higher requirements. At present, the industry's testing of WIFI performance is mainly to test the WIFI radio frequency performance indicators in the non-signaling connection mode. For the testing of WIFI data applications, at this stage, it mainly relies on the manual testing of testers.
随着WIFI技术的日益发展,WIFI射频性能指标测试远远不能满足人们对WIFI技术的进一步探索,因此WIFI数据应用的测试逐渐成为主流,而手动测试不仅操作比较繁琐,而且测试效率较低、容易出错。With the increasing development of WIFI technology, WIFI radio frequency performance index test is far from satisfying people's further exploration of WIFI technology, so WIFI data application testing has gradually become the mainstream, while manual testing is not only cumbersome to operate, but also low in efficiency and easy to test. error.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种测试通信设备性能的方法及装置,来克服以上技术提到的手动操作繁琐、测试效率低、容易出错等问题。In view of this, the embodiments of the present invention provide a method and device for testing the performance of communication equipment, so as to overcome the problems of cumbersome manual operation, low testing efficiency, and error-proneness mentioned in the above techniques.
一方面,本发明提供了一种测试通信设备性能的方法,所述方法包括:In one aspect, the present invention provides a method for testing the performance of a communication device, the method comprising:
与通信设备的测试仪器建立通信连接;Establish a communication connection with the test instrument of the communication equipment;
通过建立的所述通信连接为所述测试仪器配置测试参数;Configuring test parameters for the test instrument through the established communication connection;
根据用户输入的指令,控制所述测试仪器根据所述测试参数对所述通信设备进行测试;controlling the test instrument to test the communication device according to the test parameters according to the instruction input by the user;
接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据。and receiving test data obtained during testing of the communication device by the test instrument.
进一步的,根据用户输入的指令,控制所述测试仪器根据所述测试参数对所述通信设备进行测试,包括:Further, according to an instruction input by the user, controlling the test instrument to test the communication device according to the test parameters includes:
根据用户输入的第一指令,控制所述测试仪器根据所述测试参数对所述通信设备开始进行测试;controlling the test instrument to start testing the communication device according to the test parameters according to the first instruction input by the user;
或者,or,
根据用户输入的第二指令,控制所述测试仪器暂停根据所述测试参数对所述通信设备进行的测试;controlling the test instrument to suspend the test of the communication device according to the test parameters according to the second instruction input by the user;
或者,or,
根据用户输入的第三指令,控制所述测试仪器停止根据所述测试参数对所述通信设备进行的测试。According to the third instruction input by the user, the test instrument is controlled to stop testing the communication device according to the test parameters.
进一步的,接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据之后,还包括:Further, after receiving the test data obtained during the test of the communication device by the test instrument, it also includes:
显示接收的所述测试数据。Display the test data received.
进一步的,接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据之后,还包括:Further, after receiving the test data obtained during the test of the communication device by the test instrument, it also includes:
保存接收的所述测试数据。Said test data received is saved.
进一步的,接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据之后,还包括:Further, after receiving the test data obtained during the test of the communication device by the test instrument, it also includes:
对所述测试数据进行分析处理,获得分析数据;Analyzing and processing the test data to obtain the analysis data;
显示获得的分析数据。Displays the obtained analysis data.
进一步的,对所述测试数据进行分析处理,获得分析数据之后,还包括:Further, the test data is analyzed and processed, and after the analysis data is obtained, it also includes:
保存获得的所述分析数据。The analysis data obtained are saved.
另一方面,本发明还公开了一种测试通信设备性能的装置,其特征在于,所述装置包括:On the other hand, the present invention also discloses a device for testing the performance of communication equipment, which is characterized in that the device includes:
连接模块,用于与通信设备的测试仪器建立通信连接;The connection module is used to establish a communication connection with the test instrument of the communication device;
配置模块,用于通过所述连接模块建立的所述通信连接为所述测试仪器配置测试参数;a configuration module, configured to configure test parameters for the test instrument through the communication connection established by the connection module;
测试模块,用于根据用户输入的指令,控制所述配置模块根据所述测试模块配置的测试参数对所述通信设备进行测试;A test module, configured to control the configuration module to test the communication device according to the test parameters configured by the test module according to an instruction input by the user;
接收模块,用于接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据。The receiving module is configured to receive the test data obtained during the process of testing the communication device by the test instrument.
进一步的,所述测试模块,包括以下至少一个子模块:Further, the test module includes at least one of the following submodules:
第一控制子模块,用于根据用户输入的第一指令,控制所述测试仪器根据所述配置模块配置的测试参数对所述通信设备开始进行测试;The first control submodule is configured to control the test instrument to start testing the communication device according to the test parameters configured by the configuration module according to the first instruction input by the user;
第二控制子模块,用于根据用户输入的第二指令,控制所述测试仪器暂停根据所述配置模块配置的测试参数对所述通信设备进行的测试;The second control submodule is configured to control the test instrument to suspend the test of the communication device according to the test parameters configured by the configuration module according to the second instruction input by the user;
第三控制子模块,用于根据用户输入的第三指令,控制所述测试仪器停止根据所述配置模块配置的测试参数对所述通信设备进行的测试。The third control submodule is configured to control the test instrument to stop testing the communication device according to the test parameters configured by the configuration module according to a third instruction input by the user.
进一步的,所述装置还包括:显示模块,用于在所述接收模块获得测试数据之后,显示所述测试数据。Further, the device further includes: a display module, configured to display the test data after the receiving module obtains the test data.
进一步的,所述装置还包括:存储模块,用于在所述接收模块接收到所述测试数据之后,保存所述测试数据。Further, the device further includes: a storage module, configured to save the test data after the receiving module receives the test data.
进一步的,所述装置还包括:Further, the device also includes:
分析模块,用于对所述接收模块接收到的测试数据进行分析处理,获得分析数据;An analysis module, configured to analyze and process the test data received by the receiving module to obtain analysis data;
所述显示模块还用于显示所述分析模块获得的分析数据。The display module is also used to display the analysis data obtained by the analysis module.
进一步的,所述存储模块还用于保存所述分析模块获得的所述分析数据。Further, the storage module is also used to save the analysis data obtained by the analysis module.
本发明实施例提供的测试通信设备性能的方法及装置,通过在测试终端设备上运行的自动化测试工具中配置测试参数,并控制测试仪器完成通信设备发射的信号的测试,从而简化了操作流程,避免了手动操作引入的误差,提高了测试效率。The method and device for testing the performance of communication equipment provided by the embodiments of the present invention simplifies the operation process by configuring the test parameters in the automated test tool running on the test terminal equipment and controlling the test instrument to complete the test of the signal transmitted by the communication equipment. Errors introduced by manual operations are avoided, and test efficiency is improved.
附图说明Description of drawings
下面将通过参照附图详细描述本发明的示例性实施例,使本领域的普通技术人员更清楚本发明的上述及其它特征和优点,附图中:Exemplary embodiments of the present invention will be described in detail below with reference to the accompanying drawings, so that those of ordinary skill in the art will be more aware of the above-mentioned and other features and advantages of the present invention. In the accompanying drawings:
图1为本发明第一实施例提供的测试通信设备性能的方法的流程图;FIG. 1 is a flow chart of a method for testing the performance of a communication device provided by a first embodiment of the present invention;
图2为本发明第一实施例提供的测试通信设备性能的方法中自动化测试工具用户界面示意图;FIG. 2 is a schematic diagram of a user interface of an automated testing tool in the method for testing the performance of a communication device provided in the first embodiment of the present invention;
图3为本发明第二实施例提供的测试通信设备性能的方法中处理测试数据的流程图;Fig. 3 is a flow chart of processing test data in the method for testing the performance of communication equipment provided by the second embodiment of the present invention;
图4为本发明第三实施例提供的测试通信设备性能的装置的示意图。Fig. 4 is a schematic diagram of an apparatus for testing the performance of a communication device according to a third embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.
第一实施例first embodiment
图1为本发明第一实施例提供的测试通信设备性能的方法的流程图,本发明实施例提供的方法可由具有通信能力及数据处理能力的设备如计算机、服务器等来执行或实现,本实施例所示的方法包括:Figure 1 is a flow chart of the method for testing the performance of communication equipment provided by the first embodiment of the present invention. The method provided by the embodiment of the present invention can be executed or realized by devices with communication capabilities and data processing capabilities, such as computers and servers. This embodiment The methods shown in the example include:
步骤101、与通信设备的测试仪器建立通信连接。
测试开始时,首先建立测试终端与测试仪器间的通信连接,所述测试终端可以是安装有自动化测试工具软件的PC机,所述测试仪器可内置协议服务器、WIFI信令协议和测试部件,以通过协议服务器存储实网中的数据,在此基础上通过WIFI信令协议和测试部件的配合,使得测试仪器可以更好地模拟WIFI实网环境,所述测试仪器用于接收并测试与其连接的通信设备发射的信号,并将测试得到的测试数据发送到所述测试中端。所述测试终端与所述测试仪器可以通过GPIB(General Purpose Interface Bus,通用接口总线)线连接。本实施例中测试终端可远程控制测试仪器,直接在测试终端就可以控制测试仪器完成所有操作。When the test started, at first set up the communication connection between the test terminal and the test instrument, the test terminal can be a PC with automated test tool software installed, and the test instrument can have a built-in protocol server, WIFI signaling protocol and test components, so as to The data in the real network is stored by the protocol server, and on this basis, through the cooperation of the WIFI signaling protocol and the test components, the test instrument can better simulate the WIFI real network environment, and the test instrument is used to receive and test the connected The signal transmitted by the communication device, and the test data obtained by the test are sent to the test center. The test terminal and the test instrument can be connected by a GPIB (General Purpose Interface Bus, general purpose interface bus) line. In this embodiment, the test terminal can remotely control the test instrument, and can directly control the test instrument to complete all operations on the test terminal.
步骤102、通过建立的所述通信连接为所述测试仪器配置测试参数。
测试终端与测试仪器建立通信连接后,通过测试终端上运行的自动化测试工具为所述测试仪器配置测试参数,例如测试射频指标时,配置的测试参数包括AP(Access Point,接入节点)的SSID(Service Set Identifier,服务集标识)名称及其加密方式、AP发射功率、WIFI数据链路层协议、编码率及调制方式、线损(默认2.4G为0.9dB,5.8G为2dB)等,测试数据应用时,配置的测试参数可以包括上述所有参数,还可以选择不同协议进行测试。After the test terminal establishes a communication connection with the test instrument, the automated test tool running on the test terminal configures the test parameters for the test instrument, for example, when testing the radio frequency index, the test parameters configured include the SSID of the AP (Access Point, access node) (Service Set Identifier, service set identifier) name and its encryption method, AP transmit power, WIFI data link layer protocol, coding rate and modulation method, line loss (default 2.4G is 0.9dB, 5.8G is 2dB), etc., test When data is applied, the configured test parameters can include all the above parameters, and different protocols can also be selected for testing.
步骤103、根据用户输入的指令,控制所述测试仪器根据所述测试参数对所述通信设备进行测试。Step 103: Control the test instrument to test the communication device according to the test parameters according to the instruction input by the user.
本步骤中,所述通信设备可以是手机、PAD等,所述通信设备与所述测试仪器可以通过cable线或耦合方式连接。测试参数的配置完成后,测试终端上运行的自动化测试工具会自动搜索与所述测试仪器连接的通信设备。如果通信设备与测试仪器连接正常,则由所述通信设备发射信号到测试仪器,测试终端接收所述信号,并根据测试参数控制测试仪器对所述信号进行测试。例如用户选择HTTP协议进行测试,测试过程如下:配置测试仪器中测试部件的外网适配器(包括IP地址、子网掩码、网关),测试仪器后端LAN DAU插上可访问外网的网线,然后在手机端打开浏览器,输入所要访问的域名,就可以打开外网的网页。浏览网页过程中的网页打开时间,当前网络速度等都可以被自动化测试工具抓下来,用于界面显示和后台保存。In this step, the communication device may be a mobile phone, a PAD, etc., and the communication device may be connected to the test instrument through a cable or a coupling manner. After the configuration of the test parameters is completed, the automated test tool running on the test terminal will automatically search for the communication device connected to the test instrument. If the connection between the communication device and the test instrument is normal, the communication device transmits a signal to the test instrument, and the test terminal receives the signal and controls the test instrument to test the signal according to the test parameters. For example, if the user selects the HTTP protocol for testing, the testing process is as follows: Configure the external network adapter (including IP address, subnet mask, and gateway) of the test component in the test instrument, plug in the network cable that can access the external network on the LAN DAU at the back end of the test instrument, Then open the browser on the mobile phone, enter the domain name you want to visit, and you can open the webpage of the extranet. The web page opening time and current network speed during web browsing can be captured by automated testing tools for interface display and background storage.
如果用户选择FTP协议进行测试,测试过程如下:手机端下载AndFTPapk,然后将其访问的服务器地址设为172.22.0.201,该地址为仪器内置的FTP服务器,里面含有各种数据资源。手机端保证其有足够的空间可下载服务器上的数据资源。下载过程中的下载时间,下载速度都可以被自动化测试工具抓下来,用于界面显示和后台保存。If the user chooses the FTP protocol for testing, the testing process is as follows: download AndFTPapk on the mobile phone, and then set the server address it accesses to 172.22.0.201, which is the built-in FTP server of the instrument, which contains various data resources. The mobile terminal ensures that it has enough space to download the data resources on the server. The download time and download speed during the download process can be captured by automated testing tools for interface display and background storage.
如果用户选择RTSP协议进行测试,测试过程如下:手机端下载Vplayer apk,然后打开此播放器输入在线流媒体的资源地址,就可以观察在线视频播放的缓冲时间,画面质量等。另外,还可以通过设置信令连接下WIFI编码率和调制方式,就能观察到在线视频播放过程中马赛克,卡等异常现象,可以非常直观地测试出链路层以上协议的软件设置问题。If the user chooses the RTSP protocol for testing, the testing process is as follows: download the Vplayer apk on the mobile phone, then open the player and enter the resource address of the online streaming media, and then you can observe the buffering time and picture quality of the online video playback. In addition, by setting the WIFI encoding rate and modulation mode under the signaling connection, you can observe abnormal phenomena such as mosaics and cards during online video playback, and you can very intuitively test the software setting problems of the protocols above the link layer.
步骤104、接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据。
测试仪器对接收到的信号测试完成后,由自动化测试工具控制所述测试仪器发送测试数据到测试终端。After the test instrument finishes testing the received signal, the test instrument is controlled by the automated test tool to send test data to the test terminal.
本发明实施例通过在测试终端设备上运行的自动化测试工具中配置测试参数,并控制测试仪器完成通信设备发射的信号的测试,从而简化了操作流程,避免了手动操作引入的误差,提高了测试效率。The embodiment of the present invention configures the test parameters in the automated test tool running on the test terminal equipment, and controls the test instrument to complete the test of the signal transmitted by the communication device, thereby simplifying the operation process, avoiding the error introduced by manual operation, and improving the test efficiency. efficiency.
上述实施方案中,所述步骤103根据用户输入的指令,控制所述测试仪器根据所述测试参数对所述通信设备进行测试,优选的,可包括:In the above embodiment, the
根据用户输入的第一指令,控制所述测试仪器根据所述测试参数对所述通信设备开始进行测试;或者,According to the first instruction input by the user, control the test instrument to start testing the communication device according to the test parameters; or,
根据用户输入的第二指令,控制所述测试仪器根据所述测试参数对所述通信设备暂停进行测试;或者,According to the second instruction input by the user, control the test instrument to suspend the test of the communication device according to the test parameters; or,
根据用户输入的第三指令,控制所述测试仪器根据所述测试参数对所述通信设备停止进行测试。According to the third instruction input by the user, the test instrument is controlled to stop testing the communication device according to the test parameters.
测试终端上运行的自动化控制工具的用户界面如图2所示,所述用户界面包括但不限于测试项及测试数据显示窗口、图形显示窗口和CONFIG、TEST、PAUSE、EXIT、图表控制按键,用户可以通过用户界面上CONFIG键为测试仪器配置测试参数,通过TEST、PAUSE、EXIT等键来控制测试仪器的操作,例如,开始测试时,首先点击“WIFI应用测试.exe”图标运行程序,此时,测试终端会自动搜索当前与测试仪器连接的通信设备,如果通信设备与测试仪器通信正常,则可以在图2所示的用户界面上显示“测试仪器与通信设备连接成功”的字样,否则,可以显示“测试仪器与通信设备连接失败”的字样。测试仪器与通信设备成功连接后,点击“CONFIG”可以进行参数配置,测试参数配置成功后,点击“TEST”可以开始控制测试仪器接收通信设备发送的信号,并对所述信号进行测试,获得测试数据,点击“PAUSE”可控制测试仪器暂停对接收信号的测试,点击“EXIT”可控制测试仪器退出本次测试。The user interface of the automated control tool running on the test terminal is shown in Figure 2. The user interface includes but is not limited to test items and test data display windows, graphic display windows, and CONFIG, TEST, PAUSE, EXIT, and chart control buttons. You can configure test parameters for the test instrument through the CONFIG key on the user interface, and control the operation of the test instrument through TEST, PAUSE, EXIT and other keys. For example, when starting the test, first click the "WIFI application test.exe" icon to run the program. At this time , the test terminal will automatically search for the communication device that is currently connected to the test instrument. If the communication between the communication device and the test instrument is normal, the words "The connection between the test instrument and the communication device is successful" can be displayed on the user interface shown in Figure 2; otherwise, The words "failed to connect the test instrument to the communication device" can be displayed. After the test instrument is successfully connected to the communication device, click "CONFIG" to configure the parameters. After the test parameters are configured successfully, click "TEST" to start controlling the test instrument to receive the signal sent by the communication device, and test the signal to obtain the test result. data, click "PAUSE" to control the test instrument to suspend the test of the received signal, and click "EXIT" to control the test instrument to exit this test.
上述实施方案中,所述步骤104接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据之后,优选的,还包括:存储所述测试数据。在这里存储的方式不做限定。In the above embodiment, after the
上述实施方案中,所述步骤104接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据之后,优选的,还包括:显示所述测试数据。如图2所述的测试终端上运行的自动化控制工具的用户界面中的显示窗口可以用于显示测试结果,显示方式可以是图形的方式,也可以是表格的方式,在此不做具体限定。In the above embodiment, after the
第二实施例second embodiment
本实施例在上述实施例的基础上,进一步对测试终端接收到的测试数据进行了处理,进一步的处理步骤如图3所示。On the basis of the foregoing embodiments, this embodiment further processes the test data received by the test terminal, and further processing steps are shown in FIG. 3 .
步骤301、对所述测试数据进行分析处理,获得分析数据。
测试终端接收到测试仪器发送的测试数据后,可以对所述测试数据进行分析处理,如求均方根、平坦度、数据单位转换、数据打包等,并获取分析处理后的分析数据。After the test terminal receives the test data sent by the test instrument, it can analyze and process the test data, such as calculating the root mean square, flatness, data unit conversion, data packaging, etc., and obtain the analyzed and processed analysis data.
步骤302、显示获得的分析数据。
对所述数据分析处理后,还可以在图2所示的用户界面显示分析结果,显示方式可以是图形的方式,也可以是表格的方式。After the data is analyzed and processed, the analysis result can also be displayed on the user interface shown in FIG. 2 , and the display method can be in the form of a graph or a form.
本实施例通过对接收到的测试数据进行进一步的分析处理,同时将处理结果显示在测试终端,从而使得通信设备的性能更加系统,测试结果更加直观。In this embodiment, the received test data is further analyzed and processed, and the processing result is displayed on the test terminal at the same time, so that the performance of the communication device is more systematic and the test result is more intuitive.
上述实施方案中,优选的,还可以保存所述分析数据,以便用于后续可能的处理,例如比较几台通信设备的WIFI性能。In the above implementation, preferably, the analysis data may also be saved for subsequent possible processing, for example, comparing the WIFI performance of several communication devices.
上述实施方案可以通过三个线程来完成,所述三个线程为用户界面线程、数据处理线程和后台数据保存线程。The above embodiment can be completed by three threads, and the three threads are a user interface thread, a data processing thread and a background data saving thread.
其中,所述用户界面线程主要负责用户界面的控制按钮事件。测试终端与测试仪器建立通信连接后,通过用户界面的控制按键为测试仪器配置测试参数,控制测试仪器完成测试操作,不同的按键表示不同的事件结构,在用户界面点击按键后,首先在用户界面线程将不同的事件结构的响应定义为枚举类型控制指令,然后将相应枚举类型指令利用队列传递到数据处理线程。另外,该线程还可以对不同用户界面控制按钮的属性进行操作,例如用户可以设置每个按键点击一次后变成灰色,在未完成相关项操作后无法再次使用该键,以此规避使用者的误操作,减少后续处理误操作的代码量,提高测试系统的稳定性与效率。Wherein, the user interface thread is mainly responsible for control button events of the user interface. After the test terminal establishes a communication connection with the test instrument, configure the test parameters for the test instrument through the control buttons on the user interface, and control the test instrument to complete the test operation. Different buttons represent different event structures. The threads define the responses of different event structures as enumeration type control instructions, and then pass the corresponding enumeration type instructions to the data processing thread by using the queue. In addition, this thread can also operate on the properties of different user interface control buttons. For example, the user can set each button to turn gray after one click, and the button cannot be used again after the relevant operation is not completed, so as to avoid the user's Misoperation, reduce the amount of code for subsequent processing of misoperations, and improve the stability and efficiency of the test system.
所述数据处理线程主要负责接收来自用户界面线程传递的控制指令,处理相应控制指令下测试终端与测试仪器的响应动作以及相应数据,并将所述数据以及测试仪器与通信设备的响应结果利用队列实时传递到后台数据保存线程。测试仪器的测试参数配置完成后,测试终端可以控制测试仪器在所述数据线程中接收通信设备发射的信号,测试接收到的信号,并发射相应的测试数据到测试终端,测试终端可以对接收到的测试数据进一步分析,得到分析数据,数据分析可包括求均方根、平坦度、数据单位转换、数据打包等,同时测试终端还可以将测试数据和分析数据通过队列传递到后台数据保存线程。The data processing thread is mainly responsible for receiving the control instruction transmitted from the user interface thread, processing the response actions of the test terminal and the test instrument and the corresponding data under the corresponding control instruction, and utilizing the data and the response results of the test instrument and the communication device in the queue Real-time delivery to the background data saving thread. After the test parameter configuration of the test instrument is completed, the test terminal can control the test instrument to receive the signal transmitted by the communication device in the data thread, test the received signal, and transmit the corresponding test data to the test terminal, and the test terminal can check the received signal. The test data is further analyzed to obtain the analysis data. The data analysis can include root mean square calculation, flatness, data unit conversion, data packaging, etc. At the same time, the test terminal can also pass the test data and analysis data to the background data saving thread through the queue.
所述后台数据保存线程可将数据处理线程传递过来的数据保存到EXCEL表格中,所述表格中可包括测试起始时间、结束时间、测试员信息、测试数据、测试状态等,测试仪器对接收到的信号完成测试,得到测试数据后,可以通过所述后台数据保存线程将测试数据以图像或EXCEL表格方式保存,另外测试终端对测试数据分析得到的分析数据也可以通过所述后台数据保存线程保存。The background data saving thread can save the data passed by the data processing thread in the EXCEL form, which can include test start time, end time, tester information, test data, test status, etc. The received signal completes the test, and after the test data is obtained, the test data can be saved as an image or EXCEL form through the background data saving thread, and the analysis data obtained by the test terminal analysis of the test data can also be saved through the background data saving thread. save.
第三实施例third embodiment
图4中示出了本发明第三实施例提供的检测接入终端的装置的示意图,本实施例所示的装置用于实现图1所示的方法,所述装置包括:连接模块401、配置模块402、测试模块403和接收模块404,其中,所述连接模块401用于与通信设备的测试仪器建立通信连接;所述配置模块402用于通过连接模块建立的所述通信连接为所述测试仪器配置测试参数;所述测试模块403用于根据用户输入的指令,控制所述测试仪器根据所述测试模块配置的测试参数对所述通信设备进行测试;所述接收模块404用于接收所述测试仪器对所述通信设备进行测试的过程中获得的测试数据。FIG. 4 shows a schematic diagram of a device for detecting an access terminal provided by a third embodiment of the present invention. The device shown in this embodiment is used to implement the method shown in FIG. 1, and the device includes: a
上述方案中,所述测试模块403,优选的,可至少包括第一控制子模块4031、第二控制子模块4032和第三控制子模块4033中的一个,所述第一控制子模块4031用于根据用户输入的第一指令,控制所述测试仪器根据所述配置模块配置的测试参数对所述通信设备开始进行测试;所述第二控制子模块4032用于根据用户输入的第二指令,控制所述测试仪器暂停根据所述配置模块配置的测试参数对所述通信设备进行的测试;所述第三控制子模块4033用于根据用户输入的第三指令,控制所述测试仪器停止根据所述配置模块配置的测试参数对所述通信设备进行的测试。In the above solution, preferably, the
上述方案中,所述装置,优选的,还包括:显示模块405,所述显示模块405用于在所述接收模块获得测试数据之后,显示所述测试数据。In the solution above, preferably, the device further includes: a
上述方案中,所述装置,优选的,还包括:存储模块406,所述存储模块406用于在所述接收模块获得测试数据之后,保存所述测试数据。In the solution above, preferably, the device further includes: a
上述方案中,所述装置,优选的,还包括:分析模块407,所述分析模块407用于对所述接收模块接收到的测试数据进行分析处理,获得分析数据;In the above solution, the device, preferably, further includes: an
所述显示模块405还用于显示所述分析模块获得的分析数据。The
上述方案中,所述存储模块406还用于保存所述分析模块获得的所述分析数据。In the above solution, the
本发明实施例提供的测试通信设备性能的装置用于执行本发明任意实施例提供的测试通信设备性能的方法,具备相应的功能模块,可达到与所述方法相似的技术效果,在此不再赘述。The device for testing the performance of communication equipment provided by the embodiments of the present invention is used to execute the method for testing the performance of communication equipment provided by any embodiment of the present invention, and has corresponding functional modules, which can achieve similar technical effects to the method described above, and will not be repeated here. repeat.
显然,本领域技术人员应该明白,上述的本发明的各模块可以用通用的计算装置来实现,它们可以集中在单个计算装置上,或者分布在多个计算装置所组成的网络上,可选地,他们可以用计算机装置可执行的程序代码来实现,从而可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件的结合。Obviously, those skilled in the art should understand that each module of the present invention described above can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed on a network formed by multiple computing devices, optionally , they can be implemented with executable program codes of computer devices, so that they can be stored in storage devices and executed by computing devices, or they can be made into individual integrated circuit modules, or a plurality of modules in them can be made into A single integrated circuit module to achieve. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例,并不用于限制本发明,对于本领域技术人员而言,本发明可以有各种改动和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310508644.7A CN103546345A (en) | 2013-10-24 | 2013-10-24 | A method and device for testing the performance of communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310508644.7A CN103546345A (en) | 2013-10-24 | 2013-10-24 | A method and device for testing the performance of communication equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103546345A true CN103546345A (en) | 2014-01-29 |
Family
ID=49969420
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310508644.7A Pending CN103546345A (en) | 2013-10-24 | 2013-10-24 | A method and device for testing the performance of communication equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103546345A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038499A (en) * | 2014-06-17 | 2014-09-10 | 宁波三星电气股份有限公司 | MODBUS RTU protocol based data transmission method |
CN104053051A (en) * | 2014-06-12 | 2014-09-17 | 广东欧珀移动通信有限公司 | Automated testing method and device achieving compatibility of mobile phone audios and mobile phone videos |
CN104410984A (en) * | 2014-11-26 | 2015-03-11 | 深圳市共进电子股份有限公司 | Wireless AP (access point) RF (radio frequency) index testing system and testing method thereof |
CN104618920A (en) * | 2015-01-09 | 2015-05-13 | 广州杰赛科技股份有限公司 | System and method for automatically testing AP spurs |
CN105468513A (en) * | 2014-09-11 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Testing method, apparatus and system based on mobile terminal |
CN108256363A (en) * | 2016-12-29 | 2018-07-06 | 大唐移动通信设备有限公司 | A kind of radio frequency test method and device |
CN109274807A (en) * | 2018-11-21 | 2019-01-25 | Oppo(重庆)智能科技有限公司 | Test method, apparatus and system |
CN110708712A (en) * | 2019-10-15 | 2020-01-17 | 四川九州电子科技股份有限公司 | Intelligent test system and method for wireless AP coverage and communication capability |
CN111309575A (en) * | 2020-02-18 | 2020-06-19 | 深圳市朱墨科技有限公司 | Method, device, server and storage medium for starting and stopping test tool |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287264A (en) * | 2008-05-22 | 2008-10-15 | 德信无线通讯科技(北京)有限公司 | Method, system and control device for measuring standby/call current of mobile phone |
CN101662781A (en) * | 2008-08-25 | 2010-03-03 | 深圳富泰宏精密工业有限公司 | System and method for testing mobile phone |
CN101848042A (en) * | 2010-04-20 | 2010-09-29 | 惠州Tcl移动通信有限公司 | Method and system for testing radio frequency of mobile phones |
CN101931477A (en) * | 2010-09-02 | 2010-12-29 | 湖北众友科技实业股份有限公司 | System and method for automatically testing performance of TD-LTE (Time Division-Long Term Evolution) terminal |
CN102348225A (en) * | 2011-11-24 | 2012-02-08 | 青岛海信移动通信技术股份有限公司 | Mobile terminal test method and test system as well as mobile terminal |
CN103002473A (en) * | 2012-11-27 | 2013-03-27 | 上海创远仪器技术股份有限公司 | Method, device and system for testing wireless terminal |
CN103344863A (en) * | 2013-07-15 | 2013-10-09 | 惠州Tcl移动通信有限公司 | Mobile terminal testing method and mobile terminal testing system |
-
2013
- 2013-10-24 CN CN201310508644.7A patent/CN103546345A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287264A (en) * | 2008-05-22 | 2008-10-15 | 德信无线通讯科技(北京)有限公司 | Method, system and control device for measuring standby/call current of mobile phone |
CN101662781A (en) * | 2008-08-25 | 2010-03-03 | 深圳富泰宏精密工业有限公司 | System and method for testing mobile phone |
CN101848042A (en) * | 2010-04-20 | 2010-09-29 | 惠州Tcl移动通信有限公司 | Method and system for testing radio frequency of mobile phones |
CN101931477A (en) * | 2010-09-02 | 2010-12-29 | 湖北众友科技实业股份有限公司 | System and method for automatically testing performance of TD-LTE (Time Division-Long Term Evolution) terminal |
CN102348225A (en) * | 2011-11-24 | 2012-02-08 | 青岛海信移动通信技术股份有限公司 | Mobile terminal test method and test system as well as mobile terminal |
CN103002473A (en) * | 2012-11-27 | 2013-03-27 | 上海创远仪器技术股份有限公司 | Method, device and system for testing wireless terminal |
CN103344863A (en) * | 2013-07-15 | 2013-10-09 | 惠州Tcl移动通信有限公司 | Mobile terminal testing method and mobile terminal testing system |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104053051A (en) * | 2014-06-12 | 2014-09-17 | 广东欧珀移动通信有限公司 | Automated testing method and device achieving compatibility of mobile phone audios and mobile phone videos |
CN104053051B (en) * | 2014-06-12 | 2017-10-17 | 广东欧珀移动通信有限公司 | It is a kind of to realize handset audio, the automated testing method and device of video compatibility |
CN104038499A (en) * | 2014-06-17 | 2014-09-10 | 宁波三星电气股份有限公司 | MODBUS RTU protocol based data transmission method |
CN105468513B (en) * | 2014-09-11 | 2021-03-12 | 腾讯科技(深圳)有限公司 | Test method, device and system based on mobile terminal |
CN105468513A (en) * | 2014-09-11 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Testing method, apparatus and system based on mobile terminal |
CN104410984A (en) * | 2014-11-26 | 2015-03-11 | 深圳市共进电子股份有限公司 | Wireless AP (access point) RF (radio frequency) index testing system and testing method thereof |
CN104410984B (en) * | 2014-11-26 | 2018-05-29 | 深圳市共进电子股份有限公司 | A kind of wireless access point radio frequency index testing system and test method |
CN104618920A (en) * | 2015-01-09 | 2015-05-13 | 广州杰赛科技股份有限公司 | System and method for automatically testing AP spurs |
CN108256363A (en) * | 2016-12-29 | 2018-07-06 | 大唐移动通信设备有限公司 | A kind of radio frequency test method and device |
CN109274807A (en) * | 2018-11-21 | 2019-01-25 | Oppo(重庆)智能科技有限公司 | Test method, apparatus and system |
CN110708712A (en) * | 2019-10-15 | 2020-01-17 | 四川九州电子科技股份有限公司 | Intelligent test system and method for wireless AP coverage and communication capability |
CN110708712B (en) * | 2019-10-15 | 2023-01-17 | 四川九州电子科技股份有限公司 | Intelligent test system and method for wireless AP coverage and communication capability |
CN111309575A (en) * | 2020-02-18 | 2020-06-19 | 深圳市朱墨科技有限公司 | Method, device, server and storage medium for starting and stopping test tool |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103546345A (en) | A method and device for testing the performance of communication equipment | |
CN108959000B (en) | Server pressure testing method, system and terminal | |
WO2021027615A1 (en) | Test method and device for web service interface having authentication authorization | |
US8621571B2 (en) | Online service providing system, method, server and mobile device thereof, and computer program product | |
US9179341B2 (en) | Method and system for simplifying WiFi setup for best performance | |
CN105764024A (en) | Method and device for testing throughput of wireless equipment | |
CN110086889B (en) | Terminal device debugging method and device | |
CN102905034A (en) | Electronic device testing system and electronic device testing method | |
US20180368010A1 (en) | Device-based diagnostic network testing | |
CN104679627A (en) | Testing method and device | |
EP2658304A1 (en) | Setting an Optimal Ping Interval | |
CN113608812B (en) | Remote control method, device, system and storage medium | |
CN107509051A (en) | Long-range control method, device, terminal and computer-readable recording medium | |
CN106126411A (en) | A kind of method and apparatus that tested program code is tested | |
US8977968B2 (en) | Pseudo-remote terminal IOTA mobile diagnostics and electronic customer care | |
CN103501372A (en) | Method for monitoring currents and event information of smart phone synchronously | |
KR20160147449A (en) | Apparatus and method for adaptive virtual desktop operating system service | |
WO2021120544A1 (en) | Method and apparatus for debugging device | |
CN108845946A (en) | A kind of terminal, debugging system and terminal debugging method | |
CN113407469B (en) | Parameter configuration method and device, storage medium and electronic device | |
CN112788640B (en) | Communication equipment testing method and device, storage medium and terminal | |
CN108023905A (en) | Internet of things application system and method | |
EP1895794B1 (en) | Remote management system and method for portable electronic devices | |
CN103596645B (en) | Method, device and equipment for terminal debugging | |
CN108737337B (en) | Device processing method, device, server and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140129 |