CN106055463B - A kind of test device, system and method - Google Patents

A kind of test device, system and method Download PDF

Info

Publication number
CN106055463B
CN106055463B CN201610356178.9A CN201610356178A CN106055463B CN 106055463 B CN106055463 B CN 106055463B CN 201610356178 A CN201610356178 A CN 201610356178A CN 106055463 B CN106055463 B CN 106055463B
Authority
CN
China
Prior art keywords
terminal
tested
detection
control
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610356178.9A
Other languages
Chinese (zh)
Other versions
CN106055463A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610356178.9A priority Critical patent/CN106055463B/en
Publication of CN106055463A publication Critical patent/CN106055463A/en
Application granted granted Critical
Publication of CN106055463B publication Critical patent/CN106055463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment

Abstract

The present invention discloses a kind of test device, system and method, which includes configuration unit, for configuring corresponding control program for each terminal to be tested;First control unit has same operating status for each terminal to be measured of control process control by the configuration of described dispensing unit;And at least one detection unit, for detecting same performance status information of each terminal to be tested under the same operating status.The present invention is by above technical scheme, and solving the problem of traditional test scheme, there are maximum errors to be unable to satisfy demand by manual operation.

Description

A kind of test device, system and method
Technical field
The present invention relates to electronic technology field more particularly to a kind of test devices, system and method.
Background technique
In present terminal R&D and production, the performance in order to guarantee terminal various aspects is more preferable than other brands in row, general meeting The terminal of multiple brands is bought to compare test.Such contrast test requires each terminal under same operating status, than Under such as identical in the operation business and identical situation of operation duration.And traditional test method not can guarantee this point generally.
Performance test includes power consumption performance, heating property etc., and terminal includes mobile phone, laptop, PAD (plate electricity Brain) etc..Below by taking the power consumption performance test for carrying out mobile phone as an example, for example test Nubia mobile phone, Samsung mobile phone are being played immediately When communication software QQ, the situation of change of power consumption, usually requires that two people operate respectively over time, while to exerting ratio Sub-, Samsung mobile phone power-on, then QQ software is opened simultaneously, then artificial observation electric quantity change, actually in this sequence of operations process In be difficult to accomplish the synchronization of two people, it cannot be guaranteed that two mobile phones are discharged under absolute identical operating status, especially to needs When comparing test to multiple mobile phones, difficulty is bigger, and therefore, using traditional approach, this kind of contrast test exists very big Error is unable to satisfy demand.
Summary of the invention
It is a primary object of the present invention to propose a kind of test device, system and method, it is intended to solve traditional test scheme By manual operation there are maximum error, the problem of being unable to satisfy demand.
To achieve the above object, a kind of test device provided by the invention, comprising:
Configuration unit, for configuring corresponding control program for each terminal to be tested;
First control unit has same for each terminal to be measured of control process control by the configuration of described dispensing unit Operating status;
At least one detection unit, for detecting same performance shape of each terminal to be tested under the same operating status State information.
Further, the same operating status includes that operation function is identical identical with operation duration.
Further, the first control unit is specifically used for issuing corresponding control program to each terminal to be tested, and Each control program is executed, each execution for controlling program is for controlling each terminal to be measured with the same operating status.
Further, the detection unit is specifically used for detection power consumption status information, febrile state information, volume status letter At least one of breath.
In addition, to achieve the above object, the present invention also proposes a kind of test macro, including test platform, at least one waits for Terminal and at least one detection device are tested, each detection device has same performance status information detection function;It is each to be measured One end of examination terminal is connect with the test platform, and the other end is connect at least one detection device, wherein
Test platform issues correspondence to each terminal to be tested for configuring corresponding control program for each terminal to be tested Control program, and execute each control program, each execution for controlling program is for controlling each terminal to be measured with same operation shape State;
Terminal to be tested, for receiving the control program that the test platform issues and the control program that execution receives, There is corresponding operating status under a control program;
Detection device, for detecting performance state of the terminal to be tested connected to it under the corresponding operating status Information.
Further, each detection device is also connect with the test platform, and the test platform is also used to control each inspection Survey at least one of the detection time started, detection end time, detection interval of device.
Further, the detection device is following at least one:
The first detection sub-means with power consumption status information detection function;
The second detection sub-means with febrile state information detection functions;
Third detection sub-means with volume status information detection function.
Further, if the detection device is the first detection sub-means, the test macro further include:
Switch control unit is connected between the test platform and each terminal to be tested, is held for each control program After row, the electric connection between test platform and each terminal to be tested is cut off.
In addition, to achieve the above object, the present invention also proposes a kind of test method, comprising:
Corresponding control program is configured for each terminal to be tested;
There is same operating status by control each terminal to be measured of process control;
Detect same performance status information of each terminal to be tested under same operating status.
Further, described to include: with same operating status by control each terminal to be measured of process control
Corresponding control program is issued to each terminal to be tested, and executes each control program, each control program executes use There is same operating status in controlling each terminal to be measured.
Test device proposed by the present invention, system and method, can be to the same fortune of two or more terminal simulations Row state, and the performance state information of each terminal under same operating status is detected, accurately compare the performance of each terminal.And The present invention realizes that each terminal under same operating status, realizes intelligent measurement by detection unit by control program, It is simple accurate for the manual operation in traditional approach, it is reusable.
Detailed description of the invention
Fig. 1 is the test device module diagram that first embodiment of the invention provides;
Fig. 2 is the test device module diagram that second embodiment of the invention provides;
Fig. 3 is the test system module schematic diagram that third embodiment of the invention provides;
Fig. 4 is the test method flow chart that test macro shown in third embodiment of the invention executes;
Fig. 5 is the test system structure schematic diagram that fourth embodiment of the invention provides;
Fig. 6 is the flow chart for the test method that fifth embodiment of the invention provides;
Fig. 7 is the test method flow chart that sixth embodiment of the invention provides.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, after such as " module ", " device ", " element " or " unit " for indicating element Sew only for being conducive to explanation of the invention, there is no specific meanings for itself.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, Smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP are (portable Multimedia player), the fixed terminal of the mobile terminal of navigation device etc. and such as number TV, desktop computer etc..
First embodiment
The present invention further provides a kind of test devices, and referring to Fig.1, Fig. 1 is the test that first embodiment of the invention provides Apparatus module schematic diagram, the test device 61 include:
Configuration unit 61 is mainly used for configuring corresponding control program for each terminal to be tested;The control program can be foot This program is also possible to Uiautomator etc., can be saved in the form of a file after control programming is good, each to be measured Try the terminal that terminal can be different brands, the system run for the terminal of different brands, it is desirable to there are them same The control program of operating status, configuration may be different;
First control unit 62, which is mainly used for each terminal to be measured of the control process control configured by configuration unit 61, to be had Same operating status;Specifically, the first control unit can issue corresponding control program to each terminal to be tested, and execute Each control program, each execution for controlling program is for controlling each terminal to be measured with the same operating status;
At least one detection unit (631 to 63n), for detecting each terminal to be tested under the same operating status Same performance status information, can be it is one-to-many detect, be also possible to and terminal to be tested is one-to-one is detected; It can be used for detecting at least one of power consumption status information, febrile state information, volume status information.
The each unit in test device 61 that the present embodiment proposes can be realized by hardware, wherein configuration unit 61 can To be realized using processor, first control unit 62 can be realized using communication unit, be issued pair to each terminal to be tested The control program answered, and each control program is executed, communication unit is, for example, usb communication unit, issues adb (Android Debug Bridge it) orders, program will be controlled by adb order and be issued to corresponding terminal to be tested and execute.Detection unit (631 It can be realized to 63n) by detecting instrument.Be illustrated below with particular hardware to the present embodiment: processor is each to be tested Terminal configures corresponding control program, in such a way that usb communication unit issues adb (Android Debug Bridge) order Each control program is issued to corresponding terminal to be tested, and executes each control program, so that each terminal to be tested is in same fortune Under row state, later, detecting instrument starts to detect terminal to be tested connected to it same under the same operating status Performance state information.
The present embodiment compared with prior art, can be to the same operating status of two or more terminal simulations, and examines The performance state information of each terminal under same operating status is surveyed, the performance of each terminal is accurately compared.And the present embodiment is logical Control program is crossed to realize that each terminal under same operating status, realizes intelligent measurement by detection unit, compared to tradition It is simple accurate for manual operation in mode, it is reusable.
Second embodiment
Referring to Fig. 2, Fig. 2 is the test device module diagram that second embodiment of the invention provides, the test device 71 packet It includes:
Configuration unit 71 is mainly used for configuring corresponding control program for each terminal to be tested;The control program can be foot This program is also possible to Uiautomator etc., can be saved in the form of a file after control programming is good, each to be measured Try the terminal that terminal can be different brands, the system run for the terminal of different brands, it is desirable to there are them same The control program of operating status, configuration may be different;
First control unit 72, which is mainly used for each terminal to be measured of the control process control configured by configuration unit 61, to be had Same operating status;Specifically, the first control unit can issue corresponding control program to each terminal to be tested, and execute Each control program, each execution for controlling program is for controlling each terminal to be measured with the same operating status;
First detection unit 731, second detection unit 732 are connect with a terminal to be tested respectively, are connected for detecting with it Same performance status information of the terminal to be tested connect under the same operating status;
Second control unit 74 is mainly used for controlling the detection time started of two detection units (731,732), detection knot The beam time, detection interval at least one of, such as allow (the 731,732) detection having the same of two detection units beginning when Between, the identical detection end time, identical detection interval etc..
The each unit in test device 71 that the present embodiment proposes can be realized by hardware, wherein configuration unit 71, the Two control units 74 can realize that first control unit 72 can be realized using communication unit using processor, to respectively to Test terminal issues corresponding control program, and executes each control program, and communication unit is, for example, usb communication unit, issues adb (Android Debug Bridge) order, will control program by adb order and be issued to corresponding terminal to be tested and hold Row.First detection unit 731, second detection unit 732 can be realized by detecting instrument.Below with particular hardware to this implementation Example is illustrated: processor is that each terminal to be tested configures corresponding control program, returns the first detecting instrument, the second detector Device configures identical detection time started, identical detection end time, identical detection interval, after the completion of configuration, passes through USB Each control program is issued to corresponding to be tested by the mode that communication unit issues adb (Android Debug Bridge) order Terminal, and execute each control program, so that each terminal to be tested is under same operating status, later, the first detecting instrument, second Detection time started that detecting instrument is configured according to processor, detection end time, the detection of detection interval are connected to it to be measured Try same performance status information of the terminal under the same operating status.
The present embodiment compares first embodiment more specificization, is detected for two terminals to be tested, and to each A terminal to be tested connects a detection unit, also adds the second control unit 74 and opens to control the detection of two detection units Begin at least one of time, detection end time, detection interval, can control the detection having the same of two detection units Time started, detection end time, detection interval, further increase the precision of detection.
3rd embodiment
Referring to Fig. 3, Fig. 3 is the test system module schematic diagram that third embodiment of the invention provides, which includes Test platform 11, switch control unit 12, the first terminal to be tested 13, the second terminal 14 to be tested, 15 and of the first detection device Second detection device 16, wherein
First terminal 13 to be tested, the second terminal 14 to be tested one end pass through switch control unit 12 and test platform 11 Connection, the other end are connect with the first detection device 15, second detection device 16 respectively, the first detection device 15, second detection dress 16 are set to connect with test platform 11.
Test platform 11 can be such as laptop, PAD (tablet computer), desktop computer etc. equipment.
It is mainly used for: configures corresponding control program, the control for the first terminal 13 to be tested, the second terminal 14 to be tested Program can be shell script, be also possible to Uiautomator (automatic system of user interface) etc., after control programming is good The storage unit of test platform 11 can be stored in the form of a file, the first terminal 13 to be tested, the second terminal 14 to be tested It can be the terminal of different brands, the system run for the terminal of different brands, it is desirable to make them that there is same operation shape The control program of state, configuration may be different, and therefore, the control program of different terminals to be tested may be different, still, control program Execution in correspondence terminal to be measured can control each terminal to be measured with same operating status;Same operating status can be fortune Row function is identical identical with operation duration, and wherein operation function is identical, for example to can be operation business identical, such as with identical soft Part plays video, plays music etc. with identical software;Operation function is identical to can also be that simulated operation is identical, such as simulates phase Clicking operation together, identical slide etc..
Corresponding control program is issued, and executes each control journey to the first terminal 13 to be tested, the second terminal 14 to be tested Sequence, each execution for controlling program is so that each terminal to be measured has same operating status;It, can for controlling program and be shell script To issue adb (Android by the USB connection between test platform and the first terminal 13 to be tested, the second terminal 14 to be tested Debug Bridge) order, program will be controlled by adb order and be issued to corresponding terminal to be tested and execute.
Test platform and the first detection device 15, the connection type of second detection device 16 can be RS232 serial ports, GPIB (General-Purpose Interface Bus, general purpose interface bus) or LAN (Local Area Network, local Net).The first detection device 15, second can be examined by corresponding medium development and application end software installation on test platform Survey device 16 is controlled, and required movement is triggered, such as control detects the time started, the detection end time, detects in interval At least one can also obtain testing result from the first detection device 15, second detection device 16, compare and analyze.
Switch control unit can have PLC technology on-off action, after connection, has USB communication function, can carry out After disconnection, test platform 11 and the first terminal 13 to be tested, the electrical property of the second terminal 14 to be tested is can be cut off in adb order transmission Connection prevents the external world from having the terminal 13 to be tested of electric current inflow first, the second terminal 14 to be tested;The present embodiment be to first to Terminal 13, the second progress of terminal 14 power consumption performance detection to be tested are tested, after control program executes, so that it may disconnect, otherwise lead to Cross USB connection between test platform 11 and the first terminal 13 to be tested, the second terminal 14 to be tested, the first terminal 13 to be tested, Second terminal 14 to be tested can be constantly in charged state, influence the accuracy of testing result.Switch control unit 12 can be One special relay does not limit specific structure as long as being able to achieve above-mentioned function, certainly, in the applied field having Jing Zhong, if test platform 11 on the charging always of terminal to be tested on testing result without influence, the switch control can be saved Unit 12 processed.In the present embodiment, the instruction of switch control unit acceptance test platform 11, by a pair of with two terminals one to be tested The switch answered switches or the connection of connection terminal to be tested and test platform 11.
First terminal 13 to be tested, the second terminal 14 to be tested are mainly used for receiving the corresponding control that test platform 11 issues Processing procedure sequence simultaneously executes the control program received, when running corresponding function under a control program and remaining corresponding It is long, such as make a phone call, send the functions such as short message.First terminal 13 to be tested, the second terminal 14 to be tested can be mobile electricity Words, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP are (just Take formula multimedia player), the mobile terminal of navigation device etc. and such as number TV, desktop computer etc. it is fixed eventually End.
First detection device 15, second detection device 16 are mainly for detection of terminal to be tested connected to it corresponding Power consumption status information under operating status, since the execution of control program allows the first terminal 13 to be tested, the second terminal to be tested 14 have same operating status, and therefore, what the first detection device 15, second detection device 16 detected is the first terminal to be tested 13, power consumption status information of second terminal 14 to be tested under same operating status;First detection device 15, second detection device 16 need with same performance status information detection function, can be the first detection with power consumption status information detection function Device (not shown), has sound at the second detection sub-means (not shown) with febrile state information detection functions Measure at least one of the third detection sub-means (not shown) of status information detection function, the first detection device 15, the Two detection devices 16 can be controlled detection time started, detection end time by test platform 11, detect at least one in being spaced Kind.First detection device 15, second detection device 16 can show testing result, and can also will test result, to be transferred to test flat Platform 11 is compared and analyzed by test platform 11.First detection device 15, second detection device 16 can use specific detector Device realizes that the connection type with the desktop computer as test platform 11 can be RS232 serial ports, GPIB or LAN.
Test macro shown in the present embodiment carries out the course of work of power consumption detection as shown in figure 4, may include:
It S201, on test platform 11 by the application end software that prestores is that the first terminal 13, second to be tested is to be tested Terminal 14 configures corresponding control program, is stored on test platform 11 with document form.It can certainly be by other means Configuration control program is not limited to by application end software;
S202, each constituent element in test macro is electrically connected, the first terminal 13 to be tested, the second end to be tested The one end at end 14 is connect by switch control unit 12 with test platform 11, the other end respectively with the first detection device 15, second Detection device 16 connects, and the first detection device 15, second detection device 16 are connect with test platform 11.
S203, the first detection device when program is also not carried out is controlled by the application end software records on test platform 11 15, the electric current initial value that second detection device 16 measures;Dress is detected by the application end software set first on test platform 11 Set the detection time started, detection end time and detection interval of 15, second detection device 16.It can allow the first detection device 15 With the detection time started having the same of second detection device 16, identical detection end time, identical detection interval.
S204, by the application end software on test platform 11 simultaneously to the first terminal 13 to be tested, the second end to be tested End 14 issues adb order, will control program by adb order and be issued to corresponding terminal to be tested and execute.Control program After same time point executes, the first terminal 13 to be tested, the second terminal 14 to be tested bring into operation correspondence at same time point Function.
S205, the first detection device 15, second detection device 16 are according to detection time started of application end software set, inspection End time, detection interval are surveyed, starts to detect power consumption state of the terminal to be tested connected to it under corresponding operating status Information, and will test result and be transferred to test platform 11, for example, the testing result of the first terminal 13 to be tested is as follows:
2016-02-24 16:21:07,235mA
2016-02-24 16:21:07,205mA
2016-02-24 16:21:08,200mA
2016-02-24 16:21:08,175mA
2016-02-24 16:21:09,115mA
2016-02-24 16:21:10,105mA
2016-02-24 16:21:10,98mA
2016-02-24 16:21:11,91mA
2016-02-24 16:21:11,75mA
The testing result of second terminal 14 to be tested is as follows:
2016-02-24 16:21:07,235mA
2016-02-24 16:21:07,215mA
2016-02-24 16:21:08,205mA
2016-02-24 16:21:08,195mA
2016-02-24 16:21:09,185mA
2016-02-24 16:21:10,175mA
2016-02-24 16:21:10,156mA
2016-02-24 16:21:11,135mA
2016-02-24 16:21:11,115mA
S206, the inspection by the application end software on test platform 11 to the first detection device 15, second detection device 16 Result is surveyed to compare and analyze.Such as the current value that detect for 9 times can be averaging, then with controlling when program is also not carried out the The electric current initial value that one detection device 15, second detection device 16 measure subtracts the mean value and obtains difference, compares two terminals Size of the difference, the bigger terminal power consumption performance of difference is poorer, on the contrary, difference it is smaller terminal power consumption performance it is better.
The test macro that the present embodiment proposes, can be to two same operating statuses of terminal simulation, and detect same operation The performance state information of each terminal under state, compares the performance of each terminal.And the present invention is realized by control program Each terminal realizes intelligent measurement by detection unit under same operating status, compared to the manual operation in traditional approach For, it is simple accurate, it is reusable.Test macro in other embodiments may include multiple terminals to be tested, and correspondence is set Multiple detection devices are set, it is one-to-one that terminal to be tested is tested.
Fourth embodiment
Referring to Fig. 5, the test system structure schematic diagram that Fig. 5 provides for fourth embodiment of the invention, the test macro, including Desktop computer 31, the first mobile phone 32 to be tested, the second mobile phone 33, the first detector 34 and the second detector 35 to be tested, One mobile phone 32 to be tested is connected between desktop computer 31 and the first detector 34 by USB, and the second mobile phone 33 to be tested is logical USB is crossed to be connected between desktop computer 31 and the second detector 35, the first detector 34 and the second detector 35 also with it is desk-top Computer 31 connects.
Desktop computer 31 is used as test platform, installs application end software, is that the first mobile phone 32, second to be tested is to be tested Mobile phone 33 configures corresponding shell script, as control program, saves in the form of a file.It can also be set on application end software The detection time started of first detector 34 and the second detector 35, detection end time, detection interval.
Under the control of application end software, desktop computer 31 issues adb order by USB connection, same by adb order When issue corresponding control program to the first mobile phone 32 to be tested, the second mobile phone 33 to be tested, and execute each control program, it is each to control The execution of processing procedure sequence is so that each mobile phone to be measured has same operating status, such as opens QQ software simultaneously.
Under the control of application end software, the first detector 34 and the second detector 35 start to the first mobile phone to be tested 32, the second mobile phone 33 to be tested is accordingly detected, such as carries out heating property detection, will test result desktop computer 31. Application end software on desktop computer 31 compares and analyzes after receiving.
The test macro that the present embodiment proposes to two mobile phone simulations while can run QQ software, i.e., the same operation shape State, and the performance state information of each mobile phone under same operating status is detected, compare the performance of each mobile phone.
5th embodiment
Referring to Fig. 6, Fig. 6 is the flow chart for the test method that fifth embodiment of the invention provides, and the test method is main to wrap It includes:
S401, corresponding control program is configured for each terminal to be tested.
The control program can be shell script, be also possible to Uiautomator etc., can be with after control programming is good The form of file is stored in test platform, and each terminal to be tested can be the terminal of different brands, for the terminal of different brands The system run, it is desirable to make them that there is same operating status, the control program of configuration may be different, therefore, different to be measured The control program for trying terminal may be different, and still, each end to be measured can be controlled by controlling execution of the program in correspondence terminal to be measured End has same operating status;Same operating status can be identical with operation duration to run identical function.
S402, there is same operating status by control each terminal to be measured of process control.
Specific embodiment includes but is not limited to issue corresponding control program to each terminal to be tested, and execute each Program is controlled, each execution for controlling program is for controlling each terminal to be measured with same operating status.
The same performance status information of S403, each terminal to be tested of detection under same operating status.
Performance state information may include: power consumption status information, febrile state information, at least one in volume status information Kind.
If it is the detection for carrying out power consumption status information, can switch each to be measured after control program is issued and executed Try the external power supply supply of terminal.
In some embodiments, detection time started, detection end time can also be controlled, detect at least one in being spaced Kind.
In some embodiments, each testing result can also be compared and analyzed.
The present embodiment propose test method, can to the same operating status of two or more terminal simulations, and The performance state information for detecting each terminal under same operating status compares the performance of each terminal.And control can be passed through Program realizes that each terminal under same operating status, realizes intelligent measurement by detection unit, compared in traditional approach Manual operation for, it is simple accurate, it is reusable.
Sixth embodiment
Referring to Fig. 7, Fig. 7 is the test method flow chart that sixth embodiment of the invention provides, and the present embodiment exerts ratio to test Sub- mobile phone, Samsung mobile phone are when playing QQ, over time for the situation of change of power consumption, to the above method of the invention It is described further.The test method, specifically includes that
S501, application end software is installed on the desktop.
It S502, using application end software is the corresponding shell script of two mobile phone configurations to be tested, the execution of shell script can QQ program is run simultaneously to control two mobile phones at same time point.Shell script after writing saves in the form of a file.
S503, when being tested, pass through the USB connection between desktop computer and Nubia mobile phone, Samsung mobile phone Adb order is issued, corresponding shell script is issued to by corresponding mobile phone and perform script program by adb order.Script The execution of program allows two mobile phones at same time point while running QQ program.
S504, the electric connection for disconnecting desktop computer and two mobile phones again, prevent desktop computer from filling to two mobile phones Electricity.
S505, the detecting instrument for recycling application end software control and two mobile phones to connect one to one, at the same time Point while the power consumption condition for detecting corresponding mobile phone, two detecting instruments detection interval having the same, identical detection end time.
S506, two detecting instruments will test the application end software that result is reported to immediately on desktop computer, and application end is soft Part saves testing result, finally can the power consumption performance to two mobile phones compare and analyze.
The test method that the present embodiment proposes, can be to Nubia mobile phone, Samsung mobile phone when playing QQ, over time The situation of change of power consumption is detected, and by controlling program come two mobile phones of intelligent realization in same operating status Under, it is simple accurate for the manual operation in traditional approach.
It should be noted that, in this document, term " includes " or its any other variant are intended to nonexcludability It include so that the process, method, article or the device that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, article or device intrinsic want Element.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of test device characterized by comprising
Configuration unit, for configuring corresponding control program for each terminal to be tested;
First control unit, first control unit are connect with the configuration unit, for issuing institute to each terminal to be tested simultaneously Control program is stated, while controlling each terminal to be tested and executing the control program, to control each terminal to be measured with same operation State;
At least one detection unit, at least one detection unit are connect with each terminal to be tested, for detecting each terminal to be tested Same performance status information under the same operating status.
2. test device as described in claim 1, which is characterized in that the same operating status include operation function it is identical and Operation duration is identical.
3. test device as described in claim 1, which is characterized in that the first control unit be specifically used for simultaneously to respectively to Test terminal issues corresponding control program, and is performed simultaneously each control program, each execution for controlling program for control respectively to Surveying terminal has the same operating status.
4. test device as described in any one of claims 1 to 3, which is characterized in that the detection unit is specifically used for detection At least one of power consumption status information, febrile state information, volume status information.
5. a kind of test macro, which is characterized in that including test platform, at least one terminal to be tested and at least one inspection Device is surveyed, each detection device has same performance status information detection function;One end of each terminal to be tested and the test Platform connection, the other end are connect at least one detection device, wherein test platform, including configuration unit and the first control list Member, first control unit are connect with the configuration unit, and configuration unit is used to configure corresponding control journey for each terminal to be tested Sequence, first control unit control each terminal to be tested and hold for issuing the control program to each terminal to be tested simultaneously The row control program, to control each terminal to be measured with same operating status;
Terminal to be tested is being controlled for receiving the control program that the test platform issues and the control program that execution receives There is corresponding operating status under the control of processing procedure sequence;
Detection device, for detecting performance state letter of the terminal to be tested connected to it under the corresponding operating status Breath.
6. test macro as claimed in claim 5, which is characterized in that each detection device is also connect with the test platform, institute Test platform is stated to be also used to control in the detection time started, detection end time, detection interval of each detection device at least It is a kind of.
7. such as test macro described in claim 5 or 6, which is characterized in that the detection device is following at least one:
The first detection sub-means with power consumption status information detection function;
The second detection sub-means with febrile state information detection functions;
Third detection sub-means with volume status information detection function.
8. test macro as claimed in claim 7, which is characterized in that if the detection device is the first detection sub-means, The test macro further include:
Switch control unit is connected between the test platform and each terminal to be tested, executes it for each control program Afterwards, the electric connection between test platform and each terminal to be tested is cut off.
9. a kind of test method characterized by comprising
Corresponding control program is configured for each terminal to be tested;
The control program is issued to each terminal to be tested simultaneously, while controlling each terminal to be tested and executing the control program, To control each terminal to be measured with same operating status;
Detect same performance status information of each terminal to be tested under same operating status.
10. test method as claimed in claim 9, which is characterized in that described to have by each terminal to be measured of control process control There is the same operating status to include:
Corresponding control program is issued to each terminal to be tested simultaneously, and is performed simultaneously each control program, it is each to control holding for program Row is for controlling each terminal to be measured with same operating status.
CN201610356178.9A 2016-05-25 2016-05-25 A kind of test device, system and method Active CN106055463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610356178.9A CN106055463B (en) 2016-05-25 2016-05-25 A kind of test device, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610356178.9A CN106055463B (en) 2016-05-25 2016-05-25 A kind of test device, system and method

