CN110932802B - Interference test method, device, terminal and storage medium - Google Patents
Interference test method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN110932802B CN110932802B CN201911204995.2A CN201911204995A CN110932802B CN 110932802 B CN110932802 B CN 110932802B CN 201911204995 A CN201911204995 A CN 201911204995A CN 110932802 B CN110932802 B CN 110932802B
- Authority
- CN
- China
- Prior art keywords
- test
- strength
- modem
- interference
- tested
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/345—Interference values
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
Abstract
本申请实施例提供了一种干扰测试方法、装置、终端及存储介质,涉及干扰测试技术领域。所述方法包括:当干扰源处于关闭状态时,根据第一测试参数在非信令模式下配置调制解调器,其中,第一测试参数包括第一测试功率,配置后的调制解调器在第一测试功率指示的无线网络情况下工作;获取第一测试功率下调制解调器的第一信号接收强度;自动开启干扰源,并根据第一测试参数在非信令模式下配置调制解调器;获取第一测试功率下调制解调器的第二信号接收强度;根据第一信号接收强度和第二信号接收强度,确定第一测试功率下的干扰强度。本申请实施例缩短了测试耗时,提高了测试流程的自动化率。
Embodiments of the present application provide an interference testing method, device, terminal, and storage medium, and relate to the technical field of interference testing. The method includes: when the interference source is in a closed state, configuring the modem in a non-signaling mode according to a first test parameter, wherein the first test parameter includes a first test power, and the configured modem is in a state indicated by the first test power. work in the case of a wireless network; obtain the first signal reception strength of the modem under the first test power; automatically turn on the interference source, and configure the modem in the non-signaling mode according to the first test parameter; obtain the second signal strength of the modem under the first test power Signal reception strength; according to the first signal reception strength and the second signal reception strength, determine the interference strength under the first test power. The embodiment of the present application shortens the test time and improves the automation rate of the test process.
Description
技术领域technical field
本申请实施例涉及干扰测试技术领域,特别涉及一种干扰测试方法、装置、终端及存储介质。The embodiments of the present application relate to the technical field of interference testing, and in particular, to an interference testing method, device, terminal, and storage medium.
背景技术Background technique
接收灵敏度是衡量蜂窝通信性能的一项关键指标,终端的某些应用场景会对接收灵敏度造成一定的干扰,如何有效的测试干扰强度对于提升用户的通信体验有很大意义。Receiving sensitivity is a key indicator to measure the performance of cellular communication. Some application scenarios of the terminal will cause certain interference to the receiving sensitivity. How to effectively test the interference intensity is of great significance to improve the user's communication experience.
在相关技术中,通过基于信令的手动测试方式,来测试干扰强度:在打开干扰源的情况下,手动配置综测仪的测试参数,在综测仪与终端建立信令连接之后,由综测仪向终端发送信号,终端接收信号并测试接收信号的强度,通过比较干扰源在打开和关闭情况下,终端的接收信号强度,来确定干扰源的干扰强度。In the related art, the signal-based manual test method is used to test the interference strength: when the interference source is turned on, manually configure the test parameters of the comprehensive tester. After the comprehensive tester and the terminal establish a signaling connection, the comprehensive test The tester sends a signal to the terminal, the terminal receives the signal and tests the strength of the received signal, and determines the interference strength of the interference source by comparing the received signal strength of the terminal when the interference source is turned on and off.
然而,上述相关技术中需要终端与综测仪建立信令连接,才可以测试终端接收信号的强度,测试过程比较繁琐。However, in the above-mentioned related art, it is necessary to establish a signaling connection between the terminal and the comprehensive tester, so that the strength of the signal received by the terminal can be tested, and the test process is cumbersome.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种干扰测试方法、装置、终端及存储介质。所述技术方案如下:Embodiments of the present application provide an interference testing method, device, terminal, and storage medium. The technical solution is as follows:
一方面,本申请实施例提供一种干扰测试方法,所述方法应用于终端,所述方法包括:On the one hand, an embodiment of the present application provides an interference test method, the method is applied to a terminal, and the method includes:
当干扰源处于关闭状态时,根据第一测试参数在非信令模式下配置调制解调器,其中,所述第一测试参数包括第一测试功率,配置后的所述调制解调器在所述第一测试功率指示的无线网络情况下工作;When the interference source is in the off state, the modem is configured in a non-signaling mode according to a first test parameter, wherein the first test parameter includes a first test power, and the configured modem indicates that the first test power indicates work in the case of a wireless network;
获取所述第一测试功率下所述调制解调器的第一信号接收强度;obtaining the first signal reception strength of the modem under the first test power;
自动开启所述干扰源,并根据所述第一测试参数在所述非信令模式下配置所述调制解调器;automatically turning on the interference source, and configuring the modem in the non-signaling mode according to the first test parameter;
获取所述第一测试功率下所述调制解调器的第二信号接收强度;obtaining the second signal reception strength of the modem under the first test power;
根据所述第一信号接收强度和所述第二信号接收强度,确定所述第一测试功率下的干扰强度。The interference strength under the first test power is determined according to the first signal reception strength and the second signal reception strength.
另一方面,本申请实施例提供一种干扰测试装置,所述装置应用于终端,所述装置包括:On the other hand, an embodiment of the present application provides an interference test device, the device is applied to a terminal, and the device includes:
器件配置模块,用于当干扰源处于关闭状态时,根据第一测试参数在非信令模式下配置调制解调器,其中,所述第一测试参数包括第一测试功率,配置后的所述调制解调器在所述第一测试功率指示的无线网络情况下工作;The device configuration module is used to configure the modem in a non-signaling mode according to a first test parameter when the interference source is in a closed state, wherein the first test parameter includes a first test power, and the configured modem is in the working under the wireless network conditions indicated by the first test power;
强度获取模块,用于获取所述第一测试功率下所述调制解调器的第一信号接收强度;a strength acquisition module, configured to acquire the first signal reception strength of the modem under the first test power;
干扰源开启模块,用于自动开启所述干扰源,并根据所述第一测试参数在所述非信令模式下配置所述调制解调器;an interference source opening module, configured to automatically turn on the interference source, and configure the modem in the non-signaling mode according to the first test parameter;
所述强度获取模块,还用于获取所述第一测试功率下所述调制解调器的第二信号接收强度;The strength acquisition module is further configured to acquire the second signal reception strength of the modem under the first test power;
强度确定模块,用于根据所述第一信号接收强度和所述第二信号接收强度,确定所述第一测试功率下的干扰强度。A strength determination module, configured to determine the interference strength under the first test power according to the first signal reception strength and the second signal reception strength.
另一方面,本申请实施例提供一种终端,所述终端包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现如上述方面所述的干扰测试方法。On the other hand, an embodiment of the present application provides a terminal, the terminal includes a processor and a memory, the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above-mentioned aspects. Interfere with the test method.
又一方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现如上述方面所述的干扰测试方法。In another aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the interference test described in the above aspect method.
本申请实施例提供的技术方案可以带来如下有益效果:The technical solutions provided in the embodiments of the present application can bring the following beneficial effects:
通过当干扰源处于关闭状态时,根据测试参数在非信令模式下配置调制解调器,获取测试功率下调制解调器的第一信号接收强度;当基于测试功率完成测试时,自动开启干扰源,并根据测试参数在非信令模式下配置调制解调器;获取测试功率下调制解调器的第二信号接收强度;根据第一信号接收强度和第二信号接收强度,确定干扰源在测试功率下的干扰强度。在非信令模式,终端通过将调制解调器配置到测试参数指示的无线网络工作模式下,从而分别获取到干扰源关闭状态下该测试参数对应的调制解调器的第一信号接收强度,以及干扰源开启状态下该测试参数对应的调制解调器的第二信号接收强度,无需综测仪,仅需要终端即可完成干扰测试,避免了建立信令连接的操作流程,从而缩短了测试耗时,而且本申请实施例提供的技术方案可以自动打开干扰源,避免了用户的手动操作,可以提高测试流程的自动化率。When the interference source is turned off, configure the modem in non-signaling mode according to the test parameters to obtain the first signal reception strength of the modem under the test power; when the test is completed based on the test power, the interference source is automatically turned on, and according to the test parameters Configure the modem in the non-signaling mode; obtain the second signal reception strength of the modem under the test power; determine the interference strength of the interference source under the test power according to the first signal reception strength and the second signal reception strength. In the non-signaling mode, the terminal configures the modem to the wireless network working mode indicated by the test parameter, so as to obtain the first signal reception strength of the modem corresponding to the test parameter when the interference source is off, and the first signal receiving strength of the modem corresponding to the test parameter when the interference source is off, and the interference source when the interference source is on. The second signal reception strength of the modem corresponding to the test parameter does not require a comprehensive tester, but only needs a terminal to complete the interference test, which avoids the operation process of establishing a signaling connection, thereby shortening the test time. The technical solution can automatically open the interference source, avoid the manual operation of the user, and improve the automation rate of the test process.
附图说明Description of drawings
图1是相关技术提供的干扰测试方法的流程图;Fig. 1 is the flow chart of the interference test method provided by the related art;
图2是本申请一个实施例提供的干扰测试方法的流程图;Fig. 2 is a flowchart of an interference test method provided by an embodiment of the present application;
图3是本申请另一个实施例提供的干扰测试方法的流程图;3 is a flowchart of an interference test method provided by another embodiment of the present application;
图4是本申请一个实施例提供的配置界面的示意图;4 is a schematic diagram of a configuration interface provided by an embodiment of the present application;
图5是本申请一个实施例提供的干扰测试装置的框图;5 is a block diagram of an interference testing device provided by an embodiment of the present application;
图6是本申请另一个实施例提供的干扰测试装置的框图;6 is a block diagram of an interference testing device provided by another embodiment of the present application;
图7是本申请一个实施例提供的终端的结构框图。FIG. 7 is a structural block diagram of a terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
信号接收灵敏度是衡量蜂窝通信性能的一项关键指标,由于某些原因,终端使用其他模式会对蜂窝通信带来一定的干扰,使得蜂窝通信的接收灵敏度恶化,弱信号情况下会导致终端掉话或者掉网。Signal reception sensitivity is a key indicator for measuring the performance of cellular communication. For some reasons, the use of other modes by the terminal will cause certain interference to cellular communication, which will deteriorate the reception sensitivity of cellular communication. In the case of weak signals, the terminal will drop calls. Or drop the network.
终端用户在常用应用场景中,比如打开摄像头、终端连接电脑进行数据拷贝、终端充电、终端亮屏灭屏或者启动大型游戏等,理论分析和实验表明,这些应用场景对蜂窝通信的接收灵敏度会造成一定的恶化,降低这些应用场景对蜂窝通信的干扰对于提升用户通信体验有很大意义,如何通过有效的测试方法发现这类干扰是所有性能优化的前提。In common application scenarios of end users, such as turning on the camera, connecting the terminal to the computer for data copying, charging the terminal, turning on and off the screen of the terminal, or starting a large game, theoretical analysis and experiments show that the receiving sensitivity of these application scenarios to cellular communication will cause Certain deterioration, reducing the interference of these application scenarios to cellular communication is of great significance for improving user communication experience. How to find such interference through effective test methods is the premise of all performance optimization.
请参考图1,其示出了相关技术中干扰测试方法的流程图,相关技术中是基于信令的手动测试方案,需要电脑、综测仪、屏蔽箱等外部设备以及专业测试人员。该方法可以包括以下几个步骤:Please refer to FIG. 1 , which shows a flowchart of an interference test method in the related art. The related art is a manual test solution based on signaling, which requires external equipment such as a computer, a comprehensive tester, a shielding box, and professional testers. The method can include the following steps:
步骤101,测试人员手动打开干扰源。Step 101, the tester manually turns on the interference source.
示例性地,测试人员可以手动打开任一干扰源,例如,干扰源可以是打开摄像头、终端亮屏、终端充电等。Exemplarily, the tester can manually turn on any interference source, for example, the interference source can be turning on the camera, brightening the screen of the terminal, charging the terminal, and so on.
步骤102,测试人员将终端放入屏蔽箱。Step 102, the tester puts the terminal into the shielding box.
步骤103,测试人员通过电脑手动配置综测仪。In step 103, the tester manually configures the comprehensive tester through the computer.
可选地,测试人员根据本次测试的相关信息配置综测仪,本次测试的相关配置信息可以包括本次测试的网络制式、该网络制式对应的频段以及信道范围等信息。测试人员通过配置综测仪,以使得终端可以与综测仪建立信令连接。Optionally, the tester configures the comprehensive tester according to the relevant information of this test, and the relevant configuration information of this test may include information such as the network standard of this test, the frequency band corresponding to the network standard, and the channel range. The tester configures the comprehensive tester so that the terminal can establish a signaling connection with the comprehensive tester.
步骤104,终端与综测仪建立信令连接。Step 104, the terminal establishes a signaling connection with the comprehensive measuring instrument.
终端与综测仪之间通过射频线建立连接。A connection is established between the terminal and the comprehensive tester through a radio frequency line.
步骤105,终端获取第一信号接收强度并记录。Step 105, the terminal acquires and records the first signal reception strength.
综测仪向测试设备发送信号,终端接收到该信号,并确定出当前获取到的第一信号接收强度。The comprehensive tester sends a signal to the test equipment, and the terminal receives the signal and determines the currently obtained first signal reception strength.
步骤106,测试人员判断干扰源开启状态下干扰测试是否完成。若测试人员判断干扰源开启状态下干扰测试已完成,则流程进入步骤107;若测试人员判断干扰源开启状态下干扰测试未完成,则流程从步骤103开始重新执行。In step 106, the tester determines whether the interference test is completed when the interference source is turned on. If the tester determines that the interference test has been completed when the interference source is on, the process proceeds to step 107 ; if the tester determines that the interference test is not completed when the interference source is on, the process starts from step 103 again.
步骤107,测试人员手动关闭干扰源。Step 107, the tester manually turns off the interference source.
步骤108,测试人员将终端放入屏蔽箱。Step 108, the tester puts the terminal into the shielding box.
步骤109,测试人员手动配置综测仪。Step 109, the tester manually configures the comprehensive tester.
步骤110,终端与综测仪建立信令连接。Step 110, the terminal establishes a signaling connection with the comprehensive measuring instrument.
步骤111,终端获取第二信号接收强度并记录。Step 111, the terminal acquires and records the received strength of the second signal.
步骤112,测试人员判断干扰源关闭状态下干扰测试是否完成。若测试人员判断干扰源关闭状态下干扰测试已完成,则流程进入步骤113;若测试人员判断干扰源关闭状态下干扰测试未完成,则流程从步骤109开始重新执行。In step 112, the tester determines whether the interference test is completed when the interference source is turned off. If the tester judges that the interference test has been completed when the interference source is turned off, the flow proceeds to step 113 ;
步骤113,根据第一信号接收强度和第二信号接收强度,确定干扰源对应的干扰强度。Step 113: Determine the interference strength corresponding to the interference source according to the received strength of the first signal and the received strength of the second signal.
步骤101至步骤113为一个干扰测试单元,其他干扰源的测试过程与上述干扰测试单元一致,通过重复执行步骤101至步骤113,以实现一次检测其他干扰源对终端通信的干扰。Steps 101 to 113 are an interference testing unit, and the testing process of other interference sources is the same as the above-mentioned interference testing unit. Steps 101 to 113 are repeatedly performed to detect the interference of other interference sources to terminal communication at one time.
然而,上述相关技术中需要终端与综测仪建立信令连接,才可以测试终端的干扰强度,且需要测试人员频繁手动切换干扰源以及配置综测仪,测试过程比较繁琐。However, in the above-mentioned related art, it is necessary to establish a signaling connection between the terminal and the comprehensive tester to test the interference strength of the terminal, and the tester needs to manually switch the interference source and configure the comprehensive tester frequently, and the testing process is cumbersome.
请参考图2,其示出了本申请一个实施例提供的干扰测试方法的流程图。该方法应用于终端,终端可以是手机、平板、多媒体播放设备、智能可穿戴设备等电子设备,该方法可以包括如下几个步骤。Please refer to FIG. 2 , which shows a flowchart of an interference testing method provided by an embodiment of the present application. The method is applied to a terminal, and the terminal may be an electronic device such as a mobile phone, a tablet, a multimedia playback device, a smart wearable device, etc. The method may include the following steps.
步骤201,当干扰源处于关闭状态时,根据第一测试参数在非信令模式下配置调制解调器。
本申请实施例中的干扰源可以包括至少一种干扰源。干扰源包括终端包括的干扰源中的任意一种或多种干扰源。例如,终端可以包括如下干扰源:打开摄像头、终端亮屏、终端充电、终端拷贝数据、终端IC(Integrated Circuit,集成电路)芯片高频率工作、打开扬声器等。示例性地,本申请实施例中的干扰源可以包括打开摄像头、终端亮屏、终端充电。干扰源包括的干扰源个数可以是默认设置个数,例如,2;也可以是由用户自行设置的一个值,例如,3,本申请实施例对干扰源包括的干扰源的个数不作限定。The interference source in this embodiment of the present application may include at least one interference source. The interference source includes any one or more interference sources included in the terminal. For example, the terminal may include the following interference sources: turning on the camera, brightening the screen of the terminal, charging the terminal, copying the data of the terminal, working at a high frequency of the terminal IC (Integrated Circuit, integrated circuit) chip, turning on the speaker, and the like. Exemplarily, the interference source in this embodiment of the present application may include turning on the camera, brightening the screen of the terminal, and charging the terminal. The number of interference sources included in the interference source may be the default set number, for example, 2; it may also be a value set by the user, for example, 3, the embodiment of the present application does not limit the number of interference sources included in the interference source .
在本申请实施例中,第一测试参数包括第一测试功率,测试功率可以是指发射功率。测试功率可以是网络制式支持的最大功率至最小功率中的任意功率。In this embodiment of the present application, the first test parameter includes the first test power, and the test power may refer to transmit power. The test power can be any power from the maximum power to the minimum power supported by the network standard.
配置后的调制解调器在第一测试功率指示的无线网络情况下工作。本申请实施例中,终端处于非信令模式下,无需综测仪发送信号,终端只需根据该第一测试参数配置调制解调器,使得调制解调器工作在第一测试参数指示的无线网络情况下,就可以模拟得到该第一测试参数指示的接收信号强度。The configured modem operates under the wireless network conditions indicated by the first test power. In the embodiment of the present application, the terminal is in the non-signaling mode, and the comprehensive tester does not need to send a signal. The terminal only needs to configure the modem according to the first test parameter, so that the modem works in the wireless network condition indicated by the first test parameter. The received signal strength indicated by the first test parameter is obtained by simulation.
步骤202,获取第一测试功率下调制解调器的第一信号接收强度。Step 202: Obtain the first signal reception strength of the modem under the first test power.
可选地,终端在获取到第一信号接收强度之后,将第一信号接收强度与上述第一测试功率关联存储,以便后续进行干扰强度的分析。Optionally, after acquiring the first signal reception strength, the terminal stores the first signal reception strength in association with the above-mentioned first test power, so as to analyze the interference strength later.
步骤203,自动开启干扰源,并根据第一测试参数在非信令模式下配置调制解调器。In
示例性地,若测试人员需要测试的是终端在网络制式为LTE(Long TermEvolution,长期演进技术)、频段5(band5)、天线1、测试功率为1w(瓦)的情况下,开启摄像头对终端接收信号的干扰强度,由于band5对应的信道范围为20400-20649,因此,测试该网络制式下该频段的信号接收强度,需要对该频段对应的信道范围进行轮选测试,比如,第一组测试参数为(天线1,LTE,band5,20400,1w),第二组测试参数为(天线1,LTE,band5,20401,1w),以此类推,直到将该band5对应的信道范围全部测试完毕。当终端确定各组第一测试参数均测试完成之后,可以自动开启干扰源,并根据第一测试参数在非信令模式下配置调制解调器。Exemplarily, if the tester needs to test the terminal when the network standard is LTE (Long Term Evolution), frequency band 5 (band5), antenna 1, and the test power is 1w (watt), turn on the camera to the terminal. The interference strength of the received signal, because the channel range corresponding to band5 is 20400-20649, therefore, to test the signal reception strength of the frequency band under the network standard, it is necessary to perform a round-robin test of the channel range corresponding to the frequency band, for example, the first group of tests The parameters are (antenna 1, LTE, band5, 20400, 1w), the second set of test parameters is (antenna 1, LTE, band5, 20401, 1w), and so on, until all the channel ranges corresponding to the band5 are tested. After the terminal determines that the first test parameters of each group are all tested, the interference source can be automatically turned on, and the modem can be configured in the non-signaling mode according to the first test parameters.
可选地,当终端每次获取到第一信号接收强度之后,都需要判断相关的测试参数是否测试完成,比如,判断某一频段对应的信道范围是否测试完成,若未测试完成,则继续依次测试该频段对应的下一个信道;若测试完成,则判断该网络制式对应的其他频段是否测试完成,若该网络制式对应的所有频段均测试完成,则继续判断是否有未测试的网络制式等。示例性地,通过轮询的方式,当确定所用的参数均测试完成,即获取到各组第一测试参数对应的调制解调器的第一信号接收强度,并将各个第一信号接收强度进行存储。Optionally, after each time the terminal obtains the first signal reception strength, it needs to determine whether the test of the relevant test parameters is completed, for example, to determine whether the test of the channel range corresponding to a certain frequency band is completed, and if the test is not completed, continue in order. Test the next channel corresponding to the frequency band; if the test is completed, judge whether the other frequency bands corresponding to the network standard have been tested. If all frequency bands corresponding to the network standard have been tested, continue to judge whether there are untested network standards. Exemplarily, in a polling manner, when it is determined that all parameters used are tested, that is, the first signal reception strengths of the modems corresponding to each group of first test parameters are acquired, and each first signal reception strength is stored.
步骤204,获取第一测试功率下调制解调器的第二信号接收强度。Step 204: Obtain the second signal reception strength of the modem under the first test power.
在干扰源开启状态下,干扰源会影响调制解调器的工作状态。以干扰源为开启摄像头为例进行介绍说明,摄像头开启会产生一定的工作电流,该工作电流所产生的电磁波会影响终端的工作状态,因此,干扰源开始时获取到的调制解调器的信号接收强度不同于干扰源未开启时的调制解调器的信号接收强度,也即,第一信号接收强度和第二信号接收强度并不相同。When the interference source is turned on, the interference source will affect the working state of the modem. Take the camera as an example to introduce the interference source. When the camera is turned on, a certain working current will be generated. The electromagnetic wave generated by the working current will affect the working state of the terminal. Therefore, the signal reception strength of the modem obtained at the beginning of the interference source is different. The received signal strength of the modem when the interference source is not turned on, that is, the first received signal strength and the second received signal strength are not the same.
可选地,终端在获取到第二信号接收强度之后,将该第二信号接收强度与上述第一测试功率关联存储,以便后续进行干扰强度的分析。Optionally, after acquiring the second signal reception strength, the terminal stores the second signal reception strength in association with the above-mentioned first test power, so as to analyze the interference strength later.
步骤205,根据第一信号接收强度和第二信号接收强度,确定第一测试功率下的干扰强度。Step 205: Determine the interference strength under the first test power according to the first signal reception strength and the second signal reception strength.
示例性地,同一第一测试功率对应的第二信号接收强度与第一信号接收强度的差值,即为该干扰源在第一测试功率下的干扰强度。例如,第一信号接收强度为-60dbm,第二信号接收强度为-61dbm,则第二信号接收强度减去第一信号接收强度,得到该干扰源在第一测试功率下的干扰强度为-1dbm。Exemplarily, the difference between the received strength of the second signal and the received strength of the first signal corresponding to the same first test power is the interference strength of the interference source under the first test power. For example, if the received strength of the first signal is -60dbm and the received strength of the second signal is -61dbm, then the received strength of the second signal is subtracted from the received strength of the first signal, and the interference strength of the interference source under the first test power is -1dbm .
综上所述,本申请实施例提供的技术方案中,通过当干扰源处于关闭状态时,根据测试参数在非信令模式下配置调制解调器,获取测试功率下调制解调器的第一信号接收强度;当基于测试功率完成测试时,自动开启干扰源,并根据测试参数在非信令模式下配置调制解调器;获取测试功率下调制解调器的第二信号接收强度;根据第一信号接收强度和第二信号接收强度,确定干扰源在测试功率下的干扰强度。在非信令模式,终端通过将调制解调器配置到测试参数指示的无线网络工作模式下,从而分别获取到干扰源关闭状态下该测试参数对应的调制解调器的第一信号接收强度,以及干扰源开启状态下该测试参数对应的调制解调器的第二信号接收强度,无需综测仪,仅需要终端即可完成干扰测试,避免了建立信令连接的操作流程,从而缩短了测试耗时,而且本申请实施例提供的技术方案可以自动打开干扰源,避免了用户的手动操作,可以提高测试流程的自动化率。To sum up, in the technical solutions provided by the embodiments of the present application, when the interference source is in the off state, the modem is configured in the non-signaling mode according to the test parameters to obtain the first signal reception strength of the modem under the test power; When the test power is completed, the interference source is automatically turned on, and the modem is configured in the non-signaling mode according to the test parameters; the second signal reception strength of the modem under the test power is obtained; according to the first signal reception strength and the second signal reception strength, determine The interference strength of the interference source at the test power. In the non-signaling mode, the terminal configures the modem to the wireless network working mode indicated by the test parameter, so as to obtain the first signal reception strength of the modem corresponding to the test parameter when the interference source is off, and the first signal receiving strength of the modem corresponding to the test parameter when the interference source is off, and the interference source when the interference source is on. The second signal reception strength of the modem corresponding to the test parameter does not require a comprehensive tester, but only needs a terminal to complete the interference test, which avoids the operation process of establishing a signaling connection, thereby shortening the test time. The technical solution can automatically open the interference source, avoid the manual operation of the user, and improve the automation rate of the test process.
另外,本申请实施例不需要测试人员,相较于相关技术中需要测试人员能够配置综测仪、需要对终端硬件比较了解、需要能够确保终端信令连接到综测仪,本申请实施例可以降低测试成本,不需要测试人员有较高的专业技能。In addition, the embodiment of the present application does not require a tester. Compared with the related art, the tester needs to be able to configure a comprehensive tester, to have a better understanding of the terminal hardware, and to ensure that the terminal signaling is connected to the comprehensive tester. The embodiment of the present application can Reduce the cost of testing and do not require testers to have high professional skills.
另外,相较于相关技术易受到测试环境影响,例如,终端放置的位置会影响到终端对信号的接收效果,导致测试结果一致性差,本申请实施例提供的技术方案,不需要与综测仪建立信令连接,而且可以自动开启干扰源,因此不易受到测试环境影响。In addition, compared with the related art, it is easily affected by the test environment. For example, the position where the terminal is placed will affect the reception effect of the terminal on the signal, resulting in poor consistency of the test results. The technical solutions provided by the embodiments of the present application do not require any The signaling connection is established, and the interference source can be automatically turned on, so it is not easily affected by the test environment.
请参考图3,其示出了本申请另一个实施例提供的干扰测试方法的流程图。该方法可以包括如下几个步骤。Please refer to FIG. 3 , which shows a flowchart of an interference testing method provided by another embodiment of the present application. The method may include the following steps.
步骤301,获取配置界面中输入的配置信息。Step 301: Obtain the configuration information input in the configuration interface.
在本申请实施例中,配置信息包括待测试天线的标识、待测试天线对应的待测试网络制式、待测试网络制式的第一测试功率、待测试网络制式的待测试频段以及待测试频段中待测试信道之间的信道间隔。In the embodiment of the present application, the configuration information includes the identifier of the antenna to be tested, the network standard to be tested corresponding to the antenna to be tested, the first test power of the network standard to be tested, the frequency band to be tested of the network standard to be tested, and the frequency to be tested in the frequency band to be tested. Channel spacing between test channels.
待测试天线可以是终端包括的任意一个或多个天线,例如,终端包括天线1、天线2、天线3和天线4,则待测试天线可以是天线1。The antenna to be tested may be any one or more antennas included in the terminal. For example, if the terminal includes antenna 1 ,
待测试网络制式可以是任一种网络制式,例如,NR(New Radio,新空口)GSM(Global System for Mobile Communication,全球移动通信系统)、CDMA(Code DivisionMultiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE等,每一种网络制式都有各自对应的频段,且每一个频段对应的信道范围也不相同。The network standard to be tested can be any network standard, for example, NR (New Radio, new air interface) GSM (Global System for Mobile Communication, global system for mobile communication), CDMA (Code Division Multiple Access, code division multiple access), WCDMA ( Wideband Code Division Multiple Access), LTE, etc., each network standard has its own corresponding frequency band, and the channel range corresponding to each frequency band is also different.
在可能的实现方式中,终端提供有配置界面,测试人员可以在该配置界面中一次性输入干扰测试相关的配置信息,比如,待测试天线的标识、待测试天线对应的待测试网络制式、待测试网络制式的第一测试功率、待测试网络制式的待测试频段以及待测试频段中待测试信道之间的信道间隔。In a possible implementation manner, the terminal is provided with a configuration interface, and the tester can enter the configuration information related to the interference test at one time in the configuration interface, for example, the identifier of the antenna to be tested, the network standard to be tested corresponding to the antenna to be tested, the The first test power of the test network standard, the to-be-tested frequency band of the to-be-tested network standard, and the channel interval between the to-be-tested channels in the to-be-tested frequency band.
由于某一频段对应的信道范围比较大,如果按照信道间隔为1来进行测试,无疑会花费较多的时间,因此,测试人员可以根据实际需求自行设置待测试频段中待测试信道之间的信道间隔,即每隔固定间隔依次测试各个频点对应的信号接收强度,例如,可以设定待测试频段中待测试信道之间的信道间隔为9。Since the channel range corresponding to a certain frequency band is relatively large, it will undoubtedly take more time to test according to the channel interval of 1. Therefore, the tester can set the channel between the channels to be tested in the frequency band to be tested according to the actual needs. The interval, that is, the signal reception strength corresponding to each frequency point is tested in sequence at regular intervals. For example, the channel interval between the channels to be tested in the frequency band to be tested can be set to 9.
示意性地,如图4所示,测试人员可以在配置界面400中选择需要测试的待测试天线的标识、待测试网络制式、该待测试网络制式的第一测试功率、该待测试网络制式的待测试频段、待测试频段中待测试信道之间的信道间隔、干扰源包括的干扰源个数以及干扰源的类型。当测试人员选择完成需要测试的参数之后,可以点击完成控件,则终端接收到配置界面400中配置信息的输入。Schematically, as shown in FIG. 4 , the tester can select, in the
示例性地,每个天线对应的网络制式不一样,不同网络制式对应的频段不一样,不同网络制式支持的功率不一样。当测试人员在配置界面400中选择了某一天线作为待测试天线后,配置界面400会显示该待测试天线对应的网络制式供测试人员选择,当测试人员选择了某一网络制式作为待测试网络制式后,配置界面400中会显示与该待测试网络制式对应的频段和功率供测试人员选择。在可能的实现方式中,测试人员在配置界面400中可以选择多个天线作为待测试天线,和/或,多个网络制式作为待测试网络,和/或,多个频段作为待测试频段,和/或,多个功率作为待测试功率。在进行信号接收强度测试时,终端会先将某一天线测试完,再测试其他天线。Exemplarily, the network standards corresponding to each antenna are different, the frequency bands corresponding to different network standards are different, and the powers supported by different network standards are different. After the tester selects a certain antenna as the antenna to be tested in the
步骤302,根据配置信息生成第一测试参数。Step 302: Generate a first test parameter according to the configuration information.
第一测试参数中包括待测试天线的标识、待测试网络制式、第一待测试功率以及待测试信道的频点。例如,配置信息为天线1、LTE、1w、band5、信道范围为20400-20649,则根据该配置信息可以生成多组测试参数,比如(天线1,LTE,band5,20400,1w)、(天线1,LTE,band5,20500,1w)、(天线1,LTE,band5,20600,1w)、(天线1,LTE,band5,20649,1w)等。The first test parameter includes the identifier of the antenna to be tested, the network standard to be tested, the first power to be tested, and the frequency of the channel to be tested. For example, if the configuration information is antenna 1, LTE, 1w, band5, and the channel range is 20400-20649, multiple sets of test parameters can be generated according to the configuration information, such as (antenna 1, LTE, band5, 20400, 1w), (antenna 1 , LTE, band5, 20500, 1w), (Antenna 1, LTE, band5, 20600, 1w), (Antenna 1, LTE, band5, 20649, 1w), etc.
示例性地,测试参数可以通过如下方式生成:Illustratively, test parameters can be generated as follows:
1、根据待测试频段对应的信道范围以及信道间隔,确定至少两个待测试信道的频点;1. Determine the frequency points of at least two channels to be tested according to the channel range and channel interval corresponding to the frequency band to be tested;
可选地,待测试信道的频点可以根据信道范围以及信道间隔来确定。示意性地,若信道范围为20400-20649,信道间隔为9,则确定出的频点可以依次为(20400、20409、20418、20427、20436…20640、20629)。Optionally, the frequency point of the channel to be tested may be determined according to the channel range and the channel interval. Illustratively, if the channel range is 20400-20649 and the channel interval is 9, the determined frequency points may be (20400, 20409, 20418, 20427, 20436...20640, 20629) in sequence.
2、根据待测试天线的标识、待测试网络制式、第一测试功率和至少两个待测试信道的频点,生成第一测试参数。2. Generate a first test parameter according to the identifier of the antenna to be tested, the network standard to be tested, the first test power, and the frequency points of at least two channels to be tested.
示例性地,将天线的标识、网络制式、频段、频点和待测试功率确定为测试参数。比如,测试参数可以为(天线1,LTE,band5,20400,1w)、(天线1,LTE,band5,20500,1w)、(天线1,LTE,band5,20600,1w)等。Exemplarily, the identification of the antenna, the network standard, the frequency band, the frequency point and the power to be tested are determined as the test parameters. For example, the test parameters may be (antenna 1, LTE, band5, 20400, 1w), (antenna 1, LTE, band5, 20500, 1w), (antenna 1, LTE, band5, 20600, 1w), etc.
步骤303,当干扰源处于关闭状态时,根据第一测试参数在非信令模式下配置调制解调器。
仍然以上述示例为例,终端可以将调制解调器配置为天线1、网络制式LTE,频段为band5,频点为20400、测试功率为1w。Still taking the above example as an example, the terminal can configure the modem as antenna 1, network standard LTE,
可选地,在非信令模式下,将调制解调器配置到待测试天线、待测试网络制式、第一测试功率和待测试信道的频点。Optionally, in the non-signaling mode, configure the modem to the antenna to be tested, the network standard to be tested, the first test power and the frequency of the channel to be tested.
步骤304,获取第一测试功率下调制解调器的第一信号接收强度。Step 304: Obtain the first signal reception strength of the modem under the first test power.
示意性地,本步骤可以包括如下几个步骤:Illustratively, this step may include the following steps:
第一、确定终端处理器对应的处理器平台;First, determine the processor platform corresponding to the terminal processor;
由于不同的处理器平台获取信号接收强度的方式不同,因此,在一种可能的实施方式中,当根据测试参数完成调制解调器的配置之后,可以先确定终端处理器对应的处理器平台,以便后续根据对应的指令获取第一信号接收强度。Since different processor platforms acquire different signal reception strengths, in a possible implementation manner, after completing the configuration of the modem according to the test parameters, the processor platform corresponding to the terminal processor may be determined first, so that the The corresponding instruction acquires the first signal reception strength.
第二、通过调用处理器平台对应的指令,获取第一信号接收强度;Second, by invoking an instruction corresponding to the processor platform, obtain the first signal reception strength;
在本申请实施例中,当处理器平台为第一平台(例如,高通平台)时,指令为Diag(Diagnose,诊断)指令;当处理器平台为第二平台(例如,联发科平台)时,指令为AT(Attention,注意)指令。下述有关信号接收强度的获取流程都可以与此类似,下文不再赘述。In this embodiment of the present application, when the processor platform is a first platform (for example, a Qualcomm platform), the instruction is a Diag (Diagnose, diagnosis) instruction; when the processor platform is a second platform (for example, a MediaTek platform), the instruction It is an AT (Attention, attention) command. The following procedures for obtaining the signal reception strength can be similar to this, and will not be described in detail below.
需要说明的是,本申请实施例仅以上述两种处理器平台为例进行介绍说明,其他的处理器平台也会有相对应的获取第一信号接收强度的指令,本实施例在此不做赘述。It should be noted that the embodiments of the present application only take the above two processor platforms as examples for description, and other processor platforms will also have corresponding instructions for obtaining the first signal reception strength, which are not described in this embodiment. Repeat.
示例性地,配置信息中包括第一测试功率和第二测试功率。Exemplarily, the configuration information includes the first test power and the second test power.
步骤305,根据第二测试参数在非信令模式下配置调制解调器。
在本申请实施例中,第二测试参数包括第二测试功率。可选地,在非信令模式下,将调制解调器配置到待测试天线、待测试网络制式、第二测试功率和待测试信道的频点。In this embodiment of the present application, the second test parameter includes the second test power. Optionally, in the non-signaling mode, configure the modem to the antenna to be tested, the network standard to be tested, the second test power, and the frequency of the channel to be tested.
步骤306,获取第二测试功率下调制解调器的第三信号接收强度。Step 306: Obtain the third signal reception strength of the modem under the second test power.
可选地,终端在获取到第三信号接收强度之后,将该第三信号接收强度与该第二测试功率关联存储。Optionally, after acquiring the third signal reception strength, the terminal stores the third signal reception strength in association with the second test power.
本申请实施例在干扰源关闭的情况下,获取第一测试功率下的第一信号接收强度和第二测试功率下的第三信号接收强度,可以有效避免终端在干扰源开启状态下的信号接收强度测试之后,终端的工作状态可能会发生改变的情况,从而提高了测试精度。In this embodiment of the present application, when the interference source is turned off, the first signal reception strength under the first test power and the third signal reception strength under the second test power are obtained, which can effectively avoid the signal reception of the terminal when the interference source is turned on. After the strength test, the working state of the terminal may change, thereby improving the test accuracy.
步骤307,自动开启干扰源,并根据第一测试参数在非信令模式下配置调制解调器。In
步骤308,获取第一测试功率下调制解调器的第二信号接收强度。Step 308: Obtain the second signal reception strength of the modem under the first test power.
终端在获取到第一测试功率下调制解调器的第二信号接收强度之后,可以将调制解调器配置到第二测试功率,从而获取到第二测试功率下的信号接收强度。After acquiring the second signal reception strength of the modem under the first test power, the terminal may configure the modem to the second test power, so as to acquire the signal reception strength under the second test power.
步骤309,根据第二测试参数在非信令模式下配置调制解调器。
步骤310,获取第二测试功率下调制解调器的第四信号接收强度。Step 310: Obtain the fourth signal reception strength of the modem under the second test power.
步骤311,根据第一信号接收强度和第二信号接收强度,确定第一测试功率下的干扰强度。Step 311: Determine the interference strength under the first test power according to the first signal reception strength and the second signal reception strength.
步骤312,根据第三信号接收强度和第四信号接收强度,确定第二测试功率下的干扰强度。Step 312: Determine the interference strength under the second test power according to the third signal reception strength and the fourth signal reception strength.
上述步骤307至步骤312的介绍说明,可参见上文实施例,此处不再赘述。For the description of the
步骤311和步骤312可以同时执行,也可以先执行步骤312,再执行步骤311,也可以先执行步骤311,再执行步骤312。Step 311 and step 312 may be performed simultaneously, or step 312 may be performed first, and then step 311 may be performed, or step 311 may be performed first, and then step 312 may be performed.
需要说明的是,上述干扰测试方法可以由终端中安装的NPT(Noise ProfilingTool,干扰测试工具)来实现。本申请实施例提供的NPT是一个应用程序。It should be noted that the above interference testing method may be implemented by an NPT (Noise Profiling Tool, interference testing tool) installed in the terminal. The NPT provided by the embodiments of this application is an application program.
综上所述,本申请实施例提供的技术方案中,通过提供配置界面,以便测试人员可以一次性设置相关的配置信息,由终端根据配置信息通过轮选的方式依次确定测试参数,进而获取到各组测试参数对应的第一信号接收强度或第二信号接收强度,无需测试人员在每一轮测试参数测试完成之后,重复进行配置信息的输入,简化了整个干扰测试的流程,从而提高了干扰测试的自动化率。To sum up, in the technical solutions provided by the embodiments of the present application, a configuration interface is provided, so that testers can set relevant configuration information at one time, and the terminal determines the test parameters in turn according to the configuration information in a round-robin manner, and then obtains the test parameters. The first signal reception strength or the second signal reception strength corresponding to each group of test parameters does not require the tester to repeatedly input the configuration information after each round of test parameter testing is completed, which simplifies the entire interference test process and improves the interference Test automation rate.
另外,本申请实施例通过在干扰源关闭状态和开启状态下,将调制解调器自动配置到第一测试功率或第二测试功率下,实现了第一测试功率下和第二测试功率下的信号接收强度的自动获取,自动化率高。In addition, the embodiment of the present application realizes the signal reception strength under the first test power and the second test power by automatically configuring the modem to the first test power or the second test power in the off state and the on state of the interference source. The automatic acquisition, the automation rate is high.
在示意性实施例中,配置信息中还包括干扰源对应的至少两种工作模式,至少两种工作模式包括第一工作模式和第二工作模式。由于干扰源在不同的工作模式下,对终端接收信号的干扰强度可能是不同的,比如,当干扰源为处于亮屏状态的显示屏,则不同的屏幕刷新频率可能对终端接收信号的影响强度不同。此时,上述干扰测试方法可以包括如下几个步骤:In an exemplary embodiment, the configuration information further includes at least two working modes corresponding to the interference source, and the at least two working modes include a first working mode and a second working mode. Since the interference source is in different working modes, the interference strength to the terminal's received signal may be different. For example, when the interference source is a display screen in a bright screen state, different screen refresh frequencies may affect the strength of the terminal's received signal. different. At this point, the above interference test method may include the following steps:
1、当干扰源处于关闭状态时,根据第一测试参数在非信令模式下配置调制解调器;1. When the interference source is off, configure the modem in non-signaling mode according to the first test parameter;
第一测试参数包括第一测试功率,配置后的调制解调器在第一测试功率指示的无线网络情况下工作。The first test parameter includes a first test power, and the configured modem operates under the wireless network condition indicated by the first test power.
2、获取第一测试功率下调制解调器的第一信号接收强度;2. Obtain the first signal reception strength of the modem under the first test power;
3、自动将干扰源设置为第一工作模式,并根据第一测试参数在非信令模式下配置调制解调器;3. Automatically set the interference source to the first working mode, and configure the modem in the non-signaling mode according to the first test parameter;
测试人员需要获取干扰源在不同工作模式下对应的干扰强度,可以在配置界面中设置干扰源的多种工作模式,以便后续在测试时,可以将干扰源设置为不同的工作模式,从而获取干扰源在不同工作模式下对应的干扰强度。The tester needs to obtain the corresponding interference intensity of the interference source in different working modes, and can set multiple working modes of the interference source in the configuration interface, so that in the subsequent test, the interference source can be set to different working modes to obtain the interference The corresponding interference strength of the source in different working modes.
示意性地,若干扰源为处于亮屏状态的显示屏,则该干扰源对应的工作模式可以按照不同的屏幕刷新频率进行分类,比如,屏幕刷新频率为30HZ、屏幕刷新频率为60HZ、屏幕刷新频率为90HZ等。Schematically, if the interference source is a display screen in a bright screen state, the working modes corresponding to the interference source can be classified according to different screen refresh frequencies, for example, the screen refresh frequency is 30HZ, the screen The frequency is 90HZ and so on.
4、获取第一测试功率下调制解调器的第二信号接收强度;4. Obtain the second signal reception strength of the modem under the first test power;
若干扰源为处于亮屏状态的显示屏,则第一工作模式可以为屏幕刷新频率为30HZ。再根据第一测试参数在非信令模式下配置调制解调器,从而获取该干扰源在第一工作模式下,第一测试功率对应的第二信号接收强度。If the interference source is a display screen in a bright screen state, the first working mode may be that the screen refresh rate is 30 Hz. The modem is then configured in the non-signaling mode according to the first test parameter, so as to obtain the second signal reception strength corresponding to the first test power of the interference source in the first working mode.
5、根据第一信号接收强度和第二信号接收强度,确定在第一工作模式和第一测试功率下的干扰强度;5. Determine the interference strength under the first working mode and the first test power according to the first signal reception strength and the second signal reception strength;
6、将干扰源设置为第二工作模式,并根据第一测试参数在非信令模式下配置调制解调器;6. Set the interference source to the second working mode, and configure the modem in the non-signaling mode according to the first test parameters;
当终端获取到干扰源在第一工作模式下,第一测试功率对应的第二干扰强度之后,终端可以自动将该干扰源设置为第二工作模式,并根据第一测试功率在非信令模式下配置调制解调器,从而继续获取该干扰源在第二工作模式下对应的干扰强度。After the terminal obtains the second interference intensity corresponding to the first test power when the interference source is in the first working mode, the terminal can automatically set the interference source to the second working mode, and operate in the non-signaling mode according to the first test power. The modem is configured in the next step, so as to continue to obtain the interference intensity corresponding to the interference source in the second working mode.
7、获取第一测试功率下调制解调器的第五信号接收强度;7. Obtain the fifth signal reception strength of the modem under the first test power;
8、根据第一信号接收强度和第五信号接收强度,确定在第二工作模式和第一测试功率下的干扰强度。8. Determine the interference strength under the second working mode and the first test power according to the first signal reception strength and the fifth signal reception strength.
有关干扰强度的介绍说明可参见上文实施例,此处不再赘述。For the introduction and description of the interference strength, reference may be made to the above embodiments, and details are not repeated here.
综上所述,本申请实施例提供的技术方案中,通过设置干扰源的不同工作模式,可以在进行测试时,获取同一干扰源在不同工作模式下的干扰强度,以便测试人员通过对比,从而获得同一干扰源不同工作模式下对应的干扰强度的之间的关系,从而丰富干扰测试的测试类型。To sum up, in the technical solutions provided by the embodiments of the present application, by setting different working modes of the interference source, the interference intensity of the same interference source in different working modes can be obtained during the test, so that the tester can compare and thereby obtain the interference intensity. Obtain the relationship between the corresponding interference intensities of the same interference source in different working modes, thereby enriching the test types of interference testing.
在示意性实施例中,干扰源开启时消耗终端的电量。一个完整的测试过程可能平均需要2至4个小时,其中,干扰源处于开启状态的时间至少达到1到2个小时,且干扰源一直处于开启状态无疑会消耗终端的电量,为了避免在干扰源开启的过程中,由于电量不足而导致测试突然中断,导致之前的测试数据不具有相应的参考价值,造成不必要的时间浪费。因此,在一种可能的实施方式中,当终端获取到干扰源关闭状态下,第一测试功率对应的第一信号接收强度之后,可以通过估算获取第一测试功率对应的第二信号接收强度终端所需要消耗的电量,从而与当前终端的剩余电量进行比较,若无法满足后续测试需要,则可以进行充电提示,以便测试人员能够及时了解到当前终端的电量状态,调整后续测试方案。此时,上述干扰测试方法还可以包括如下几个步骤:In an exemplary embodiment, the power of the terminal is consumed when the interferer is turned on. A complete test process may take an average of 2 to 4 hours, of which the time when the interference source is turned on is at least 1 to 2 hours, and the interference source is always turned on will undoubtedly consume the power of the terminal. In the process of turning on, the test is suddenly interrupted due to insufficient power, resulting in the previous test data having no corresponding reference value, resulting in unnecessary waste of time. Therefore, in a possible implementation manner, when the terminal obtains the first signal reception strength corresponding to the first test power when the interference source is turned off, the terminal can obtain the second signal reception strength corresponding to the first test power by estimation. The required power consumption can be compared with the remaining power of the current terminal. If the subsequent test needs cannot be met, a charging prompt can be given so that the tester can timely understand the current power status of the terminal and adjust the subsequent test plan. At this point, the above-mentioned interference test method may further include the following steps:
第一、获取第一测试耗电量和第一测试耗时;First, obtain the power consumption of the first test and the time-consuming of the first test;
第一测试耗电量是干扰源处于关闭状态时,终端进行信号接收强度测试所消耗的电量。第一测试耗时是干扰源处于关闭状态时,终端进行信号接收强度测试所耗的时长。The first test power consumption is the power consumed by the terminal to perform the signal reception strength test when the interference source is in the off state. The first test time is the time it takes for the terminal to perform a signal reception strength test when the interference source is in a closed state.
示例性地,在干扰源处于关闭状态,终端开始进行信号接收强度测试时,获取当前终端的第一电量以及第一时间,当终端获取到第一测试功率对应的第一信号接收强度之后,获取此时终端的第二电量以及第二时间。终端根据第一电量和第二电量的差值,得到第一测试耗电量。终端根据第一时间和第二时间的差值,得到第一测试耗时。Exemplarily, when the interference source is in the off state and the terminal starts to perform the signal reception strength test, the first power level and the first time of the current terminal are obtained, and after the terminal obtains the first signal reception strength corresponding to the first test power, the The second power level and the second time of the terminal at this time. The terminal obtains the first test power consumption according to the difference between the first power and the second power. The terminal obtains the time-consuming of the first test according to the difference between the first time and the second time.
例如,第一电量为98%,第二电量为54%,则第一测试耗电量为44%;第一时间为11:28,第二时间为13:30,则第一测试耗时为2小时2分钟。For example, if the first power is 98% and the second power is 54%, the power consumption of the first test is 44%; the first time is 11:28 and the second time is 13:30, then the first test time is 2 hours and 2 minutes.
第二、根据第一测试耗电量、第一测试耗时以及干扰源的单位时长耗电量,确定第二测试耗电量;Second, determine the power consumption of the second test according to the power consumption of the first test, the time consumption of the first test, and the power consumption per unit time of the interference source;
干扰源的单位时长耗电量可以是测试人员预先设置在终端中的,也可以是终端根据历史数据计算得到的,比如,终端获取到某一段时间前置摄像头的开启时间段以及该开启时间段对应的总耗电量,从而根据该开启时间段以及总耗电量,得到单位时长耗电量。The power consumption per unit time of the interference source can be preset in the terminal by the tester, or it can be calculated by the terminal based on historical data. The corresponding total power consumption, so as to obtain the power consumption per unit time according to the opening time period and the total power consumption.
在本申请实施例中,第二测试耗电量是干扰源处于开启状态时,终端进行信号接收强度测试所消耗的电量。In the embodiment of the present application, the second test power consumption is the power consumed by the terminal to perform the signal reception strength test when the interference source is in an on state.
在可能的实现方式中,终端可以根据第一测试耗时和干扰源的单位时长耗电量,确定第二测试耗电量。In a possible implementation manner, the terminal may determine the power consumption of the second test according to the time consumption of the first test and the power consumption per unit time of the interference source.
第三、若终端的当前剩余电量低于第二测试耗电量,则进行充电提示。Third, if the current remaining power of the terminal is lower than the power consumption of the second test, a charging prompt is performed.
可选地,充电提示的方式可以是语音提示,或文字提示,本申请实施例对充电提示的方式不构成限定。Optionally, the manner of the charging prompt may be a voice prompt or a text prompt, and the embodiment of the present application does not limit the manner of the charging prompt.
示例性地,终端将获得的第二测试耗电量与终端的当前剩余电量进行比较,若当前剩余电量低于第二测试耗电量,则表明终端当前电量可能无法满足干扰源处于开启状态时,信号接收强度的测试,此时可以进行充电提示,以便提醒测试人员可以暂停测试,对终端进行充电。Exemplarily, the terminal compares the obtained second test power consumption with the current remaining power of the terminal. If the current remaining power is lower than the second test power consumption, it indicates that the current power consumption of the terminal may not be able to meet the requirements when the interference source is on. , the signal reception strength test, at this time, a charging prompt can be performed to remind the tester that the test can be suspended and the terminal can be charged.
综上所述,本申请实施例中,通过获取在干扰源关闭状态下,进行信号接收强度测试所需的第一测试耗电量和第一测试耗时,与干扰源的单位时长耗电量,得到干扰源处于开启状态时,进行信号接收强度测试所消耗的第二测试耗电量,并将该第二测试耗电量与当前剩余电量进行比较,并在当前剩余电量低于第二测试耗电量,进行充电提示,以便及时提醒测试人员对终端进行充电,防止测试过程中突然终止测试带来的时间损失。To sum up, in the embodiment of the present application, the first test power consumption and the first test time required for performing the signal reception strength test when the interference source is turned off, and the power consumption per unit time of the interference source are obtained. , obtain the second test power consumption consumed by the signal reception strength test when the interference source is in the open state, and compare the second test power consumption with the current remaining power, and when the current remaining power is lower than the second test Power consumption and charging prompts, so as to remind the testers to charge the terminal in time to prevent the time loss caused by the sudden termination of the test during the test process.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are apparatus embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图5,其示出了本申请一个实施例提供的干扰测试装置的框图,该装置具有实现上述方法示例的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置500可以包括:器件配置模块510、强度获取模块520、干扰源开启模块530和强度确定模块540。Please refer to FIG. 5 , which shows a block diagram of an interference test apparatus provided by an embodiment of the present application. The apparatus has the function of implementing the above method example, and the function can be implemented by hardware or by executing corresponding software by hardware. The
器件配置模块510,用于当干扰源处于关闭状态时,根据第一测试参数在非信令模式下配置调制解调器,其中,所述第一测试参数包括第一测试功率,配置后的所述调制解调器在所述第一测试功率指示的无线网络情况下工作。The
强度获取模块520,用于获取所述第一测试功率下所述调制解调器的第一信号接收强度。The
干扰源开启模块530,用于自动开启所述干扰源,并根据所述第一测试参数在所述非信令模式下配置所述调制解调器。An interference
所述强度获取模块520,还用于获取所述第一测试功率下所述调制解调器的第二信号接收强度。The
强度确定模块540,用于根据所述第一信号接收强度和所述第二信号接收强度,确定所述第一测试功率下的干扰强度。The
综上所述,本申请实施例提供的技术方案中,通过当干扰源处于关闭状态时,根据测试参数在非信令模式下配置调制解调器,获取测试功率下调制解调器的第一信号接收强度;当基于测试功率完成测试时,自动开启干扰源,并根据测试参数在非信令模式下配置调制解调器;获取测试功率下调制解调器的第二信号接收强度;根据第一信号接收强度和第二信号接收强度,确定干扰源在测试功率下的干扰强度。在非信令模式,终端通过将调制解调器配置到测试参数指示的无线网络工作模式下,从而分别获取到干扰源关闭状态下该测试参数对应的调制解调器的第一信号接收强度,以及干扰源开启状态下该测试参数对应的调制解调器的第二信号接收强度,无需综测仪,仅需要终端即可完成干扰测试,避免了建立信令连接的操作流程,从而缩短了测试耗时,而且本申请实施例提供的技术方案可以自动打开干扰源,避免了用户的手动操作,可以提高测试流程的自动化率。To sum up, in the technical solutions provided by the embodiments of the present application, when the interference source is in the off state, the modem is configured in the non-signaling mode according to the test parameters to obtain the first signal reception strength of the modem under the test power; When the test power is completed, the interference source is automatically turned on, and the modem is configured in the non-signaling mode according to the test parameters; the second signal reception strength of the modem under the test power is obtained; according to the first signal reception strength and the second signal reception strength, determine The interference strength of the interference source at the test power. In the non-signaling mode, the terminal configures the modem to the wireless network working mode indicated by the test parameter, so as to obtain the first signal reception strength of the modem corresponding to the test parameter when the interference source is off, and the first signal received strength of the modem corresponding to the test parameter when the interference source is off, and the interference source when the interference source is on. The second signal reception strength of the modem corresponding to the test parameter does not require a comprehensive tester, but only needs a terminal to complete the interference test, which avoids the operation process of establishing a signaling connection, thereby shortening the test time. The technical solution can automatically open the interference source, avoid the manual operation of the user, and improve the automation rate of the test process.
可选地,如图6所示,所述装置500,还包括:信息获取模块550和参数生成模块560。Optionally, as shown in FIG. 6 , the
所述信息获取模块550,用于获取配置界面中输入的配置信息,所述配置信息包括待测试天线的标识、所述待测试天线对应的待测试网络制式、所述待测试网络制式的所述第一测试功率、所述待测试网络制式的待测试频段以及所述待测试频段中待测试信道之间的信道间隔。The
所述参数生成模块560,用于根据所述配置信息生成所述第一测试参数;The
所述器件配置模块510,用于:The
在所述非信令模式下,将所述调制解调器配置到所述待测试天线、所述待测试网络制式、所述第一测试功率和所述待测试信道的频点。In the non-signaling mode, the modem is configured to the antenna to be tested, the network standard to be tested, the first test power and the frequency point of the channel to be tested.
所述参数生成模块560,用于:The
根据所述待测试频段对应的信道范围以及所述信道间隔,确定至少两个所述待测试信道的频点;According to the channel range corresponding to the frequency band to be tested and the channel interval, determine the frequency points of at least two channels to be tested;
根据所述待测试天线的标识、所述待测试网络制式、所述第一测试功率和至少两个所述待测试信道的频点,生成所述第一测试参数。The first test parameter is generated according to the identifier of the antenna to be tested, the network standard to be tested, the first test power, and the frequency points of at least two channels to be tested.
可选地,所述配置信息中包括所述第一测试功率和第二测试功率;Optionally, the configuration information includes the first test power and the second test power;
所述器件配置模块510,还用于根据第二测试参数在所述非信令模式下配置所述调制解调器,所述第二测试参数包括所述第二测试功率。The
所述强度获取模块520,还用于获取所述第二测试功率下所述调制解调器的第三信号接收强度。The
所述器件配置模块510,还用于根据所述第二测试参数在所述非信令模式下配置所述调制解调器。The
所述强度获取模块520,还用于获取所述第二测试功率下所述调制解调器的第四信号接收强度。The
所述强度确定模块540,还用于根据所述第三信号接收强度和所述第四信号接收强度,确定所述第二测试功率下的干扰强度。The
可选地,所述配置信息中还包括所述干扰源对应的至少两种工作模式,所述至少两种工作模式包括第一工作模式和第二工作模式;Optionally, the configuration information further includes at least two working modes corresponding to the interference source, and the at least two working modes include a first working mode and a second working mode;
所述干扰源开启模块530,用于:The interference
自动将所述干扰源设置为所述第一工作模式;automatically setting the interference source to the first working mode;
所述强度确定模块540,用于根据所述第一信号接收强度和所述第二信号接收强度,确定在所述第一工作模式和所述第一测试功率下的干扰强度。The
所述干扰源开启模块530,还用于将所述干扰源设置为所述第二工作模式,并根据所述第一测试参数在所述非信令模式下配置所述调制解调器。The interference
所述强度获取模块520,还用于获取所述第一测试功率下所述调制解调器的第五信号接收强度。The
所述强度确定模块540,还用于根据所述第一信号接收强度和所述第五信号接收强度,确定在所述第二工作模式和所述第一测试功率下的干扰强度。The
可选地,所述干扰源开启时消耗所述终端的电量;Optionally, the power consumption of the terminal is consumed when the interference source is turned on;
所述装置500,还包括:耗电量获取模块570、耗电量确定模块580和充电提示模块590。The
所述耗电量获取模块570,用于获取第一测试耗电量和第一测试耗时,所述第一测试耗电量是所述干扰源处于关闭状态时,所述终端进行信号接收强度测试所消耗的电量。The power
所述耗电量确定模块580,用于根据所述第一测试耗电量、所述第一测试耗时以及所述干扰源的单位时长耗电量,确定第二测试耗电量,所述第二测试耗电量是所述干扰源处于开启状态时,所述终端进行信号接收强度测试所消耗的电量。The power
所述充电提示模块590,用于若所述终端的当前剩余电量低于所述第二测试耗电量,则进行充电提示。The charging
可选地,所述强度获取模块520,用于:Optionally, the
确定终端处理器对应的处理器平台;Determine the processor platform corresponding to the terminal processor;
通过调用所述处理器平台对应的指令,获取所述第一信号接收强度;Obtain the first signal reception strength by invoking an instruction corresponding to the processor platform;
其中,当所述处理器平台为第一平台时,所述指令为诊断Diag指令;当所述处理器平台为第二平台时,所述指令为注意AT指令。Wherein, when the processor platform is the first platform, the command is a diagnosis Diag command; when the processor platform is the second platform, the command is an AT command.
需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the device provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example for illustration. The internal structure is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
请参考图7,其示出了本申请一个实施例提供的终端的结构框图。Please refer to FIG. 7 , which shows a structural block diagram of a terminal provided by an embodiment of the present application.
本申请实施例中的终端可以包括一个或多个如下部件:处理器710和存储器720。示例性地,本申请实施例中的终端还包括调制解调器、屏幕、摄像头、扬声器等。The terminal in this embodiment of the present application may include one or more of the following components: a
处理器710可以包括一个或者多个处理核心。处理器710利用各种接口和线路连接整个终端内的各个部分,通过运行或执行存储在存储器720内的指令、程序、代码集或指令集,以及调用存储在存储器720内的数据,执行终端的各种功能和处理数据。可选地,处理器710可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器710可集成中央处理器(CentralProcessing Unit,CPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统和应用程序等;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器710中,单独通过一块芯片进行实现。
可选地,处理器710执行存储器720中的程序指令时实现上述各个方法实施例提供的方法。Optionally, when the
存储器720可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器720包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器720可用于存储指令、程序、代码、代码集或指令集。存储器720可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令、用于实现上述各个方法实施例的指令等;存储数据区可存储根据终端的使用所创建的数据等。The
上述终端的结构仅是示意性的,在实际实现时,终端可以包括更多或更少的组件,比如:显示屏等,本实施例对此不作限定。The above-mentioned structure of the terminal is only illustrative. In actual implementation, the terminal may include more or less components, such as a display screen, etc., which is not limited in this embodiment.
本领域技术人员可以理解,图7中示出的结构并不构成对终端700的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 7 does not constitute a limitation on the terminal 700, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
在示例性实施例中,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由计算机设备的处理器加载并执行以实现上述方法实施例中的各个步骤。In an exemplary embodiment, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor of a computer device to implement the above method embodiments in each step.
在示例性实施例中,还提供了一种计算机程序产品,当该计算机程序产品被执行时,其用于实现上述方法。In an exemplary embodiment, there is also provided a computer program product for implementing the above-described method when the computer program product is executed.
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911204995.2A CN110932802B (en) | 2019-11-29 | 2019-11-29 | Interference test method, device, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911204995.2A CN110932802B (en) | 2019-11-29 | 2019-11-29 | Interference test method, device, terminal and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110932802A CN110932802A (en) | 2020-03-27 |
| CN110932802B true CN110932802B (en) | 2022-05-20 |
Family
ID=69847916
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911204995.2A Active CN110932802B (en) | 2019-11-29 | 2019-11-29 | Interference test method, device, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110932802B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115941083A (en) * | 2022-12-28 | 2023-04-07 | 宜宾市天珑通讯有限公司 | Method for testing self-interference of communication equipment and electronic equipment |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7388945B2 (en) * | 2001-11-15 | 2008-06-17 | Swisscom Fixnet Ag | Method and system for determining data transfer margins for network connections |
| CN102843200A (en) * | 2012-09-13 | 2012-12-26 | 青岛海信移动通信技术股份有限公司 | Radio frequency test device and mobile terminal test system |
| CN107277912A (en) * | 2017-05-31 | 2017-10-20 | 广东欧珀移动通信有限公司 | A kind of Radio frequency interference processing method, device, storage medium and terminal |
| CN109164310A (en) * | 2018-07-12 | 2019-01-08 | 万达百汇科技(深圳)有限公司 | Anti-interference test system, monitoring device, anti-interference test method and terminal device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8195241B2 (en) * | 2009-12-23 | 2012-06-05 | Northrop Grumman Systems Corporation | High-performance cellular telephone receiver |
-
2019
- 2019-11-29 CN CN201911204995.2A patent/CN110932802B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7388945B2 (en) * | 2001-11-15 | 2008-06-17 | Swisscom Fixnet Ag | Method and system for determining data transfer margins for network connections |
| CN102843200A (en) * | 2012-09-13 | 2012-12-26 | 青岛海信移动通信技术股份有限公司 | Radio frequency test device and mobile terminal test system |
| CN107277912A (en) * | 2017-05-31 | 2017-10-20 | 广东欧珀移动通信有限公司 | A kind of Radio frequency interference processing method, device, storage medium and terminal |
| CN109164310A (en) * | 2018-07-12 | 2019-01-08 | 万达百汇科技(深圳)有限公司 | Anti-interference test system, monitoring device, anti-interference test method and terminal device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110932802A (en) | 2020-03-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105764024B (en) | Method and device for testing throughput of wireless equipment | |
| EP2894900A1 (en) | Method, mobile terminal and system for counting coverage blind spots in wireless network | |
| CN114167132B (en) | Power consumption detection method and device of wireless terminal, electronic equipment and storage medium | |
| CN206698228U (en) | Very high frequency(VHF) transceiver hardware of automatic test system | |
| CN101287264B (en) | Method, system and control device for testing standby/call current of mobile phone | |
| CN217541952U (en) | Vehicle instrument test system | |
| US20230152389A1 (en) | Method for Detecting Storage Battery of Vehicle and Battery Detection Device | |
| CN111711494B (en) | Automatic test method, system, equipment and medium for wireless communication module current consumption | |
| CN110856209A (en) | Method, apparatus and storage medium for displaying network sign | |
| CN107018223A (en) | One kind is used for mobile phone radio frequency signal testing method and system | |
| CN103986532A (en) | A relative value electromagnetic interference evaluation method for multi-mode and multi-standby terminals | |
| CN110932802B (en) | Interference test method, device, terminal and storage medium | |
| CN110912628B (en) | Interference test method, device, terminal and storage medium | |
| CN110890928B (en) | Interference test method, device, terminal and storage medium | |
| CN105791525B (en) | Grounding adjustment method and device | |
| CN110932803B (en) | Interference intensity acquisition method, device, terminal and storage medium | |
| CN106708688A (en) | Module testing method and terminal | |
| CN110890927B (en) | Interference test method, device, terminal and storage medium | |
| CN115114141A (en) | Method, device and equipment for testing performance of application program and storage medium | |
| CN111092669A (en) | User equipment testing system, method and device, signaling comprehensive tester and storage medium | |
| CN117856940A (en) | Interference test method, device, computer equipment and storage medium | |
| CN113938943B (en) | Method, system, equipment and medium for testing coexistence performance of wireless communication | |
| TWI469051B (en) | System and method for testing bluetooth | |
| US20140134998A1 (en) | Signal detection method for communication apparatus and signal detection system | |
| CN115902587A (en) | Chip testing method and device, electronic equipment and storage medium |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |