[go: up one dir, main page]

CN116155408A - Test method, device, control equipment and storage medium - Google Patents

Test method, device, control equipment and storage medium Download PDF

Info

Publication number
CN116155408A
CN116155408A CN202310081257.3A CN202310081257A CN116155408A CN 116155408 A CN116155408 A CN 116155408A CN 202310081257 A CN202310081257 A CN 202310081257A CN 116155408 A CN116155408 A CN 116155408A
Authority
CN
China
Prior art keywords
test
target
control
device under
under test
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
Application number
CN202310081257.3A
Other languages
Chinese (zh)
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.)
Shanghai Wingtech Information Technology Co Ltd
Original Assignee
Shanghai Wingtech Information Technology 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 Shanghai Wingtech Information Technology Co Ltd filed Critical Shanghai Wingtech Information Technology Co Ltd
Priority to CN202310081257.3A priority Critical patent/CN116155408A/en
Publication of CN116155408A publication Critical patent/CN116155408A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/15Performance testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/29Performance testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开一种测试方法、装置、控制设备及存储介质,该方法包括获取测试信息,测试信息用于指示待测设备所需测试的目标测试参数,目标测试参数包括目标网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种;根据测试信息从预设控制参数模板中获取目标控制参数,预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系;根据目标控制参数,控制待测设备以及检测设备完成射频测试。实施本申请实施例无需用户对检测设备进行设置,也即用户无需了解检测设备的操作设置,也可以实现对待测设备的射频性能进行测试,简化了测试操作。

Figure 202310081257

The embodiment of the present application discloses a test method, device, control device and storage medium. The method includes acquiring test information. The test information is used to indicate the target test parameters required by the device under test. The target test parameters include target network standard, target At least one of the frequency band, target channel, target frequency, and target transceiver mode; according to the test information, the target control parameters are obtained from the preset control parameter template, and the preset control parameter template includes preset test parameters and preset control parameters. Mapping relationship; according to the target control parameters, control the device under test and the detection device to complete the radio frequency test. Implementing the embodiment of the present application does not require the user to set the detection device, that is, the user does not need to know the operation settings of the detection device, and can also implement the test of the radio frequency performance of the device under test, which simplifies the test operation.

Figure 202310081257

Description

测试方法、装置、控制设备及存储介质Test method, device, control equipment and storage medium

技术领域technical field

本申请涉及射频测试技术领域,具体涉及一种测试方法、装置、控制设备及存储介质。The present application relates to the technical field of radio frequency testing, in particular to a testing method, device, control equipment and storage medium.

背景技术Background technique

通信机由发射通道和接收通道组成,射频工程师在调试、生产维修等过程中,会遇到射频终端发生信号不良等故障(如无法接收或发射信号),此时需要对射频终端进行检测分析。The communicator is composed of a transmitting channel and a receiving channel. In the process of debugging, production maintenance, etc., RF engineers may encounter failures such as poor signal of the RF terminal (such as failure to receive or transmit signals). At this time, it is necessary to detect and analyze the RF terminal.

相关技术中,射频工程师需要通过开发工具(如META工具、QRCT工具或潘多拉工具),强制打开射频终端的射频通道,然后对射频仪器(如频谱仪或综合测试仪)进行设置,以使射频仪器的参数与开发工具的参数一致,也即使得射频仪器可以接收通过被打开的射频通道发射的测设信号,或发射与打开的射频通道对应的测试信号,以使射频终端通过该射频通道接收该测试信号。In related technologies, radio frequency engineers need to forcibly open the radio frequency channel of the radio frequency terminal through development tools (such as META tools, QRCT tools or Pandora tools), and then set the radio frequency instruments (such as spectrum analyzers or comprehensive testers) so that the radio frequency instruments The parameters are consistent with the parameters of the development tool, that is, the RF instrument can receive the test signal transmitted through the opened RF channel, or transmit the test signal corresponding to the opened RF channel, so that the RF terminal can receive the test signal through the RF channel. test signal.

上述方法需要射频工程师熟悉开发工具以及射频仪器,才能强制打开所需测试的射频通道,以及使得射频仪器的设置参数与开发工具的设置参数对应,导致测试过程相当繁琐。The above method requires RF engineers to be familiar with development tools and RF instruments in order to forcibly open the RF channels to be tested, and make the setting parameters of the RF instruments correspond to the setting parameters of the development tools, resulting in a rather cumbersome testing process.

发明内容Contents of the invention

本申请实施例公开了一种测试方法、装置、控制设备及存储介质,可以简化对待测设备的进行射频测试的操作。The embodiment of the present application discloses a test method, device, control device and storage medium, which can simplify the operation of radio frequency test of the device to be tested.

本申请实施例公开一种测试方法,应用于控制设备,所述控制设备分别与检测设备以及待测设备连接,所述方法包括:The embodiment of the present application discloses a test method, which is applied to a control device, and the control device is respectively connected to the detection device and the device to be tested. The method includes:

获取测试信息,所述测试信息用于指示所述待测设备所需测试的目标测试参数,所述目标测试参数包括目标网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种;Acquire test information, the test information is used to indicate the target test parameters required by the device under test, the target test parameters include at least one of the target network standard, target frequency band, target channel, target frequency, and target transceiver mode kind;

根据所述测试信息从预设控制参数模板中获取目标控制参数,所述预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系;Obtain target control parameters from a preset control parameter template according to the test information, and the preset control parameter template includes a mapping relationship between preset test parameters and preset control parameters;

根据所述目标控制参数,控制所述待测设备以及所述检测设备完成射频测试。According to the target control parameter, control the device under test and the detection device to complete the radio frequency test.

作为一种可选的实施方式,所述目标控制参数包括与所述待测设备对应的目标第一控制参数以及与所述检测设备对应的目标第二控制参数;As an optional implementation manner, the target control parameter includes a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the detection device;

在所述测试信息指示所述待测设备所需测试的收发模式为发射模式时,所述根据所述目标控制参数,控制所述待测设备以及所述检测设备完成射频测试,包括:When the test information indicates that the transmitting and receiving mode required by the device under test is a transmitting mode, the controlling the device under test and the detection device to complete the radio frequency test according to the target control parameters includes:

控制所述待测设备发射与所述目标第一控制参数对应的测试信号;controlling the device under test to transmit a test signal corresponding to the target first control parameter;

控制所述检测设备处于与所述目标第二控制参数对应的接收状态,以接收所述测试信号。The detection device is controlled to be in a receiving state corresponding to the target second control parameter, so as to receive the test signal.

作为一种可选的实施方式,所述目标控制参数包括与所述待测设备对应的目标第一控制参数以及与所述检测设备对应的目标第二控制参数;As an optional implementation manner, the target control parameter includes a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the detection device;

在所述测试信息指示所述待测设备的收发模式为接收模式时,所述根据所述目标控制参数,控制所述待测设备以及所述检测设备完成射频测试,包括:When the test information indicates that the transceiving mode of the device under test is a receiving mode, the controlling the device under test and the detection device to complete the radio frequency test according to the target control parameters includes:

控制所述检测设备发射与所述目标第二控制参数对应的测试信号;controlling the detection device to transmit a test signal corresponding to the target second control parameter;

控制所述待测设备处于与所述目标第一控制参数对应的接收状态,以接收所述测试信号。controlling the device under test to be in a receiving state corresponding to the target first control parameter, so as to receive the test signal.

作为一种可选的实施方式,所述测试方法还包括:As an optional implementation, the test method also includes:

获取所述测试信号的接收功率;其中,在所述测试信息指示所述待测设备的收发模式为接收模式时,所述接收功率为所述待测设备接收到的测试信号的功率,在所述测试信息指示所述待测设备的收发模式为发射模式时,所述接收功率为所述检测设备接收到的测试信号的功率;Acquiring the received power of the test signal; wherein, when the test information indicates that the transceiver mode of the device under test is a receive mode, the received power is the power of the test signal received by the device under test, in the When the test information indicates that the transceiver mode of the device under test is a transmit mode, the received power is the power of the test signal received by the detection device;

显示所述接收功率。Displays the received power.

作为一种可选的实施方式,在所述测试信息指示所述待测设备的收发模式为发射模式时,所述目标第一控制参数包括目标发射功率,在所述测试信息指示所述待测设备的收发模式为接收模式时,所述第二控制参数包括目标发射功率;As an optional implementation manner, when the test information indicates that the transceiver mode of the device under test is a transmit mode, the target first control parameter includes a target transmit power, and when the test information indicates that the device under test When the transceiving mode of the device is the receiving mode, the second control parameter includes a target transmit power;

所述测试方法还包括:Described test method also comprises:

确定所述接收功率与期望功率的差值是否大于或等于预设功率,其中,所述期望功率与所述目标发射功率对应;determining whether the difference between the received power and expected power is greater than or equal to a preset power, where the expected power corresponds to the target transmit power;

在所述接收功率与所述期望功率的差值大于或等于预设功率时,显示警告信息,所述警告信息用于指示所述待测设备出现故障。When the difference between the received power and the expected power is greater than or equal to a preset power, a warning message is displayed, and the warning message is used to indicate that the device under test has a fault.

作为一种可选的实施方式,所述测试方法还包括:As an optional implementation, the test method also includes:

接收用户的测试触发操作;Receive the user's test trigger operation;

响应于所述测试触发操作,显示连接提示界面,所述连接提示界面用于指示连接所述控制设备和所述待测设备,以及,连接所述控制设备和所述检测设备。In response to the test triggering operation, a connection prompt interface is displayed, and the connection prompt interface is used to indicate the connection between the control device and the device under test, and the connection between the control device and the detection device.

作为一种可选的实施方式,所述测试方法还包括:As an optional implementation, the test method also includes:

确定所述控制设备与所述检测设备是否连接成功,以及,确定所述控制设备与所述待测设备是否连接成功;determining whether the connection between the control device and the detection device is successful, and determining whether the connection between the control device and the device under test is successful;

在所述控制设备与所述检测设备连接成功,以及,所述控制设备与所述待测设备连接成功的情况下,执行预设成功操作,所述预设成功操作包括关闭所述连接提示界面,和/或显示连接成功提示界面。When the connection between the control device and the detection device is successful, and the connection between the control device and the device under test is successful, a preset successful operation is performed, and the preset successful operation includes closing the connection prompt interface , and/or display a successful connection prompt interface.

本申请实施例公开一种测试装置,应用于控制设备,所述控制设备分别与检测设备以及待测设备连接,所述测试装置包括:The embodiment of the present application discloses a test device, which is applied to control equipment, and the control equipment is respectively connected to the detection equipment and the equipment to be tested. The test device includes:

获取模块,用于获取测试信息,所述测试信息用于指示所述待测设备所需测试的目标测试参数,所述目标测试参数包括目标网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种;An acquisition module, configured to acquire test information, the test information is used to indicate the target test parameters required by the device under test, the target test parameters include target network standard, target frequency band, target channel, target frequency, and target transceiving at least one of the modes;

参数模块,用于根据所述测试信息从预设控制参数模板中获取目标控制参数,所述预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系;A parameter module, configured to obtain target control parameters from a preset control parameter template according to the test information, and the preset control parameter template includes a mapping relationship between preset test parameters and preset control parameters;

控制模块,用于根据所述目标控制参数,控制所述待测设备以及所述检测设备完成射频测试。A control module, configured to control the device under test and the detection device to complete radio frequency testing according to the target control parameters.

本申请实施例公开一种控制设备,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现本申请实施例公开的任意一种测试方法。The embodiment of the present application discloses a control device, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor implements any of the functions disclosed in the embodiment of the present application. A test method.

本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行本申请实施例公开的任意一种测试方法。The embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes the computer to execute any one of the testing methods disclosed in the embodiment of the present application.

与相关技术相比,本申请实施例具有以下有益效果:Compared with related technologies, the embodiments of the present application have the following beneficial effects:

