WO2014000395A1 - 基于Android系统的手机电池续航时间自动测试方法 - Google Patents

基于Android系统的手机电池续航时间自动测试方法 Download PDF

Info

Publication number
WO2014000395A1
WO2014000395A1 PCT/CN2012/086965 CN2012086965W WO2014000395A1 WO 2014000395 A1 WO2014000395 A1 WO 2014000395A1 CN 2012086965 W CN2012086965 W CN 2012086965W WO 2014000395 A1 WO2014000395 A1 WO 2014000395A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
automatically
battery life
test item
mobile phone
Prior art date
Application number
PCT/CN2012/086965
Other languages
English (en)
French (fr)
Inventor
何宁宁
Original Assignee
成都西可科技有限公司
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 成都西可科技有限公司 filed Critical 成都西可科技有限公司
Publication of WO2014000395A1 publication Critical patent/WO2014000395A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Definitions

  • the invention relates to an automatic test method for mobile phone battery life time based on Android system.
  • the manual test method is often used to test the power consumption of the mobile phone.
  • the manual test has certain limitations, and the consistency of the repeated operation frequency cannot be guaranteed, and it is not convenient to timely view and record the consumption of the power during the test.
  • the object of the present invention is to overcome the deficiencies of the prior art, and provide an automatic test method for mobile phone battery life based on the Android system, so that the test procedure of the battery life time can automatically simulate the actual operation of the user in the unattended situation.
  • the test results are automatically recorded, which effectively solves the problem that the mobile phone battery life test time is long, repeated operation, high test intensity, test results cannot be automatically recorded, and reports cannot be automatically generated.
  • an Android system based mobile phone battery life test method which comprises the following steps:
  • S5 The mobile phone simulates the user's real operation, automatically repeats the selected test item, automatically records the current power, until the power consumption is completed, and automatically shuts down;
  • S8 Repeat steps S4 to S7 to perform the test of the next test item until the test item test is completed.
  • the test item includes at least one of normal standby, video call, voice call, video play, audio play, recorded video, internet application under 2G/3G data connection, internet application under WIFI, photo shooting or Any number.
  • the invention has the beneficial effects that the invention provides an automatic test method for the battery life of the mobile phone based on the Android system, so that the battery life test process can automatically simulate the actual operation of the user in an unattended situation, and the test result is automatically recorded. It effectively solves the problem that the mobile phone battery life test is long, repeated operation, high test intensity, test results cannot be automatically recorded, and reports cannot be automatically generated.
  • Figure 1 is a flow chart of the present invention.
  • an Android system based mobile phone battery life test method automatically includes the following steps:
  • S5 The mobile phone simulates the user's real operation, automatically repeats the selected test item, automatically records the current power, until the power consumption is completed, and automatically shuts down;
  • S8 Repeat steps S4 to S7 to perform the test of the next test item until the test item test is completed.
  • the test item includes at least one of normal standby, video call, voice call, video play, audio play, recorded video, internet application under 2G/3G data connection, internet application under WIFI, photo shooting or Any number.
  • the invention includes the following program modules:
  • S1 power monitoring module - extract current power data according to the set time interval, and write it into the TIME_POWER.TXT file;
  • Power consumption report module - generate a power consumption test report according to TIME_POWER.TXT;
  • S35: 2G/3G uses the Internet - set up a series of Internet URLs to simulate users browsing these websites and uploading and downloading files;
  • WIFI uses the Internet - set up a series of Internet sites to simulate users browsing these URLs, uploading and downloading files;
  • S38 Calls - including voice and video, continuous voice and video calls based on the set phone number and interval.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种基于Android系统的手机电池续航时间自动测试方法,它包括以下步骤:S1:安装并运行耗电测试工具;S2:设置手机保持唤醒状态;S3:开启电量监控;S4:选择并启动测试项;S5:手机模拟用户真实操作,自动重复执行所选测试项,自动记录当前电量,直至耗电完毕自动关机;S6:更换电池,开机;S7:启动PowerTest,自动生成报表;S8:重复S4~S7,测试下一测试项,直至测试项测试完成。本发明使得电池续航时间的测试过程可以在无人值守的情况下模拟用户实际操作自动进行,测试结果自动记录,有效解决了手机电池续航时间测试的时间长、重复执行操作、测试强度较大、测试结果无法自动记录、无法自动生成报表等问题。

