[go: up one dir, main page]

CN107631750A - For testing the method, apparatus, terminal and storage medium of terminal to be measured - Google Patents

For testing the method, apparatus, terminal and storage medium of terminal to be measured Download PDF

Info

Publication number
CN107631750A
CN107631750A CN201710661655.7A CN201710661655A CN107631750A CN 107631750 A CN107631750 A CN 107631750A CN 201710661655 A CN201710661655 A CN 201710661655A CN 107631750 A CN107631750 A CN 107631750A
Authority
CN
China
Prior art keywords
test
terminal
tested
sample
testing
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.)
Granted
Application number
CN201710661655.7A
Other languages
Chinese (zh)
Other versions
CN107631750B (en
Inventor
韦雄智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiuchang Shenzhou Technology Co.,Ltd.
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710661655.7A priority Critical patent/CN107631750B/en
Publication of CN107631750A publication Critical patent/CN107631750A/en
Application granted granted Critical
Publication of CN107631750B publication Critical patent/CN107631750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

本发明公开了一种用于测试待测终端的方法、装置、终端和存储介质,所述方法包括:在所述待测终端与所述测试设备之间建立连接;向所述测试设备发送控制指令;在所述测试设备执行所述控制指令的过程中和/或在所述测试设备执行完所述控制指令对应的操作后,获取测试样本;根据所述测试样本和所述测试样本对应的预设标准确定所述待测终端的测试结果。该方案通过待测终端向测试设备发送控制指令,以控制测试设备执行相关测试操作,根据测试需求获取测试样本,将测试样本与其对应的预设标准对比确定测试结果,与现有技术相比,不仅可以摒弃至少一台PC机,而且无需人员操作,大大降低了测试成本,提高了终端测试的自动化和测试效率。

The invention discloses a method, device, terminal and storage medium for testing a terminal to be tested. The method includes: establishing a connection between the terminal to be tested and the test equipment; sending a control to the test equipment instruction; during the process of the test equipment executing the control instruction and/or after the test equipment executes the operation corresponding to the control instruction, obtain a test sample; according to the test sample and the test sample corresponding The preset standard determines the test result of the terminal under test. In this solution, the terminal to be tested sends control instructions to the test equipment to control the test equipment to perform relevant test operations, obtain test samples according to the test requirements, and compare the test samples with their corresponding preset standards to determine the test results. Compared with the existing technology, Not only can at least one PC be discarded, but also no human operation is required, which greatly reduces the test cost and improves the automation and test efficiency of the terminal test.

Description

用于测试待测终端的方法、装置、终端和存储介质Method, device, terminal and storage medium for testing terminal to be tested

技术领域technical field

本发明涉及测试技术领域,具体涉及一种用于测试待测终端的方法、装置、终端和存储介质。The present invention relates to the technical field of testing, in particular to a method, device, terminal and storage medium for testing a terminal to be tested.

背景技术Background technique

目前,随着通信技术的发展,各种各样的移动终端已经渐渐成为人们日常生活中不可缺少的一部分,手机、平板电脑、等电子设备在人们的日常生活中已经越来越普及。移动终端在使用过程中难免出现故障,导致终端无法正常使用,在修理用户的故障终端前,首先要对终端进行测试,根据测试结果进行维修和处理;以手机为例,手机测试涉及到硬件测试和软件测试等。硬件测试一般都有严格的物理电气指标,比如,手机的光学摄像头可以对外界反馈进来的光线成像,对于摄像头的测试主要在于图像测试。在现有的技术中,对于手机摄像头测试一般采用如下方案:At present, with the development of communication technology, various mobile terminals have gradually become an indispensable part of people's daily life, and electronic devices such as mobile phones, tablet computers, etc. have become more and more popular in people's daily life. It is inevitable that the mobile terminal will fail during use, which will cause the terminal to be unable to use normally. Before repairing the user's faulty terminal, the terminal must be tested first, and repaired and processed according to the test results; taking mobile phones as an example, mobile phone testing involves hardware testing. and software testing etc. Hardware tests generally have strict physical and electrical indicators. For example, the optical camera of a mobile phone can image the light fed back from the outside world. The test of the camera mainly lies in the image test. In the existing technology, the following scheme is generally adopted for the mobile phone camera test:

现有方案一般至少需要一台PC机、测试设备和手机,测试分析工具集成在PC机中,PC机分别连接测试设备和手机,PC向测试设备发送测试指令,测试设备准备测试手机摄像头的硬件条件,比如给摄像头提供纯白板,纯黑板,一定的拍照距离等拍照条件,测试条件准备完成后通知PC机,PC机控制手机的摄像头进行拍照,获得图像信息,PC机根据图像信息确定摄像头的测试结果。该方案存在如下缺陷:Existing solutions generally require at least one PC, test equipment, and mobile phone. The test analysis tool is integrated in the PC. The PC is connected to the test equipment and the mobile phone respectively. The PC sends test instructions to the test equipment, and the test equipment is ready to test the hardware of the mobile phone camera. Conditions, such as providing the camera with a pure whiteboard, a pure blackboard, and a certain photographing distance. After the test conditions are prepared, the PC is notified. The PC controls the camera of the mobile phone to take pictures and obtains image information. Test Results. There are following defects in this scheme:

1、摄像头测试设备不够自动化,给手机摄像头提供拍照硬件条件时(如推动白板覆盖摄像头上方),需要人工操作测试设备上的相关功能键,白板才能在气压的推动下滑动到摄像头上方,成本高、效率低下。1. The camera test equipment is not automatic enough. When providing camera hardware conditions for mobile phone cameras (such as pushing the whiteboard to cover the top of the camera), it is necessary to manually operate the relevant function keys on the test equipment so that the whiteboard can slide to the top of the camera under the push of air pressure, which is costly ,low efficiency.

2、手机的应用无法实现自动拍照、自动调焦以及自动成像后做图像分析等。2. The application of the mobile phone cannot realize automatic photo taking, automatic focusing, and image analysis after automatic imaging.

因此,如何提高终端测试的自动化和智能性、提高测试效率,成为一个亟待解决的技术问题。Therefore, how to improve the automation and intelligence of terminal testing and improve testing efficiency has become an urgent technical problem to be solved.

发明内容Contents of the invention

有鉴于此,本发明实施例提供了一种用于测试待测终端的、设置测试条件的方法、装置、终端和存储介质,以解决现有技术中终端测试过程的自动化性能较差的问题。In view of this, embodiments of the present invention provide a method, device, terminal and storage medium for testing a terminal to be tested and setting test conditions, so as to solve the problem of poor automation performance of the terminal testing process in the prior art.

本发明第一方面提供了一种用于测试待测终端的方法,其中,所述待测终端与测试设备具有相同的波特率,所述方法包括:在所述待测终端与所述测试设备之间建立连接;向所述测试设备发送控制指令;在所述测试设备执行所述控制指令的过程中和/或在所述测试设备执行完所述控制指令对应的操作后,获取测试样本;根据所述测试样本和所述测试样本对应的预设标准确定所述待测终端的测试结果。The first aspect of the present invention provides a method for testing a terminal to be tested, wherein the terminal to be tested has the same baud rate as the test equipment, and the method includes: connecting the terminal to be tested with the test Establishing a connection between devices; sending a control instruction to the test device; obtaining a test sample during the process of the test device executing the control instruction and/or after the test device completes the operation corresponding to the control instruction ; determining the test result of the terminal to be tested according to the test sample and the preset standard corresponding to the test sample.

通过实施第一方面描述的方法,待测终端与测试设备鉴权通过后,在待测终端和测试设备之间建立通信连接,通过终端向测试设备发送控制指令,以控制测试设备执行相关测试操作(此处主要指为获取测试样本准备条件),具体地,获取测试样本可以分为两种情况,其一,待测终端与测试设备进行预先约定,一旦测试设备开始执行控制指令对应的操作,待测终端即可开始测试样本的获取,即在测试设备准备条件的过程中,待测终端可以一直获取相关的多个测试样本;其二,在测试设备执行完控制指令对应的操作后,会将任务完成通知返回给待测终端,然后待测终端即可根据测试需求获取测试样本,最后根据获取到的测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过终端控制测试设备,无需人员操作,大大降低了测试成本,提高了终端测试的自动化和测试效率。By implementing the method described in the first aspect, after the terminal to be tested and the test equipment pass the authentication, a communication connection is established between the terminal to be tested and the test equipment, and the terminal sends a control command to the test equipment to control the test equipment to perform relevant test operations (Here mainly refers to the preparation conditions for obtaining test samples). Specifically, obtaining test samples can be divided into two situations. First, the terminal to be tested and the test equipment are pre-agreed. Once the test equipment starts to execute the operation corresponding to the control instruction, The terminal to be tested can start to obtain test samples, that is, in the process of preparing conditions for the test equipment, the terminal to be tested can always obtain relevant multiple test samples; second, after the test equipment executes the operation corresponding to the control command, it will Return the task completion notification to the terminal under test, then the terminal under test can obtain the test sample according to the test requirements, and finally determine the final test result according to the obtained test sample and the preset standard corresponding to the test sample, so as to complete the terminal under test Compared with the existing technology, not only can at least one PC be discarded, but also the test equipment can be controlled through the terminal without human operation, which greatly reduces the test cost and improves the automation and test efficiency of the terminal test.

结合本发明第一方面,本发明第一方面第一实施方式中,所述测试样本为图像样本,所述控制指令包括:拍摄背景和/或拍摄距离,所述获取测试样本包括:控制所述待测终端的摄像头拍照获得所述图像样本。With reference to the first aspect of the present invention, in the first embodiment of the first aspect of the present invention, the test sample is an image sample, the control instruction includes: shooting the background and/or the shooting distance, and the obtaining the test sample includes: controlling the The camera of the terminal under test takes pictures to obtain the image samples.

通过执行上述步骤,测试样本为图像样本时,即对待测终端的摄像头进行测试,摄像头测试主要在于对其成像质量的测试,则控制指令可以包含但不限于:拍摄背景和/或拍摄距离,测试设备在接收到该控制指令时,会准备好摄像头测试需要的拍照条件(比如预设的拍摄背景和预设的拍摄距离等),准备好后会通知终端,然后待测终端控制其摄像头拍照,即可获得用于测试的样本图像,整个过程自动完成,无需人为操作测试设备,提高了样本图像获取的自动化和效率。By performing the above steps, when the test sample is an image sample, the camera of the terminal to be tested is tested. The camera test is mainly to test its imaging quality, and the control instructions may include but are not limited to: shooting background and/or shooting distance, testing When the device receives the control command, it will prepare the camera conditions required for the camera test (such as the preset shooting background and preset shooting distance, etc.), and will notify the terminal when ready, and then the terminal to be tested will control its camera to take pictures. The sample image for the test can be obtained, and the whole process is automatically completed without manual operation of the test equipment, which improves the automation and efficiency of sample image acquisition.

结合本发明第一方面,本发明第一方面第二实施方式中,所述测试样本为音频样本,所述控制指令包括:开启录音,所述获取测试样本包括:控制所述待测终端播放测试音频文件;接收所述测试设备录制的音频样本。In combination with the first aspect of the present invention, in the second embodiment of the first aspect of the present invention, the test sample is an audio sample, the control instruction includes: enabling recording, and the obtaining the test sample includes: controlling the terminal to be tested to play a test Audio file; receives audio samples recorded by said test device.

通过执行上述步骤,测试样本可以是音频样本,此时是对待测终端的音频模块(比如扬声器)进行测试,主要测试其音频失真大小等,则控制指令包含但不限于:开启录音,此种情况下,测试设备接收到控制指令后会准备测试需要的录音条件,并开启录音,准备好后通知待测终端,然后待测终端开始播放测试音频文件,测试设备会将录制的音频样本发送至终端,以供待测终端根据音频样本及其对应的预设标准确定最终测试结果。By performing the above steps, the test sample can be an audio sample. At this time, the audio module (such as a speaker) of the terminal to be tested is tested, and the audio distortion is mainly tested. The control command includes but is not limited to: enable recording, in this case Next, the test device will prepare the recording conditions required for the test after receiving the control command, and start the recording, notify the terminal to be tested when ready, and then the terminal to be tested will start playing the test audio file, and the test device will send the recorded audio samples to the terminal , for the terminal under test to determine the final test result according to the audio sample and its corresponding preset standard.

结合本发明第一方面,本发明第一方面第三实施方式中,所述测试样本为重力感样本,所述控制指令包括移动所述待测终端,所述获取测试样本包括:采集所述待测终端的重力感数据;将所述重力感数据作为所述重力感样本。In combination with the first aspect of the present invention, in the third embodiment of the first aspect of the present invention, the test sample is a gravity sense sample, the control instruction includes moving the terminal to be tested, and the obtaining the test sample includes: collecting the test sample measure the sense of gravity data of the terminal; use the sense of gravity data as the sense of gravity sample.

通过执行上述步骤,测试样本可以是重力感样本,即对待测终端的重力感应器进行测试,比如可以测试其精确度,则控制指令包含但不限于移动待测终端,通过测试设备不断的移动待测终端的位置(具体如何移动可以预先加入控制指令),此过程中待测终端的重力感应器会采集相关的重力感数据(比如可以是位置坐标数据),即可得到待测终端在不同位置的重力感样本,然后根据这些重力感样本及其预设标准,确定待测终端的重力感应器的精确度,整个过程自动完成,无需人为操作测试设备,提高了重力感测试的自动化和测试效率。By performing the above steps, the test sample can be a gravity sensor sample, that is, the gravity sensor of the terminal to be tested can be tested, for example, its accuracy can be tested, and the control instructions include but are not limited to moving the terminal to be tested. Measure the position of the terminal (you can add control instructions in advance for how to move it). During this process, the gravity sensor of the terminal to be tested will collect relevant gravity sensing data (for example, it can be position coordinate data), and you can get the different positions of the terminal to be tested. Gravity sense samples, and then determine the accuracy of the gravity sensor of the terminal to be tested according to these gravity sense samples and their preset standards. The whole process is automatically completed without manual operation of the test equipment, which improves the automation and test efficiency of the gravity sense test. .

此外,本发明第二方面提供一种用于测试待测终端的装置,可用于待测终端,比如手机等,其中,所述待测终端与测试设备具有相同的波特率,所述用于测试待测终端的装置包括用于执行上述第一方面或第一方面任意一种用于测试待测终端的方法的模块或单元。In addition, the second aspect of the present invention provides a device for testing a terminal to be tested, which can be used for a terminal to be tested, such as a mobile phone, etc., wherein the terminal to be tested has the same baud rate as the test equipment, and the device for testing The apparatus for testing a terminal under test includes a module or unit for performing the first aspect or any one of the methods for testing a terminal under test in the first aspect.

例如,所述装置包括:第一建立模块,用于在所述待测终端与所述测试设备之间建立连接;第一发送模块,用于向所述测试设备发送控制指令;第一获取模块,用于在所述测试设备执行所述控制指令的过程中和/或在所述测试设备执行完所述控制指令对应的操作后,获取测试样本;第一确定模块,用于根据所述测试样本和所述测试样本对应的预设标准确定所述待测终端的测试结果。For example, the apparatus includes: a first establishment module, configured to establish a connection between the terminal under test and the test equipment; a first sending module, configured to send a control instruction to the test equipment; a first acquisition module , used to obtain a test sample during the process of the test device executing the control instruction and/or after the test device executes the operation corresponding to the control instruction; the first determination module is used to obtain a test sample according to the test The sample and the preset standard corresponding to the test sample determine the test result of the terminal to be tested.

通过实施上述用于测试待测终端的装置,待测终端与测试设备鉴权通过后,在待测终端和测试设备之间建立通信连接,通过终端向测试设备发送控制指令,以控制测试设备执行相关测试操作(此处主要指为获取测试样本准备条件),具体地,获取测试样本可以分为两种情况,其一,待测终端与测试设备进行预先约定,一旦测试设备开始执行控制指令对应的操作,待测终端即可开始测试样本的获取,即在测试设备准备条件的过程中,待测终端可以一直获取相关的多个测试样本;其二,在测试设备执行完控制指令对应的操作后,会将任务完成通知返回给待测终端,然后待测终端即可根据测试需求获取测试样本,最后根据获取到的测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过终端控制测试设备,无需人员操作,大大降低了测试成本,提高了终端测试的自动化和测试效率。By implementing the above-mentioned device for testing the terminal to be tested, after the terminal to be tested and the test equipment pass the authentication, a communication connection is established between the terminal to be tested and the test equipment, and the terminal sends a control command to the test equipment to control the test equipment to execute Relevant test operations (here mainly refers to the preparation conditions for obtaining test samples). Specifically, obtaining test samples can be divided into two situations. First, the terminal to be tested and the test equipment are pre-agreed. operation, the terminal to be tested can start to obtain test samples, that is, in the process of preparing conditions for the test equipment, the terminal to be tested can always obtain multiple related test samples; second, after the test equipment executes the corresponding operation of the control command After that, the task completion notification will be returned to the terminal under test, and then the terminal under test can obtain test samples according to the test requirements, and finally determine the final test result according to the obtained test samples and the preset standards corresponding to the test samples to complete Compared with the existing technology, the test of the terminal to be tested can not only abandon at least one PC, but also control the test equipment through the terminal without manual operation, which greatly reduces the test cost and improves the automation and test efficiency of the terminal test.

结合本发明第二方面,本发明第二方面第一实施方式中,所述测试样本为图像样本,所述控制指令包括:拍摄背景和/或拍摄距离,所述获取测试样本包括:控制所述待测终端的摄像头拍照获得所述图像样本。With reference to the second aspect of the present invention, in the first embodiment of the second aspect of the present invention, the test sample is an image sample, the control instruction includes: shooting the background and/or the shooting distance, and the obtaining the test sample includes: controlling the The camera of the terminal under test takes pictures to obtain the image samples.

通过实施上述用于测试待测终端的装置,测试样本为图像样本时,即对待测终端的摄像头进行测试,摄像头测试主要在于对其成像质量的测试,则控制指令可以包含但不限于:拍摄背景和/或拍摄距离,测试设备在接收到该控制指令时,会准备好摄像头测试需要的拍照条件(比如预设的拍摄背景和预设的拍摄距离等),准备好后会通知终端,然后待测终端控制其摄像头拍照,即可获得用于测试的样本图像,整个过程自动完成,无需人为操作测试设备,提高了样本图像获取的自动化和效率。By implementing the above-mentioned device for testing the terminal to be tested, when the test sample is an image sample, the camera of the terminal to be tested is tested. The camera test is mainly to test its imaging quality, and the control instructions may include but not limited to: shooting background and/or the shooting distance, when the test device receives the control command, it will prepare the camera conditions required for the camera test (such as the preset shooting background and the preset shooting distance, etc.), and will notify the terminal when it is ready, and then wait for The test terminal controls its camera to take pictures, and then the sample image for testing can be obtained. The whole process is completed automatically, without manual operation of the test equipment, which improves the automation and efficiency of sample image acquisition.

结合本发明第二方面,本发明第二方面第二实施方式中,所述测试样本为音频样本,所述控制指令包括:开启录音,所述获取测试样本包括:控制所述待测终端播放测试音频文件;接收所述测试设备录制的音频样本。In combination with the second aspect of the present invention, in the second implementation manner of the second aspect of the present invention, the test sample is an audio sample, the control instruction includes: enabling recording, and the obtaining the test sample includes: controlling the terminal to be tested to play a test Audio file; receives audio samples recorded by said test device.

通过实施上述用于测试待测终端的装置,测试样本可以是音频样本,此时是对待测终端的音频模块(比如扬声器)进行测试,主要测试其音频失真大小等,则控制指令包含但不限于:开启录音,此种情况下,测试设备接收到控制指令后会准备测试需要的录音条件,并开启录音,准备好后通知待测终端,然后待测终端开始播放测试音频文件,测试设备会将录制的音频样本发送至终端,以供待测终端根据音频样本及其对应的预设标准确定最终测试结果。By implementing the above-mentioned device for testing the terminal under test, the test sample can be an audio sample. At this time, the audio module (such as a speaker) of the terminal under test is tested, mainly testing its audio distortion, etc., and the control instructions include but are not limited to : Turn on recording. In this case, the test device will prepare the recording conditions required for the test after receiving the control command, and start the recording. When it is ready, it will notify the terminal to be tested, and then the terminal to be tested will start playing the test audio file. The test device will The recorded audio samples are sent to the terminal for the terminal under test to determine the final test result according to the audio samples and their corresponding preset standards.

结合本发明第二方面,本发明第二方面第三实施方式中,所述测试样本为重力感样本,所述控制指令包括移动所述待测终端,所述获取测试样本包括:采集所述待测终端的重力感数据;将所述重力感数据作为所述重力感样本。In combination with the second aspect of the present invention, in the third embodiment of the second aspect of the present invention, the test sample is a gravity sense sample, the control instruction includes moving the terminal to be tested, and the obtaining the test sample includes: collecting the test sample measure the sense of gravity data of the terminal; use the sense of gravity data as the sense of gravity sample.

通过实施上述用于测试待测终端的装置,测试样本可以是重力感样本,即对待测终端的重力感应器进行测试,比如可以测试其精确度,则控制指令包含但不限于移动待测终端,通过测试设备不断的移动待测终端的位置(具体如何移动可以预先加入控制指令),此过程中待测终端的重力感应器会采集相关的重力感数据(比如可以是位置坐标数据),即可得到待测终端在不同位置的重力感样本,然后根据这些重力感样本及其预设标准,确定待测终端的重力感应器的精确度,整个过程自动完成,无需人为操作测试设备,提高了重力感测试的自动化和测试效率。By implementing the above-mentioned device for testing the terminal under test, the test sample can be a gravity sensor sample, that is, the gravity sensor of the terminal under test is tested, for example, its accuracy can be tested, and the control instructions include but are not limited to moving the terminal under test, Continuously move the position of the terminal under test through the test equipment (specifically how to move can be pre-added control instructions), during this process, the gravity sensor of the terminal under test will collect relevant gravity sense data (for example, it can be position coordinate data), that is, Get the gravity sense samples of the terminal under test at different positions, and then determine the accuracy of the gravity sensor of the terminal under test according to these gravity sense samples and their preset standards. Automation and test efficiency of sense test.

所述用于测试待测终端的装置所包括的模块或单元不限于上述命名方式。The modules or units included in the device for testing the terminal under test are not limited to the above naming methods.

本申请的这些方面在以下实施例的描述中会更加简明易懂。These aspects of the present application will be more concise and understandable in the description of the following embodiments.

本发明第三方面提供了一种待测终端,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现本发明第一方面或第一方面的任一实施方式所述的用于测试待测终端的方法。The third aspect of the present invention provides a terminal to be tested, including a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein the processor implements the present invention when executing the program The method for testing the terminal under test described in the first aspect or any implementation manner of the first aspect.

本发明第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行本发明第一方面或第一方面的任一实施方式所述的用于测试待测终端的方法。The fourth aspect of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the first aspect of the present invention or any implementation of the first aspect The method for testing the terminal under test described in the manner.

附图说明Description of drawings

通过参考附图会更加清楚的理解本发明的特征和优点,附图是示意性的而不应理解为对本发明进行任何限制,在附图中:The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the invention in any way. In the accompanying drawings:

图1示出了本发明实施例中手机的结构图;Fig. 1 shows the structural diagram of mobile phone in the embodiment of the present invention;

图2示出了根据本发明实施例的用于测试待测终端的方法的一个流程图;FIG. 2 shows a flowchart of a method for testing a terminal under test according to an embodiment of the present invention;

图3示出了根据本发明实施例的待测终端的一个UI架构示意图;FIG. 3 shows a schematic diagram of a UI architecture of a terminal to be tested according to an embodiment of the present invention;

图4示出了根据本发明实施例的待测终端的一个功能原理示意图;FIG. 4 shows a schematic diagram of a functional principle of a terminal to be tested according to an embodiment of the present invention;

图5示出了根据本发明实施例的用于测试待测终端的方法的另一个流程图;FIG. 5 shows another flowchart of a method for testing a terminal under test according to an embodiment of the present invention;

图6示出了根据本发明实施例的用于测试待测终端的装置的结构示意图;FIG. 6 shows a schematic structural diagram of a device for testing a terminal under test according to an embodiment of the present invention;

图7示出了根据本发明实施例的用于测试待测终端的装置的另一个结构示意图;FIG. 7 shows another schematic structural diagram of a device for testing a terminal under test according to an embodiment of the present invention;

图8示出了根据本发明实施例的终端的一个结构示意图;FIG. 8 shows a schematic structural diagram of a terminal according to an embodiment of the present invention;

图9示出了根据本发明实施例的终端的另一个结构示意图。Fig. 9 shows another schematic structural diagram of a terminal according to an embodiment of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

如图1所示,是本发明的实施例的应用场景示意图。移动终端为手机或平板电脑等移动设备,移动终端以手机为例,手机的部分结构框图如图1所示,手机包括射频电路110、存储器120、输入单元130、显示单元140、传感器150、音频电路160、无线模块170、处理器180以及电源190等部分。本领域技术人员可以理解,图1中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。As shown in FIG. 1 , it is a schematic diagram of an application scenario of an embodiment of the present invention. The mobile terminal is a mobile device such as a mobile phone or a tablet computer. The mobile terminal is an example of a mobile phone. A partial structural block diagram of the mobile phone is shown in FIG. circuit 160, wireless module 170, processor 180, power supply 190 and other parts. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 1 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

其中RF电路110用于收发信息或通话过程中,信号的接收和发送。存储器120用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。输入单元130用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。输入单元130可包括触控面板131以及其他输入设备132。其他输入设备132可以包括但不限于物理键盘、功能键、鼠标、操作杆中的一种或几种。显示单元140用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元140可以包括显示面板141。触控面板131可覆盖显示面板141,当触控面板131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。The RF circuit 110 is used for receiving and sending signals during sending and receiving information or during a call. The memory 120 is used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 120 . The input unit 130 is used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. The input unit 130 may include a touch panel 131 and other input devices 132 . Other input devices 132 may include but not limited to one or more of a physical keyboard, function keys, mouse, and joystick. The display unit 140 is used to display information input by or provided to the user and various menus of the mobile phone. The display unit 140 may include a display panel 141 . The touch panel 131 can cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it transmits to the processor 180 to determine the type of the touch event, and then the processor 180 displays on the display according to the type of the touch event. A corresponding visual output is provided on the panel 141 .

手机还可包括至少一种传感器150,如光传感器、运动传感器以及其他传感器。光传感器可包括环境光传感器及接近传感器,环境传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板141和/或背光。本实施例中光传感器可以设置在手机的正面和背面的壳体上,用于检测用户持握手机时的遮挡区域。此处还可以包括压力传感器,设置在手机的正面或背面壳体上,用于通过检测压力的方式获得用户持握手机时的遮挡区域。此外,手机还可以配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,不再赘述。The handset may also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. The light sensor can include an ambient light sensor and a proximity sensor. The ambient sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 141 and/or the backlight when the mobile phone is moved to the ear. In this embodiment, the light sensor can be arranged on the front and back shells of the mobile phone, and is used to detect the occlusion area when the user holds the mobile phone. Here, a pressure sensor may also be included, which is arranged on the front or back shell of the mobile phone, and is used to obtain the shielded area when the user holds the mobile phone by detecting pressure. In addition, the mobile phone can also be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, so I won’t repeat them here.

音频电路160、扬声器161、传声器162可提供用户与手机之间的音频接口。无线模块170可以是WIFI模块,为用户提供无线的互联网访问服务。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile phone. The wireless module 170 may be a WIFI module, providing users with wireless Internet access services.

处理器180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可以包括一个或多个处理单元。此外,手机还包括各部件供电的电源190,通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The processor 180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 180 may include one or more processing units. In addition, the mobile phone also includes a power supply 190 for supplying power to various components, which is logically connected to the processor 180 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.

请参阅图2,本发明实施例提供的一种用于测试待测终端的方法,可以应用于待测终端,比如手机等,其中,待测终端与测试设备具有相同的波特率,该方法包括:Please refer to Figure 2, a method for testing a terminal under test provided by an embodiment of the present invention can be applied to a terminal under test, such as a mobile phone, etc., wherein the terminal under test and the test device have the same baud rate, the method include:

S21:在待测终端与测试设备之间建立连接;具体地,在待测终端与测试设备建立通信连接之前,待测终端需要对测试设备进行身份鉴权,在鉴权通过后,在待测终端和测试设备之间建立通信连接,具体可以通过通信协议开发来实现,比如可以根据16进制或者ASCII码规则制定待测终端以及摄像头测试设备(单片机部分)的唯一请求和应答指令,针对测试设备的每一个行为(如气阀通道的开关,白炽灯的开关等)都约定成唯一通信指令,测试设备可以根据其自身单片机收到的通信指令,做出相应的动作,让待测设备的运转实现高度的自动化。比如测试终端的主UI负责测试开始以及测试结果显示等,通过将PL2303芯片集成在待测终端与测试设备之间串口通信的传输设备RS232中,则待测终端发出的通信指令即可通过串口与测试设备的单片机系统进行数据交互。S21: Establish a connection between the terminal to be tested and the test device; specifically, before the terminal to be tested establishes a communication connection with the test device, the terminal to be tested needs to perform identity authentication on the test device. The establishment of a communication connection between the terminal and the test equipment can be realized through the development of the communication protocol. For example, the unique request and response instructions of the terminal to be tested and the camera test equipment (single chip part) can be formulated according to the hexadecimal or ASCII code rules. Each behavior of the device (such as the switch of the gas valve channel, the switch of the incandescent lamp, etc.) is agreed to be a unique communication command, and the test device can make corresponding actions according to the communication command received by its own single-chip microcomputer, so that the device under test Operation to achieve a high degree of automation. For example, the main UI of the test terminal is responsible for the start of the test and the display of the test results. By integrating the PL2303 chip into the RS232 transmission device for serial communication between the terminal to be tested and the test equipment, the communication commands sent by the terminal to be tested can be communicated with the terminal through the serial port. The single-chip microcomputer system of the test equipment performs data interaction.

S22:向测试设备发送控制指令;具体地,在通信连接建立后,待测终端可以根据自身测试需要向测试设备发送控制指令,以控制测试设备执行相关测试操作(此处主要指为获取测试样本准备条件),在测试设备执行完控制指令对应的操作后,会将任务完成通知返回给待测终端,以供待测终端进行下一步测试流程。S22: Send control instructions to the test equipment; specifically, after the communication connection is established, the terminal to be tested can send control instructions to the test equipment according to its own test needs, so as to control the test equipment to perform relevant test operations (here mainly refers to obtaining test samples preparation conditions), after the test device executes the operation corresponding to the control command, it will return the task completion notification to the terminal under test for the terminal under test to carry out the next test process.

S23:在测试设备执行完控制指令对应的操作后,获取测试样本;即在测试设备按照控制指令准备好获取测试样本需要的条件后,待测终端即可根据测试需要在测试设备准备的条件中获取待测样本。S23: After the test equipment executes the operation corresponding to the control instruction, obtain the test sample; that is, after the test equipment prepares the conditions required for obtaining the test sample according to the control instruction, the terminal to be tested can be in the conditions prepared by the test equipment according to the test needs Obtain the sample to be tested.

S24:根据测试样本和测试样本对应的预设标准确定待测终端的测试结果。即最后根据步骤S23获取到的测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过终端控制测试设备,无需人员操作,大大降低了测试成本,提高了终端测试的自动化和测试效率。S24: Determine the test result of the terminal to be tested according to the test sample and the preset standard corresponding to the test sample. That is, finally, the final test result is determined according to the test sample obtained in step S23 and the preset standard corresponding to the test sample, so as to complete the test of the terminal to be tested. Compared with the prior art, not only can at least one PC be discarded, but also The test equipment is controlled by the terminal without human operation, which greatly reduces the test cost and improves the automation and test efficiency of the terminal test.

可选的,测试样本为图像样本,则控制指令包括:拍摄背景和/或拍摄距离,获取测试样本包括:控制待测终端的摄像头拍照获得图像样本。具体地,测试样本为图像样本时,即对待测终端的摄像头进行测试,摄像头测试主要在于对其成像质量的测试,则控制指令可以包含但不限于:拍摄背景和/或拍摄距离,测试设备在接收到该控制指令时,会准备好摄像头测试需要的拍照条件(比如预设的拍摄背景和预设的拍摄距离等),准备好后会通知终端,然后待测终端控制其摄像头拍照,即可获得用于测试的样本图像,比如,在时应用场景中,待测终端可以使用安卓Camera类的原生API,实现自动拍照、自动调焦以及成像质量分析(此处需要开发第三方SO库)等功能,其中主线程用于自动拍照以及实时接收测试设备单片机系统反馈的应答指令,从而及时响应下一个动作,所有的控制指令和结果判断均由待测终端实现,上述方案可以通过如图3所示的APP主架构来实现。如此,整个过程自动完成,无需人为操作测试设备,提高了样本图像获取的自动化和效率。Optionally, if the test sample is an image sample, the control instruction includes: shooting the background and/or the shooting distance, and obtaining the test sample includes: controlling the camera of the terminal under test to take pictures to obtain the image sample. Specifically, when the test sample is an image sample, that is, the camera of the terminal to be tested is tested. The camera test is mainly to test its imaging quality, and the control instructions may include but not limited to: shooting background and/or shooting distance, testing equipment in When receiving the control command, it will prepare the camera conditions required for the camera test (such as the preset shooting background and preset shooting distance, etc.), and will notify the terminal when ready, and then the terminal to be tested will control its camera to take pictures. Obtain sample images for testing. For example, in real-time application scenarios, the terminal under test can use the native API of the Android Camera class to realize automatic photo taking, automatic focusing, and image quality analysis (a third-party SO library needs to be developed here), etc. Function, in which the main thread is used to automatically take pictures and receive the response commands fed back by the single-chip microcomputer system of the test equipment in real time, so as to respond to the next action in time. All control commands and result judgments are realized by the terminal to be tested. The main structure of the APP shown in the figure is implemented. In this way, the whole process is automatically completed without manual operation of the test equipment, which improves the automation and efficiency of sample image acquisition.

作为一种具体的实施方式,如图4所示,是本实施例实现手机摄像头测试的一个原理框架图,各个模块功能如下:As a kind of specific implementation mode, as shown in Figure 4, it is a principle framework diagram that the present embodiment realizes mobile phone camera test, and each module function is as follows:

模块A为控制功能类,经由待测设备发送相关约定的控制指令给测试设备,测试设备的应答成功指令回馈之后,测试设备便会根据控制指令约定的行为进行动作,如白板推到前摄像头的正上方,并打开白板的背光灯等。Module A is a control function class. The device under test sends relevant agreed control commands to the test device. After the test device responds successfully and returns the command, the test device will act according to the behavior agreed in the control command, such as pushing the whiteboard to the front camera. directly above, and turn on the backlight of the whiteboard, etc.

模块B为应用功能类,当拍照条件满足后(即测试设备执行完控制指令对应的操作后),待测终端根据测试需求(是否需要调焦等)来自动拍照,并根据实际需要结合预设标准对成像图片做解析力分析,从而检出摄像头的功能是否合格。Module B is the application function class. When the photographing conditions are met (that is, after the test equipment executes the corresponding operation of the control command), the terminal to be tested will automatically photograph according to the test requirements (whether it needs to focus, etc.), and combine the presets according to actual needs. The standard analyzes the resolution of the imaged pictures to check whether the function of the camera is qualified.

模块C为UI的显示结果类,进可以将测试结果显示出来,便于相关人员直接观察。Module C is the display result class of the UI, which can display the test results so that relevant personnel can directly observe them.

目前市面已经开发出不少相对成熟的测试设备,一般通过气阀来控制每个通道的开关,利用气缸推动拍照所需要的硬件条件到位,通过继电器来控制各通道的电平开关,实现拍照需求的各类灯光,而每个继电器的开关控制则通过单片机来实现。以下市面上某款测试设备为例,对其各个功能模块做一下简单的功能描述:At present, a lot of relatively mature test equipment has been developed on the market. Generally, the valve is used to control the switch of each channel, and the cylinder is used to push the hardware conditions required for taking pictures. The relay is used to control the level switch of each channel to meet the needs of taking pictures. All kinds of lights, and the switch control of each relay is realized by the single chip microcomputer. Take a certain test equipment on the market as an example, and give a simple functional description of each functional module:

1、ARM控制板---用于应答待测终端发送的控制指令,以及控制电磁阀的开与关;1. ARM control board---used to respond to the control command sent by the terminal to be tested, and to control the opening and closing of the solenoid valve;

2、24V电源-----用于ARM控制板稳定供电;2. 24V power supply ----- used for stable power supply of ARM control board;

3、电磁阀-----用于控制气管的开与关,以及白炽灯的开与关;3. Solenoid valve ----- used to control the opening and closing of the air pipe, and the opening and closing of the incandescent lamp;

4、夹具载板----放置待测终端;4. Fixture carrier board - place the terminal to be tested;

5、气缸-----用于控制气流大小;5. Cylinder ----- used to control the size of the air flow;

6、光源控制板----控制白炽灯亮度大小;6. Light source control board - control the brightness of incandescent lamps;

7、上下灯板---用于测试远距离charge图;7. Upper and lower light boards --- used to test the long-distance charge map;

在本实施例中,可以在测试设备的控制板上烧录好约定的通信协议,之后待测设备(比如手机)通过PL2303的串口连接方式与之连接,实现实时交互,以完成待测终端摄像头的自动化测试。In this embodiment, the agreed communication protocol can be burnt on the control board of the test device, and then the device to be tested (such as a mobile phone) is connected to it through the serial port connection mode of PL2303 to realize real-time interaction, so as to complete the terminal camera to be tested. automated testing.

可选地,测试样本为音频样本,控制指令包括:开启录音,获取测试样本包括:控制待测终端播放测试音频文件;接收测试设备录制的音频样本。测试样本还可以是音频样本,此时是对待测终端的音频模块(比如扬声器)进行测试,主要测试其音频失真大小等,则控制指令包含但不限于:开启录音,此种情况下,测试设备接收到控制指令后会准备测试需要的录音条件,并开启录音,准备好后通知待测终端,然后待测终端开始播放测试音频文件,测试设备会将录制的音频样本发送至终端,以供待测终端根据音频样本及其对应的预设标准确定最终测试结果。Optionally, the test sample is an audio sample, and the control instruction includes: enabling recording, and obtaining the test sample includes: controlling the terminal to be tested to play a test audio file; receiving an audio sample recorded by the test device. The test sample can also be an audio sample. At this time, the audio module (such as a speaker) of the terminal to be tested is tested, and the audio distortion is mainly tested. The control command includes but is not limited to: enable recording. In this case, the test device After receiving the control command, it will prepare the recording conditions required for the test, and start the recording, notify the terminal to be tested when ready, and then the terminal to be tested will start playing the test audio file, and the test device will send the recorded audio samples to the terminal for future use. The test terminal determines the final test result according to the audio sample and its corresponding preset standard.

本实施例中提供的用于测试待测终端的方法,待测终端与测试设备鉴权通过后,在待测终端和测试设备之间建立通信连接,通过终端向测试设备发送控制指令,以控制测试设备执行相关测试操作,在测试设备执行完控制指令对应的操作后,会将任务完成通知返回给待测终端,然后待测终端即可根据测试需求获取测试样本,最后根据获取到的测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过终端控制测试设备,无需人员操作,大大降低了测试成本,提高了终端测试的自动化和测试效率。In the method for testing the terminal under test provided in this embodiment, after the terminal under test and the test device pass the authentication, a communication connection is established between the terminal under test and the test device, and a control command is sent to the test device through the terminal to control The test equipment performs relevant test operations. After the test equipment executes the corresponding operation of the control command, it will return the task completion notification to the terminal under test, and then the terminal under test can obtain test samples according to the test requirements, and finally according to the obtained test samples And the preset standard corresponding to the test sample determines the final test result to complete the test of the terminal to be tested. Compared with the existing technology, not only can at least one PC be discarded, but also the test equipment can be controlled through the terminal without human operation. The test cost is greatly reduced, and the automation and test efficiency of the terminal test are improved.

请参阅图5,本发明实施例提供的一种用于测试待测终端的方法,可以应用于待测终端,比如手机等,其中,待测终端与测试设备具有相同的波特率,该方法包括:Please refer to FIG. 5, a method for testing a terminal under test provided by an embodiment of the present invention can be applied to a terminal under test, such as a mobile phone, etc., wherein the terminal under test and the test device have the same baud rate, the method include:

S51:在待测终端与测试设备之间建立连接;具体地,在待测终端与测试设备建立通信连接之前,待测终端需要对测试设备进行身份鉴权,在鉴权通过后,在待测终端和测试设备之间建立通信连接,具体可以通过通信协议开发来实现,比如可以根据16进制或者ASCII码规则制定待测终端以及摄像头测试设备(单片机部分)的唯一请求和应答指令,针对测试设备的每一个行为(如气阀通道的开关,白炽灯的开关等)都约定成唯一通信指令,测试设备可以根据其自身单片机收到的通信指令,做出相应的动作,让待测设备的运转实现高度的自动化。比如测试终端的主UI负责测试开始以及测试结果显示等,通过将PL2303芯片集成在待测终端与测试设备之间串口通信的传输设备RS232中,则待测终端发出的通信指令即可通过串口与测试设备的单片机系统进行数据交互。S51: Establish a connection between the terminal to be tested and the test equipment; specifically, before establishing a communication connection between the terminal to be tested and the test equipment, the terminal to be tested needs to perform identity authentication on the test equipment, and after passing the authentication, the The establishment of a communication connection between the terminal and the test equipment can be realized through the development of the communication protocol. For example, the unique request and response instructions of the terminal to be tested and the camera test equipment (single chip part) can be formulated according to the hexadecimal or ASCII code rules. Each behavior of the device (such as the switch of the gas valve channel, the switch of the incandescent lamp, etc.) is agreed to be a unique communication command, and the test device can make corresponding actions according to the communication command received by its own single-chip microcomputer, so that the device under test Operation to achieve a high degree of automation. For example, the main UI of the test terminal is responsible for the start of the test and the display of the test results. By integrating the PL2303 chip into the RS232 transmission device for serial communication between the terminal to be tested and the test equipment, the communication commands sent by the terminal to be tested can be communicated with the terminal through the serial port. The single-chip microcomputer system of the test equipment performs data interaction.

S52:向测试设备发送控制指令;具体地,在通信连接建立后,待测终端可以根据自身测试需要向测试设备发送控制指令,以控制测试设备执行相关测试操作(此处主要指为获取测试样本准备条件),以供待测终端获取测试样本。S52: Send control instructions to the test equipment; specifically, after the communication connection is established, the terminal to be tested can send control instructions to the test equipment according to its own test needs, so as to control the test equipment to perform relevant test operations (here mainly refers to obtaining test samples preparation conditions) for the terminal under test to obtain test samples.

S53:在测试设备执行控制指令的过程中,获取测试样本;具体地,待测终端与测试设备进行预先约定,一旦测试设备开始执行控制指令对应的操作,待测终端即可开始测试样本的获取,即在测试设备准备条件的过程中,待测终端可以一直获取相关的多个测试样本。S53: Obtain test samples during the process of the test equipment executing the control instruction; specifically, the terminal to be tested and the test equipment make a pre-agreement, and once the test equipment starts to execute the operation corresponding to the control instruction, the terminal to be tested can start to acquire the test samples , that is, in the process of testing equipment preparation conditions, the terminal to be tested can always obtain multiple relevant test samples.

S54:根据测试样本和测试样本对应的预设标准确定待测终端的测试结果。即最后待测终端根据步骤S53获取到的多个测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过待测终端控制测试设备,无需人员操作,大大降低了测试成本,提高了待测终端测试过程的自动化和测试效率。S54: Determine the test result of the terminal to be tested according to the test sample and the preset standard corresponding to the test sample. That is, the terminal to be tested finally determines the final test result according to the multiple test samples obtained in step S53 and the preset standards corresponding to the test samples, so as to complete the test of the terminal to be tested. Compared with the prior art, not only can at least one PC, and the test equipment is controlled by the terminal to be tested without personnel operation, which greatly reduces the test cost and improves the automation and test efficiency of the test process of the terminal to be tested.

可选地,测试样本为重力感样本,控制指令包括移动待测终端,获取测试样本包括:采集待测终端的重力感数据;将重力感数据作为重力感样本。本实施例中,测试样本可以是重力感样本,即对待测终端的重力感应器进行测试,比如可以测试其精确度,则控制指令包含但不限于移动待测终端,通过测试设备不断的移动待测终端的位置(具体如何移动可以预先加入控制指令),此过程中待测终端的重力感应器会采集相关的重力感数据(比如可以是位置坐标数据),即可得到待测终端在不同位置的重力感样本,然后根据这些重力感样本及其预设标准,确定待测终端的重力感应器的精确度,整个过程自动完成,无需人为操作测试设备,提高了重力感测试的自动化和测试效率。Optionally, the test sample is a sense of gravity sample, the control instruction includes moving the terminal to be tested, and obtaining the test sample includes: collecting sense of gravity data of the terminal to be tested; using the sense of gravity data as a sense of gravity sample. In this embodiment, the test sample can be a gravity sensor sample, that is, to test the gravity sensor of the terminal to be tested, for example, to test its accuracy, and the control instructions include but are not limited to moving the terminal to be tested, and continuously moving the terminal to be tested through the test equipment Measure the position of the terminal (you can add control instructions in advance for how to move it). During this process, the gravity sensor of the terminal to be tested will collect relevant gravity sensing data (for example, it can be position coordinate data), and you can get the different positions of the terminal to be tested. Gravity sense samples, and then determine the accuracy of the gravity sensor of the terminal to be tested according to these gravity sense samples and their preset standards. The whole process is automatically completed without manual operation of the test equipment, which improves the automation and test efficiency of the gravity sense test. .

本实施例中提供的用于测试待测终端的方法,待测终端与测试设备鉴权通过后,在待测终端和测试设备之间建立通信连接,通过待测终端向测试设备发送控制指令,以控制测试设备执行相关测试操作,具体地,待测终端与测试设备进行预先约定,一旦测试设备开始执行控制指令对应的操作,待测终端即可开始测试样本的获取,即在测试设备准备条件的过程中,待测终端可以一直获取相关的多个测试样本,最后待测终端根据获取到的多个测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过待测终端控制测试设备,无需人员操作,大大降低了测试成本,提高了待测终端测试过程的自动化和测试效率。In the method for testing the terminal under test provided in this embodiment, after the terminal under test and the test device pass the authentication, a communication connection is established between the terminal under test and the test device, and a control command is sent to the test device through the terminal under test, To control the test equipment to perform related test operations, specifically, the terminal to be tested and the test equipment make a pre-agreement, once the test equipment starts to execute the operation corresponding to the control command, the terminal to be tested can start to obtain the test samples, that is, the test equipment preparation condition During the process, the terminal to be tested can always obtain relevant multiple test samples, and finally the terminal to be tested determines the final test result according to the obtained multiple test samples and the preset standards corresponding to the test samples, so as to complete the test of the terminal to be tested. Compared with the existing technology, the test can not only abandon at least one PC, but also control the test equipment through the terminal to be tested, without human operation, which greatly reduces the test cost and improves the automation and test efficiency of the test process of the terminal to be tested.

参见图6,是本发明实施例提供的一种用于测试待测终端的装置的结构示意图,可以应用于待测终端,比如手机等,其中,待测终端与测试设备具有相同的波特率,该装置包括:Referring to Figure 6, it is a schematic structural diagram of a device for testing a terminal under test provided by an embodiment of the present invention, which can be applied to a terminal under test, such as a mobile phone, etc., wherein the terminal under test and the test device have the same baud rate , the device consists of:

第一建立模块61,用于在待测终端与测试设备之间建立连接;详细内容参见上述实施例中的步骤S21。The first establishing module 61 is configured to establish a connection between the terminal under test and the testing device; for details, refer to step S21 in the above-mentioned embodiment.

第一发送模块62,用于向测试设备发送控制指令;详细内容参见上述实施例中的步骤S22。The first sending module 62 is configured to send a control command to the test equipment; for details, refer to step S22 in the above-mentioned embodiment.

第一获取模块63,用于在测试设备执行完控制指令对应的操作后,获取测试样本;详细内容参见上述实施例中的步骤S23。The first obtaining module 63 is configured to obtain a test sample after the test device executes the operation corresponding to the control instruction; for details, refer to step S23 in the above embodiment.

第一确定模块64,用于根据测试样本和测试样本对应的预设标准确定待测终端的测试结果。详细内容参见上述实施例中的步骤S24。The first determination module 64 is configured to determine the test result of the terminal to be tested according to the test sample and the preset standard corresponding to the test sample. For details, refer to step S24 in the above embodiment.

可选地,本发明一些实施例中,测试样本为图像样本,控制指令包括:拍摄背景和/或拍摄距离,获取测试样本包括:控制待测终端的摄像头拍照获得图像样本。详细内容参见上述实施例中的相关详细描述。Optionally, in some embodiments of the present invention, the test sample is an image sample, and the control instruction includes: shooting the background and/or shooting distance, and obtaining the test sample includes: controlling the camera of the terminal to be tested to take pictures to obtain the image sample. For details, refer to the relevant detailed descriptions in the foregoing embodiments.

可选地,本发明一些实施例中,测试样本为音频样本,控制指令包括:开启录音,获取测试样本包括:控制待测终端播放测试音频文件;接收测试设备录制的音频样本。详细内容参见上述实施例中的相关详细描述。Optionally, in some embodiments of the present invention, the test sample is an audio sample, and the control instruction includes: enabling recording, and obtaining the test sample includes: controlling the terminal to be tested to play a test audio file; receiving an audio sample recorded by the test device. For details, refer to the relevant detailed descriptions in the foregoing embodiments.

上述用于测试待测终端的装置,待测终端与测试设备鉴权通过后,在待测终端和测试设备之间建立通信连接,通过终端向测试设备发送控制指令,以控制测试设备执行相关测试操作,在测试设备执行完控制指令对应的操作后,会将任务完成通知返回给待测终端,然后待测终端即可根据测试需求获取测试样本,最后根据获取到的测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过终端控制测试设备,无需人员操作,大大降低了测试成本,提高了终端测试的自动化和测试效率。In the above device for testing the terminal to be tested, after the terminal to be tested and the test equipment pass the authentication, a communication connection is established between the terminal to be tested and the test equipment, and the terminal sends a control command to the test equipment to control the test equipment to perform related tests. Operation, after the test device executes the operation corresponding to the control command, it will return the task completion notification to the terminal under test, and then the terminal under test can obtain the test sample according to the test requirements, and finally according to the obtained test sample and the corresponding test sample The preset standard determines the final test result to complete the test of the terminal to be tested. Compared with the existing technology, not only can at least one PC be discarded, but also the test equipment can be controlled through the terminal without personnel operation, which greatly reduces the test cost. , improving the automation and testing efficiency of terminal testing.

参见图7,是本发明实施例提供的一种用于测试待测终端的装置的结构示意图,可以应用于待测终端,比如手机等,其中,待测终端与测试设备具有相同的波特率,该装置包括:Referring to Figure 7, it is a schematic structural diagram of a device for testing a terminal under test provided by an embodiment of the present invention, which can be applied to a terminal under test, such as a mobile phone, etc., wherein the terminal under test and the test device have the same baud rate , the device consists of:

第二建立模块71,用于在待测终端与测试设备之间建立连接;详细内容参见上述实施例中的步骤S51。The second establishment module 71 is configured to establish a connection between the terminal under test and the test equipment; for details, refer to step S51 in the above-mentioned embodiment.

第二发送模块72,用于向测试设备发送控制指令;详细内容参见上述实施例中的步骤S52。The second sending module 72 is configured to send a control instruction to the test equipment; for details, refer to step S52 in the above embodiment.

第二获取模块73,用于在测试设备执行控制指令的过程中,获取测试样本;详细内容参见上述实施例中的步骤S53。The second acquiring module 73 is configured to acquire a test sample during the process of the testing device executing the control instruction; for details, refer to step S53 in the above-mentioned embodiment.

第二确定模块74,用于根据测试样本和测试样本对应的预设标准确定待测终端的测试结果。详细内容参见上述实施例中的步骤S54。The second determination module 74 is configured to determine the test result of the terminal to be tested according to the test sample and the preset standard corresponding to the test sample. For details, refer to step S54 in the above embodiment.

可选地,本发明一些实施例中,测试样本为重力感样本,控制指令包括移动待测终端,获取测试样本包括:采集待测终端的重力感数据;将重力感数据作为重力感样本。详细内容参见上述实施例中的相关详细描述。Optionally, in some embodiments of the present invention, the test sample is a gravity sense sample, the control instruction includes moving the terminal to be tested, and obtaining the test sample includes: collecting gravity sense data of the terminal to be tested; using the gravity sense data as the gravity sense sample. For details, refer to the relevant detailed descriptions in the foregoing embodiments.

上述用于测试待测终端的装置,待测终端与测试设备鉴权通过后,在待测终端和测试设备之间建立通信连接,通过待测终端向测试设备发送控制指令,以控制测试设备执行相关测试操作,具体地,待测终端与测试设备进行预先约定,一旦测试设备开始执行控制指令对应的操作,待测终端即可开始测试样本的获取,即在测试设备准备条件的过程中,待测终端可以一直获取相关的多个测试样本,最后待测终端根据获取到的多个测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过待测终端控制测试设备,无需人员操作,大大降低了测试成本,提高了待测终端测试过程的自动化和测试效率。In the above device for testing the terminal to be tested, after the terminal to be tested and the test equipment are authenticated, a communication connection is established between the terminal to be tested and the test equipment, and a control command is sent to the test equipment through the terminal to be tested to control the execution of the test equipment. Relevant test operations, specifically, the terminal to be tested and the test equipment make a pre-agreement, once the test equipment starts to execute the operation corresponding to the control command, the terminal to be tested can start to obtain the test samples, that is, in the process of preparing the conditions for the test equipment, the to-be-tested The terminal under test can always obtain relevant multiple test samples, and finally the terminal under test determines the final test result according to the multiple test samples obtained and the preset standards corresponding to the test samples, so as to complete the test of the terminal under test, which is different from the existing Compared with technology, not only can at least one PC be discarded, but also the test equipment can be controlled through the terminal to be tested without human operation, which greatly reduces the test cost and improves the automation and test efficiency of the test process of the terminal to be tested.

本发明实施例还提供了一种终端,包括:上述参见图6所示的实施例中任一种用于测试待测终端的装置。An embodiment of the present invention also provides a terminal, including: any one of the above-mentioned devices for testing the terminal to be tested in the embodiments shown in FIG. 6 .

下面以一种智能手机为例说明本发明的一种终端。A terminal of the present invention is described below by taking a smart phone as an example.

如图8所示,相应地,本发明实施例中提供的一种终端,包括:至少一个处理器81、存储器82,图8中以一个处理器为例,处理器81、存储器82通过总线80连接,存储器82存储有可被至少一个处理器81执行的指令,指令被至少一个处理器81执行,以使至少一个处理器执行如下方法:As shown in FIG. 8, correspondingly, a terminal provided in an embodiment of the present invention includes: at least one processor 81 and a memory 82. In FIG. Connected, the memory 82 stores instructions that can be executed by at least one processor 81, and the instructions are executed by at least one processor 81, so that at least one processor performs the following method:

在所述待测终端与所述测试设备之间建立连接;establishing a connection between the terminal under test and the test equipment;

向所述测试设备发送控制指令;sending a control instruction to the test equipment;

在所述测试设备执行完所述控制指令对应的操作后,获取测试样本;Obtain a test sample after the test equipment executes the operation corresponding to the control instruction;

根据所述测试样本和所述测试样本对应的预设标准确定所述待测终端的测试结果。The test result of the terminal under test is determined according to the test sample and the preset standard corresponding to the test sample.

可选的,在本发明的一些实施例中,所述测试样本为图像样本,所述控制指令包括:拍摄背景和/或拍摄距离,所述获取测试样本包括:控制所述待测终端的摄像头拍照获得所述图像样本。Optionally, in some embodiments of the present invention, the test sample is an image sample, the control instruction includes: shooting the background and/or shooting distance, and the obtaining the test sample includes: controlling the camera of the terminal to be tested Take a picture to obtain the image sample.

可选的,在本发明的一些实施例中,所述测试样本为音频样本,所述控制指令包括:开启录音,所述获取测试样本包括:控制所述待测终端播放测试音频文件;接收所述测试设备录制的音频样本。Optionally, in some embodiments of the present invention, the test sample is an audio sample, the control instruction includes: enabling recording, and the obtaining the test sample includes: controlling the terminal to be tested to play a test audio file; receiving the Audio samples recorded by the test equipment described above.

相关说明可以对应参见图2的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。Relevant descriptions can be understood by referring to the relevant descriptions and effects corresponding to the steps in FIG. 2 , and details are not repeated here.

上述实施例提供的待测终端,待测终端与测试设备鉴权通过后,在待测终端和测试设备之间建立通信连接,通过终端向测试设备发送控制指令,以控制测试设备执行相关测试操作,在测试设备执行完控制指令对应的操作后,会将任务完成通知返回给待测终端,然后待测终端即可根据测试需求获取测试样本,最后根据获取到的测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过终端控制测试设备,无需人员操作,大大降低了测试成本,提高了终端测试的自动化和测试效率。For the terminal under test provided in the above embodiments, after the terminal under test and the test equipment pass the authentication, a communication connection is established between the terminal under test and the test equipment, and the terminal sends a control command to the test equipment to control the test equipment to perform relevant test operations , after the test device executes the operation corresponding to the control command, it will return the task completion notification to the terminal under test, and then the terminal under test can obtain the test sample according to the test requirements, and finally according to the obtained test sample and the corresponding test sample The preset standard determines the final test result to complete the test of the terminal to be tested. Compared with the existing technology, not only can at least one PC be discarded, but also the test equipment can be controlled through the terminal without personnel operation, which greatly reduces the test cost. Improve the automation and testing efficiency of terminal testing.

本发明实施例还提供了一种终端,包括:上述参见图7所示的实施例中任一种用于测试待测终端的装置。An embodiment of the present invention also provides a terminal, including: any one of the above-mentioned devices for testing the terminal to be tested in the embodiments shown in FIG. 7 .

下面以一种智能手机为例说明本发明的一种终端。A terminal of the present invention is described below by taking a smart phone as an example.

如图9所示,相应地,本发明实施例中提供的一种终端,包括:至少一个处理器91、存储器92,图9中以一个处理器为例,处理器91、存储器92通过总线90连接,存储器92存储有可被至少一个处理器91执行的指令,指令被至少一个处理器91执行,以使至少一个处理器执行如下方法:As shown in FIG. 9, correspondingly, a terminal provided in an embodiment of the present invention includes: at least one processor 91 and a memory 92. In FIG. Connected, the memory 92 stores instructions that can be executed by at least one processor 91, and the instructions are executed by at least one processor 91, so that at least one processor performs the following method:

在所述待测终端与所述测试设备之间建立连接;establishing a connection between the terminal under test and the test equipment;

向所述测试设备发送控制指令;sending a control instruction to the test equipment;

在所述测试设备执行所述控制指令的过程中,获取测试样本;Obtain a test sample during the process of the test device executing the control instruction;

根据所述测试样本和所述测试样本对应的预设标准确定所述待测终端的测试结果。The test result of the terminal under test is determined according to the test sample and the preset standard corresponding to the test sample.

可选的,在本发明的一些实施例中,所述测试样本为重力感样本,所述控制指令包括移动所述待测终端,所述获取测试样本包括:采集所述待测终端的重力感数据;将所述重力感数据作为所述重力感样本。Optionally, in some embodiments of the present invention, the test sample is a gravity sense sample, the control instruction includes moving the terminal under test, and the obtaining the test sample includes: collecting the gravity sense of the terminal under test Data; use the sense of gravity data as the sense of gravity sample.

相关说明可以对应参见图5的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。Relevant descriptions can be understood by referring to the relevant descriptions and effects corresponding to the steps in FIG. 5 , and details are not repeated here.

上述实施例提供的待测终端,了测试成本,提高了待测终端测试过程的自动化和测试效率。The terminal under test provided by the above embodiment reduces the test cost and improves the automation and test efficiency of the test process of the terminal under test.

待测终端与测试设备鉴权通过后,在待测终端和测试设备之间建立通信连接,通过待测终端向测试设备发送控制指令,以控制测试设备执行相关测试操作,具体地,待测终端与测试设备进行预先约定,一旦测试设备开始执行控制指令对应的操作,待测终端即可开始测试样本的获取,即在测试设备准备条件的过程中,待测终端可以一直获取相关的多个测试样本,最后待测终端根据获取到的多个测试样本以及该测试样本对应的预设标准确定最终的测试结果,以完成对待测终端的测试,与现有技术相比,不仅可以摒弃至少一台PC机,而且通过待测终端控制测试设备,无需人员操作,大大降低了测试成本,提高了待测终端测试过程的自动化和测试效率。After the terminal to be tested and the test equipment are authenticated, a communication connection is established between the terminal to be tested and the test equipment, and a control command is sent to the test equipment through the terminal to be tested to control the test equipment to perform relevant test operations. Specifically, the terminal to be tested Make a pre-agreement with the test equipment. Once the test equipment starts to execute the operation corresponding to the control command, the terminal to be tested can start to obtain the test samples. That is, in the process of preparing the test equipment, the terminal to be tested can always obtain related multiple test samples, and finally the terminal to be tested determines the final test result according to the obtained multiple test samples and the preset standards corresponding to the test samples, so as to complete the test of the terminal to be tested. Compared with the existing technology, not only can at least one PC, and the test equipment is controlled by the terminal to be tested without personnel operation, which greatly reduces the test cost and improves the automation and test efficiency of the test process of the terminal to be tested.

本发明实施例还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述实施例方法中的全部或部分流程。其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;存储介质还可以包括上述种类的存储器的组合。The embodiment of the present invention also provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions can execute all or part of the processes in the methods of the above-mentioned embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive) , abbreviation: HDD) or a solid-state drive (Solid-State Drive, SSD), etc.; the storage medium may also include a combination of the above-mentioned types of memories.

虽然结合附图描述了本发明的实施例,但是本领域技术人员可以在不脱离本发明的精神和范围的情况下作出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall into the scope of the appended claims. within the limited range.

Claims (10)

1.一种用于测试待测终端的方法,其中,所述待测终端与测试设备具有相同的波特率,其特征在于,所述方法包括:1. A method for testing a terminal to be tested, wherein the terminal to be tested has the same baud rate as the test device, wherein the method comprises: 在所述待测终端与所述测试设备之间建立连接;establishing a connection between the terminal under test and the test equipment; 向所述测试设备发送控制指令;sending a control instruction to the test equipment; 在所述测试设备执行所述控制指令的过程中和/或在所述测试设备执行完所述控制指令对应的操作后,获取测试样本;Obtain a test sample during the process of the test equipment executing the control instruction and/or after the test equipment executes the operation corresponding to the control instruction; 根据所述测试样本和所述测试样本对应的预设标准确定所述待测终端的测试结果。The test result of the terminal under test is determined according to the test sample and the preset standard corresponding to the test sample. 2.根据权利要求1所述的用于测试待测终端的方法,其特征在于,所述测试样本为图像样本,所述控制指令包括:拍摄背景和/或拍摄距离,所述获取测试样本包括:2. The method for testing a terminal under test according to claim 1, wherein the test sample is an image sample, and the control instruction includes: shooting the background and/or shooting distance, and the obtaining the test sample includes : 控制所述待测终端的摄像头拍照获得所述图像样本。Controlling the camera of the terminal under test to take pictures to obtain the image samples. 3.根据权利要求1所述的用于测试待测终端的方法,其特征在于,所述测试样本为音频样本,所述控制指令包括:开启录音,所述获取测试样本包括:3. The method for testing a terminal to be tested according to claim 1, wherein the test sample is an audio sample, the control instruction includes: enabling recording, and the obtaining the test sample includes: 控制所述待测终端播放测试音频文件;controlling the terminal to be tested to play a test audio file; 接收所述测试设备录制的音频样本。An audio sample recorded by the test device is received. 4.根据权利要求1所述的用于测试待测终端的方法,其特征在于,所述测试样本为重力感样本,所述控制指令包括移动所述待测终端,所述获取测试样本包括:4. The method for testing the terminal under test according to claim 1, wherein the test sample is a gravity sense sample, the control instruction includes moving the terminal under test, and the obtaining the test sample includes: 采集所述待测终端的重力感数据;collecting gravity sense data of the terminal to be tested; 将所述重力感数据作为所述重力感样本。The sense of gravity data is used as the sense of gravity sample. 5.一种用于测试待测终端的装置,其中,所述待测终端与测试设备具有相同的波特率,其特征在于,所述装置包括:5. A device for testing a terminal to be tested, wherein the terminal to be tested has the same baud rate as the test equipment, characterized in that the device comprises: 第一建立模块,用于在所述待测终端与所述测试设备之间建立连接;a first establishing module, configured to establish a connection between the terminal under test and the test equipment; 第一发送模块,用于向所述测试设备发送控制指令;a first sending module, configured to send a control instruction to the test equipment; 第一获取模块,用于在所述测试设备执行所述控制指令的过程中和/或在所述测试设备执行完所述控制指令对应的操作后,获取测试样本;A first acquiring module, configured to acquire a test sample during the process of the test equipment executing the control instruction and/or after the test equipment executes the operation corresponding to the control instruction; 第一确定模块,用于根据所述测试样本和所述测试样本对应的预设标准确定所述待测终端的测试结果。The first determining module is configured to determine the test result of the terminal under test according to the test sample and the preset standard corresponding to the test sample. 6.根据权利要求5所述的用于测试待测终端的装置,其特征在于,所述测试样本为图像样本,所述控制指令包括:拍摄背景和/或拍摄距离,所述获取测试样本包括:6. The device for testing the terminal under test according to claim 5, wherein the test sample is an image sample, the control instruction includes: shooting the background and/or shooting distance, and the obtaining the test sample includes : 控制所述待测终端的摄像头拍照获得所述图像样本。Controlling the camera of the terminal under test to take pictures to obtain the image samples. 7.根据权利要求5所述的用于测试待测终端的装置,其特征在于,所述测试样本为音频样本,所述控制指令包括:开启录音,所述获取测试样本包括:7. The device for testing the terminal under test according to claim 5, wherein the test sample is an audio sample, the control instruction includes: enabling recording, and the obtaining the test sample includes: 控制所述待测终端播放测试音频文件;controlling the terminal to be tested to play a test audio file; 接收所述测试设备录制的音频样本。An audio sample recorded by the test device is received. 8.根据权利要求5所述的用于测试待测终端的装置,其特征在于,所述测试样本为重力感样本,所述控制指令包括移动所述待测终端,所述获取测试样本包括:8. The device for testing the terminal under test according to claim 5, wherein the test sample is a gravity sense sample, the control instruction includes moving the terminal under test, and the obtaining the test sample includes: 采集所述待测终端的重力感数据;collecting gravity sense data of the terminal to be tested; 将所述重力感数据作为所述重力感样本。The sense of gravity data is used as the sense of gravity sample. 9.一种待测终端,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1至4中任一项所述的用于测试待测终端的方法。9. A terminal to be tested, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor implements any of claims 1 to 4 when executing the program. A method for testing a terminal to be tested. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至4中任一项所述的用于测试待测终端的方法。10. A computer-readable storage medium, on which a computer program is stored, wherein when the program is executed by a processor, the method for testing a terminal to be tested according to any one of claims 1 to 4 is implemented.
CN201710661655.7A 2017-08-04 2017-08-04 Method, device, terminal and storage medium for testing terminal under test Active CN107631750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710661655.7A CN107631750B (en) 2017-08-04 2017-08-04 Method, device, terminal and storage medium for testing terminal under test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710661655.7A CN107631750B (en) 2017-08-04 2017-08-04 Method, device, terminal and storage medium for testing terminal under test