本申请实施例提供了一种测试方法,在获取测试信息的情况下,可以自动根据测试信息从预设控制参数模板中,获取目标控制参数,并根据目标控制参数控制待测设备以及检测设备完成与测试信息对应的射频测试。本申请实施例无需用户对检测设备进行设置,也即用户无需了解检测设备的操作设置,也可以实现对待测设备的射频性能进行测试,简化了测试操作。The embodiment of the present application provides a test method. In the case of obtaining test information, the target control parameters can be automatically obtained from the preset control parameter template according to the test information, and the device to be tested and the detection device can be controlled according to the target control parameters to complete the test. RF tests corresponding to the test information. In the embodiment of the present application, the user does not need to set the detection device, that is, the user does not need to understand the operation settings of the detection device, and can also implement the test of the radio frequency performance of the device to be tested, which simplifies the test operation.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1是相关技术中的一种射频测试系统的系统结构示意图;FIG. 1 is a schematic diagram of a system structure of a radio frequency test system in the related art;

图2是相关技术中的一种射频测试的流程示意图;FIG. 2 is a schematic flow chart of a radio frequency test in the related art;

图3是本申请实施例公开的一种测试系统的系统结构示意图;Fig. 3 is a schematic diagram of the system structure of a test system disclosed in the embodiment of the present application;

图4是本申请实施例公开的一种测试方法的流程示意图;Fig. 4 is a schematic flow chart of a test method disclosed in the embodiment of the present application;

图5是本申请实施例公开的一种操作界面的界面示意图;Fig. 5 is a schematic diagram of an operation interface disclosed in the embodiment of the present application;

图6是本申请实施例公开的一种控制方法的流程示意图;Fig. 6 is a schematic flow chart of a control method disclosed in the embodiment of the present application;

图7是本申请实施例公开的另一种控制方法的流程示意图;Fig. 7 is a schematic flowchart of another control method disclosed in the embodiment of the present application;

图8是本申请实施例公开的另一种测试方法的流程示意图;Fig. 8 is a schematic flow chart of another test method disclosed in the embodiment of the present application;

图9是本申请实施例公开的一种测试装置的结构示意图;Fig. 9 is a schematic structural diagram of a test device disclosed in an embodiment of the present application;

图10是本申请实施例公开的一种控制设备的结构示意图。Fig. 10 is a schematic structural diagram of a control device disclosed in an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 application, and are not intended to limit the present application.

诚如背景技术所述,相关技术中对射频终端的射频通道的测试过程相当繁琐,下面以射频终端为智能手机,利用META工具对智能手机GSM(全球移动通信系统,GlobalSystem for Mobile Communications)网络制式的发射通道进行分析为例,对相关技术中的测试过程进行简要说明。其中,META工具是一种用于测试、校准以及调试手机的一个开发工具,便于用户在生产测试和维修过程中,对智能手机的射频性能进行调整以及故障的分析判断,将META工具安装在个人计算机上,通过个人计算机与智能手机连接,实现META工具对智能手机的控制。如图1所示,智能手机231分别与个人计算机211以及射频仪器221连接,射频仪器221可以为综合测试仪。请参考图2,测试过程可以包括步骤S101至步骤S105。As described in the background technology, the test process of the radio frequency channel of the radio frequency terminal in the related art is quite cumbersome. Below, the radio frequency terminal is used as a smart phone, and the GSM (Global System for Mobile Communications, GlobalSystem for Mobile Communications) network standard of the smart phone is tested by using the META tool. Taking the analysis of the transmission channel as an example, the test process in the related technology is briefly described. Among them, the META tool is a development tool for testing, calibrating and debugging mobile phones. It is convenient for users to adjust the RF performance of smartphones and analyze and judge faults during production testing and maintenance. The META tool can be installed in personal On the computer, through the connection between the personal computer and the smart phone, the control of the smart phone by the META tool is realized. As shown in FIG. 1 , the smart phone 231 is connected to the personal computer 211 and the radio frequency instrument 221 respectively, and the radio frequency instrument 221 may be a comprehensive tester. Please refer to FIG. 2 , the testing process may include steps S101 to S105.

S101,用户对META工具的参数进行设置,以使META工具控制智能手机进入测试模式。S101, the user sets parameters of the META tool, so that the META tool controls the smart phone to enter a test mode.

具体的,用户打开META工具,对META工具的参数进行设置,如:端口,设置完成后,点击META工具的连接(connect)控件,以使在用数据线将智能手机和个人计算机对应的端口连接后,智能手机进入测试模式。Specifically, the user opens the META tool and sets the parameters of the META tool, such as: port. After the setting is completed, click the connection (connect) control of the META tool, so that the smart phone and the corresponding port of the personal computer are connected by the data cable in use. After that, the smartphone enters the test mode.

S102,用户设置META工具的发射模式(TX level)下的参数。S102, the user sets parameters in the transmission mode (TX level) of the META tool.

具体的,首先用户利用META工具读取智能手机原来的射频参数,并对射频参数进行修改,使智能手机在各个功率控制等级下的发射功率和标准值一致。然后用户再根据测试需要设置META工具的发射模式下的参数,如:智能手机的信道(Band)、功率控制等级(PCL)以及发射信号的时隙等。Specifically, firstly, the user uses the META tool to read the original radio frequency parameters of the smart phone, and then modifies the radio frequency parameters so that the transmit power of the smart phone at each power control level is consistent with the standard value. Then the user sets the parameters in the transmission mode of the META tool according to the test needs, such as: the channel (Band) of the smartphone, the power control level (PCL) and the time slot for transmitting signals.

S103,用户在综合测试仪上进行参数设置,使得综合测试仪的参数与META工具的参数对应。S103, the user sets parameters on the comprehensive tester, so that the parameters of the comprehensive tester correspond to the parameters of the META tool.

具体的,用户将综合测试仪的模式选为非信令模式,并选择GSM测量分析(GSMMeasure Evaluation),综合测试仪显示对应的配置界面,用户再在该配置界面上对各参数进行配置,所需配置的参数包括但不限于信道、线损补(高频补0.8,中频补0.6,低频补0.4)、用户边际(User Margin)等。Specifically, the user selects the mode of the comprehensive tester as the non-signaling mode, and selects GSM measurement analysis (GSMMeasure Evaluation), the comprehensive tester displays the corresponding configuration interface, and the user configures each parameter on the configuration interface, so The parameters to be configured include but are not limited to channel, line loss compensation (high frequency compensation 0.8, mid frequency compensation 0.6, low frequency compensation 0.4), user margin (User Margin), etc.

S104,用户通过META工具控制智能手机发送与META工具设置的参数对应的测试信号。S104, the user controls the smart phone to send a test signal corresponding to the parameters set by the META tool through the META tool.

具体的,用户点击META工具的发射模式下的开始(Start)控件,以使智能手机发送与META工具设置的参数一致的测试信号。Specifically, the user clicks the start (Start) control in the transmission mode of the META tool, so that the smart phone sends a test signal consistent with the parameters set by the META tool.

S105,用户读取综合测试仪显示的饱和功率。S105, the user reads the saturation power displayed by the comprehensive tester.

具体的,在智能手机发送测试信号的情况下,由于综合测试仪的参数与META工具的发射模式的参数对应综合测试仪可以接收智能手机发送的测试信号,并且可以检测并显示测试信号的功率,用户可以通过综合测试仪显示的测试信号的功率,获知该测试信号的功率,然后根据该测试信号的功率和其设置的功率控制等级参数来分析智能手机GSM制式的发射性能。Specifically, in the case of a smart phone sending a test signal, since the parameters of the comprehensive tester correspond to the parameters of the transmission mode of the META tool, the comprehensive tester can receive the test signal sent by the smart phone, and can detect and display the power of the test signal, The user can know the power of the test signal through the power of the test signal displayed by the integrated tester, and then analyze the transmission performance of the smart phone GSM standard according to the power of the test signal and the power control level parameters set by it.

对于测试智能手机GSM制式的接收性能、其他制式的发射性能以及接收性能均需要用户对META工具以及综合测试仪的多个参数进行相应设置,这样不仅导致测试过程相当繁琐,还需要用户熟悉开发工具(如META工具)以及射频仪器(如综合测试仪)的操作,同时还需要用户了解各个开发工具以及射频仪器的参数的含义。To test the receiving performance of the smartphone GSM standard, the transmitting performance and receiving performance of other standards, the user needs to set the parameters of the META tool and the comprehensive tester accordingly, which not only makes the testing process quite cumbersome, but also requires the user to be familiar with the development tools (such as META tools) and the operation of radio frequency instruments (such as comprehensive testers), but also requires users to understand the meaning of the parameters of each development tool and radio frequency instruments.

有鉴于此,本申请实施例提供了一种测试方法,在获取测试信息的情况下,可以自动根据测试信息从预设控制参数模板中,获取目标控制参数,并根据目标控制参数控制待测设备以及检测设备完成与测试信息对应的射频测试。本申请实施例无需用户对检测设备进行设置,也即用户无需了解检测设备的操作设置,也可以实现对待测设备的射频性能进行测试,简化了测试操作。In view of this, the embodiment of the present application provides a test method. In the case of obtaining the test information, the target control parameters can be automatically obtained from the preset control parameter template according to the test information, and the device under test can be controlled according to the target control parameters. And the detection device completes the radio frequency test corresponding to the test information. In the embodiment of the present application, the user does not need to set the detection device, that is, the user does not need to understand the operation settings of the detection device, and can also implement the test of the radio frequency performance of the device to be tested, which simplifies the test operation.

本申请实施例提供的测试方法,可以应用于如图3所示的测试系统中。该测试方法可以应用于测试系统的控制设备210中。该测试系统可以包括控制设备210、检测设备220以及待测设备230。控制设备210分别与检测设备220以及待测设备230连接,控制设备210用于控制待测设备230或检测设备220发送测试信号,或处于接收状态,以接收测试信号。可选的,控制设备210包括第一接口以及第二接口,检测设备220与控制设备210的第一接口连接,待测设备230与控制设备210的第二接口连接。可选的,控制设备210可以包括但不限于为个人计算机、笔记本电脑、智能手机和平板电脑,待测设备230可以包括但不限于为智能手机、平板电脑和便携式可穿戴设备。检测设备220可以包括频谱仪和综合测试仪。The test method provided in the embodiment of the present application can be applied to the test system shown in FIG. 3 . This testing method can be applied to the control device 210 of the testing system. The test system may include a control device 210 , a detection device 220 and a device under test 230 . The control device 210 is connected to the detection device 220 and the device under test 230 respectively, and the control device 210 is used to control the device under test 230 or the detection device 220 to send a test signal, or to be in a receiving state, so as to receive the test signal. Optionally, the control device 210 includes a first interface and a second interface, the detection device 220 is connected to the first interface of the control device 210 , and the device under test 230 is connected to the second interface of the control device 210 . Optionally, the control device 210 may include but not limited to a personal computer, a notebook computer, a smart phone and a tablet computer, and the device under test 230 may include but not limited to a smart phone, a tablet computer and a portable wearable device. The detection equipment 220 may include a spectrum analyzer and a comprehensive tester.

请参考图4,其示出了本申请实施例提供的一种测试方法,该测试方法可以包括步骤S210至步骤S230。Please refer to FIG. 4 , which shows a testing method provided by an embodiment of the present application, and the testing method may include steps S210 to S230.

S210,获取测试信息,测试信息用于指示待测设备所需测试的目标测试参数。S210. Obtain test information, where the test information is used to indicate target test parameters required by the device under test.

