CN104661238A - Mobile phone power consumption test system - Google Patents

Mobile phone power consumption test system Download PDF

Info

Publication number
CN104661238A
CN104661238A CN201510022976.3A CN201510022976A CN104661238A CN 104661238 A CN104661238 A CN 104661238A CN 201510022976 A CN201510022976 A CN 201510022976A CN 104661238 A CN104661238 A CN 104661238A
Authority
CN
China
Prior art keywords
test
server
power consumption
power supply
cable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510022976.3A
Other languages
Chinese (zh)
Inventor
邱剑伟
许国栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HANGZHOU SKY-MOBI TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU SKY-MOBI 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 HANGZHOU SKY-MOBI TECHNOLOGY Co Ltd filed Critical HANGZHOU SKY-MOBI TECHNOLOGY Co Ltd
Priority to CN201510022976.3A priority Critical patent/CN104661238A/en
Publication of CN104661238A publication Critical patent/CN104661238A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention relates to a mobile phone power consumption test system which comprises a first server, a second server and at least one test power supply, wherein the first server is connected with tested equipment through a first cable; the first cable is provided with a cut-off point; the test power supply is connected with the cut-off point to supply power to the tested equipment; the test power supply is connected with the first server through a second cable; the first server acquires voltage and current data from the test power supply; a test task management platform which is used for providing a test task uploading interface and a test report checking and downloading interface runs on the second server. Compared with the test method in the prior art, the mobile phone power consumption test system is more time-saving, more labor-saving, efficient and convenient in the test preparation stage, has the effect of saving plenty of time of the test personnel in the test process, and has the advantages that the test personnel can check the test report through a display interface and the graphic interface is clear at a glance after the test is completed.

Description

Mobile telephone power consumption test macro
Technical field
The present invention relates to a kind of test macro, especially a kind of mobile phone power test macro.
Background technology
Along with the miniaturization, lightening of mobile phone, its heat dispersion generally can decline to some extent.When applying power consumption and being larger, the rapid power down of battery of mobile phone, cellphone body also heats up thereupon.In general, developer can be optimized code by obtaining reference power data, finds the problem that application power consumption is improved ahead of time, forms solution, promote the experience of terminal use.In prior art, obtain the method for testing of reference power data generally by installing monitoring software on equipment under test, or use the power analyzer etc. of specialty to realize.For installing monitoring software to obtain the method for reference power data on equipment under test, due to limited precision, therefore, cannot apply when needs obtain precise information.For the method using professional power analyzer, although data precision is higher, but the operation of power analyzer is comparatively loaded down with trivial details, each measurement be unable to do without the loaded down with trivial details operation of plug power supply, plug battery, mobile phone operation, data record, statistics etc., inefficiency, all need tester on duty before tester for a long time owing to testing at every turn again, waste time and energy.
Summary of the invention
For overcoming the technical problem existed in prior art, the present invention proposes a kind of mobile telephone power consumption test macro.
For achieving the above object, the technical solution adopted in the present invention is:
A kind of mobile telephone power consumption test macro, comprise first server, second server, at least one testing power supply, first server is connected with an equipment under test by the first cable, First Line cable tie has a point of cut-off, testing power supply access point of cut-off is that equipment under test is powered, testing power supply is connected by the second cable with first server, first server gathers voltage and current data from testing power supply, second server runs and has test assignment management platform, for providing, test assignment uploads interface, test report is checked and download interface.
Technique scheme can also be perfect further:
As preferably, the second cable is GPIB line, first server is configured with power data collector, and testing power supply is communicated with power data collector by the second cable.
As preferably, the first cable is USB line.
As preferably, point of cut-off is positioned on the power line of USB line, the power line in the positive pole access USB line of testing power supply, the ground wire in negative pole access USB line.
As preferably, equipment under test is communicated with first server with negative line by the electrode line of USB line.
As preferably, first server also comprises test assignment actuator, for obtaining and performing test assignment.
As preferably, mobile telephone power consumption test macro also comprises the first database and the second database, and the first database is for preserving test assignment, and the second database is for preserving test result.
As preferably, the first database is PostgreSQL database, and the second database is Mongodb database.
As preferably, first server, second server are connected to display device.
Due to the employing of technique scheme, the present invention has the following advantages:
Present invention uses and independently measure plant-grid connection equipment under test, ensure that the accuracy of test data; In the test preparatory stage, the test assignment interface that tester is provided by test assignment management platform uploads test assignment, without the need to engaged test instrument and equipment under test, therefore, without the need to grasping extra tester using method, without the need to carrying out instrument plug operation repeatedly, the preparation of tested application and test script only need be paid close attention to, compared to method of testing of the prior art, more time saving and energy saving, efficiently convenient; In test process, tester before instrument, and only need submit test assignment to without the need on duty in test assignment management platform, and test assignment actuator will complete test operation automatically, compared to method of testing of the prior art, save the plenty of time of tester; After having tested, tester checks test report by display interface, and graphic interface is very clear.
Mobile telephone power consumption test macro proposed by the invention can access the combination of multiple equipment under test, therefore, the test of many groups can concurrently at one time be carried out, in addition, test assignment management platform provides the ability multiple test assignments for an equipment under test combination performed continuously, improves the utilization rate of equipment, system, platform.
Accompanying drawing explanation
Fig. 1 is a kind of system framework schematic diagram of the present invention;
Wherein: 1, first server; 11, power data collector; 12, test assignment actuator; 2, second server; 3, testing power supply; 4, the first cable; 41, point of cut-off; 5, the second cable; 6, equipment under test; 7, the first database; 8, the second database.
Embodiment
Mobile telephone power consumption test macro as shown in Figure 1, comprise first server 1, second server 2, first server 1 is configured with power data collector 11, test assignment actuator 12, second server 2 runs and has test assignment management platform, first server 1 is connected with an equipment under test 6 by first cable 4.
Mobile telephone power consumption test macro as shown in Figure 1, also comprises at least one testing power supply 3, and the first cable 4 has a point of cut-off 41, and testing power supply 3 accesses point of cut-off 41 and powers for equipment under test 6.
For example, when the first cable 4 is USB line, point of cut-off 41 is positioned on the power line of USB line, the power line in the positive pole access USB line of testing power supply 3, the ground wire in negative pole access USB line.
In upper example, equipment under test 6 is communicated with first server 1 with negative line by the electrode line of USB line.
Testing power supply 3 is connected by the second cable 5 with first server 1, and for example, the second cable 5 is GPIB line, and testing power supply 3 is communicated with power data collector 11 by the second cable 5.By power data collector 11, first server 1 gathers voltage and current data from testing power supply 3.In addition, power data collector 11 also records the number of times that power data collector 11 carries out data scrubbing, for example, if arrange testing power supply every 30 seconds cleaning one secondary data, after so completing once cleaning, data scrubbing number of times+1, by data scrubbing number of times, tester can judge whether power acquisition storage 11 normally works; Data loading number of times, for example, if data sampling is spaced apart every n millisecond once (sampling interval can be arranged equally), and by write first database 7 real-time for sampled data, so, this value+1, this numerical value is equally also used to judge whether power acquisition storage 11 normally works.Data acquisition unit 11 provides the interactive interface with tester by display interface, tester is by display interface, input equipment write setting option, as data source, data scrubbing number of times, data loading number of times, power supply, sampling interval etc., simultaneously, read ammeter numerical value and the voltmeter numerical value of testing power supply 3 by ammeter and voltmeter, thus calculate power consumption number.In an application example, tester is by being fixedly installed on a fixing numerical value by voltage, whether data acquisition unit 11 monitoring voltage is stabilized in this fixed numbers, and detects current value, thus calculates power consumption number.
In one embodiment, power data collector 11 is realized by Labview graphic programming.
In one embodiment, described first server 1 is connected with multiple stage testing power supply 3, multiple equipment under test 6.
First server 1 also comprises test assignment actuator 12, for obtaining and performing test assignment.
The test assignment management platform that second server 2 runs, for providing, test assignment uploads interface, test report is checked and download interface.By display device interface and user interactions.After user logs in this platform, upload interface by test assignment and upload test file, for example, APK application file, or Junit Test APK file (signature needs consistent with corresponding APK file), establishment mission statement etc., the test assignment of the performance and testing task management platform of test assignment is uploaded and is carried out for asynchronous, executable test assignment is inquired about by timing, automatic download APK file is also installed and carries out on equipment under test 6, therefore, after submitting data to, tester is without the need to the switching of real-time control and measuring program.Tester checks progress, the report of every test assignment by job enquiry entrance, the testing time is shown in report, related data information and the charts (as broken line graph) such as program name, test mode, type, electric current, voltage, power consumption, in addition, the mobile phone screen sectional drawing also preserving test period is correct to judge whether test runs.
In an application example, control equipment under test 6 by Android JUnit Test and do to specify interface operation.Test assignment actuator 12 directly performs adb order by the Android SDK configured and pacifies loading, unloading application, testing results use-case, or completes aforesaid operations with ddmlib.
Mobile telephone power consumption test macro as shown in Figure 1 also comprises the first database 7 and the second database 8, second database 8.
In one embodiment, the first database 7 is PostgreSQL databases, for preserving test assignment, and the user data of management testing task management platform.
In one embodiment, the second database 8 is Mongodb databases, for preserving test result, the APK uploaded, sectional drawing and daily record etc.Second database 8 uses the GridFS of Mongodb to preserve file, comprises the screenshotss file in test process, Junit Test daily record, LogCat daily record, Power Supply Monitoring data etc.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from this
Bright spirit and scope.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (9)

1. a mobile telephone power consumption test macro, it is characterized in that, comprise first server (1), second server (2), at least one testing power supply (3), described first server (1) is connected with an equipment under test (6) by the first cable (4), described the first cable (4) is with a point of cut-off (41), the described point of cut-off (41) described in testing power supply (3) access is the power supply of described equipment under test (6), described testing power supply (3) is connected by the second cable (5) with described first server (1), described first server (1) gathers voltage and current data from described testing power supply (3), the upper operation of described second server (2) has test assignment management platform, interface is uploaded for providing test assignment, test report is checked and download interface.
2. mobile telephone power consumption test macro according to claim 1, it is characterized in that, described the second cable (5) is GPIB line, described first server (1) is configured with power data collector (11), and described testing power supply (3) is communicated with described power data collector (11) by the second described cable.
3. mobile telephone power consumption test macro according to claim 1, is characterized in that, described the first cable (4) is USB line.
4. mobile telephone power consumption test macro according to claim 3, it is characterized in that, described point of cut-off (41) is positioned on the power line of described USB line, the ground wire in the power line in the USB line described in positive pole access of described testing power supply (3), the USB line described in negative pole access.
5. mobile telephone power consumption test macro according to claim 4, is characterized in that, described equipment under test (6) is communicated with described first server (1) with negative line by the electrode line of described USB line.
6. mobile telephone power consumption test macro according to claim 1, is characterized in that, described first server (1) also comprises test assignment actuator (12), for obtaining and performing test assignment.
7. mobile telephone power consumption test macro according to claim 1, it is characterized in that, it also comprises the first database (7) and the second database (8), and described the first database (7) is for preserving test assignment, and described the second database (8) is for preserving test result.
8. mobile telephone power consumption test macro according to claim 7, is characterized in that, described the first database (7) is PostgreSQL database, and described the second database (8) is Mongodb database.
9. mobile telephone power consumption test macro according to claim 1, is characterized in that, described first server (1), second server (2) are connected to display device.
CN201510022976.3A 2015-01-16 2015-01-16 Mobile phone power consumption test system Pending CN104661238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510022976.3A CN104661238A (en) 2015-01-16 2015-01-16 Mobile phone power consumption test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510022976.3A CN104661238A (en) 2015-01-16 2015-01-16 Mobile phone power consumption test system

Publications (1)

Publication Number Publication Date
CN104661238A true CN104661238A (en) 2015-05-27

Family

ID=53251823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510022976.3A Pending CN104661238A (en) 2015-01-16 2015-01-16 Mobile phone power consumption test system

Country Status (1)

Country Link
CN (1) CN104661238A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106168924A (en) * 2016-07-07 2016-11-30 北京金山安全软件有限公司 Software testing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090553A (en) * 2007-07-12 2007-12-19 华为技术有限公司 Radio terminal performance test device and method
CN101252471A (en) * 2008-03-20 2008-08-27 中兴通讯股份有限公司 Distributed automatization test system and method
CN101984701A (en) * 2010-11-03 2011-03-09 三维通信股份有限公司 Wireless network intelligent inspection tester and test method
CN102183320A (en) * 2011-02-23 2011-09-14 上海辰竹仪表有限公司 Automatic test system for temperature-class instrument
CN102710832A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Mobile application test method and system
CN103616560A (en) * 2013-11-29 2014-03-05 中国航空无线电电子研究所 Automatic power consumption parameter testing device and method applied to avionics device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090553A (en) * 2007-07-12 2007-12-19 华为技术有限公司 Radio terminal performance test device and method
CN101252471A (en) * 2008-03-20 2008-08-27 中兴通讯股份有限公司 Distributed automatization test system and method
CN101984701A (en) * 2010-11-03 2011-03-09 三维通信股份有限公司 Wireless network intelligent inspection tester and test method
CN102183320A (en) * 2011-02-23 2011-09-14 上海辰竹仪表有限公司 Automatic test system for temperature-class instrument
CN102710832A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Mobile application test method and system
CN103616560A (en) * 2013-11-29 2014-03-05 中国航空无线电电子研究所 Automatic power consumption parameter testing device and method applied to avionics device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106168924A (en) * 2016-07-07 2016-11-30 北京金山安全软件有限公司 Software testing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN103927255A (en) Software testing method based on cloud testing system, cloud testing system and client side of cloud testing system
CN107733735B (en) Script recording system and method implanted in pressure measurement device
CN103268289B (en) Record the method and system of application testing script on mobile terminals
US20140365174A1 (en) Meter data management testing
CN107038120B (en) Software testing method and device
CN111224845A (en) Equipment automatic testing system and method based on Internet of things cloud
CN111610393A (en) Automatic test system and method for multi-channel broadband microwave integrated component
CN102164196A (en) Automatic mobile phone current testing method
CN111711494B (en) Automatic test method, system, equipment and medium for wireless communication module current consumption
CN103984613A (en) Method for automatically testing floating point calculation performance of CPU (Central Processing Unit)
CN116991644A (en) WiFi equipment automatic test method, system and readable storage medium
CN112285583A (en) Method, device and system for testing maximum capacity of battery cell
CN107505575B (en) Rapid assessment method for retired power battery
CN104661238A (en) Mobile phone power consumption test system
CN102831296A (en) Automatic diagnosis system for electrical test field instruction
CN106708696A (en) Method and device for detecting power consumption of function in mobile terminal application program
CN104154970A (en) Service module for a level measuring device and automated service method
CN109752641A (en) A kind of method, apparatus, equipment and the storage medium of batch testing Devices to test
CN108062266A (en) A kind of PCIE-SSD automated testing methods based on cloud platform
CN106802845A (en) A kind of power consumption test method and system based on mobile terminal
CN104239202A (en) Non-Root testing method and system of interactive intelligent equipment
US11803456B2 (en) Distributed event-based test execution
CN102479120A (en) Startup/shutdown test system and startup/shutdown test method
RU142950U1 (en) UNINTERRUPTIBLE POWER SUPPLY LAYOUT TEST DEVICE
CN106405430B (en) Lithium ion battery on-line detection conversion control equipment, 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150527