Publications (2)

Publication Number Publication Date
CN107631750A true CN107631750A (en) 2018-01-26
CN107631750B CN107631750B (en) 2021-05-18

Family

ID=61099154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710661655.7A Active CN107631750B (en) 2017-08-04 2017-08-04 Method, device, terminal and storage medium for testing terminal under test

Country Status (1)

Country Link
CN (1) CN107631750B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683465A (en) * 2018-05-16 2018-10-19 深圳市广和通无线通信软件有限公司 Signaling testing method, device, computer equipment and storage medium
CN112019988A (en) * 2020-07-28 2020-12-01 广州亚美智造科技有限公司 Method and device for testing audio equipment, test fixture, equipment and storage medium
CN112468641A (en) * 2020-10-26 2021-03-09 百果园技术(新加坡)有限公司 Program testing method, device, terminal and storage medium
CN113726604A (en) * 2021-08-27 2021-11-30 四川九洲电器集团有限责任公司 Antenna interface unit testing method, device, terminal and readable storage medium
CN114006844A (en) * 2021-09-30 2022-02-01 武汉通力路达科技有限公司 WIFI throughput testing method, WIFI throughput testing device and computer-readable storage medium
CN115436041A (en) * 2022-08-30 2022-12-06 歌尔科技有限公司 Automated testing method, equipment and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030060364A (en) * 2002-01-08 2003-07-16 김영호 Inspection System of Mobile Phone Bar Code and Identity Number
CN1522086A (en) * 2003-02-12 2004-08-18 华冠通讯股份有限公司 Automatic testing system and method for mobile phone functions
CN101063641A (en) * 2006-04-28 2007-10-31 孙盈军 Method for testing digital products and special equipment thereof
CN101568042A (en) * 2008-04-21 2009-10-28 鸿富锦精密工业(深圳)有限公司 Mobile phone keyboard lamp testing system and mobile phone keyboard lamp testing method
CN101577922A (en) * 2008-05-06 2009-11-11 鸿富锦精密工业(深圳)有限公司 Device and method for testing sound system of mobile phone sound
TW201018191A (en) * 2008-10-17 2010-05-01 Chi Mei Comm Systems Inc System and method for testing shaking function of a mobile phone
CN102271177A (en) * 2011-07-18 2011-12-07 惠州Tcl移动通信有限公司 Method and system for calibrating proximity sensor of mobile phone
US20110301870A1 (en) * 2010-06-04 2011-12-08 Apple Inc. Vibrator motor speed determination in a mobile communications device
CN203151602U (en) * 2012-12-26 2013-08-21 天津三星通信技术研究有限公司 Portable Mobile Phone Test System
CN103607492A (en) * 2013-08-26 2014-02-26 上海斐讯数据通信技术有限公司 Test system and test method for functions of mobile phone mainboard
CN104135553A (en) * 2014-08-01 2014-11-05 南京声准科技有限公司 Method and device for audio test by automatically pressing communication terminal
CN104243651A (en) * 2014-09-25 2014-12-24 声科科技(南京)有限公司 Automatic self-test method and device of communication terminals
CN104608120A (en) * 2015-02-05 2015-05-13 天津市康凯特软件科技有限公司 Manipulator device for automatic testing of mobile phone and use method
CN105790859A (en) * 2016-02-29 2016-07-20 华为技术有限公司 Method and apparatus for testing electronic device
CN106506762A (en) * 2016-09-23 2017-03-15 惠州Tcl移动通信有限公司 Test equipment

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030060364A (en) * 2002-01-08 2003-07-16 김영호 Inspection System of Mobile Phone Bar Code and Identity Number
CN1522086A (en) * 2003-02-12 2004-08-18 华冠通讯股份有限公司 Automatic testing system and method for mobile phone functions
CN101063641A (en) * 2006-04-28 2007-10-31 孙盈军 Method for testing digital products and special equipment thereof
CN101568042A (en) * 2008-04-21 2009-10-28 鸿富锦精密工业(深圳)有限公司 Mobile phone keyboard lamp testing system and mobile phone keyboard lamp testing method
CN101577922A (en) * 2008-05-06 2009-11-11 鸿富锦精密工业(深圳)有限公司 Device and method for testing sound system of mobile phone sound
TW201018191A (en) * 2008-10-17 2010-05-01 Chi Mei Comm Systems Inc System and method for testing shaking function of a mobile phone
US20110301870A1 (en) * 2010-06-04 2011-12-08 Apple Inc. Vibrator motor speed determination in a mobile communications device
CN102271177A (en) * 2011-07-18 2011-12-07 惠州Tcl移动通信有限公司 Method and system for calibrating proximity sensor of mobile phone
CN203151602U (en) * 2012-12-26 2013-08-21 天津三星通信技术研究有限公司 Portable Mobile Phone Test System
CN103607492A (en) * 2013-08-26 2014-02-26 上海斐讯数据通信技术有限公司 Test system and test method for functions of mobile phone mainboard
CN104135553A (en) * 2014-08-01 2014-11-05 南京声准科技有限公司 Method and device for audio test by automatically pressing communication terminal
CN104243651A (en) * 2014-09-25 2014-12-24 声科科技(南京)有限公司 Automatic self-test method and device of communication terminals
CN104608120A (en) * 2015-02-05 2015-05-13 天津市康凯特软件科技有限公司 Manipulator device for automatic testing of mobile phone and use method
CN105790859A (en) * 2016-02-29 2016-07-20 华为技术有限公司 Method and apparatus for testing electronic device
CN106506762A (en) * 2016-09-23 2017-03-15 惠州Tcl移动通信有限公司 Test equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PESKO, M等: "Smartphone with Augmented Gateway Functionality as Opportunistic WSN Gateway Device", 《WIRELESS PERSONAL COMMUNICATIONS》 *
宁娟等: "基于ARM9设计低压电力载波测试终端的研究", 《广东通信科技》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683465A (en) * 2018-05-16 2018-10-19 深圳市广和通无线通信软件有限公司 Signaling testing method, device, computer equipment and storage medium
CN108683465B (en) * 2018-05-16 2021-08-17 深圳市广和通无线通信软件有限公司 Signaling test method and device, computer equipment and storage medium
CN112019988A (en) * 2020-07-28 2020-12-01 广州亚美智造科技有限公司 Method and device for testing audio equipment, test fixture, equipment and storage medium
CN112468641A (en) * 2020-10-26 2021-03-09 百果园技术(新加坡)有限公司 Program testing method, device, terminal and storage medium
CN112468641B (en) * 2020-10-26 2023-04-21 百果园技术(新加坡)有限公司 Program testing method, device, terminal and storage medium
CN113726604A (en) * 2021-08-27 2021-11-30 四川九洲电器集团有限责任公司 Antenna interface unit testing method, device, terminal and readable storage medium
CN114006844A (en) * 2021-09-30 2022-02-01 武汉通力路达科技有限公司 WIFI throughput testing method, WIFI throughput testing device and computer-readable storage medium
CN114006844B (en) * 2021-09-30 2024-01-12 武汉通力路达科技有限公司 WIFI throughput test method, WIFI throughput test device and computer readable storage medium
CN115436041A (en) * 2022-08-30 2022-12-06 歌尔科技有限公司 Automated testing method, equipment and storage medium