其中,目标测试参数可以包括目标网络制式、目标频段、目标信道、目标频率以及目标收发通道中的至少一种。应说明的,测试参数可以包括网络制式、频段、信道、频率以及收发模式中的至少一种,收发模式包括接收(RX)模式以及发射(TX)模式,在待测设备为接收模式时,待测设备用于接收测试信号,以对待测设备的接收通道进行分析。在待测设备为发射模式时,待测设备用于发射测试信号,从而可以对待测设备的发射通道进行分析。可以理解的,目标网络制式为多个网络制式中的一个网络制式,目标频段为多个频段中的一个频段,目标信道为多个信道中的一个信道,目标频率为多个频率中的一个频率,目标收发模组为接收模式或发射模式中的一个。其中,网络制式可以包括GSM、WCDMA(Wide band CodeDivision Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)以及5G-NR(5th Generation Mobile Communication Technology-New Radio,5G-新空口)。Wherein, the target test parameters may include at least one of a target network standard, a target frequency band, a target channel, a target frequency, and a target transceiving channel. It should be noted that the test parameters may include at least one of the network standard, frequency band, channel, frequency, and transceiver mode. The transceiver mode includes a receive (RX) mode and a transmit (TX) mode. When the device under test is in the receive mode, the The device under test is used to receive the test signal to analyze the receiving channel of the device under test. When the device under test is in the transmission mode, the device under test is used to transmit test signals, so that the transmission channel of the device under test can be analyzed. It can be understood that the target network standard is one of the multiple network standards, the target frequency band is one of the multiple frequency bands, the target channel is one of the multiple channels, and the target frequency is one of the multiple frequencies. , the target transceiver module is one of receive mode or transmit mode. Among them, the network standard can include GSM, WCDMA (Wide band Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long-term evolution) and 5G-NR (5th Generation Mobile Communication Technology-New Radio, 5G-new air interface ).

在一个实施例中,目标测试参数包括目标网络制式、目标频段以及目标收发模式,获取测试信息可以包括,显示操作界面,其中,操作界面包括第一输入控件、第二输入控件以及第三输入控件,响应于用户对第一输入控件的第一输入操作,确定目标网络制式,响应于用户对第二输入控件的第二输入操作,确定目标频段,响应于用户对第三输入控件的第三输入操作,确定目标收发模式。In one embodiment, the target test parameters include target network standard, target frequency band, and target transceiver mode, and obtaining test information may include displaying an operation interface, wherein the operation interface includes a first input control, a second input control, and a third input control , in response to the user's first input operation on the first input control, determine the target network system, in response to the user's second input operation on the second input control, determine the target frequency band, in response to the user's third input on the third input control Operation to determine the target transceiver mode.

请参考图5,其示出了本申请实施例提供的一种操作界面的示意图,如图5所示,该操作界面包括第一输入控件501、第二输入控件502以及第三输入控件503,第一输入控件501用于获取第一测试信息,第二输入控件502用于获取第二测试信息,第三输入控件503用于获取第三测试信息,第一测试信息用于指示待测设备所需测试的目标网络制式,第二测试信息用于指示待测设备所需测试的目标频段,第三测试信息用于指示待测设备所需测试的目标收发模式。本实施例,用户可以在确定所需测试的制式、频段以及收发模式的情况下,通过对操作界面的第一输入控件501、第二输入控件502以及第三输入控件503进行输入操作,即可使得控制设备获得测试信息,且制式、频段以及收发模式为射频领域的基本参数,同时也容易理解,本实施例提供的操作界面的第一输入控件501、第二输入控件502以及第三输入控件503与制式、频段以及收发模式对应,可以降低操作难度,无需用户经过复杂培训才能使用。同时,在一个界面内即可实现将所需的测试信息输入完毕,无需按照标准作业程序(SOP),简化了测试操作,降低了测试的入门门槛。同时,由于制式、频段以及收发模式与待测设备的射频通道具有关联关系,相对于利用与射频通道不具有关联关系的参数,可以简化预设控制参数模板的复杂度。Please refer to FIG. 5, which shows a schematic diagram of an operation interface provided by an embodiment of the present application. As shown in FIG. 5, the operation interface includes a first input control 501, a second input control 502, and a third input control 503, The first input control 501 is used to obtain the first test information, the second input control 502 is used to obtain the second test information, the third input control 503 is used to obtain the third test information, and the first test information is used to indicate the The target network standard to be tested, the second test information is used to indicate the target frequency band to be tested by the device under test, and the third test information is used to indicate the target transceiver mode to be tested by the device to be tested. In this embodiment, the user can perform input operations on the first input control 501, the second input control 502, and the third input control 503 of the operation interface after determining the required test system, frequency band, and transceiver mode. The control device obtains test information, and the standard, frequency band, and transceiver mode are basic parameters in the radio frequency field, and it is also easy to understand that the first input control 501, the second input control 502, and the third input control of the operation interface provided by this embodiment The 503 corresponds to the standard, frequency band, and transceiver mode, which can reduce the difficulty of operation and require no complicated training for users to use. At the same time, the required test information can be input in one interface without following the standard operating procedure (SOP), which simplifies the test operation and lowers the entry threshold for the test. At the same time, since the standard, frequency band, and transceiver mode are associated with the RF channel of the device under test, compared with using parameters that are not associated with the RF channel, the complexity of the preset control parameter template can be simplified.

S220,根据测试信息从预设控制参数模板中获取目标控制参数,预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系。S220. Obtain target control parameters from a preset control parameter template according to the test information, where the preset control parameter template includes a mapping relationship between preset test parameters and preset control parameters.

应说明的,控制参数包括控制待测设备以及检测设备完成射频测试所需的参数,目标控制参数则为多组控制参数中的一个。由于预设控制参数模板具有多组预设的控制参数,且具有预设的测试参数与预设的控制参数之间的映射关系,因此在根据测试信息确定待测设备所需测试的目标测试参数时,可以根据该映射关系查询到与目标测试参数对应的目标控制参数。可以理解的,由于控制参数包括控制待测设备以及检测设备完成射频测试所需的参数,因此控制参数所包括的参数可能为多个,示例性的,控制参数可以包括发射功率、信道以及发射信号的时隙等参数。It should be noted that the control parameters include parameters required to control the device under test and the detection device to complete the radio frequency test, and the target control parameter is one of multiple groups of control parameters. Since the preset control parameter template has multiple sets of preset control parameters, and has a mapping relationship between the preset test parameters and the preset control parameters, the target test parameters for the test equipment to be tested are determined according to the test information , the target control parameters corresponding to the target test parameters can be queried according to the mapping relationship. It can be understood that since the control parameters include the parameters needed to control the device under test and the detection device to complete the radio frequency test, there may be multiple parameters included in the control parameters. Exemplarily, the control parameters may include transmission power, channel and transmission signal The time slot and other parameters.

在一个实施例中,根据测试信息从预设控制参数模板中获取目标控制参数,可以包括:向存储设备发送获取信息,接收存储设备响应于获取信息从预设控制参数模板中获取的目标控制参数,其中,获取信息携带有测试信息。可选的,存储设备可以为服务器,服务器可以为独立的服务器或者是多个服务器组成的服务器集群。本实施例的控制设备向存储设备(外部设备)发送获取信息,从而接收存储设备反馈的目标控制参数,可以减小对控制设备的存储空间的占用。In an embodiment, acquiring the target control parameters from the preset control parameter template according to the test information may include: sending the acquired information to the storage device, and receiving the target control parameter acquired from the preset control parameter template by the storage device in response to the acquired information , where the acquired information carries test information. Optionally, the storage device may be a server, and the server may be an independent server or a server cluster composed of multiple servers. The control device in this embodiment sends acquisition information to the storage device (external device), so as to receive the target control parameters fed back by the storage device, which can reduce the occupation of the storage space of the control device.

在一个实施例中,预设控制参数模板预先存储于控制设备中(在获取测试信息之前)。本实施例,将预设控制参数模板预先存储于控制设备中,在控制设备获取到测试信息时,控制设备可以直接根据预设控制参数模板获取目标控制参数,提高了测试效率。In one embodiment, the preset control parameter template is pre-stored in the control device (before the test information is acquired). In this embodiment, the preset control parameter template is pre-stored in the control device. When the control device obtains test information, the control device can directly obtain target control parameters according to the preset control parameter template, which improves test efficiency.

S230,根据目标控制参数,控制待测设备以及检测设备完成射频测试。S230. Control the device under test and the detection device to complete the radio frequency test according to the target control parameter.

应说明的,控制设备与待测设备以及检测设备连接,可以控制待测设备以及检测设备接收或发射测试信号,以完成射频测试。It should be noted that the control device is connected with the device under test and the detection device, and can control the device under test and the detection device to receive or transmit test signals, so as to complete the radio frequency test.

本申请实施例提供了一种测试方法,该测试方法可以实现对待测设备的射频性能进行测试且无需用户对检测设备进行设置,也即用户无需了解检测设备的操作设置,也可以实现对待测设备的射频性能进行测试,简化了测试操作。The embodiment of the present application provides a test method, which can realize the test of the radio frequency performance of the device under test and does not require the user to set up the test device, that is, the user does not need to understand the operation settings of the test device, and can also realize the test of the device under test The RF performance of the tester simplifies the test operation.

根据上文可知实施例,控制设备需要根据测试信息从预设控制参数模板中获取目标控制参数,以根据该目标控制参数,控制待测设备以及检测设备完成射频测试,那么,下述实施例将提供一种目标控制参数的形式。According to the above-mentioned embodiments, the control device needs to obtain the target control parameters from the preset control parameter template according to the test information, so as to control the device under test and the detection device to complete the radio frequency test according to the target control parameters. Then, the following embodiments will Provides a form of target control parameter.

在一个实施例中,目标控制参数可以包括与待测设备对应的目标第一控制参数以及与检测设备对应的目标第二控制参数。In an embodiment, the target control parameters may include a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the detection device.

应说明的,控制参数包括第一控制参数以及第二控制参数,第一控制参数与测试参数为控制待测设备接收或发送测试信号所需的所有参数,第二控制参数与测试参数为控制检测设备接收或发送测试信号所需的所有参数。因此,在控制设备获取了测试参数、第一控制参数以及第二控制参数时,可以控制待测设备以及检测设备发送或接收测试信号,以完成待测设备以及检测设备的射频信息。可以理解的,控制参数模板包括多组预设的第一控制参数以及多组预设的第二控制参数,目标第一控制参数为多组预设的第一控制参数中的一组第一控制参数,目标第二控制参数为多组预设的第二控制参数中的一组第二控制参数。各组第一控制参数包括至少一个参数,各组第二控制参数包括至少一个参数。It should be noted that the control parameters include first control parameters and second control parameters. The first control parameters and test parameters are all parameters required to control the device under test to receive or send test signals, and the second control parameters and test parameters are to control detection All parameters required by the device to receive or transmit a test signal. Therefore, when the control device obtains the test parameter, the first control parameter and the second control parameter, it can control the device under test and the detection device to send or receive a test signal, so as to complete the radio frequency information of the device under test and the detection device. It can be understood that the control parameter template includes multiple sets of preset first control parameters and multiple sets of preset second control parameters, and the target first control parameter is a set of first control parameters among the multiple sets of preset first control parameters. parameter, the target second control parameter is a set of second control parameters in multiple sets of preset second control parameters. Each set of first control parameters includes at least one parameter, and each set of second control parameters includes at least one parameter.

在一个实施例中,预设控制参数模板还包括预设的测试参数与预设的第一控制参数的第一映射关系以及预设的测试参数与预设的第二控制参数的第二映射关系,因此控制设备在确定目标预设参数时,可以根据目标预设参数和第一映射关系获取目标第一控制参数,以及可以根据目标预设参数和第二映射关系获取目标第二控制参数。In one embodiment, the preset control parameter template further includes a first mapping relationship between preset test parameters and preset first control parameters and a second mapping relationship between preset test parameters and preset second control parameters , so when the control device determines the target preset parameter, it can obtain the target first control parameter according to the target preset parameter and the first mapping relationship, and can obtain the target second control parameter according to the target preset parameter and the second mapping relationship.