Description

基于Android系统的手机电池续航时间自动测试方法 技术领域
本发明涉及一种基于Android系统的手机电池续航时间自动测试方法。
背景技术
随着通信技术的发展,手机现已成为人们日常生活中必不可少的一个重要部分。根据IDC 2012年5月最新数据报告,Android手机以8900万台的数量占据整个行业出货量的59%;根据易观国际的数据,截至2011年第四季度,中国国内市场Android产品的市场份额已经占据了整体智能机市场的68.4%。这些数据表明,国内外越来越多的手机厂商正专注于Android终端和应用的研发。手机在生产或者使用过程中,需要对手机电池的续航时间进行测试。手机耗电测试涉及的内容主要有:待机、视频音频播放、录制视频、WIFI使用互联网、照片拍摄张数、视频通话、语音通话等,该类测试属于重复性操作,时间跨度大,并且测试强度相当大,测试过程特别枯燥。
目前,常采用手工测试方法进行手机耗电测试,手工测试有一定的局限性,不能保证重复操作频率的一致性,并且测试过程中不便于及时查看和记录电量的消耗情况。
技术问题
本发明的目的即在于克服现有技术的不足,提供一种基于Android系统的手机电池续航时间自动测试方法,使得电池续航时间的测试过程可以在无人值守的情况下模拟用户实际操作自动进行,测试结果自动记录,有效解决了手机电池续航时间测试的时间长、重复执行操作、测试强度较大、测试结果无法自动记录、无法自动生成报表等问题。
技术解决方案
本发明的目的通过以下技术方案来实现:基于Android系统的手机电池续航时间自动测试方法,它包括以下步骤:
S1:安装并运行耗电测试工具PowerTest.apk;
S2:设置手机保持唤醒状态;
S3:开启电量监控;
S4:选择测试项,并启动测试项;
S5:手机模拟用户真实操作,自动重复执行所选测试项,自动记录当前电量,直至耗电完毕,自动关机;
S6:更换电池,执行开机操作;
S7:启动PowerTest,自动生成报表;
S8:重复步骤S4~步骤S7,进行下一测试项的测试,直至测试项测试完成。
所述的测试项至少包括正常待机、视频通话、语音通话、视频播放、音频播放、录制视频、2G/3G数据连接下的互联网应用、WIFI情况下的互联网应用、照片拍摄中的任意一种或任意多种。
有益效果
本发明的有益效果是:本发明提供一种基于Android系统的手机电池续航时间自动测试方法,使得电池续航时间测试过程可以在无人值守的情况下模拟用户实际操作自动进行,测试结果自动记录,有效解决了手机电池续航时间测试的时间长、重复执行操作、测试强度较大、测试结果无法自动记录、无法自动生成报表等问题。
附图说明
图1为本发明的流程图。
本发明的实施方式
下面结合附图对本发明做进一步的描述,但本发明的保护范围不局限于以下所述。
如图1所示,基于Android系统的手机电池续航时间自动测试方法,它包括以下步骤:
S1:安装并运行耗电测试工具PowerTest.apk;
S2:设置手机保持唤醒状态;
S3:开启电量监控;
S4:选择测试项,并启动测试项;
S5:手机模拟用户真实操作,自动重复执行所选测试项,自动记录当前电量,直至耗电完毕,自动关机;
S6:更换电池,执行开机操作;
S7:启动PowerTest,自动生成报表;
S8:重复步骤S4~步骤S7,进行下一测试项的测试,直至测试项测试完成。
所述的测试项至少包括正常待机、视频通话、语音通话、视频播放、音频播放、录制视频、2G/3G数据连接下的互联网应用、WIFI情况下的互联网应用、照片拍摄中的任意一种或任意多种。
本发明包括以下程序模块:
S1:电量监控模块——根据设置的时间间隔,提取当前的电量数据,写入TIME_POWER.TXT文件中;
S2:耗电报表模块——根据TIME_POWER.TXT,生成耗电测试报表;
S3:各单项测试模块
S31:待机——模拟用户正常待机;
S32:视频——循环播放Sdcard存在的视频文件;
S33:音频——循环播放Sdcard存在的音频文件;
S34:视频录制——设定录制的视频文件时间为X分钟,重复录制一个X分钟的视频文件;
S35:2G/3G使用互联网——设定一系列的互联网网址,模拟用户浏览这些网址、上传下载文件;
S36:WIFI使用互联网——设定一系列的互联网网址,模拟用户浏览这些网址、上传下载文件;
S37:照片拍摄——间隔3秒拍摄照片到手机自动关机,并且记录拍摄的照片数目;
S38:通话——包括语音和视频,根据设定的电话号码和间隔时间,持续拨打语音和视频电话。