Also Published As

Publication number Publication date
CN107631750B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN107631750A (en) For testing the method, apparatus, terminal and storage medium of terminal to be measured
CN103488939B (en) Method, device and terminal for prompting user
CN111982911A (en) Method and device for detecting defects of circuit board, terminal equipment and storage medium
CN111177013A (en) Log data acquisition method and device, computer equipment and storage medium
CN113280265B (en) Working condition identification method and device, computer equipment and storage medium
EP3116165A1 (en) Method and device for testing a terminal
WO2019165938A1 (en) Image collection method and apparatus, mobile terminal and storage medium
CN107124555A (en) Method, device, computer equipment and computer-readable storage medium for controlling focusing
CN111858382A (en) Application testing method, device, server, system and storage medium
CN111752817A (en) Method, device, device and storage medium for determining page loading time
CN113064823A (en) Method and device for testing functions of automobile parts and computer storage medium
CN105915815A (en) Method and device for shooting based on mobile device, and mobile device
CN111338933A (en) Buried point verification method, device, equipment and storage medium
CN109040729B (en) Image white balance correction method and device, storage medium and terminal
CN114594751A (en) Vehicle function testing method, device, equipment and computer readable storage medium
CN112052167A (en) Method and apparatus for generating test script code
CN111343326A (en) Method and related device for acquiring test log
CN114490228B (en) A bluetooth automatic test method and related device
CN111189836A (en) Product defect detection method based on Labview
CN203968198U (en) Cell-phone function testing apparatus
CN107907546A (en) A kind of defects of vision detection method and system based on intelligent mobile terminal
CN113438127A (en) Electric vehicle direct current charging communication intelligent test method, device, terminal and storage medium
CN104601984B (en) White balance method of testing and device
CN106341436B (en) Method and device for detecting acceleration effect
CN114706741A (en) Performance test method, performance test device, computer equipment and 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
TR01 Transfer of patent right

Effective date of registration: 20250520

Address after: 100032Beijing City, Xicheng District, No. 136 Xiwai Street, 2nd Floor, Room 1-14-232b

Patentee after: Beijing Jiuchang Shenzhou Technology Co.,Ltd.

Country or region after: China

Address before: 518057 No. 2 Mengxi Road, North District, Nanshan Science Park, Shenzhen City, Guangdong Province

Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right