Publications (2)

Publication Number Publication Date
CN106055463A CN106055463A (en) 2016-10-26
CN106055463B true CN106055463B (en) 2019-03-12

Family

ID=57175287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610356178.9A Active CN106055463B (en) 2016-05-25 2016-05-25 A kind of test device, system and method

Country Status (1)

Country Link
CN (1) CN106055463B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174187B (en) * 2017-12-14 2020-04-24 聚好看科技股份有限公司 Method and system for testing response time of smart television

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090185A (en) * 2014-06-30 2014-10-08 深圳市英威腾电气股份有限公司 Testing system and method
CN104536888A (en) * 2014-12-24 2015-04-22 网易(杭州)网络有限公司 Game testing method and system for mobile devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102905034B (en) * 2011-07-29 2017-04-12 富泰华工业(深圳)有限公司 Electronic device testing system and electronic device testing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090185A (en) * 2014-06-30 2014-10-08 深圳市英威腾电气股份有限公司 Testing system and method
CN104536888A (en) * 2014-12-24 2015-04-22 网易(杭州)网络有限公司 Game testing method and system for mobile devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
越大越持久?比比才知道;MoiMark手机评测网;《http://ju.outofmemory.cn/entry/175702》;20150212;第1-5页

Also Published As

Publication number Publication date
CN106055463A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN105785199A (en) Multifunctional power distribution terminal integrated test system and operating method thereof
CN202110438U (en) Integrated multifunctional 1553B bus analyzer
CN103901388B (en) Parallel detection termination and detection method
CN101848042A (en) Method and system for testing radio frequency of mobile phones
CN111239617B (en) Control method and device for charge and discharge test, storage medium and system
CN204291015U (en) A kind of test macro of communication products
CN106407059A (en) Server node testing system and method
CN103312852A (en) Automatic mobile terminal current testing device and testing method thereof
CN105187608B (en) The method and apparatus of application program power consumption on a kind of acquisition mobile terminal
CN114167132B (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN108933710A (en) Wideband radio communications test device
CN104915297A (en) APP electricity consumption automatic test method for android device
CN105260077B (en) The detection method of electronic equipment and its capacitive touch screen
CN104820143B (en) The automatic testing method and system of distribution power automation terminal
CN107038120A (en) A kind of method for testing software and equipment
CN103592542A (en) Signal analysis interface intelligent matching method based on switching matrix
CN106055463B (en) A kind of test device, system and method
CN106776301B (en) Subelement testing method and device
CN104346262A (en) Method and device for acquiring power consumption information of application program and mobile terminal
US10469333B2 (en) Network analyzer systems and methods for operating a network analyzer
CN103995207A (en) Three-remote automatic test device for power distribution terminal
CN109143111A (en) A kind of power supply changes test method, device and equipment
CN211669544U (en) Test system
CN105868063A (en) Method, system and apparatus for writing functional detection result and mobile terminal
CN205749716U (en) Detect the detecting system of multiple many junction filters simultaneously

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