Claims (1)

  1. 基于Android系统的手机电池续航时间自动测试方法,其特征在于: 它包括以下步骤:
    S1:安装并运行耗电测试工具;
    S2:设置手机保持唤醒状态;
    S3:开启电量监控;
    S4:选择测试项,并启动测试项;
    S5:手机模拟用户真实操作,自动重复执行所选测试项,自动记录当前电量,直至耗电完毕,自动关机;
    S6:更换电池,执行开机操作;
    S7:启动PowerTest,自动生成报表;
    S8:重复步骤S4~步骤S7,进行下一测试项的测试,直至测试项测试完成。
    2.根据权利要求1所述的基于Android系统的手机电池续航时间自动测试方法,其特征在于,所述的测试项至少包括正常待机、视频通话、语音通话、视频播放、音频播放、录制视频、2G/3G数据连接下的互联网应用、WIFI情况下的互联网应用、照片拍摄中的任意一种或任意多种。
PCT/CN2012/086965 2012-06-30 2012-12-19 基于Android系统的手机电池续航时间自动测试方法 WO2014000395A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210221278.2 2012-06-30
CN2012102212782A CN102752429A (zh) 2012-06-30 2012-06-30 基于Android系统的手机电池续航时间自动测试方法

Publications (1)

Publication Number Publication Date
WO2014000395A1 true WO2014000395A1 (zh) 2014-01-03

Family

ID=47032325

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/086965 WO2014000395A1 (zh) 2012-06-30 2012-12-19 基于Android系统的手机电池续航时间自动测试方法

Country Status (2)

Country Link
CN (1) CN102752429A (zh)
WO (1) WO2014000395A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507340A (zh) * 2016-11-01 2017-03-15 西安易朴通讯技术有限公司 手机续航的测试方法及测试系统
CN106776224A (zh) * 2016-12-26 2017-05-31 东南大学 一种基于CPU控制的Android手机硬件组件的功耗测算系统及方法
CN111966570A (zh) * 2020-07-25 2020-11-20 芯发威达电子(上海)有限公司 一种工控机无人自测方法、系统和电子设备
CN112162205A (zh) * 2020-09-25 2021-01-01 上海商米科技集团股份有限公司 电子价签的电池寿命测试方法和装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752429A (zh) * 2012-06-30 2012-10-24 成都西可科技有限公司 基于Android系统的手机电池续航时间自动测试方法
CN103607494B (zh) * 2013-11-30 2016-04-06 广东欧珀移动通信有限公司 一种分时段自动化测试终端续航时间的方法及终端
CN105025141B (zh) * 2015-07-29 2017-10-20 上海斐讯数据通信技术有限公司 终端用电量测试方法及其装置
CN105721687B (zh) * 2016-01-25 2019-06-04 惠州Tcl移动通信有限公司 一种基于移动终端的电池异常检测方法及系统
CN107305516A (zh) * 2016-04-18 2017-10-31 展讯通信(上海)有限公司 终端耗电测试方法及装置
CN106973138A (zh) * 2017-03-10 2017-07-21 广东欧珀移动通信有限公司 一种移动终端的控制方法、装置及移动终端
CN106953956A (zh) * 2017-03-20 2017-07-14 上海与德科技有限公司 续航测试系统及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725889A (zh) * 2004-07-23 2006-01-25 中兴通讯股份有限公司 一种cdma移动终端耗电时长的有线连接测量方法
CN101068294A (zh) * 2006-06-14 2007-11-07 中兴通讯股份有限公司 手机通话时长的测量方法
CN102338859A (zh) * 2010-07-21 2012-02-01 英业达股份有限公司 Android操作系统下的移动电话电池的测试方法
CN102752429A (zh) * 2012-06-30 2012-10-24 成都西可科技有限公司 基于Android系统的手机电池续航时间自动测试方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7672798B2 (en) * 2002-06-27 2010-03-02 Spx Corporation Apparatus and method for determining the temperature of a charging power source
CN101661086A (zh) * 2009-09-14 2010-03-03 厦门敏讯信息技术股份有限公司 用于手机移动终端电池的使用时间的测试方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725889A (zh) * 2004-07-23 2006-01-25 中兴通讯股份有限公司 一种cdma移动终端耗电时长的有线连接测量方法
CN101068294A (zh) * 2006-06-14 2007-11-07 中兴通讯股份有限公司 手机通话时长的测量方法
CN102338859A (zh) * 2010-07-21 2012-02-01 英业达股份有限公司 Android操作系统下的移动电话电池的测试方法
CN102752429A (zh) * 2012-06-30 2012-10-24 成都西可科技有限公司 基于Android系统的手机电池续航时间自动测试方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507340A (zh) * 2016-11-01 2017-03-15 西安易朴通讯技术有限公司 手机续航的测试方法及测试系统
CN106507340B (zh) * 2016-11-01 2019-12-13 西安易朴通讯技术有限公司 手机续航的测试方法及测试系统
CN106776224A (zh) * 2016-12-26 2017-05-31 东南大学 一种基于CPU控制的Android手机硬件组件的功耗测算系统及方法
CN106776224B (zh) * 2016-12-26 2019-12-24 东南大学 一种基于CPU控制的Android手机硬件组件的功耗测算系统及方法
CN111966570A (zh) * 2020-07-25 2020-11-20 芯发威达电子(上海)有限公司 一种工控机无人自测方法、系统和电子设备
CN112162205A (zh) * 2020-09-25 2021-01-01 上海商米科技集团股份有限公司 电子价签的电池寿命测试方法和装置

Also Published As

Publication number Publication date
CN102752429A (zh) 2012-10-24

Similar Documents

Publication Publication Date Title
WO2014000395A1 (zh) 基于Android系统的手机电池续航时间自动测试方法
CN109597761A (zh) 一种基于Jmeter的接口自动化测试方法
GB2441097A (en) Network node power management methods and apparatus
CN204119227U (zh) 智能电表载波通信模块测试模拟器
CN102841768B (zh) 一种移动终端的屏幕延时调整方法
CN103581231B (zh) Ugc主备数据同步方法及其系统
CN105025141B (zh) 终端用电量测试方法及其装置
CN103593038B (zh) 一种控制应用的方法和装置
CN105227784A (zh) 一种移动终端的省电处理方法和移动终端
Li et al. The application research of wireless sensor network based on ZigBee
CN105611706A (zh) 一种基于智能手表的智能灯控制方法
WO2018153272A1 (zh) 一种基于移动终端的控制volte功能的方法及移动终端
CN105262890B (zh) 便携式电子装置应用程序的信息更新控制系统与方法
CN102932366A (zh) 一种多媒体资源管理方法、装置和播放器
CN106506762A (zh) 测试设备
CN104796518A (zh) 获取终端电池续航时间的方法和终端
CN201417499Y (zh) 基于3g移动通信网络的家居智能安防系统
CN205486730U (zh) 基于蓝牙和移动终端的便携式数据采集系统
CN206330974U (zh) 一种水中有害物质多参数监测分析仪
CN207502602U (zh) 一种能够在户内语音播报智能电能表实时电量的装置
CN112581932A (zh) 一种基于dsp的有线无线混音系统
CN202382821U (zh) 脉冲计数表模拟计数系统
CN106547556A (zh) 启动应用程序功能界面的方法和装置
CN1961596A (zh) 一种基于cdma技术的移动终端通话时长的测量方法
CN202677471U (zh) 教室点名系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12879686

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12879686

Country of ref document: EP

Kind code of ref document: A1