在一个实施例中,预设控制参数还包括预设的测试参数与预设的第一控制参数的第三映射关系以及预设的第一控制参数与预设的第二控制参数的第四映射关系,因此控制设备在确定目标预设参数时,可以根据目标测试参数和第三映射关系获取目标第一控制参数,然后根据目标第一控制参数和第四映射关系,获取目标第二控制参数。In one embodiment, the preset control parameters further include a third mapping relationship between preset test parameters and preset first control parameters and a fourth mapping relationship between preset first control parameters and preset second control parameters Therefore, when the control device determines the target preset parameter, it can obtain the target first control parameter according to the target test parameter and the third mapping relationship, and then obtain the target second control parameter according to the target first control parameter and the fourth mapping relationship.

可以理解的,本申请实施例不对预设控制参数模板的形式做限定,除如上述实施例所述的形式之外,还可以采用其他形式的预设控制参数模板,只要能实现使控制设备根据测试信息可以到获取目标第一控制参数以及目标第二控制参数即可。It can be understood that the embodiment of the present application does not limit the form of the preset control parameter template. In addition to the forms described in the above embodiments, other forms of preset control parameter templates can also be used, as long as the control device can be implemented according to The test information can be obtained only by obtaining the target first control parameter and the target second control parameter.

在目标测试参数为控制待测设备或检测设备接收或发射测试信号所需的参数时,根据目标控制参数,控制待测设备以及检测设备完成射频测试,可以包括根据目标控制参数以及目标测试参数,控制待测设备以及检测设备完成射频测试。When the target test parameters are parameters required to control the device under test or the detection device to receive or transmit test signals, control the device under test and the detection device to complete the radio frequency test according to the target control parameters, which may include according to the target control parameters and target test parameters, Control the device under test and the detection device to complete the RF test.

示例性的,操作界面还可以包括第四输入控件,第四输入控件用于获取第四测试信息,第四测试信息用于指示待测设备所需测试的目标功率。在一个实施例中,根据目标控制参数,控制待测设备以及检测设备完成测试,可以包括:根据目标控制参数以及目标功率,控制待测设备以及检测设备完成测试。Exemplarily, the operation interface may further include a fourth input control, the fourth input control is used to acquire fourth test information, and the fourth test information is used to indicate the target power required by the device under test. In an embodiment, controlling the device under test and the detection device to complete the test according to the target control parameter may include: controlling the device under test and the detection device to complete the test according to the target control parameter and the target power.

本实施例,通过提供具有第四输入控件的操作界面,使得待测设备发送或接收的测试信号的期望功率可以由用户进行调整,以满足用户要求。In this embodiment, by providing an operation interface with a fourth input control, the expected power of the test signal sent or received by the device under test can be adjusted by the user to meet user requirements.

在又一个实施例中,操作界面还可以包括第五输入控件,第五输入控件用于获取第五测试信息,第五测试信息用于指示待测设备所需测试的目标射频端口,其中,射频端口与待测设备的各天线对应,在一个实施例中,根据目标控制参数,控制待测设备以及检测设备完成测试,可以包括:根据目标控制参数以及目标射频端口,控制待测设备以及检测设备完成测试。控制设备可以根据目标射频端口确定待测设备发送测试信号所对应的射频通道,从而控制待测设备通过该射频通道发射或接收测试信号。In yet another embodiment, the operation interface may further include a fifth input control, the fifth input control is used to obtain fifth test information, and the fifth test information is used to indicate the target radio frequency port to be tested by the device under test, wherein the radio frequency The ports correspond to the antennas of the device under test. In one embodiment, controlling the device under test and the detection device to complete the test according to the target control parameters may include: controlling the device under test and the detection device according to the target control parameters and the target radio frequency port complete test. The control device can determine the radio frequency channel corresponding to the test signal sent by the device under test according to the target radio frequency port, so as to control the device under test to transmit or receive the test signal through the radio frequency channel.

请参考图6,其示出了本申请实施例提供的一种控制方法,该控制方法用于测试信息指示待测设备的收发模式为发射模式的情况,如图6所示,在测试信息指示待测设备的收发模式为发射模式时,根据目标控制参数,控制待测设备以及检测设备完成射频测试,可以包括步骤S231a至步骤S232a。Please refer to FIG. 6, which shows a control method provided by the embodiment of the present application. The control method is used when the test information indicates that the transceiver mode of the device under test is the transmission mode. As shown in FIG. 6, in the test information indication When the transmitting and receiving mode of the device under test is the transmitting mode, controlling the device under test and the detection device to complete the radio frequency test according to the target control parameters may include steps S231a to S232a.

S231a,控制待测设备发射与目标第一控制参数对应的测试信号。S231a. Control the device under test to transmit a test signal corresponding to the target first control parameter.

示例性的,测试参数包括网络制式、频段和收发模式,第一控制参数包括发射功率和信道,控制待测设备发射与目标第一控制参数对应的测试信号,包括控制待测设备通过与目标信道对应的射频通道,发射功率为目标发射功率的测试信号。Exemplarily, the test parameters include network standard, frequency band, and transceiver mode, and the first control parameters include transmit power and channel, controlling the device under test to transmit a test signal corresponding to the target first control parameter, including controlling the device under test to pass through the target channel For the corresponding RF channel, the transmit power is the test signal with the target transmit power.

S232a,控制检测设备处于与目标第二控制参数对应的接收状态,以接收测试信号。S232a, control the detection device to be in a receiving state corresponding to the target second control parameter, so as to receive the test signal.

示例性的,测试参数包括网络制式、频段和收发模式,第二控制参数可以包括信道以及检波方式,控制待测设备接收与目标信道对应的测试信号,并以与目标检波方式一致的方式对接收到的测试信号进行测量。Exemplarily, the test parameters include network standard, frequency band, and transceiver mode. The second control parameters may include channel and detection mode, and control the device under test to receive the test signal corresponding to the target channel, and to receive the test signal in a manner consistent with the target detection mode. The incoming test signal is measured.

由于控制待测设备以及检测设备所需的参数可能不完全相同,因此通过包括预设的第一控制参数和预设的第二控制参数的预设控制参数模板,可以实现对待测设备以及检测设备分别控制,提高对待测设备以及检测设备控制的准确性。Since the parameters required to control the device under test and the detection device may not be exactly the same, through the preset control parameter template including the preset first control parameter and the preset second control parameter, the device under test and the detection device can be realized Separate control to improve the accuracy of the control of the equipment to be tested and the testing equipment.

在一个实施例中,请继续参考图6,该控制方法还可以包括步骤S233a至步骤S234a。In an embodiment, please continue to refer to FIG. 6 , the control method may further include step S233a to step S234a.

S233a,获取测试信号的接收功率。S233a, Acquire the received power of the test signal.

其中,本实施例的测试信号为待测设备发射的与目标第一控制参数对应的测试信号。接收功率则为检测设备接收到的测试信号的功率。Wherein, the test signal in this embodiment is a test signal transmitted by the device under test and corresponding to the target first control parameter. The received power is the power of the test signal received by the detection device.

在一个实施例中,检测设备可以用于检测其接收到的测试信号的功率,获取测试信号的接收功率,可以包括:接收检测设备反馈的测试信号的接收功率。应说明的,根据上文描述可知,待测设备可能具有多个射频端口,在用户不确定测试信号通过哪个射频端口输出时,可以将待测设备的各射频端口与检测设备的各射频端口一一连接,获取测试信号的接收功率,可以包括:控制检测设备查询检测设备的各射频端口直至确定接收到测试信号的射频端口,并控制检测设备检测该测试信号的接收功率,并获取检测设备反馈的测试信号的接收功率。In an embodiment, the detection device may be used to detect the power of the test signal it receives, and acquiring the received power of the test signal may include: receiving the received power of the test signal fed back by the detection device. It should be noted that according to the above description, the device under test may have multiple radio frequency ports. Once connected, obtaining the received power of the test signal may include: controlling the detection device to query each radio frequency port of the detection device until the radio frequency port that receives the test signal is determined, and controlling the detection device to detect the received power of the test signal, and obtaining feedback from the detection device The received power of the test signal.

S234a,显示接收功率。S234a, displaying the received power.

在一个实施例中,如图5所示,操作界面还可以包括显示控件504,该显示控件504用于显示接收功率。可以理解的,控制设备可以显示与接收功率对应的电平信息、波形图或功率值,以向用户反馈检测设备接收到的测试信号的接收功率的大小,无需用户在检测设备上自行读取,提高测试效率。In an embodiment, as shown in FIG. 5 , the operation interface may further include a display control 504 for displaying received power. It can be understood that the control device can display the level information, waveform diagram or power value corresponding to the received power, so as to feed back to the user the magnitude of the received power of the test signal received by the detection device, without the need for the user to read it on the detection device. Improve testing efficiency.

在一个实施例中,请继续参考图6,该控制方法还可以包括步骤S235a至S236a。In one embodiment, please continue to refer to FIG. 6 , the control method may further include steps S235a to S236a.

S235a,确定接收功率与期望功率的差值是否大于或等于预设功率。S235a. Determine whether the difference between the received power and the expected power is greater than or equal to the preset power.

其中,期望功率为控制设备控制待测设备发射的测试信号所需达到的功率。在目标第一控制参数包括目标发射功率时,期望功率与该目标测试参数对应。可以理解的,由于测试信号收发过程具有正常的损耗,因此设置预设功率,并将接收功率与期望功率的差值与预设功率进行对比,而非直接将接收功率与期望功率进行对比,可以避免将正常的损耗认为是待测设备出现故障的现象出现。可选的,预设功率的范围可以为4.5dB至5.5dB。可选的,预设功率可以为4.5dB、5dB或5.5dB。可以理解的,由于控制设备指示待测设备发送目标发射功率的测试信号,在检测设备接收到的测试信号的接收功率与目标发射功率的差值大于或等于预设功率,则可以证明该待测设备发射的测试信号的功率并非为目标发射功率,此时可以认为发射该测试信号的射频通道出现故障。Wherein, the expected power is the power required by the control device to control the test signal emitted by the device under test. When the target first control parameter includes a target transmit power, the expected power corresponds to the target test parameter. It can be understood that since the test signal transceiving process has a normal loss, it is possible to set the preset power and compare the difference between the received power and the expected power with the preset power instead of directly comparing the received power with the expected power. Avoid interpreting normal wear and tear as a failure of the device under test. Optionally, the range of the preset power may be 4.5dB to 5.5dB. Optionally, the preset power can be 4.5dB, 5dB or 5.5dB. It can be understood that since the control device instructs the device under test to send a test signal with a target transmit power, and the difference between the received power of the test signal received by the test device and the target transmit power is greater than or equal to the preset power, it can be proved that the test signal The power of the test signal transmitted by the device is not the target transmission power. At this time, it can be considered that the radio frequency channel transmitting the test signal is faulty.

S236a,在接收功率与期望功率的差值大于或等于预设阈值时,显示警告信息,警告信息用于指示待测设备出现故障。S236a. When the difference between the received power and the expected power is greater than or equal to a preset threshold, display warning information, where the warning information is used to indicate that the device under test has a fault.

应说明的,本实施例所说的待测设备出现故障,是指发射测试信号的射频通道出现故障。在一个实施例中,显示警告信息,可以包括:显示提示框,其中,提示框的文字内容可以为“出现故障”。It should be noted that the failure of the device under test mentioned in this embodiment refers to the failure of the radio frequency channel that transmits the test signal. In an embodiment, displaying the warning information may include: displaying a prompt box, wherein the text content of the prompt box may be "fault occurred".

在一个实施例中,如图6所示,控制方法还可以包括步骤S237a。In one embodiment, as shown in FIG. 6 , the control method may further include step S237a.

S237a,在接收功率与期望功率的差值小于预设阈值时,显示正常信息,用于指示待测设备无出现故障。S237a, when the difference between the received power and the expected power is less than a preset threshold, display normal information, which is used to indicate that the device under test has no fault.

