CN103607492A - Test system and test method for functions of mobile phone mainboard - Google Patents
Test system and test method for functions of mobile phone mainboard Download PDFInfo
- Publication number
- CN103607492A CN103607492A CN201310377213.1A CN201310377213A CN103607492A CN 103607492 A CN103607492 A CN 103607492A CN 201310377213 A CN201310377213 A CN 201310377213A CN 103607492 A CN103607492 A CN 103607492A
- Authority
- CN
- China
- Prior art keywords
- test
- control end
- mainboard
- cell phone
- phone mainboard
- 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
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
本发明公开了一种对手机主板功能的测试系统及测试方法,属于测试系统和方法,包括控制端、程控电源以及测试夹具组件;程控电源用于对测试夹具组件供电;控制端分别与程控电源以及测试夹具组件连接;测试夹具组件包括用于放置手机主板并将手机主板与测试系统中相应位置连接的主板固定单元;控制端与主板固定单元与连接;控制端用于向测试夹具组件的相应连接位置发出控制指令,并根据接收到的待测手机主板的输出进行手机主板功能评测。本发明的有益效果是:实现了手机主板的多项功能自动化测试,测试系统开发周期短,实用性高,成本低,降低了人力成本,缩短了测试时间,提高了测试效率。
The invention discloses a test system and a test method for the function of the main board of a mobile phone, belonging to the test system and method, including a control terminal, a program-controlled power supply and a test fixture component; the program-controlled power supply is used to supply power to the test fixture component; And the connection of the test fixture assembly; the test fixture assembly includes a mainboard fixing unit for placing the mobile phone mainboard and connecting the mobile phone mainboard with the corresponding position in the test system; the control terminal is connected with the mainboard fixing unit; The connection position issues a control command, and performs functional evaluation of the mobile phone main board according to the received output of the mobile phone main board to be tested. The beneficial effects of the invention are: automatic testing of multiple functions of the main board of the mobile phone is realized, the test system development period is short, the practicability is high, the cost is low, the labor cost is reduced, the test time is shortened, and the test efficiency is improved.
Description
技术领域technical field
本发明涉及一种测试系统和方法,尤其涉及一种对手机主板功能的测试系统及测试方法。The invention relates to a testing system and method, in particular to a testing system and testing method for the function of the mainboard of a mobile phone.
背景技术Background technique
如今,手机已经在生活中普及,成为人们工作生活中不可或缺的工具。如何保证手机质量是手机研发和生产过程中必须考虑的一个重要问题。而手机主板作为手机中的核心部件,关系着手机整机的性能和质量。因此,对手机主板,需要进行全面的功能测试,以保证手机整机的品质。Nowadays, mobile phones have become popular in life and become an indispensable tool in people's work and life. How to ensure the quality of mobile phones is an important issue that must be considered in the process of mobile phone research and development and production. As the core component of the mobile phone, the mobile phone motherboard is related to the performance and quality of the mobile phone. Therefore, a comprehensive functional test is required for the main board of the mobile phone to ensure the quality of the whole mobile phone.
手机主板测试项很多。现有的对手机主板的测试,需要通过人工的方式进行测试,而一个作业员在同一时间只能测试一块手机主板,因此会导致测试效率低,周期长。而且在测试过程中还容易产生误测。另一方面,现有的对手机主板功能的测试方法,一般是通过测试系统模拟手机主板各功能模块的时序来对信号进行采集判断,这种方法的缺点是,使得测试系统的硬件结构变得复杂,开发周期长。所以,这样的测试工具往往价格昂贵,且通用性不高。There are many test items for mobile phone motherboards. Existing tests for mobile phone main boards need to be tested manually, and one operator can only test one mobile phone main board at a time, which leads to low test efficiency and long testing period. And it is also easy to produce false positives in the testing process. On the other hand, the existing methods for testing the functions of the mainboard of the mobile phone generally collect and judge the signals by simulating the timing of each functional module of the mainboard of the mobile phone through the test system. The disadvantage of this method is that the hardware structure of the test system becomes Complex and long development cycle. Therefore, such testing tools are often expensive and have low versatility.
发明内容Contents of the invention
针对以上所述的技术问题,本发明公开了一种对手机主板功能的测试系统及测试方法,以对手机主板功能进行自动化测试,减少手机主板功能测试中的人力成本,并提高测试效率。Aiming at the above-mentioned technical problems, the present invention discloses a testing system and testing method for the function of the mainboard of the mobile phone, so as to automatically test the function of the mainboard of the mobile phone, reduce the labor cost in the functional testing of the mainboard of the mobile phone, and improve the testing efficiency.
具体技术方案如下所示:The specific technical scheme is as follows:
一种对手机主板功能的测试系统,其中,所述测试系统包括控制端、程控电源以及测试夹具组件;所述程控电源用于对所述测试夹具组件供电;所述控制端分别与所述程控电源以及所述测试夹具组件连接;A kind of test system to mobile phone motherboard function, wherein, described test system comprises control end, program-controlled power supply and test fixture assembly; Described program-controlled power supply is used for described test fixture assembly power supply; power supply and said test fixture assembly connection;
所述测试夹具组件包括用于放置所述手机主板并将所述手机主板与所述测试系统中相应位置连接的主板固定单元;所述控制端与所述主板固定单元与连接;The test fixture assembly includes a main board fixing unit for placing the mobile phone main board and connecting the mobile phone main board with a corresponding position in the test system; the control terminal is connected with the main board fixing unit;
所述控制端用于向所述测试夹具组件的相应连接位置发出控制指令,并根据接收到的所述待测手机主板的输出进行手机主板功能评测。The control terminal is used to send a control instruction to the corresponding connection position of the test fixture assembly, and perform functional evaluation of the mainboard of the mobile phone according to the received output of the mainboard of the mobile phone to be tested.
优选的,所述测试夹具组件还包括单片机控制单元和第一辅助测试单元;所述单片机控制单元分别与所述控制端以及所述第一辅助测试单元连接;Preferably, the test fixture assembly further includes a single-chip control unit and a first auxiliary test unit; the single-chip control unit is respectively connected to the control terminal and the first auxiliary test unit;
所述单片机控制单元用于解析由所述控制端发出的控制指令,从而通过所述第一辅助测试单元使所述主板固定单元上的待测手机主板产生相应输出;所述主板固定单元将所述待测手机主板的输出返回所述控制端。The single-chip microcomputer control unit is used to analyze the control command sent by the control terminal, so that the main board of the mobile phone to be tested on the fixed unit of the main board is produced by the first auxiliary test unit to generate a corresponding output; the fixed unit of the main board generates the corresponding output The output of the mainboard of the mobile phone to be tested is returned to the control terminal.
优选的,所述控制端与所述程控电源通过GPIB卡连接;所述GPIB卡用于向所述控制端发送所述程控电源的电压和电流信息。Preferably, the control terminal is connected to the programmable power supply through a GPIB card; the GPIB card is used to send the voltage and current information of the programmable power supply to the control terminal.
优选的,所述第一辅助测试单元包括多个电磁阀和由所述电磁阀控制的执行机构;所述单片机控制单元与所述电磁阀连接,并通过所述电磁阀使所述执行机构对所述主板固定单元中的待测手机主板产生相应动作。Preferably, the first auxiliary test unit includes a plurality of solenoid valves and actuators controlled by the solenoid valves; the single-chip microcomputer control unit is connected to the solenoid valves, and the actuators are controlled by the solenoid valves The main board of the mobile phone to be tested in the main board fixing unit produces corresponding actions.
优选的,所述测试夹具组件还包括第二辅助测试单元;所述第二辅助测试单元包括摄像头和与所述摄像头相对设置的色板;Preferably, the test fixture assembly also includes a second auxiliary test unit; the second auxiliary test unit includes a camera and a color plate opposite to the camera;
所述摄像头通过所述主板固定单元与所述待测手机主板连接;The camera is connected with the main board of the mobile phone under test through the main board fixing unit;
所述待测手机主板根据由所述控制端发出的控制指令控制所述摄像头对所述色板进行图像采集,并将所述图像采集信息返回所述控制端。The motherboard of the mobile phone to be tested controls the camera to collect images of the color palette according to the control command sent by the control terminal, and returns the image collection information to the control terminal.
优选的,所述第二辅助测试单元还包括发声装置以及声音采集装置;所述发声装置与所述单片机控制单元连接;所述声音采集装置与所述控制端连接;Preferably, the second auxiliary test unit further includes a sounding device and a sound collection device; the sounding device is connected to the single-chip control unit; the sound collection device is connected to the control terminal;
所述控制端通过所述单片机控制单元控制所述发声装置发出声音;The control terminal controls the sound generating device to emit sound through the single-chip microcomputer control unit;
所述待测主板接收所述控制端的控制指令,通过自带的录音装置对所述发声装置发出的声音进行录音,并通过自带的扬声器播放录音;所述声音测试单元通过所述声音采集装置采集所述录音,并将所述录音的信号传送到所述控制端。The main board to be tested receives the control command from the control terminal, records the sound from the sound generating device through the built-in recording device, and plays the recording through the built-in speaker; the sound test unit passes through the sound collection device The recording is collected, and the signal of the recording is transmitted to the control terminal.
优选的,所述第二辅助测试单元还包括显示屏和图像测试装置;所述显示屏通过所述主板固定单元与所述待测手机主板连接,所述图像测试装置与所述控制端连接;Preferably, the second auxiliary testing unit further includes a display screen and an image testing device; the display screen is connected to the main board of the mobile phone under test through the main board fixing unit, and the image testing device is connected to the control terminal;
所述待测主板接收所述控制端的控制指令,通过所述显示屏进行图像显示;The motherboard to be tested receives a control command from the control terminal, and displays an image through the display screen;
所述图像测试装置接收所述控制端的控制指令,对所述主板固定单元连接的显示屏进行图像采集,并将所述图像的图像信息返回所述控制端;The image testing device receives a control command from the control terminal, collects an image of the display screen connected to the mainboard fixing unit, and returns the image information of the image to the control terminal;
所述控制端中存储有一标准图像;所述控制端通过比较所述标准图像与经过所述图像测试单元采集的图像,对所述待测手机主板进行检测。A standard image is stored in the control terminal; the control terminal detects the motherboard of the mobile phone to be tested by comparing the standard image with the image collected by the image testing unit.
优选的,所述执行机构包括触摸屏点击执行机构和/或按键点击执行机构和/或耳机插入执行机构和/或光距感推进执行机构。Preferably, the actuator includes a touch screen click actuator and/or a button click actuator and/or an earphone insertion actuator and/or an optical distance sensing push actuator.
优选的,所述第二辅助测试单元还包括用于屏蔽外部噪声的声音屏蔽装置;Preferably, the second auxiliary test unit further includes a sound shielding device for shielding external noise;
所述发声装置于所述声音屏蔽装置内发出声音;所述待测手机主板于所述声音屏蔽装置内进行录音以及播放录音。The sound generating device emits sound in the sound shielding device; the main board of the mobile phone to be tested records and plays the recording in the sound shielding device.
优选的,所述第二辅助测试单元还包括光距感应传感器,所述光距感应传感器通过所述主板固定单元与所述待测手机主板连接;Preferably, the second auxiliary test unit further includes an optical distance sensing sensor, and the optical distance sensing sensor is connected to the main board of the mobile phone under test through the main board fixing unit;
所述待测手机主板根据所述控制端的控制指令开启所述光距感应传感器;The main board of the mobile phone to be tested turns on the optical distance sensing sensor according to the control command of the control terminal;
所述单片机控制单元根据所述控制端的控制指令,控制所述电磁阀,使相应的所述光距感推进执行机构动作,并为所述光距感应传感器所感应。The single-chip microcomputer control unit controls the solenoid valve according to the control command of the control terminal, so that the corresponding optical distance sensing propulsion actuator acts and is sensed by the optical distance sensing sensor.
一种对手机主板功能的测试方法,其中,通过上述的对手机主板功能的测试系统实施所述测试方法,所述测试方法具体包括如下步骤:A kind of test method to mobile phone main board function, wherein, implement described test method by above-mentioned test system to mobile phone main board function, described test method specifically comprises the steps:
步骤1.预制所述标准图像,并将所述标准图像的图像信息存储于所述控制端的存储模块;Step 1. Prefabricate the standard image, and store the image information of the standard image in the storage module of the control terminal;
步骤2.所述待测主板接收所述控制端的控制指令,通过所述显示屏进行图像显示;Step 2. The main board to be tested receives a control instruction from the control terminal, and displays an image through the display screen;
步骤3.所述图像测试装置接收所述控制端的控制指令,对所述待测主板连接的显示屏进行图像采集,并将由所述待测主板显示的图像信息返回所述控制端;Step 3. The image testing device receives the control command from the control terminal, performs image acquisition on the display screen connected to the mainboard to be tested, and returns the image information displayed by the mainboard to be tested to the control terminal;
步骤4.所述控制端通过比较所述标准图像的图像信息与由所述待测主板显示的图像信息,对所述待测手机主板进行检测。Step 4. The control terminal detects the motherboard of the mobile phone to be tested by comparing the image information of the standard image with the image information displayed by the motherboard to be tested.
优选的,所述步骤1还包括如下步骤:Preferably, said step 1 also includes the following steps:
步骤11.一标准主板接收所述控制端的控制指令,通过所述显示屏进行图像显示;Step 11. A standard main board receives the control command of the control terminal, and performs image display through the display screen;
步骤12.所述图像测试装置接收所述控制端的控制指令,对所述标准主板连接的显示屏进行图像采集,并将由所述标准主板显示的图像信息返回所述控制端;Step 12. The image testing device receives the control command from the control terminal, performs image acquisition on the display screen connected to the standard mainboard, and returns the image information displayed by the standard mainboard to the control terminal;
步骤13.所述控制端将所述标准主板显示的图像信息存储于所述控制端的存储模块,形成标准图像的图像信息;Step 13. The control terminal stores the image information displayed on the standard motherboard in the storage module of the control terminal to form image information of a standard image;
步骤14.所述控制端按照预设设置向所述标准主板发出多次进行图像显示的控制指令,重复执行所述步骤11至步骤13,直至完成所述预设次数。Step 14. The control terminal sends multiple times of image display control commands to the standard motherboard according to preset settings, and repeats steps 11 to 13 until the preset times are completed.
优选的,所述步骤4还包括如下步骤:Preferably, said step 4 also includes the following steps:
步骤41.所述控制端分别比较由所述测试主板显示的图像信息与所述标准图像的图像信息在各像素点的颜色分量;当对应的像素点颜色分量的数据差别在预设范围内,则所述控制端判定所述像素点相似,如果超出所述预设范围,则判定不相似;Step 41. The control terminal compares the color components of the image information displayed by the test main board with the image information of the standard image at each pixel point; when the data difference of the color component of the corresponding pixel point is within a preset range, Then the control terminal judges that the pixels are similar, and if it exceeds the preset range, it judges that they are not similar;
步骤42.当由所述测试主板显示的图像信息与所述标准图像所有像素点相似的百分比大于预设阈值,则所述控制端判定所述待测主板的显示图像与所述标准图像相似并判定测试通过,否则判定不相似;Step 42. When the ratio of the image information displayed by the test main board to all pixels of the standard image is greater than a preset threshold, the control terminal determines that the display image of the main board to be tested is similar to the standard image and The judgment test is passed, otherwise the judgment is not similar;
步骤43.当由所述测试主板显示的图像信息与所述标准图像不相似,所述控制端将所述测试主板显示的图像信息与所述控制端存储模块中其他标准图像的图像信息按照步骤41进行对比;Step 43. When the image information displayed by the test main board is not similar to the standard image, the control terminal compares the image information displayed by the test main board with the image information of other standard images in the storage module of the control terminal according to the steps 41 for comparison;
步骤44.当所述测试主板显示的图像信息与所述控制端存储模块中其他的标准图像信息均不相似,则所述控制端判定测试失败;否则测试通过。Step 44. When the image information displayed on the test mainboard is not similar to other standard image information in the storage module of the control terminal, the control terminal determines that the test fails; otherwise, the test passes.
本发明的有益效果是:The beneficial effects of the present invention are:
本发明实现了手机主板的多项功能自动化测试,测试系统开发周期短,实用性高,成本低,同时在测试过程中,降低了人力成本,缩短了测试时间,提高了测试效率,而由于所有测试项的判断都由电脑完成,所以测试结果可靠,误测率低。The invention realizes automatic testing of multiple functions of the main board of the mobile phone. The test system has short development cycle, high practicability, and low cost. The judgment of the test items is completed by the computer, so the test results are reliable and the false detection rate is low.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为本发明一种对手机主板功能的测试系统的实施例的结构示意图;Fig. 1 is a kind of structural representation of the embodiment of the testing system of mobile phone motherboard function of the present invention;
图2为本发明一种对手机主板功能的测试系统的实施例的测试夹具组件结构示意图;Fig. 2 is a kind of test fixture assembly structure schematic diagram of the embodiment of the test system of mobile phone motherboard function of the present invention;
图3为本发明一种对手机主板功能的测试方法的实施例的流程示意图。FIG. 3 is a schematic flow chart of an embodiment of a method for testing the functions of the mainboard of a mobile phone according to the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施例对本发明作进一步说明,但不作为本发明的限定。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.
本发明的一种实施例中,公开了一种对手机主板功能的测试系统。如图1所示,测试系统包括包括控制端1、程控电源2以及测试夹具组件3。在测试夹具组件3中,进一步的,还包括主板固定单元4、单片机控制单元5、第一辅助测试单元6以及第二辅助测试单元7。In one embodiment of the present invention, a test system for the function of the main board of the mobile phone is disclosed. As shown in FIG. 1 , the test system includes a control terminal 1 , a programmable power supply 2 and a test fixture assembly 3 . The test fixture assembly 3 further includes a motherboard fixing unit 4 , a single-chip microcomputer control unit 5 , a first auxiliary test unit 6 and a second auxiliary test unit 7 .
主板固定单元4用于放置手机主板并将手机主板与测试系统中相应位置相互连接。控制端1分别与程控电源2以及测试夹具组件3中的相应部分连接。具体来说,控制端1通过主板固定单元4与待测手机的主板连接,从而实现对待测手机主板的指令发送以及接收待测手机主板的相应输出。控制端1还和单片机控制单元5连接,以向单片机控制单元5发送控制指令。单片机控制单元5与第一辅助测试单元6连接,单片机控制单元5用于解析由控制端1发出的控制指令,在解析控制端1发送的控制指令后,通过第一辅助测试单元6使主板固定单元4上的待测手机主板产生相应输出。控制端1以及主板固定单元4和第二辅助测试单元7中的相应部分连接,实现对手机主板功能的测试。The main board fixing unit 4 is used for placing the main board of the mobile phone and connecting the main board of the mobile phone with the corresponding position in the test system. The control terminal 1 is respectively connected with the corresponding parts in the programmable power supply 2 and the test fixture assembly 3 . Specifically, the control terminal 1 is connected to the main board of the mobile phone to be tested through the main board fixing unit 4, so as to realize sending instructions from the main board of the mobile phone to be tested and receiving corresponding outputs from the main board of the mobile phone to be tested. The control terminal 1 is also connected to the single-chip control unit 5 to send control instructions to the single-chip control unit 5 . The single-chip microcomputer control unit 5 is connected with the first auxiliary test unit 6, and the single-chip microcomputer control unit 5 is used for analyzing the control command sent by the control terminal 1. After analyzing the control command sent by the control terminal 1, the main board is fixed by the first auxiliary test unit 6. The main board of the mobile phone to be tested on unit 4 generates a corresponding output. The control terminal 1 and the main board fixing unit 4 are connected with corresponding parts in the second auxiliary test unit 7 to realize the function test of the main board of the mobile phone.
程控电源2用于对测试夹具组件3供电。在一种具体实施方式中,控制端1与程控电源2通过GPIB卡9连接。GPIB卡9可用于向控制端1发送程控电源2的电压和电流信息。主板固定单元4与控制端1连接。控制端1用于向测试夹具组件3的相应连接位置发出控制指令,并根据接收到的待测手机主板的输出进行手机主板功能评测。The programmable power supply 2 is used to supply power to the test fixture assembly 3 . In a specific implementation manner, the control terminal 1 is connected to the programmable power supply 2 through a GPIB card 9 . The GPIB card 9 can be used to send the voltage and current information of the programmable power supply 2 to the control terminal 1 . The motherboard fixing unit 4 is connected to the control terminal 1 . The control terminal 1 is used to send a control command to the corresponding connection position of the test fixture assembly 3, and perform functional evaluation of the mainboard of the mobile phone according to the received output of the mainboard of the mobile phone to be tested.
在一种具体实施方式中,可以选用双通道的程控电源2,通过第一通道向主板固定单元4输出待测手机主板所需的工作电压,同时通过其第二通道向单片机控制单元输出其所需要的工作电压。同时,通过双通道程控电源2的通道2为单片机控制单元5输出所需5伏直流电压;单片机控制单元5通过连接线与控制端1相连,例如,可以是USB转串口线。将待测手机主板固定在测试夹具组件3的主板固定单元4上,并用连接线连接控制端1,如可以是USB线。接着运行控制端1上的自动化测试程式,将通讯端口设置为COM4,将波特率设置为9600bit/s。从而完成接线与初始参数设置工作。In a specific embodiment, the dual-channel programmable power supply 2 can be selected to output the required operating voltage of the mainboard of the mobile phone to be tested to the mainboard fixing unit 4 through the first channel, and simultaneously output the required voltage to the single-chip microcomputer control unit through its second channel. required operating voltage. Simultaneously, the channel 2 of the dual-channel program-controlled power supply 2 outputs the required 5-volt DC voltage for the single-chip control unit 5; the single-chip control unit 5 is connected to the control terminal 1 through a connection line, for example, it can be a USB-to-serial port line. Fix the mainboard of the mobile phone to be tested on the mainboard fixing unit 4 of the test fixture assembly 3, and connect the control terminal 1 with a connecting line, such as a USB line. Then run the automated test program on the control terminal 1, set the communication port to COM4, and set the baud rate to 9600bit/s. Thus completing the wiring and initial parameter setting work.
通常,对手机主板功能的测试可以分为几类。其中第一类测试包括震动测试、按键背光测试和LCM背光调节测试;第二类测试包括手机序列号获取、充电测试、WIFI测试、蓝牙测试、拨号测试、G-Sensor测试、摄像测试和GPS测试;第三类测试包括FM测试、录音测试和耳机回路测试;第四类测试包括震动测试、按键背光测试和LCM背光调节测试;第五类测试包括LCD测试。Generally, tests on the functions of mobile phone motherboards can be divided into several categories. The first type of test includes vibration test, button backlight test and LCM backlight adjustment test; the second type of test includes mobile phone serial number acquisition, charging test, WIFI test, Bluetooth test, dial-up test, G-Sensor test, camera test and GPS test The third type of test includes FM test, recording test and headphone loop test; the fourth type of test includes vibration test, button backlight test and LCM backlight adjustment test; the fifth type of test includes LCD test.
对于第一类测试,控制端1通过比较不同测试阶段的电流值进行功能测试。在具体测试过程中,控制端1通过GPIB卡9首先获取测试前的电流值。接着,控制端1通过控制端上的相应测试程式,向待测手机主板发送相应指令,使待测手机主板执行相应的震动,背光显示等动作。然后控制端1在测试后,再次通过GPIB卡9获取测试后的电流值。根据获得的两次电流值(相应的,震动测试中获取马达震动前后的电流值,在按键背光测试中获取待测手机主板背光灯打开前后的电流值,而在LCM背光测试中获取LCD屏打开前后的电流值进行对比),控制端1通过相应的测试程式,比较两次的差值是否在所设定的范围内,据此判定手机主板第一类测试中的相应测试项是否通过。For the first type of test, the control terminal 1 performs a functional test by comparing the current values in different test stages. During the specific test process, the control terminal 1 first obtains the current value before the test through the GPIB card 9 . Then, the control terminal 1 sends corresponding instructions to the main board of the mobile phone to be tested through the corresponding test program on the control terminal, so that the main board of the mobile phone to be tested performs corresponding vibration, backlight display and other actions. Then the control terminal 1 obtains the current value after the test through the GPIB card 9 again after the test. According to the obtained two current values (correspondingly, the current value before and after the motor vibration is obtained in the vibration test, the current value before and after the backlight of the main board of the mobile phone under test is obtained in the button backlight test, and the LCD screen is turned on in the LCM backlight test. Compare the current values before and after), the control terminal 1 passes the corresponding test program, compares whether the difference between the two times is within the set range, and judges whether the corresponding test items in the first type of test of the mobile phone motherboard pass or not.
当进行第二类测试时,总体的测试流程是,控制端1通过主板固定单元2直接向待测手机主板发送命令,获取相应的返回值,最后由控制端1上的自动化测试程式判断该测试项是否通过。When performing the second type of test, the overall test process is that the control terminal 1 directly sends commands to the mobile phone mainboard to be tested through the mainboard fixing unit 2 to obtain the corresponding return value, and finally the test is judged by the automated test program on the control terminal 1. item passed.
在第二类测试中,包括对手机主板的摄像测试。如图2所示,测试夹具组件3的第二辅助测试单元中包括摄像头204和与摄像头(208,220)相对设置的色板(204,209)。其中,摄像头208为前置摄像头,对应于色板209;摄像头220为后置摄像头,对应于色板204。摄像头(208,220)通过主板固定单元211与待测手机主板连接。在进行摄像测试时,待测手机主板接收控制端1的信号,向摄像头(208,220)发出摄像指令,对色板(204,209)进行图像采集,并向控制端1发送采集的图像信息,由控制端1根据采集的图像信息与控制端1中预设的模板图像进行对比,从而对待测手机主板的摄像功能做出判定。在一种具体实施方式中,色板(204,209)为基于三基色的色板。另外,需要说明的是,图1中测试夹具组件3上的主板固定单元4以及单片机控制单元5分别对应于图2中单片机控制板106以及主板固定座211。In the second type of test, including the camera test of the main board of the mobile phone. As shown in FIG. 2 , the second auxiliary testing unit of the test fixture assembly 3 includes a camera 204 and color plates ( 204 , 209 ) arranged opposite to the cameras ( 208 , 220 ). Wherein, the camera 208 is a front camera, corresponding to the color board 209 ; the camera 220 is a rear camera, corresponding to the color board 204 . The camera (208, 220) is connected to the main board of the mobile phone to be tested through the main board fixing unit 211. During the camera test, the main board of the mobile phone to be tested receives the signal from the control terminal 1, sends a camera instruction to the camera (208, 220), collects the image of the color plate (204, 209), and sends the collected image information to the control terminal 1, and the control terminal 1. Compare the collected image information with the template image preset in the control terminal 1, so as to make a judgment on the camera function of the main board of the mobile phone to be tested. In a specific implementation manner, the color palette (204, 209) is a color palette based on three primary colors. In addition, it should be noted that the mainboard fixing unit 4 and the single-chip microcomputer control unit 5 on the test fixture assembly 3 in FIG. 1 correspond to the single-chip microcomputer control board 106 and the mainboard fixing seat 211 in FIG. 2 respectively.
第二类测试的其他测试,如手机序列号获取、充电测试、WIFI测试、蓝牙测试、拨号测试、G-Sensor测试、GPS测试等,均可通过控制端1上的自动控制程式进行相应的功能选择,从而进行测试。以手机序列号获取为例,通过点击自动化测试程式上的开始按钮进入手机序列号获取测试,序列号获取成功与否,会在自动化测试程式界面上进行相应的显示。如成功,会显示获得的手机序列号或Pass字样,而如果失败则显示Fail字样。其他的测试与与此类同。Other tests of the second type of test, such as mobile phone serial number acquisition, charging test, WIFI test, Bluetooth test, dial-up test, G-Sensor test, GPS test, etc., can perform corresponding functions through the automatic control program on the control terminal 1 Select to test. Taking mobile phone serial number acquisition as an example, by clicking the start button on the automated test program to enter the mobile phone serial number acquisition test, the success of the serial number acquisition will be displayed on the automated test program interface accordingly. If successful, it will display the obtained mobile phone serial number or the word Pass, and if it fails, it will display the word Fail. Other tests are similar to this one.
对手机主板功能测试的第三类测试包括多点触摸测试、按键测试、FM测试、P-Sensor(距离感应器)测试和L-Sensor(环境光感应器)测试。如图1所示,其大致流程是,控制端1上的自动测试程式通过连接线,如可以是一种USB转串口线向单片机控制单元5发送相应命令。单片机控制单元5对命令解析后,控制测试夹具组件3上的第一辅助测试单元6的相应部件做出动作,主板固定单元4中的待测手机主板在获得触发信号后通过连接线向控制端1返回输出,最后控制端1上的自动化测试程式判断该测试项是否通过。The third type of test for the functional test of the mobile phone motherboard includes multi-point touch test, button test, FM test, P-Sensor (distance sensor) test and L-Sensor (ambient light sensor) test. As shown in FIG. 1 , the general process is that the automatic test program on the control terminal 1 sends corresponding commands to the single-chip control unit 5 through a connection line, such as a USB-to-serial line. After the single-chip control unit 5 parses the order, it controls the corresponding parts of the first auxiliary test unit 6 on the test fixture assembly 3 to act, and the main board of the mobile phone to be tested in the main board fixing unit 4 passes the connection line to the control terminal after obtaining the trigger signal. 1 returns the output, and finally the automated test program on the control terminal 1 judges whether the test item passes.
在一种具体实施方式中,第一辅助测试单元6包括电磁阀和相应的动作执行机构。单片机控制单元5通过排线的方式与电磁阀相连接,进而通过电磁阀使相应的执行机构作出动作。进一步的,如图2所示,上述的执行机构包括触摸屏点击执行机构(213,214,215)和/或按键点击执行机构(206,207)和/或耳机插入执行机构和/或光距感推进执行机构202,通过以上的执行机构用于对待测手机主板或待测手机主板的相应连接装置执行对应操作,以实现相应功能检测。In a specific embodiment, the first auxiliary testing unit 6 includes a solenoid valve and corresponding action actuators. The single-chip microcomputer control unit 5 is connected with the solenoid valve by means of wiring, and then the corresponding actuator is activated through the solenoid valve. Further, as shown in FIG. 2, the above-mentioned actuators include touch screen click actuators (213, 214, 215) and/or button click actuators (206, 207) and/or earphone insertion actuators and/or optical distance sensing push actuators 202, through The above actuators are used to perform corresponding operations on the main board of the mobile phone to be tested or the corresponding connection devices of the main board of the mobile phone to be tested, so as to realize the corresponding function detection.
具体来说,在多点触摸测试中,在控制端1自动化测试程式上选择进入多点触摸测试。待测手机主板通过连接线与触摸屏216连接。安装于测试夹具组件3上面的触摸屏点击执行机构(213,214,215)通过电磁阀的控制,将依次点击设置于测试夹具组件3上的触摸屏216的多个不同位置,自动化测试程式通过判断采集到的各点坐标值,来判断待测手机主板触摸屏的连接器传输数据是否有问题,并将测试结果显示在控制端1的显示界面上。触摸屏点击执行机构的个数可以根据实际情况进行调整,而不限于三个。Specifically, in the multi-point touch test, select to enter the multi-point touch test on the automatic test program of the control terminal 1 . The main board of the mobile phone to be tested is connected with the touch screen 216 through a connecting wire. The touch screen click actuators (213, 214, 215) installed on the test fixture assembly 3 are controlled by solenoid valves, and will sequentially click multiple different positions of the touch screen 216 set on the test fixture assembly 3, and the automated test program judges the collected points The coordinate value is used to judge whether there is a problem with the data transmission of the connector of the touch screen of the mainboard of the mobile phone to be tested, and the test result is displayed on the display interface of the control terminal 1. The number of actuators clicked on the touch screen can be adjusted according to actual conditions, and is not limited to three.
具体来说,在按键测试中,在自动化测试程式上选择进入按键测试,位于测试夹具组件3面板上的按键点击执行机构(206,207)将分别点击待测手机主板上的音量加键与音量减键,待测手机主板受到触发后将返回给控制端1相应的按键信息。此时,如果控制端1获得相应的返回信息,则在控制端1显示界面上测试通过,否则,显示测试失败。Specifically, in the button test, select to enter the button test on the automated test program, and the button click actuators (206, 207) on the panel of the test fixture component 3 will respectively click the volume up button and the volume down button on the main board of the mobile phone to be tested , the main board of the mobile phone to be tested will return to the control terminal 1 the corresponding button information after being triggered. At this time, if the control terminal 1 obtains the corresponding return information, the test is passed on the display interface of the control terminal 1, otherwise, it is displayed that the test fails.
具体来说,在P-Sensor测试和L-Sensor测试中,在自动化测试程式上选择进入P-Sensor测试和L-Sensor测试。在一种实施方式中,测试夹具组件3还包括光距感应传感器203,光距感应传感器203通过测试夹具组件面板上的主板固定座211与待测手机主板连接。位于测试夹具组件3面板上的光距感推进执行机构202通过电磁阀的控制将执行推送动作,挡住光距感应传感器203一段时间,例如可以是30s,然后运动收回,使光距感应传感器203能够感应到光距感推进执行机构202的运动。控制端1的自动化测试程式将根据返回的数值进行判断。如果返回的数据值在设定值范围内则判断测试通过,并将在自动化测试程式界面上显示测试结果。Specifically, in the P-Sensor test and the L-Sensor test, select to enter the P-Sensor test and the L-Sensor test on the automated test program. In one embodiment, the test fixture assembly 3 further includes an optical distance sensing sensor 203, and the optical distance sensing sensor 203 is connected to the mainboard of the mobile phone to be tested through the motherboard fixing seat 211 on the panel of the test fixture assembly. The optical distance sensing propulsion actuator 202 positioned on the panel of the test fixture assembly 3 will perform a push action through the control of the solenoid valve to block the optical distance sensing sensor 203 for a period of time, for example, 30s, and then move back so that the optical distance sensing sensor 203 can The movement of the optical distance sensing propulsion actuator 202 is sensed. The automated test program of the control terminal 1 will judge according to the returned value. If the returned data value is within the range of the set value, it is judged that the test is passed, and the test result will be displayed on the interface of the automated test program.
手机主板功能的第四类测试,包括FM测试,录音测试和耳机回路测试。如图1和图2所示,第二辅助测试单元7中包括发声装置107以及声音采集装置112。其中,发声装置107与单片机控制板106连接,声音测试装置112与控制端1连接;控制端1通过单片机控制板106控制发声装置107发出声音。一种优选的实施方式中,第二辅助测试单元7还包括用于屏蔽外部噪声的声音屏蔽装置108,如可以是一种声音屏蔽盒,以有效地对外界噪声产生屏蔽作用,防止测试过程中外部的干扰,从而提高测试的效果。The fourth type of test for mobile phone motherboard functions, including FM test, recording test and earphone loop test. As shown in FIG. 1 and FIG. 2 , the second auxiliary test unit 7 includes a sound generating device 107 and a sound collecting device 112 . Wherein, the sound generating device 107 is connected to the single-chip microcomputer control board 106, and the sound testing device 112 is connected to the control terminal 1; the control terminal 1 controls the sound generating device 107 to emit sound through the single-chip microcomputer control board 106. In a preferred embodiment, the second auxiliary test unit 7 also includes a sound shielding device 108 for shielding external noise, such as a sound shielding box, to effectively shield external noise and prevent External interference, thereby improving the effect of the test.
具体来说,在进行录音测试时,首先控制端1通过ADB命令让待测手机主板进入录音模式,然后控制端1通过串口通信让单片机控制板106控制发声装置107于声音屏蔽装置108内发出音频信号。发声装置107,如一种蜂鸣器,也可以是一种测试用手机,通过手机自带麦克在声音屏蔽盒108中播放特定频率的音频文件,如可以是1KHz。控制端1再通过ADB命令让待测手机的扬声器播放出刚刚录制的音频文件。待测手机主板通过自带录音设备,如Mic录音,并通过自带的扬声器将录好的声音在声音屏蔽装置108内播放出来,由测试夹具组件3上的声音采集装置112,如可以是耳麦将音频信息采集返回给控制端1,运行在控制端1上的自动化测试程式将对采集的音频文件进行频谱分析判断其频率是否为对应的1KHz,如果是,则这项录音测试测试通过,否则测试失败。耳机回路测试测试步骤与此类同。Specifically, when performing a recording test, firstly, the control terminal 1 allows the motherboard of the mobile phone under test to enter the recording mode through an ADB command, and then the control terminal 1 allows the single-chip control board 106 to control the sound generating device 107 to emit audio in the sound shielding device 108 through serial communication. Signal. The sound generating device 107, such as a buzzer, can also be a mobile phone for testing, which plays an audio file of a specific frequency in the sound shielding box 108 through a microphone attached to the mobile phone, such as 1KHz. The control terminal 1 makes the speaker of the mobile phone under test play the audio file just recorded through the ADB command. The motherboard of the mobile phone to be tested is recorded by a self-contained recording device, such as a Mic, and the recorded sound is played out in the sound shielding device 108 by the self-contained loudspeaker, and the sound collection device 112 on the test fixture assembly 3, such as a headset Return the audio information collection to the control terminal 1, and the automated test program running on the control terminal 1 will perform spectrum analysis on the collected audio files to determine whether the frequency is the corresponding 1KHz, if yes, the recording test has passed, otherwise The test failed. The test procedure of headphone loop test is similar to this.
具体来说,在FM测试中,通过自动化测试程式选择进入FM测试,位于测试夹具组件3面板上的耳机插入执行机构205根据电磁阀的控制将把固定在其前端的耳机插头(图中未示出)插入待测手机主板的音频输入口中。当待测手机主板将打开FM功能时,控制端1通过ADB命令读取待测手机主板当前FM的状态,如果测试通过,将在自动化测试程式界面上显示测试是否通过。Specifically, in the FM test, the automatic test program is selected to enter the FM test, and the earphone insertion actuator 205 located on the panel of the test fixture assembly 3 will insert the earphone plug (not shown in the figure) fixed on its front end according to the control of the solenoid valve. out) into the audio input port of the main board of the mobile phone to be tested. When the mainboard of the mobile phone to be tested will open the FM function, the control terminal 1 reads the current FM status of the mainboard of the mobile phone to be tested through the ADB command. If the test is passed, it will be displayed on the automated test program interface whether the test is passed.
对手机主板功能测试的第五类测试包括LCD测试。如图1和图2所示,第二辅助测试单元7还包括显示屏218和图像测试装置。显示屏218通过主板固定座211与待测手机主板连接,图像测试装置与控制端1连接。待测手机主板通过主板固定座211与一显示屏218连接,测试夹具组件3还包括图像测试单元8。图像测试单元8用于接收控制端1的控制指令,并对主板固定单元4连接的显示屏进行图像采集。这里的图像测试装置可以是上述的测试手机,即上文中的发声装置107,通过一个测试手机同时实现声音测试和LCD测试两项测试。具体来说,这项测试项的测试方法是通过控制端1向待测手机主板发送ADB命令,使其进入LCD测试模式。此时由控制端1向测试手机107发送ADB命令,通过测试手机的摄像头219对待测手机主板所连接的显示三基色的显示屏218进行拍照采集图片信息,并返回给控制端1,最后通过控制端1上的程式与存储于控制端1的标准图像进行比对来进行判断,自动判断该测试项是否通过。The fifth type of test for the functional test of the mobile phone motherboard includes the LCD test. As shown in FIG. 1 and FIG. 2 , the second auxiliary testing unit 7 also includes a display screen 218 and an image testing device. The display screen 218 is connected to the main board of the mobile phone to be tested through the main board fixing seat 211 , and the image testing device is connected to the control terminal 1 . The motherboard of the mobile phone to be tested is connected to a display screen 218 through the motherboard fixing seat 211 , and the test fixture assembly 3 also includes an image test unit 8 . The image test unit 8 is used to receive control instructions from the control terminal 1 and to collect images of the display screen connected to the mainboard fixing unit 4 . The image test device here can be the above-mentioned test mobile phone, that is, the above-mentioned sound generating device 107, and two tests of sound test and LCD test can be realized simultaneously through one test mobile phone. Specifically, the test method of this test item is to send an ADB command to the motherboard of the mobile phone to be tested through the control terminal 1, so that it enters the LCD test mode. At this time, the control terminal 1 sends an ADB command to the test mobile phone 107, and the display screen 218 showing the three primary colors connected to the main board of the mobile phone to be tested by the camera 219 of the test mobile phone takes pictures and collects picture information, and returns to the control terminal 1, finally through the control terminal 1. The program on the terminal 1 is compared with the standard image stored in the control terminal 1 for judgment, and it is automatically judged whether the test item is passed or not.
本发明的一种优选的实施方式,待测主板的相应输出被记录到控制端1的log记录档,以方便对测试数据的管理。In a preferred embodiment of the present invention, the corresponding output of the mainboard to be tested is recorded in the log record file of the control terminal 1, so as to facilitate the management of the test data.
本发明的另一种实施例公开了一种对手机主板功能的测试方法,通过上述的对手机主板功能的测试系统实施所述测试方法。如图3所示,具体包括如下步骤:Another embodiment of the present invention discloses a method for testing the functions of the mainboard of a mobile phone, which is implemented by the above-mentioned testing system for the functions of the mainboard of the mobile phone. As shown in Figure 3, it specifically includes the following steps:
步骤1.预制标准图像,并将标准图像的图像信息存储于控制端的存储模块;Step 1. Prefabricate a standard image, and store the image information of the standard image in the storage module at the control end;
步骤2.待测主板接收控制端的控制指令,通过显示屏进行图像显示;Step 2. The main board to be tested receives the control command from the control terminal, and displays the image through the display screen;
步骤3.图像测试装置接收控制端的控制指令,对待测主板连接的显示屏进行图像采集,并将由待测主板显示的图像信息返回控制端;Step 3. The image testing device receives the control command from the control terminal, collects images from the display screen connected to the mainboard to be tested, and returns the image information displayed by the mainboard to be tested to the control terminal;
步骤4.控制端通过比较标准图像的图像信息与由待测主板显示的图像信息,对待测手机主板进行检测。Step 4. The control terminal detects the main board of the mobile phone to be tested by comparing the image information of the standard image with the image information displayed by the main board to be tested.
上述的步骤1用于进行测试准备,采集标准图像。于上述技术方案的基础上,步骤1还包括如下步骤:The above step 1 is used to prepare for the test and collect standard images. On the basis of the above technical solution, step 1 also includes the following steps:
步骤11.一标准主板接收控制端的控制指令,通过显示屏进行图像显示;Step 11. A standard main board receives the control command from the control terminal, and performs image display through the display screen;
步骤12.图像测试装置接收控制端的控制指令,对标准主板连接的显示屏进行图像采集,并将由标准主板显示的图像信息返回控制端;Step 12. The image testing device receives the control command from the control terminal, collects images from the display screen connected to the standard mainboard, and returns the image information displayed by the standard mainboard to the control terminal;
步骤13.控制端将标准主板显示的图像信息存储于控制端的存储模块,形成标准图像的图像信息;Step 13. The control terminal stores the image information displayed on the standard motherboard in the storage module of the control terminal to form the image information of the standard image;
步骤14.控制端按照预设设置向标准主板发出多次进行图像显示的控制指令,重复执行步骤11至步骤13,直至完成预设次数。Step 14. The control terminal sends multiple control commands for image display to the standard motherboard according to the preset settings, and repeats steps 11 to 13 until the preset times are completed.
在进行采集之前,可以进行相应的测试设置。如在控制端的主控菜单,通过相应的设置选项进入图片测试,继而进行相应的设置。在一种可选的实施方式中,可以在相应的设置界面中,选择多种不同的环境设置,如光线亮度,光线颜色等和在各环境中多次采集图像,以消除外界环境改变时影响图像测试装置,如测试手机的摄像头拍照时的效果。Before collecting, the corresponding test settings can be made. For example, in the main control menu of the control terminal, enter the picture test through the corresponding setting options, and then perform corresponding settings. In an optional implementation, in the corresponding setting interface, a variety of different environmental settings can be selected, such as light brightness, light color, etc., and images can be collected multiple times in each environment to eliminate the impact of external environment changes. Image test device, such as testing the effect of the camera of the mobile phone when taking pictures.
在步骤11至步骤14中,标准图像采集的具体过程可以是,控制端通过控制指令,如ADB命令使标准主板(即测试合格的手机主板)将其所连接的显示屏全部刷新为红色,然后通过控制指令令测试手机摄像头拍照,接着再次通过控制指令使标准主板将显示屏全部刷新为绿色,并控制测试手机摄像头拍照,最后全部刷新为蓝色,测试手机摄像头拍照。这样就可以将可以采集到三张图片R1,G1,B1保存到本地。测试人员分别查看三张图片是否和实际显示情况一致,如果一致,此次采集有效,可存为标准图象。In step 11 to step 14, the specific process of standard image acquisition can be that the control terminal makes the standard main board (that is, the mobile phone main board that has passed the test) refresh all the display screens connected to it to red through a control command, such as an ADB command, and then The camera of the test mobile phone is used to take pictures through the control command, and then the standard motherboard is used to refresh the display screen to green, and the camera of the test mobile phone is controlled to take pictures. In this way, the three pictures R1, G1, and B1 that can be collected can be saved locally. Testers check whether the three pictures are consistent with the actual display. If they are consistent, the acquisition is valid and can be saved as a standard image.
在步骤14中,控制端通过预设的环境设置,如改变外界环境的亮度或者光线的颜色等,来进行接下来的采集,并同样最终由测试人员判断采集的图片是否有效。因此,此处的预设设置可以是包括环境设置,以及测试次数设置等。In step 14, the control terminal performs the next collection through the preset environment settings, such as changing the brightness of the external environment or the color of the light, and finally the tester judges whether the collected pictures are valid. Therefore, the preset settings here may include environment settings, test times settings, and the like.
于上述技术方案的基础上,步骤4还包括如下步骤:On the basis of the above technical solution, step 4 also includes the following steps:
步骤41.控制端分别比较由测试主板显示的图像信息与标准图像的图像信息在各像素点的颜色分量;当对应的像素点颜色分量的数据差别在预设范围内,则控制端判定像素点相似,如果超出预设范围,则判定不相似;Step 41. The control terminal compares the color components of the image information displayed by the test board with the image information of the standard image at each pixel point; when the data difference of the color component of the corresponding pixel point is within the preset range, the control terminal determines the pixel point Similar, if it exceeds the preset range, it is judged not to be similar;
步骤42.当由测试主板显示的图像信息与标准图像所有像素点相似的百分比大于预设阈值,则控制端判定待测主板的显示图像与标准图像相似并判定测试通过,否则判定不相似;Step 42. When the ratio of the image information displayed by the test motherboard to all pixels of the standard image is greater than the preset threshold, the control end determines that the display image of the motherboard to be tested is similar to the standard image and the test is passed, otherwise it is determined not to be similar;
步骤43.当由测试主板显示的图像信息与标准图像不相似,控制端将测试主板显示的图像信息与控制端存储模块中其他标准图像的图像信息按照步骤41进行对比;Step 43. When the image information displayed by the test mainboard is not similar to the standard image, the control terminal compares the image information displayed by the test mainboard with the image information of other standard images in the storage module of the control terminal according to step 41;
步骤44.当所述测试主板显示的图像信息与所述控制端存储模块中其他的标准图像信息均不相似,则所述控制端判定测试失败;否则测试通过。Step 44. When the image information displayed on the test mainboard is not similar to other standard image information in the storage module of the control terminal, the control terminal determines that the test fails; otherwise, the test passes.
上述的步骤2至44,具体测试分析的过程可以是:让显示屏刷新为红色,并控制图像测试装置,如测试手机摄像头拍照,将拍下来的图片转换为预定格式,如bmp格式,根据格式定义将对此文件的数据进行解析,和标准图象比较。比较的时候采取的方法是相似,而不是完全相等,所谓相似即是代表拍照图片和标准图象的各点颜色信息分量的数据相差在一个范围内,比如5或10,就认为两个颜色分量的信息相似,如果超出范围,就认为不相似。这样对两幅图片的数据进行统计,最终可以得出一个相似百分比,如果相似百分比达到80%,可以认为两幅图片相同,可以继续测试,反之,会和其他两次采集到的红色标准图象R2,R3进行比较,如果相似度都低于80%,则认为测试失败,退出测试,并在控制端上显示相应的提示。上述的各点颜色信息分量比较时用到一个误差范围值和相似度标准80%都是经过大量测试后得到的一个经验值。误差范围值越小,相似度标准越高,测试的准确性也越高,但对测试手机摄像头精度的要求也越高。另外通过增加标准图片的数量,可以增强该项测试的兼容性,特别是在照相机效果不好的时候,采集的标准图片就需要增多。对于显示屏刷新为蓝色和绿色时的测试也是同样的测试过程。The above-mentioned steps 2 to 44, the specific test and analysis process can be: make the display screen refresh to red, and control the image test device, such as testing the mobile phone camera to take pictures, and convert the pictures taken into a predetermined format, such as bmp format, according to the format Defines that the data in this file will be parsed and compared with the standard image. The method used for comparison is similarity, not complete equality. The so-called similarity means that the difference between the data of the color information components of each point of the photographed picture and the standard image is within a range, such as 5 or 10, and the two color components are considered The information is similar, and if it exceeds the range, it is considered not to be similar. In this way, the data of the two pictures can be counted, and finally a similar percentage can be obtained. If the similar percentage reaches 80%, it can be considered that the two pictures are the same, and the test can be continued. Otherwise, it will be the same as the red standard image collected twice. Comparing R2 and R3, if the similarity is lower than 80%, it is considered that the test fails, the test is exited, and a corresponding prompt is displayed on the control terminal. When comparing the color information components of each point above, an error range value and a similarity standard of 80% are empirical values obtained after a large number of tests. The smaller the error range value, the higher the similarity standard, and the higher the accuracy of the test, but the higher the requirements for the accuracy of the test mobile phone camera. In addition, by increasing the number of standard pictures, the compatibility of this test can be enhanced, especially when the camera effect is not good, the number of standard pictures collected needs to be increased. The same test process is used for the test when the display is refreshed to blue and green.
本发明在完成对手机主板各功能自动化测试的同时,对发明的时间周期,投入的人力成本及通用性方面做了很大的改善,利用良品手机对待测手机主板进行测试的思路进行开发,实现了手机主板的多项功能自动化测试。测试系统开发周期短,实用性高,成本低,同时在测试过程中,降低了人力成本,缩短了测试时间,提高了测试效率,而在测试结果中,本发明由于所有测试项的判断都由电脑完成,所以测试结果可靠,误测率低。同时,本发明的自动化测试程式包括数据存档功能,所有测试结果将被保存进工厂的测试系统,方便日后数据管控。While the present invention completes the automated testing of the various functions of the mainboard of the mobile phone, it greatly improves the time period of the invention, the manpower cost invested and the versatility. Automated testing of multiple functions of the mobile phone motherboard. The test system development cycle is short, the practicability is high, and the cost is low. At the same time, in the test process, the labor cost is reduced, the test time is shortened, and the test efficiency is improved. In the test results, the present invention is determined by all test items. It is completed by computer, so the test result is reliable and the false detection rate is low. At the same time, the automated test program of the present invention includes a data archiving function, and all test results will be stored in the factory's test system to facilitate data management and control in the future.
以上所述仅为本发明较佳的实施例,并非因此限制本发明的实施方式及保护范围,对于本领域技术人员而言,应当能够意识到凡运用本发明说明书及图示内容所作出的等同替换和显而易见的变化所得到的方案,均应当包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the implementation and protection scope of the present invention. For those skilled in the art, they should be able to realize that all equivalents made by using the description and illustrations of the present invention The solutions obtained by replacement and obvious changes shall all be included in the protection scope of the present invention.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310377213.1A CN103607492B (en) | 2013-08-26 | 2013-08-26 | A kind of test system and method for testing to cell phone mainboard function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310377213.1A CN103607492B (en) | 2013-08-26 | 2013-08-26 | A kind of test system and method for testing to cell phone mainboard function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103607492A true CN103607492A (en) | 2014-02-26 |
| CN103607492B CN103607492B (en) | 2018-01-16 |
Family
ID=50125692
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310377213.1A Active CN103607492B (en) | 2013-08-26 | 2013-08-26 | A kind of test system and method for testing to cell phone mainboard function |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103607492B (en) |
Cited By (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103929544A (en) * | 2014-04-30 | 2014-07-16 | 广东欧珀移动通信有限公司 | A method and system for realizing automatic recording between PC terminal and mobile terminal |
| CN104301483A (en) * | 2014-09-26 | 2015-01-21 | 惠州Tcl移动通信有限公司 | Mobile phone hardware state evaluation system and method |
| CN104601771A (en) * | 2014-12-26 | 2015-05-06 | 沈阳晨讯希姆通科技有限公司 | Method and system for testing main board of mobile phone |
| CN104730377A (en) * | 2015-01-30 | 2015-06-24 | 深圳市中兴移动通信有限公司 | System mode switching system and method and terminal |
| CN105738796A (en) * | 2016-02-29 | 2016-07-06 | 珠海格力电器股份有限公司 | Automatic mainboard taking and placing device and method and FCT equipment |
| CN105812525A (en) * | 2016-04-21 | 2016-07-27 | 深圳市路加德精工科技有限公司 | Test equipment used for testing camera of electronic equipment |
| CN105812524A (en) * | 2016-03-03 | 2016-07-27 | 北京瑞森新谱科技有限公司 | Rapid replacing test tool for cell phone Camera tests |
| CN106383305A (en) * | 2016-11-03 | 2017-02-08 | 广州视源电子科技股份有限公司 | Method and device for testing board card and testing tool |
| CN106645149A (en) * | 2016-11-24 | 2017-05-10 | 歌尔科技有限公司 | Board-to-board connector test system and test method |
| CN106932004A (en) * | 2017-03-27 | 2017-07-07 | 上海与德科技有限公司 | The detection method and device of a kind of sensor |
| CN107631750A (en) * | 2017-08-04 | 2018-01-26 | 宇龙计算机通信科技(深圳)有限公司 | For testing the method, apparatus, terminal and storage medium of terminal to be measured |
| CN108920205A (en) * | 2018-06-11 | 2018-11-30 | Oppo(重庆)智能科技有限公司 | A kind of control method, device and computer storage medium |
| WO2019000794A1 (en) * | 2017-06-27 | 2019-01-03 | 深圳市沃特沃德股份有限公司 | Translation machine function test fixture |
| CN109274805A (en) * | 2018-10-08 | 2019-01-25 | 深圳市利和兴股份有限公司 | A kind of multistation audio parallel testing device and its implementation |
| CN110910381A (en) * | 2019-11-30 | 2020-03-24 | 航天科技控股集团股份有限公司 | A touch screen detection system and method |
| CN111474463A (en) * | 2020-04-27 | 2020-07-31 | Oppo(重庆)智能科技有限公司 | Circuit board test system, circuit board test host and circuit board test method |
| CN111970165A (en) * | 2020-07-30 | 2020-11-20 | 惠州市德赛西威汽车电子股份有限公司 | Automobile instrument Ethernet communication endurance automatic test system and method |
| CN114116353A (en) * | 2021-11-29 | 2022-03-01 | 深圳壹账通智能科技有限公司 | A device testing method, device, device and storage medium |
| CN118348383A (en) * | 2024-03-07 | 2024-07-16 | 深圳沸石科技股份有限公司 | Test equipment and system for mobile phone motherboard |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101374317A (en) * | 2007-08-24 | 2009-02-25 | 中兴通讯股份有限公司 | Single-board RF test system for dual-mode single-standby mobile terminal |
| US20090265138A1 (en) * | 2008-04-21 | 2009-10-22 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Testing system and method for testing a vibration function of a mobile phone |
| CN101686471A (en) * | 2008-09-25 | 2010-03-31 | 比亚迪股份有限公司 | Method and system for testing mobile phone |
| CN101895602A (en) * | 2010-07-27 | 2010-11-24 | 青岛海信移动通信技术股份有限公司 | Method and system for testing mobile phone mainboard |
| CN102735953A (en) * | 2011-04-15 | 2012-10-17 | 纬创资通股份有限公司 | Automatic change testing arrangement |
-
2013
- 2013-08-26 CN CN201310377213.1A patent/CN103607492B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101374317A (en) * | 2007-08-24 | 2009-02-25 | 中兴通讯股份有限公司 | Single-board RF test system for dual-mode single-standby mobile terminal |
| US20090265138A1 (en) * | 2008-04-21 | 2009-10-22 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Testing system and method for testing a vibration function of a mobile phone |
| CN101686471A (en) * | 2008-09-25 | 2010-03-31 | 比亚迪股份有限公司 | Method and system for testing mobile phone |
| CN101895602A (en) * | 2010-07-27 | 2010-11-24 | 青岛海信移动通信技术股份有限公司 | Method and system for testing mobile phone mainboard |
| CN102735953A (en) * | 2011-04-15 | 2012-10-17 | 纬创资通股份有限公司 | Automatic change testing arrangement |
Cited By (26)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103929544A (en) * | 2014-04-30 | 2014-07-16 | 广东欧珀移动通信有限公司 | A method and system for realizing automatic recording between PC terminal and mobile terminal |
| CN103929544B (en) * | 2014-04-30 | 2016-02-10 | 广东欧珀移动通信有限公司 | A kind of method and system realizing pc end and mobile terminal automatic recording |
| CN104301483A (en) * | 2014-09-26 | 2015-01-21 | 惠州Tcl移动通信有限公司 | Mobile phone hardware state evaluation system and method |
| CN104301483B (en) * | 2014-09-26 | 2019-11-29 | 惠州Tcl移动通信有限公司 | The assessment system and method for mobile phone hardware state |
| CN104601771A (en) * | 2014-12-26 | 2015-05-06 | 沈阳晨讯希姆通科技有限公司 | Method and system for testing main board of mobile phone |
| CN104730377B (en) * | 2015-01-30 | 2018-09-04 | 努比亚技术有限公司 | System, method and the terminal of switching system pattern |
| CN104730377A (en) * | 2015-01-30 | 2015-06-24 | 深圳市中兴移动通信有限公司 | System mode switching system and method and terminal |
| CN105738796A (en) * | 2016-02-29 | 2016-07-06 | 珠海格力电器股份有限公司 | Automatic mainboard taking and placing device and method and FCT equipment |
| CN105812524A (en) * | 2016-03-03 | 2016-07-27 | 北京瑞森新谱科技有限公司 | Rapid replacing test tool for cell phone Camera tests |
| CN105812525A (en) * | 2016-04-21 | 2016-07-27 | 深圳市路加德精工科技有限公司 | Test equipment used for testing camera of electronic equipment |
| CN105812525B (en) * | 2016-04-21 | 2018-11-30 | 深圳市马太智能科技有限公司 | For testing the test equipment of camera of electronic equipment |
| CN106383305A (en) * | 2016-11-03 | 2017-02-08 | 广州视源电子科技股份有限公司 | Method and device for testing board card and testing tool |
| CN106645149A (en) * | 2016-11-24 | 2017-05-10 | 歌尔科技有限公司 | Board-to-board connector test system and test method |
| CN106645149B (en) * | 2016-11-24 | 2023-08-08 | 歌尔科技有限公司 | Test system and test method for board-to-board connector |
| CN106932004A (en) * | 2017-03-27 | 2017-07-07 | 上海与德科技有限公司 | The detection method and device of a kind of sensor |
| CN106932004B (en) * | 2017-03-27 | 2019-09-13 | 上海与德科技有限公司 | A kind of detection method and device of sensor |
| WO2019000794A1 (en) * | 2017-06-27 | 2019-01-03 | 深圳市沃特沃德股份有限公司 | Translation machine function test fixture |
| CN107631750A (en) * | 2017-08-04 | 2018-01-26 | 宇龙计算机通信科技(深圳)有限公司 | For testing the method, apparatus, terminal and storage medium of terminal to be measured |
| CN108920205A (en) * | 2018-06-11 | 2018-11-30 | Oppo(重庆)智能科技有限公司 | A kind of control method, device and computer storage medium |
| CN109274805A (en) * | 2018-10-08 | 2019-01-25 | 深圳市利和兴股份有限公司 | A kind of multistation audio parallel testing device and its implementation |
| CN110910381B (en) * | 2019-11-30 | 2023-06-27 | 航天科技控股集团股份有限公司 | A touch screen detection system and method |
| CN110910381A (en) * | 2019-11-30 | 2020-03-24 | 航天科技控股集团股份有限公司 | A touch screen detection system and method |
| CN111474463A (en) * | 2020-04-27 | 2020-07-31 | Oppo(重庆)智能科技有限公司 | Circuit board test system, circuit board test host and circuit board test method |
| CN111970165A (en) * | 2020-07-30 | 2020-11-20 | 惠州市德赛西威汽车电子股份有限公司 | Automobile instrument Ethernet communication endurance automatic test system and method |
| CN114116353A (en) * | 2021-11-29 | 2022-03-01 | 深圳壹账通智能科技有限公司 | A device testing method, device, device and storage medium |
| CN118348383A (en) * | 2024-03-07 | 2024-07-16 | 深圳沸石科技股份有限公司 | Test equipment and system for mobile phone motherboard |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103607492B (en) | 2018-01-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103607492B (en) | A kind of test system and method for testing to cell phone mainboard function | |
| US10530499B2 (en) | Methodology of using the various capabilities of the smart box to perform testing of other functionality of the smart device | |
| CN105227939B (en) | Inter-vehicle information system testboard bay and test method | |
| CN102387234B (en) | Mobile phone automatic test device and method | |
| CN111737153A (en) | Automatic testing method and system for vehicle machine | |
| CN101295280B (en) | Automatic software debugging method and system | |
| WO2012013043A1 (en) | Method and system for testing mobile phone mainboard | |
| CN114578790B (en) | Unmanned aerial vehicle flight control automatic test method, system, equipment and medium | |
| CN106776294B (en) | Automatic android mobile phone testing method and system | |
| CN105259459B (en) | Automation quality detecting method, device and the equipment of a kind of electronic equipment | |
| CN103716465A (en) | Two-mobile-terminal mutual testing method and system | |
| CN108141658A (en) | Production line PCB serial programmings and test method and system | |
| CN106027729A (en) | Android mobile phone function automatic test system and method | |
| CN202535436U (en) | A testing system for a mobile terminal | |
| CN105842559A (en) | Test result write-in method, test result write-in device, testing system and mobile terminal | |
| CN107631750A (en) | For testing the method, apparatus, terminal and storage medium of terminal to be measured | |
| CN112235708A (en) | A test system and method for earphone production | |
| CN116224974B (en) | Cloud pipe end-based vehicle body controller in-loop testing method, platform and storage medium | |
| EP3754974A1 (en) | Processing method for vehicle diagnostic report, device, diagnostic apparatus, and system | |
| CN204517822U (en) | A kind of result with WIFI can be reviewed bluetooth and automatically be detected frock | |
| CN114964809B (en) | Vehicle instrument testing method and device and storage medium | |
| CN203149062U (en) | Comprehensive testing instrument used for multipath lead wire/connector test | |
| CN203968198U (en) | Cell-phone function testing apparatus | |
| CN117234174A (en) | Vehicle remote calibration method, system and storage medium | |
| CN110320007A (en) | Intelligent vision dresses product allomeric function detection system and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into 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: 20201125 Address after: 221700 4-1-110-shop, Nanyuan new town, Fengxian County, Xuzhou City, Jiangsu Province Patentee after: Song Yixiao Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90 Patentee before: Phicomm (Shanghai) Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250919 Address after: 221700 Jiangsu Province Xuzhou City Feng County Fengpei Road North, Jiangmei Technology West Patentee after: Fengxian Xinshuo Engineering Construction Co.,Ltd. Country or region after: China Address before: 221700 4-1-110-shop, Nanyuan new town, Fengxian County, Xuzhou City, Jiangsu Province Patentee before: Song Yixiao Country or region before: China |