应说明的,本实施例所说的待测设备无出现故障,是指待测设备发射测试信号的射频通道无出现故障。It should be noted that the device under test mentioned in this embodiment has no faults, which means that the radio frequency channel through which the device under test transmits the test signal has no faults.

本实施例,在获取到接收功率的情况下,根据接收功率与期望功率的差值与预设功率的大小情况,显示对应的信息(警告信息和正常信息),用户无需获知期望功率,也可以确定待测设备与目标第一设置参数对应射频通道有无出现故障。In this embodiment, when the received power is obtained, the corresponding information (warning information and normal information) is displayed according to the difference between the received power and the expected power and the size of the preset power. The user does not need to know the expected power, and can also Determine whether there is any failure in the radio frequency channel corresponding to the device under test and the target first setting parameter.

请参考图7,其示出了本申请实施例提供的另一种控制方法,该控制方法用于测试信息指示待测设备的收发模式为接收模式的情况,如图7所示,在测试信息指示待测设备的收发模式为接收模式时,根据目标控制参数,控制待测设备以及检测设备完成射频测试,可以包括步骤S231b至步骤S232b。Please refer to FIG. 7, which shows another control method provided by the embodiment of the present application. The control method is used when the test information indicates that the sending and receiving mode of the device under test is the receiving mode. As shown in FIG. 7, in the test information When the transmitting and receiving mode of the device under test is instructed to be the receiving mode, controlling the device under test and the detection device to complete the radio frequency test according to the target control parameters may include steps S231b to S232b.

S231b,控制检测设备发射与目标第二控制参数对应的测试信号。S231b. Control the detection device to transmit a test signal corresponding to the target second control parameter.

示例性的,测试参数包括网络制式、频段和收发模式,第二控制参数包括发射功率和信道,控制检测设备发射与目标第二控制参数对应的测试信号,包括控制检测设备发射功率为目标发射功率且频率与目标信道的频率对应的测试信号。Exemplarily, the test parameters include network standard, frequency band, and transceiver mode, and the second control parameters include transmit power and channel, and controlling the detection device to transmit a test signal corresponding to the target second control parameter includes controlling the detection device to transmit power to the target transmit power and a test signal whose frequency corresponds to the frequency of the target channel.

S232b,控制待测设备处于与目标第一控制参数对应的接收状态,以接收测试信号。S232b. Control the device under test to be in a receiving state corresponding to the target first control parameter, so as to receive the test signal.

示例性的,测试参数包括网络制式、频段和收发模式,第一控制参数可以包括信道,控制待测设备通过与目标信道对应的接收射频通道接收测试信号。Exemplarily, the test parameters include network standard, frequency band, and transceiver mode, and the first control parameter may include a channel, which controls the device under test to receive the test signal through the receiving radio frequency channel corresponding to the target channel.

在一个实施例中,请继续参考图7,该控制方法还可以包括步骤S233b至步骤S234b。In one embodiment, please continue to refer to FIG. 7 , the control method may further include step S233b to step S234b.

S233b,获取测试信号的接收功率。S233b. Acquire the received power of the test signal.

其中,本实施例的测试信号为检测设备发射的与目标第二控制参数对应的测试信号。接收功率则为待测设备接收到的测试信号的功率。Wherein, the test signal in this embodiment is a test signal emitted by the detection device and corresponding to the target second control parameter. The received power is the power of the test signal received by the device under test.

在一个实施例中,检测设备可以用于检测其接收到的测试信号的功率,获取测试信号的接收功率,可以包括:接收待测设备反馈的测试信号的接收功率。In an embodiment, the detection device may be used to detect the power of the test signal it receives, and obtaining the received power of the test signal may include: receiving the received power of the test signal fed back by the device under test.

S234b,显示接收功率。S234b, displaying the received power.

在一个实施例中,如图5所示,操作界面还可以包括显示控件504,该显示控件504用于显示接收功率。可以理解的,控制设备可以显示与接收功率对应的电平信息、波形图或功率值,以向用户反馈检测设备接收到的测试信号的接收功率的大小,无需用户在检测设备上自行读取。In an embodiment, as shown in FIG. 5 , the operation interface may further include a display control 504 for displaying received power. It can be understood that the control device can display the level information, waveform diagram or power value corresponding to the received power, so as to feed back to the user the magnitude of the received power of the test signal received by the detection device, without requiring the user to read it on the detection device.

在一个实施例中,请继续参考图7,该控制方法还可以包括步骤S235b至S236b。In one embodiment, please continue to refer to FIG. 7 , the control method may further include steps S235b to S236b.

S235b,确定接收功率与期望功率的差值是否大于或等于预设功率。S235b. Determine whether the difference between the received power and the expected power is greater than or equal to the preset power.

其中,期望功率为控制设备控制检测设备发射的测试信号所需达到的功率。在目标第二控制参数包括目标发射功率时,期望功率与该目标测试参数对应。对于预设功率的描述可以参考上文实施例,在此不再赘述。可以理解的,由于控制设备控制检测设备发送功率为目标发射功率的测试信号,若检测设备处于与目标第一控制参数对应的接收状态,待测设备接收到的测试信号的接收功率应与目标发射功率的差值小于预设功率,若待测设备接收到的测试信号的接收功率与目标发射功率的差值大于或等于预设功率,则表明待测设备用于接收该测试信号的射频通道出现故障。Wherein, the expected power is the power required by the control device to control the test signal emitted by the detection device. When the target second control parameter includes the target transmit power, the expected power corresponds to the target test parameter. For the description of the preset power, reference may be made to the foregoing embodiments, and details are not repeated here. It can be understood that since the control device controls the detection device to transmit a test signal with the target transmission power, if the detection device is in the receiving state corresponding to the target first control parameter, the received power of the test signal received by the device under test should be equal to the target transmission power. The power difference is less than the preset power. If the difference between the received power of the test signal received by the device under test and the target transmit power is greater than or equal to the preset power, it indicates that the radio frequency channel used by the device under test to receive the test signal appears Fault.

S236b,在接收功率与期望功率的差值大于或等于预设阈值时,显示警告信息,警告信息用于指示待测设备出现故障。S236b. When the difference between the received power and the expected power is greater than or equal to a preset threshold, display a warning message, where the warning message is used to indicate that the device under test has a fault.

应说明的,本实施例所说的待测设备出现故障,是用于接收测试信号的射频通道出现故障。在一个实施例中,显示警告信息,可以包括:显示提示框,其中提示框的文字内容可以为“出现故障”。It should be noted that the failure of the device under test mentioned in this embodiment is the failure of the radio frequency channel for receiving the test signal. In an embodiment, displaying the warning information may include: displaying a prompt box, wherein the text content of the prompt box may be "fault occurred".

在一个实施例中,如图7所示,控制方法还可以包括步骤S237b。In one embodiment, as shown in FIG. 7 , the control method may further include step S237b.

S237b,在接收功率与期望功率的差值小于预设阈值时,显示正常信息,用于指示待测设备无出现故障。S237b. When the difference between the received power and the expected power is less than a preset threshold, display normal information, which is used to indicate that the device under test has no fault.

应说明的,本实施例所说的待测设备无出现故障,是指与待测设备接收测试信号的射频通道无出现故障。It should be noted that the device under test mentioned in this embodiment has no failures means that the radio frequency channel that receives the test signal with the device under test has no failures.

本实施例,在获取到接收功率的情况下,根据接收功率与期望功率的差值与预设功率的大小情况,显示对应的信息(警告信息和正常信息),无需用户获知期望功率,也可以确定待测设备与目标第一设置参数对应射频通道有无出现故障。In this embodiment, when the received power is obtained, the corresponding information (warning information and normal information) is displayed according to the difference between the received power and the expected power and the size of the preset power, without the user needing to know the expected power. Determine whether there is any failure in the radio frequency channel corresponding to the device under test and the target first setting parameter.

请参考图8,其示出了本申请实施例提供的另一种测试方法,该测试方法相对于图4所示的测试方法还可以包括步骤S201至步骤S202。Please refer to FIG. 8 , which shows another testing method provided by the embodiment of the present application. Compared with the testing method shown in FIG. 4 , the testing method may further include steps S201 to S202.

S201,接收用户的测试触发操作。S201. Receive a test trigger operation from a user.

应说明的,在用户执行测试触发操作时,表明用户需要对待测设备的射频通道进行分析。It should be noted that when the user executes the test trigger operation, it indicates that the user needs to analyze the radio frequency channel of the device under test.

在一个实施例中,本申请实施例提供的方法设置在控制设备上的应用程序,接收用户的测试触发操作包括:接收用户对与应用程序对应的图标的点击操作。In one embodiment, the method provided in the embodiment of the present application sets an application program on the control device, and receiving a user's test trigger operation includes: receiving a user's click operation on an icon corresponding to the application program.

S202,响应于测试触发操作,显示连接提示界面。S202. Display a connection prompt interface in response to a test trigger operation.

其中,连接提示界面用于指示连接控制设备和待测设备,以及,连接控制设备和检测设备。在本实施例中,控制设备可以通过显示连接界面以提示用户连接控制设备和待测设备,以及,连接控制设备和检测设备,可以起到提醒以及指导,提高用户的体验感。Wherein, the connection prompt interface is used to indicate the connection between the control device and the device under test, and the connection between the control device and the detection device. In this embodiment, the control device can display a connection interface to prompt the user to connect the control device and the device under test, and connect the control device to the detection device, which can serve as a reminder and guide, and improve the user experience.

在一个实施例中,连接提示界面可以用于指示通过串行接口(Serial Interface)连接控制设备和待测设备,通过网络接口或GPIB(General-Purpose Interface Bus,通用接口总线)接口连接控制设备和检测设备。本实施例通过连接提示界面提示用户控制设备与待测设备的连接接口以及控制设备与检测设备的连接接口,可以减少用户使用该应用程序的记忆量,同时提高连接的正确率。In one embodiment, the connection prompt interface can be used to indicate that the control device and the device under test are connected through a serial interface (Serial Interface), and the control device and the device under test are connected through a network interface or a GPIB (General-Purpose Interface Bus) interface. Testing Equipment. This embodiment reminds the user of the connection interface between the control device and the device under test and the connection interface between the control device and the detection device through the connection prompt interface, which can reduce the amount of memory for the user to use the application program, and at the same time improve the correct rate of connection.

请继续参考图8,该测试方法还可以包括步骤S203至步骤S204。Please continue to refer to FIG. 8 , the testing method may further include steps S203 to S204.

S203,确定控制设备与检测设备是否连接成功,以及,确定控制设备与待测设备是否连接成功。S203. Determine whether the connection between the control device and the detection device is successful, and determine whether the connection between the control device and the device under test is successful.

其中,控制设备与检测设备连接成功可以理解为,控制设备可以控制检测设备接收或发送与目标控制参数对应的测试信号。控制设备与待测设备连接成功可以理解为,控制设备可以控制待测设备接收或发送与目标控制参数对应的测试信号。Wherein, the successful connection between the control device and the detection device can be understood as that the control device can control the detection device to receive or send a test signal corresponding to the target control parameter. It can be understood that the successful connection between the control device and the device under test means that the control device can control the device under test to receive or send a test signal corresponding to the target control parameter.

S204,在控制设备与检测设备连接成功,以及,控制设备与待测设备连接成功的情况下,执行预设成功操作。S204, when the connection between the control device and the detection device is successful, and the connection between the control device and the device under test is successful, perform a preset successful operation.

其中,预设成功操作可以包括关闭连接提示界面,和/或显示连接成功提示界面,其中,连接成功提示界面用于指示控制设备与检测设备连接成功,以及,控制设备与待测设备连接成功。在预设成功操作包括关闭连接提示界面时,用户在看到连接提示界面消失,可以确定控制设备与检测设备连接成功,以及,控制设备与待测设备连接成功。在预设成功操作包括显示连接成功提示界面时,用户可以更加直观地获知控制设备与检测设备连接成功,以及,控制设备与待测设备连接成功。可选的,执行预设成功操作可以包括,显示提示框,该提示框的文本内容为“控制设备与检测设备连接成功,以及,控制设备与待测设备连接成功”。Wherein, the preset successful operation may include closing the connection prompt interface, and/or displaying the connection success prompt interface, wherein the connection success prompt interface is used to indicate that the control device and the detection device are successfully connected, and that the control device and the device under test are successfully connected. When the preset successful operation includes closing the connection prompt interface, the user can confirm that the connection between the control device and the detection device is successful, and that the control device and the device under test are successfully connected when the connection prompt interface disappears. When the preset successful operation includes displaying a successful connection prompt interface, the user can know more intuitively that the control device is successfully connected with the detection device, and that the control device is successfully connected with the device under test. Optionally, performing the preset successful operation may include displaying a prompt box, the text content of which is "the control device is successfully connected to the detection device, and the control device is successfully connected to the device under test".

其中,控制设备可以在步骤S230之前执行步骤S201至步骤S204。可选的,控制设备在步骤S210之前执行步骤S201至步骤S204。可选的,控制设备在步骤S210之后,步骤S220之前执行步骤S201至步骤S204。可选的,控制设备在步骤S220之后,步骤S230之前执行步骤S201至步骤S204。Wherein, the control device may perform step S201 to step S204 before step S230. Optionally, the control device performs step S201 to step S204 before step S210. Optionally, the control device executes step S201 to step S204 after step S210 and before step S220. Optionally, the control device executes step S201 to step S204 after step S220 and before step S230.

在一个实施例中,如图8所示,该测试方法还可以包括步骤S205。In one embodiment, as shown in FIG. 8 , the testing method may further include step S205.

S205,在控制设备与检测设备连接失败,和/或,控制设备与待测设备连接失败的情况下,执行预设失败操作。S205, when the connection between the control device and the detection device fails, and/or the connection between the control device and the device under test fails, perform a preset failure operation.

其中,预设失败操作可以包括显示连接失败提示界面,可以理解的,连接失败提示界面用于指示控制设备与检测设备连接失败,和/或,控制设备与待测设备连接失。控制设备在确定控制设备与检测设备连接失败,和/或,控制设备与待测设备连接失败的情况下,执行预设失败操作,可以及时提示用户,避免用户将控制设备与检测设备连接失败,和/或,控制设备与待测设备连接失败导致的测试信号异常误认为是终端设备的射频通道出现故障。Wherein, the preset failure operation may include displaying a connection failure prompt interface. It is understandable that the connection failure prompt interface is used to indicate that the connection between the control device and the detection device fails, and/or that the connection between the control device and the device under test fails. When the control device determines that the connection between the control device and the detection device fails, and/or, when the connection between the control device and the device under test fails, it executes a preset failure operation, which can prompt the user in time to prevent the user from failing to connect the control device to the detection device. And/or, the abnormality of the test signal caused by the failure of the connection between the control device and the device under test is mistakenly regarded as a failure of the radio frequency channel of the terminal device.

在一个实施例中,在控制设备与检测设备连接失败,控制设备与待测设备连接成功时,连接失败提示界面用于指示控制设备与检测设备连接失败;在控制设备与检测设备连接成功,控制设备与待测设备连接失败时,连接失败提示界面用于指示控制设备与待测设备连接失败。本实施例,通过连接失败提示界面,可以使得用户快速定位连接失败的对象,提高维修效率。In one embodiment, when the connection between the control device and the detection device fails and the connection between the control device and the device under test is successful, the connection failure prompt interface is used to indicate that the connection between the control device and the detection device fails; when the connection between the control device and the detection device is successful, the control When the connection between the device and the device under test fails, the connection failure prompt interface is used to indicate that the connection between the control device and the device under test fails. In this embodiment, through the connection failure prompt interface, the user can quickly locate the object of the connection failure and improve the maintenance efficiency.

应该理解的是,虽然图4、图6-8的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图4、图6-8中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow charts in FIG. 4 and FIGS. 6-8 are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in Fig. 4 and Fig. 6-8 may include a plurality of sub-steps or stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, these sub-steps The execution order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or substeps or stages of other steps.

请参考图9,其示出了本申请实施例提供的一种测试装置,该测试装置应用于你控制设备,控制设备分别与检测设备以及待测设备连接,如图9所示,该测试装置900包括获取模块910、参数模块920以及控制模块930。其中,获取模块910用于获取测试信息,测试信息用于指示待测设备所需测试的目标测试参数,目标测试参数包括目标网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种。参数模块920用于根据测试信息从预设控制参数模板中获取目标控制参数,预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系。控制模块930用于根据目标控制参数,控制待测设备以及检测设备完成射频测试。Please refer to FIG. 9, which shows a test device provided by the embodiment of the present application. The test device is applied to your control device, and the control device is respectively connected to the detection device and the device to be tested. As shown in FIG. 9, the test device 900 includes an acquisition module 910 , a parameter module 920 and a control module 930 . Wherein, the obtaining module 910 is used to obtain test information, and the test information is used to indicate the target test parameters required by the device under test. The target test parameters include at least one of the target network standard, target frequency band, target channel, target frequency and target transceiver mode A sort of. The parameter module 920 is configured to obtain target control parameters from a preset control parameter template according to test information, and the preset control parameter template includes a mapping relationship between preset test parameters and preset control parameters. The control module 930 is used to control the device under test and the detection device to complete the radio frequency test according to the target control parameters.

在一个实施例中,目标控制参数包括与待测设备对应的第一控制参数以及与检测设备对应的第二控制参数,控制模块包括第一控制单元以及第二控制单元。第一控制单元用于控制待测设备发射与目标第一控制参数对应的测试信号。第二控制单元用于控制检测设备处于与目标第二控制参数对应的接收状态,以接收待测设备发射的测试信号。In one embodiment, the target control parameters include a first control parameter corresponding to the device under test and a second control parameter corresponding to the testing device, and the control module includes a first control unit and a second control unit. The first control unit is used to control the device under test to transmit a test signal corresponding to the target first control parameter. The second control unit is used to control the detection device to be in a receiving state corresponding to the target second control parameter, so as to receive the test signal transmitted by the device under test.

在一个实施例中,目标控制参数包括与待测设备对应的第一控制参数以及与检测设备对应的第二控制参数,控制模块包括第三控制单元以及第四控制单元。第三控制单元用于控制检测设备发射与目标第二控制参数对应的测试信号。第四控制单元用于控制待测设备处于与目标第一控制参数对应的接收状态,以接收检测设备发射的测试信号。In one embodiment, the target control parameters include a first control parameter corresponding to the device under test and a second control parameter corresponding to the detection device, and the control module includes a third control unit and a fourth control unit. The third control unit is used to control the detection device to transmit a test signal corresponding to the target second control parameter. The fourth control unit is used to control the device under test to be in a receiving state corresponding to the target first control parameter, so as to receive the test signal transmitted by the detection device.

在一个实施例中,测试装置还包括功率获取模块以及显示模块。其中,获取模块用于获取测试信号的接收功率;其中,在测试信息指示待测设备的收发模式为接收模式时,接收功率为待测设备接收到的测试信号的功率,在测试信息指示待测设备的收发模式为发射模式时,接收功率为检测设备接收到的测试信号的功率。显示模块用于显示接收功率。In one embodiment, the test device further includes a power acquisition module and a display module. Wherein, the obtaining module is used to obtain the received power of the test signal; wherein, when the test information indicates that the transceiver mode of the device under test is the receive mode, the received power is the power of the test signal received by the device under test, and when the test information indicates that the device under test When the transceiver mode of the device is the transmit mode, the received power is the power of the test signal received by the detection device. The display module is used to display the received power.

在一个实施例中,在测试信息指示待测设备的收发模式为发射模式时,目标第一控制参数目标发射功率,在测试信息指示待测设备的收发模式为接收模式时,第二控制参数包括目标发射功率。测试装置还包括第一确定模块以及警告模块。其中,第一确定模块用于确定接收功率与期望功率的差值是否大于或等于预设功率,其中,期望功率与目标发射功率对应。警告模块用于在接收功率与期望功率的差值大于或等于预设功率时,显示警告信息,警告信息用于指示待测设备出现故障。In one embodiment, when the test information indicates that the transceiver mode of the device under test is the transmit mode, the target first control parameter is the target transmit power; when the test information indicates that the transceiver mode of the device under test is the receive mode, the second control parameter includes Target transmit power. The testing device also includes a first determination module and a warning module. Wherein, the first determination module is used to determine whether the difference between the received power and the expected power is greater than or equal to the preset power, wherein the expected power corresponds to the target transmit power. The warning module is used to display a warning message when the difference between the received power and the expected power is greater than or equal to the preset power, and the warning message is used to indicate that the device under test has a fault.

在一个实施例中,测试装置还包括接收模块和响应模块。其中,接收模块用于接收用户的测试触发操作。响应模块用于响应于测试触发操作,显示连接提示界面,连接提示界面用于指示连接控制设备和待测设备,以及,连接控制设备和检测设备。In one embodiment, the testing device further includes a receiving module and a responding module. Wherein, the receiving module is used for receiving the user's test trigger operation. The response module is used to display a connection prompt interface in response to the test trigger operation, and the connection prompt interface is used to indicate the connection between the control device and the device under test, and the connection between the control device and the detection device.

在一个实施例中,测试装置还包括第二确定模块和执行模块。第二确定模块用于确定控制设备与检测设备是否连接成功,以及,确定控制设备与待测设备是否连接成功。执行模块用于在控制设备与检测设备连接成功,以及,控制设备与待测设备连接成功的情况下,执行预设成功操作,预设成功操作包括关闭连接提示界面,和/或显示连接成功提示界面。In one embodiment, the test device further includes a second determination module and an execution module. The second determination module is used to determine whether the connection between the control device and the detection device is successful, and determine whether the connection between the control device and the device under test is successful. The execution module is used to perform a preset successful operation when the connection between the control device and the detection device is successful, and the connection between the control device and the device under test is successful. The preset successful operation includes closing the connection prompt interface, and/or displaying a successful connection prompt interface.

关于测试装置的具体限定可以参见上文中对于测试方法的限定,在此不再赘述。上述测试装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the testing device, please refer to the above-mentioned limitations on the testing method, which will not be repeated here. Each module in the above-mentioned testing device can be fully or partially realized by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

在一个实施例中,提供了一种控制设备,该控制设备可以是终端,其内部结构图可以如图10所示。该控制设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该控制设备的处理器用于提供计算和控制能力。该控制设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该控制设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、近场通信(NFC)或其他技术实现。该计算机程序被处理器执行时以实现一种测试方法。该控制设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该控制设备的输入装置可以是显示屏上覆盖的触摸层,也可以是控制设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a control device is provided. The control device may be a terminal, and its internal structure may be as shown in FIG. 10 . The control device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Wherein, the processor of the control device is used to provide calculation and control capabilities. The memory of the control device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the control device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a testing method is realized. The display screen of the control device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the control device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the control device , and can also be an external keyboard, touchpad, or mouse.

本领域技术人员可以理解,图10中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的控制设备的限定,具体的控制设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 10 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the control device to which the solution of this application is applied. The specific control device can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.

在一个实施例中,本申请提供的测试装置可以实现为一种计算机程序的形式,计算机程序可在如图10所示的控制设备上运行。控制设备的存储器中可存储组成该测试装置的各个程序模块,比如,图9所示的获取模块910、参数模块920和控制模块930。各个程序模块构成的计算机程序使得处理器执行本说明书中描述的本申请各个实施例的测试方法中的步骤。In one embodiment, the test device provided by the present application can be implemented in the form of a computer program, and the computer program can be run on the control device as shown in FIG. 10 . Various program modules constituting the test device can be stored in the memory of the control device, for example, the acquisition module 910 , the parameter module 920 and the control module 930 shown in FIG. 9 . The computer program constituted by each program module enables the processor to execute the steps in the testing method of each embodiment of the application described in this specification.

例如,图10所示的控制设备可以通过如图9所示的测试装置900中的获取模块910执行获取测试信息的操作,其中,测试信息用于指示待测设备所需测试的目标测试参数,目标测试参数包括目标网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种。控制设备可通过参数模块920执行步骤根据测试信息从预设控制参数模板中获取目标控制参数的操作,其中,预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系。控制设备可通过控制模块930执行根据目标控制参数,控制待测设备以及检测设备完成射频测试的操作。For example, the control device shown in FIG. 10 can perform the operation of obtaining test information through the obtaining module 910 in the test device 900 shown in FIG. The target test parameters include at least one of a target network standard, a target frequency band, a target channel, a target frequency, and a target transceiving mode. The control device may use the parameter module 920 to perform the step of acquiring target control parameters from a preset control parameter template according to test information, wherein the preset control parameter template includes a mapping relationship between preset test parameters and preset control parameters. The control device can control the device under test and the detection device to complete the radio frequency test according to the target control parameters through the control module 930 .

在一个实施例中,提供了一种控制设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:获取测试信息,并根据测试信息从预设控制参数模板中获取目标控制参数,并根据目标控制参数,控制待测设备以及检测设备完成射频测试。其中,测试信息用于指示待测设备所需测试的目标测试参数,目标测试参数包括网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种,预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系。In one embodiment, a control device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: acquiring test information, and controlling parameters from presets according to the test information The target control parameters are obtained from the template, and according to the target control parameters, the device under test and the detection device are controlled to complete the radio frequency test. Wherein, the test information is used to indicate the target test parameters to be tested by the device under test. The target test parameters include at least one of the network standard, target frequency band, target channel, target frequency, and target transceiver mode. The preset control parameter template includes preset The mapping relationship between the set test parameters and the preset control parameters.

在一个实施例中,目标控制参数包括与待测设备对应的目标第一控制参数以及与检测设备对应的目标第二控制参数,在测试信息指示待测设备所需测试的收发模式为发射模式时,处理器执行计算机程序时还实现以下步骤:控制待测设备发射与目标第一控制参数对应的测试信号,控制检测设备处于与目标第二控制参数对应的接收状态,以接收测试信号。In one embodiment, the target control parameters include a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the detection device, when the test information indicates that the transmit-receive mode to be tested by the device under test is the transmit mode When the processor executes the computer program, the following steps are also implemented: controlling the device under test to transmit a test signal corresponding to the target first control parameter, and controlling the detection device to be in a receiving state corresponding to the target second control parameter to receive the test signal.

在一个实施例中,目标控制参数包括与待测设备对应的目标第一控制参数以及与检测设备对应的目标第二控制参数,在测试信息指示待测设备所需测试的收发模式为接收模式时,处理器执行计算机程序时还实现以下步骤:控制检测设备发射与目标第二控制参数对应的测试信号,控制待测设备处于与目标第一控制参数对应的接收状态,以接收测试信号。In one embodiment, the target control parameters include a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the detection device, when the test information indicates that the transmitting and receiving mode required by the device under test is the receiving mode When the processor executes the computer program, the following steps are also implemented: controlling the detection device to transmit a test signal corresponding to the target second control parameter, and controlling the device under test to be in a receiving state corresponding to the target first control parameter to receive the test signal.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取测试信号的接收功率,并显示接收功率。其中,在测试信息指示待测设备的收发模式为接收模式时,接收功率为待测设备接收到的测试信号的功率,在测试信息指示待测设备的收发模式为发射模式时,接收功率为检测设备接收到的测试信号的功率。In one embodiment, when the processor executes the computer program, the following steps are further implemented: acquiring the received power of the test signal and displaying the received power. Wherein, when the test information indicates that the transceiver mode of the device under test is the receive mode, the received power is the power of the test signal received by the device under test, and when the test information indicates that the transceiver mode of the device under test is the transmit mode, the received power is the detection The power of the test signal received by the device.

在一个实施例中,在测试信息指示待测设备的收发模式为发射模式时,目标第一控制参数包括目标发射功率,在测试信息指示待测设备的收发模式为接收模式时,第二控制参数包括目标发射功率,处理器执行计算机程序时还实现以下步骤:确定接收功率与期望功率的差值是否大于或等于预设功率,在接收功率与期望功率的差值大于或等于预设功率时,显示警告信息,其中,期望功率与目标发射功率对应,警告信息用于指示待测设备出现故障。In one embodiment, when the test information indicates that the transceiver mode of the device under test is the transmit mode, the target first control parameter includes the target transmit power, and when the test information indicates that the transmit-receive mode of the device under test is the receive mode, the second control parameter Including the target transmission power, the following steps are also implemented when the processor executes the computer program: determine whether the difference between the received power and the expected power is greater than or equal to the preset power, and when the difference between the received power and the expected power is greater than or equal to the preset power, A warning message is displayed, wherein the expected power corresponds to the target transmit power, and the warning message is used to indicate that the device under test is faulty.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:接收用户的测试触发操作;响应于测试触发操作,显示连接提示界面,其中,连接提示界面用于指示连接控制设备和待测设备,以及,连接控制设备和检测设备。In one embodiment, when the processor executes the computer program, the following steps are also implemented: receiving a user's test trigger operation; in response to the test trigger operation, displaying a connection prompt interface, wherein the connection prompt interface is used to indicate the connection between the control device and the device under test , and, connecting control equipment and detection equipment.

在一个实施例中,处理器执行计算机程序时还实现以下步骤:确定所述控制设备与所述检测设备是否连接成功,以及,确定所述控制设备与待测设备是否连接成功,在控制设备与检测设备连接成功,以及,控制设备与待测设备连接成功的情况下,执行预设成功操作,预设成功操作包括关闭连接提示界面,和/或显示连接成功提示界面。In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining whether the connection between the control device and the detection device is successful, and determining whether the connection between the control device and the device to be tested is successful, and when the control device and the detection device are successfully connected, The detection device is successfully connected, and in the case of a successful connection between the control device and the device under test, a preset successful operation is performed. The preset successful operation includes closing the connection prompt interface, and/or displaying a successful connection prompt interface.

本申请实施例提供的控制设备在获取测试信息的情况下,可以自动根据测试信息从预设控制参数模板中,获取目标控制参数,并根据目标控制参数控制待测设备以及检测设备完成与测试信息对应的射频测试。本申请实施例无需用户对检测设备进行设置,也即用户无需了解检测设备的操作设置,也可以实现对待测设备的射频性能进行测试,简化了测试操作。The control device provided by the embodiment of the present application can automatically obtain the target control parameters from the preset control parameter template according to the test information when the test information is obtained, and control the device under test and the detection device to complete and test information according to the target control parameters Corresponding RF test. In the embodiment of the present application, the user does not need to set the detection device, that is, the user does not need to understand the operation settings of the detection device, and can also implement the test of the radio frequency performance of the device to be tested, which simplifies the test operation.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取测试信息,并根据测试信息从预设控制参数模板中获取目标控制参数,并根据目标控制参数,控制待测设备以及检测设备完成射频测试。其中,测试信息用于指示待测设备所需测试的目标测试参数,目标测试参数包括网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种,预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: acquiring test information, and acquiring from a preset control parameter template according to the test information The target control parameters, and according to the target control parameters, control the equipment under test and the detection equipment to complete the radio frequency test. Wherein, the test information is used to indicate the target test parameters to be tested by the device under test. The target test parameters include at least one of the network standard, target frequency band, target channel, target frequency, and target transceiver mode. The preset control parameter template includes preset The mapping relationship between the set test parameters and the preset control parameters.

在一个实施例中,目标控制参数包括与待测设备对应的目标第一控制参数以及与检测设备对应的目标第二控制参数,在测试信息指示待测设备所需测试的收发模式为发射模式时,计算机程序被处理器执行时还实现以下步骤:控制待测设备发射与目标第一控制参数对应的测试信号,控制检测设备处于与目标第二控制参数对应的接收状态,以接收测试信号。In one embodiment, the target control parameters include a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the detection device, when the test information indicates that the transmit-receive mode to be tested by the device under test is the transmit mode , when the computer program is executed by the processor, the following steps are also implemented: controlling the device under test to transmit a test signal corresponding to the target first control parameter, and controlling the detection device to be in a receiving state corresponding to the target second control parameter to receive the test signal.

在一个实施例中,目标控制参数包括与待测设备对应的目标第一控制参数以及与检测设备对应的目标第二控制参数,在测试信息指示待测设备所需测试的收发模式为接收模式时,计算机程序被处理器执行时还实现以下步骤:控制检测设备发射与目标第二控制参数对应的测试信号,控制待测设备处于与目标第一控制参数对应的接收状态,以接收测试信号。In one embodiment, the target control parameters include a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the detection device, when the test information indicates that the transmitting and receiving mode required by the device under test is the receiving mode , when the computer program is executed by the processor, the following steps are also implemented: controlling the detection device to transmit a test signal corresponding to the target second control parameter, and controlling the device under test to be in a receiving state corresponding to the target first control parameter to receive the test signal.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:获取测试信号的接收功率,并显示接收功率。其中,在测试信息指示待测设备的收发模式为接收模式时,接收功率为待测设备接收到的测试信号的功率,在测试信息指示待测设备的收发模式为发射模式时,接收功率为检测设备接收到的测试信号的功率。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: acquiring the received power of the test signal and displaying the received power. Wherein, when the test information indicates that the transceiver mode of the device under test is the receive mode, the received power is the power of the test signal received by the device under test, and when the test information indicates that the transceiver mode of the device under test is the transmit mode, the received power is the detection The power of the test signal received by the device.

在一个实施例中,在测试信息指示待测设备的收发模式为发射模式时,目标第一控制参数包括目标发射功率,在测试信息指示待测设备的收发模式为接收模式时,第二控制参数包括目标发射功率,计算机程序被处理器执行时还实现以下步骤:确定接收功率与期望功率的差值是否大于或等于预设功率,在接收功率与期望功率的差值大于或等于预设功率时,显示警告信息,其中,期望功率与目标发射功率对应,警告信息用于指示待测设备出现故障。In one embodiment, when the test information indicates that the transceiver mode of the device under test is the transmit mode, the target first control parameter includes the target transmit power, and when the test information indicates that the transmit-receive mode of the device under test is the receive mode, the second control parameter Including the target transmission power, the computer program is also executed by the processor to implement the following steps: determine whether the difference between the received power and the expected power is greater than or equal to the preset power, and when the difference between the received power and the expected power is greater than or equal to the preset power , to display a warning message, wherein the expected power corresponds to the target transmission power, and the warning message is used to indicate that the device under test is faulty.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:接收用户的测试触发操作;响应于测试触发操作,显示连接提示界面,其中,连接提示界面用于指示连接控制设备和待测设备,以及,连接控制设备和检测设备。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving a test trigger operation from the user; in response to the test trigger operation, displaying a connection prompt interface, wherein the connection prompt interface is used to indicate the connection between the control device and the device under test equipment, as well as, connection control equipment and detection equipment.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:确定所述控制设备与所述检测设备是否连接成功,以及,确定所述控制设备与待测设备是否连接成功,在控制设备与检测设备连接成功,以及,控制设备与待测设备连接成功的情况下,执行预设成功操作,预设成功操作包括关闭连接提示界面,和/或显示连接成功提示界面。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining whether the connection between the control device and the detection device is successful, and determining whether the connection between the control device and the device under test is successful, and the control device If the connection with the detection device is successful, and if the connection between the control device and the device under test is successful, a preset successful operation is performed. The preset successful operation includes closing the connection prompt interface, and/or displaying a successful connection prompt interface.

本申请实施例提供的计算机可读存储介质,其上存储有计算机程序,使得该计算机程序被处理器执行时,可以使得在获取测试信息的情况下,自动根据测试信息从预设控制参数模板中,获取目标控制参数,并根据目标控制参数控制待测设备以及检测设备完成与测试信息对应的射频测试。本申请实施例无需用户对检测设备进行设置,也即用户无需了解检测设备的操作设置,也可以实现对待测设备的射频性能进行测试,简化了测试操作。The computer-readable storage medium provided by the embodiment of the present application has a computer program stored thereon, so that when the computer program is executed by a processor, it can automatically select from the preset control parameter template according to the test information when the test information is obtained. , obtain the target control parameters, and control the device under test and the detection device to complete the radio frequency test corresponding to the test information according to the target control parameters. In the embodiment of the present application, the user does not need to set the detection device, that is, the user does not need to understand the operation settings of the detection device, and can also implement the test of the radio frequency performance of the device to be tested, which simplifies the test operation.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,比如静态随机存取存储器(Static Random Access Memory,SRAM)和动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any reference to storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile and volatile storage. The non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, and the like. The volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as Static Random Access Memory (SRAM) and Dynamic Random Access Memory (DRAM).

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementation modes of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (10)

1.一种测试方法,其特征在于,应用于控制设备,所述控制设备分别与检测设备以及待测设备连接,所述测试方法包括:1. A test method, characterized in that it is applied to a control device, and the control device is respectively connected with a detection device and a device to be tested, and the test method comprises: 获取测试信息,所述测试信息用于指示所述待测设备所需测试的目标测试参数,所述目标测试参数包括目标网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种;Acquire test information, the test information is used to indicate the target test parameters required by the device under test, the target test parameters include at least one of the target network standard, target frequency band, target channel, target frequency, and target transceiver mode kind; 根据所述测试信息从预设控制参数模板中获取目标控制参数,所述预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系;Obtain target control parameters from a preset control parameter template according to the test information, and the preset control parameter template includes a mapping relationship between preset test parameters and preset control parameters; 根据所述目标控制参数,控制所述待测设备以及所述检测设备完成射频测试。According to the target control parameter, control the device under test and the detection device to complete the radio frequency test. 2.根据权利要求1所述的测试方法,其特征在于,所述目标控制参数包括与所述待测设备对应的目标第一控制参数以及与所述检测设备对应的目标第二控制参数;2. The testing method according to claim 1, wherein the target control parameters include a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the detection device; 在所述测试信息指示所述待测设备所需测试的收发模式为发射模式时,所述根据所述目标控制参数,控制所述待测设备以及所述检测设备完成射频测试,包括:When the test information indicates that the transmitting and receiving mode required by the device under test is a transmitting mode, the controlling the device under test and the detection device to complete the radio frequency test according to the target control parameters includes: 控制所述待测设备发射与所述目标第一控制参数对应的测试信号;controlling the device under test to transmit a test signal corresponding to the target first control parameter; 控制所述检测设备处于与所述目标第二控制参数对应的接收状态,以接收所述测试信号。The detection device is controlled to be in a receiving state corresponding to the target second control parameter, so as to receive the test signal. 3.根据权利要求1所述的测试方法,其特征在于,所述目标控制参数包括与所述待测设备对应的目标第一控制参数以及与所述检测设备对应的目标第二控制参数;3. The testing method according to claim 1, wherein the target control parameters include a target first control parameter corresponding to the device under test and a target second control parameter corresponding to the testing device; 在所述测试信息指示所述待测设备的收发模式为接收模式时,所述根据所述目标控制参数,控制所述待测设备以及所述检测设备完成射频测试,包括:When the test information indicates that the transceiving mode of the device under test is a receiving mode, the controlling the device under test and the detection device to complete the radio frequency test according to the target control parameters includes: 控制所述检测设备发射与所述目标第二控制参数对应的测试信号;controlling the detection device to transmit a test signal corresponding to the target second control parameter; 控制所述待测设备处于与所述目标第一控制参数对应的接收状态,以接收所述测试信号。controlling the device under test to be in a receiving state corresponding to the target first control parameter, so as to receive the test signal. 4.根据权利要求2或3所述的测试方法,其特征在于,所述测试方法还包括:4. according to the described testing method of claim 2 or 3, it is characterized in that, described testing method also comprises: 获取所述测试信号的接收功率;其中,在所述测试信息指示所述待测设备的收发模式为接收模式时,所述接收功率为所述待测设备接收到的测试信号的功率,在所述测试信息指示所述待测设备的收发模式为发射模式时,所述接收功率为所述检测设备接收到的测试信号的功率;Acquiring the received power of the test signal; wherein, when the test information indicates that the transceiver mode of the device under test is a receive mode, the received power is the power of the test signal received by the device under test, in the When the test information indicates that the transceiver mode of the device under test is a transmit mode, the received power is the power of the test signal received by the detection device; 显示所述接收功率。Displays the received power. 5.根据权利要求4所述的测试方法,其特征在于,在所述测试信息指示所述待测设备的收发模式为发射模式时,所述目标第一控制参数包括目标发射功率,在所述测试信息指示所述待测设备的收发模式为接收模式时,所述第二控制参数包括目标发射功率;5. The test method according to claim 4, wherein when the test information indicates that the transceiver mode of the device under test is a transmit mode, the target first control parameter includes a target transmit power, and in the When the test information indicates that the transceiving mode of the device under test is a receiving mode, the second control parameter includes a target transmission power; 所述测试方法还包括:Described test method also comprises: 确定所述接收功率与期望功率的差值是否大于或等于预设功率,其中,所述期望功率与所述目标发射功率对应;determining whether the difference between the received power and expected power is greater than or equal to a preset power, where the expected power corresponds to the target transmit power; 在所述接收功率与所述期望功率的差值大于或等于预设功率时,显示警告信息,所述警告信息用于指示所述待测设备出现故障。When the difference between the received power and the expected power is greater than or equal to a preset power, a warning message is displayed, and the warning message is used to indicate that the device under test has a fault. 6.根据权利要求1至3任一项所述的测试方法,其特征在于,所述测试方法还包括:6. according to the test method described in any one of claim 1 to 3, it is characterized in that, described test method also comprises: 接收用户的测试触发操作;Receive the user's test trigger operation; 响应于所述测试触发操作,显示连接提示界面,所述连接提示界面用于指示连接所述控制设备和所述待测设备,以及,连接所述控制设备和所述检测设备。In response to the test triggering operation, a connection prompt interface is displayed, and the connection prompt interface is used to indicate the connection between the control device and the device under test, and the connection between the control device and the detection device. 7.根据权利要求6所述的测试方法,其特征在于,所述测试方法还包括:7. testing method according to claim 6, is characterized in that, described testing method also comprises: 确定所述控制设备与所述检测设备是否连接成功,以及,确定所述控制设备与所述待测设备是否连接成功;determining whether the connection between the control device and the detection device is successful, and determining whether the connection between the control device and the device under test is successful; 在所述控制设备与所述检测设备连接成功,以及,所述控制设备与所述待测设备连接成功的情况下,执行预设成功操作,所述预设成功操作包括关闭所述连接提示界面,和/或显示连接成功提示界面。When the connection between the control device and the detection device is successful, and the connection between the control device and the device under test is successful, a preset successful operation is performed, and the preset successful operation includes closing the connection prompt interface , and/or display a successful connection prompt interface. 8.一种测试装置,其特征在于,应用于控制设备,所述控制设备分别与检测设备以及待测设备连接,所述测试装置包括:8. A test device, characterized in that it is applied to a control device, and the control device is respectively connected with a detection device and a device to be tested, and the test device comprises: 获取模块,用于获取测试信息,所述测试信息用于指示所述待测设备所需测试的目标测试参数,所述目标测试参数包括目标网络制式、目标频段、目标信道、目标频率以及目标收发模式中的至少一种;An acquisition module, configured to acquire test information, the test information is used to indicate the target test parameters required by the device under test, the target test parameters include target network standard, target frequency band, target channel, target frequency, and target transceiving at least one of the modes; 参数模块,用于根据所述测试信息从预设控制参数模板中获取目标控制参数,所述预设控制参数模板包括预设的测试参数与预设的控制参数的映射关系;A parameter module, configured to obtain target control parameters from a preset control parameter template according to the test information, and the preset control parameter template includes a mapping relationship between preset test parameters and preset control parameters; 控制模块,用于根据所述目标控制参数,控制所述待测设备以及所述检测设备完成射频测试。A control module, configured to control the device under test and the detection device to complete radio frequency testing according to the target control parameters. 9.一种控制设备,其特征在于,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如权利要求1至7任一所述的测试方法。9. A control device, characterized in that it comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor can realize Any of the test methods described. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一所述的测试方法。10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program implements the testing method according to any one of claims 1 to 7 when executed by a processor.
CN202310081257.3A 2023-01-30 2023-01-30 Test method, device, control equipment and storage medium Pending CN116155408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310081257.3A CN116155408A (en) 2023-01-30 2023-01-30 Test method, device, control equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310081257.3A CN116155408A (en) 2023-01-30 2023-01-30 Test method, device, control equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116155408A true CN116155408A (en) 2023-05-23

Family

ID=86361444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310081257.3A Pending CN116155408A (en) 2023-01-30 2023-01-30 Test method, device, control equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116155408A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120128286A (en) * 2025-05-15 2025-06-10 重庆长安汽车股份有限公司 Vehicle entertainment equipment testing method, device, system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120128286A (en) * 2025-05-15 2025-06-10 重庆长安汽车股份有限公司 Vehicle entertainment equipment testing method, device, system and storage medium
CN120128286B (en) * 2025-05-15 2025-07-15 重庆长安汽车股份有限公司 Vehicle entertainment equipment testing method, device, system and storage medium

Similar Documents

Publication Publication Date Title
US8467735B2 (en) Methods and apparatus for testing and integration of modules within an electronic device
CN107566053B (en) Test method, system and computer-readable storage medium for radio frequency index
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
TW201327461A (en) Method for automatically testing communication functionality of device under test and computer-readable media thereof
US20150126132A1 (en) Methods and apparatus for radio co-existence testing and verification of wireless systems
CN111257672B (en) Line loss point inspection method and device, computer equipment and storage medium
CN109274807B (en) Test method, device and system
CN105577293A (en) Bluetooth equipment testing method, Bluetooth equipment testing device and Bluetooth equipment testing system
CN104202099B (en) A kind of for calibrating the method for 3G network interface card
CN104868957B (en) A kind of mobile terminal EDGE radio frequency test systems and method
CN112737704A (en) Radio frequency antenna test method, device, computer equipment and storage medium
CN111934788A (en) Radio frequency index testing method and system of head-mounted equipment and related components
CN116155408A (en) Test method, device, control equipment and storage medium
CN104954085A (en) Mobile terminal GPRS (general packet radio service) radio frequency testing system and method
CN100488064C (en) Terminal scramble testing system and method
CN114466395A (en) Method and device for testing performance of base station, storage medium and electronic device
CN110912628B (en) Interference test method, device, terminal and storage medium
CN103716099A (en) Bluetooth intercommunity standard automatic test system
EP3319362B1 (en) Communication device and testing method
US20140134998A1 (en) Signal detection method for communication apparatus and signal detection system
CN109257124A (en) The non-signaling test method of WiFi, system, computer equipment and storage medium
GB2532508A (en) Mobile communication terminal test device and a test analysis unit therefor
CN110890928B (en) Interference test method, device, terminal and storage medium
CN110932802B (en) Interference test method, device, terminal and storage medium
CN111541589B (en) Method, device and equipment for testing extension module interface of intelligent terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 200331 Shanghai City Putuo District Qilian Mountain South Road 2891 Lane 228 No. 1 Building 7th Floor

Applicant after: Shanghai Lixun Information Technology Co.,Ltd.

Address before: Room 89, No. 200062 Shanghai Putuo District Yunling road 2111-L

Applicant before: SHANGHAI WINGTECH INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China